/* ===== ULTRA-MODERN JOSH ROBINSON BRAND STYLES - OPTIMIZED ===== */

/* ===== LOADING ANIMATION ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--secondary-white);
}

.loading-logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-navy);
}

.loading-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-white);
}

.loading-text p {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-weight: 500;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: 0.2s;
    border-top-color: var(--secondary-white);
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-delay: 0.4s;
    border-top-color: var(--accent-gold);
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== IMAGE LOADING ANIMATIONS ===== */
img {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

img.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Hero images load immediately */
.hero-image {
    opacity: 1;
    transform: scale(1);
}

/* Partner logos with smooth loading */
.partner-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo.loaded {
    opacity: 1;
    transform: scale(1);
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations for multiple elements */
.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Optimize for mobile performance */
@media (max-width: 768px) {
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-headshot {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .hero-content .container {
        gap: 3rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .logos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .logo-item {
        padding: 1.5rem;
        min-height: 100px;
    }
    
    .client-logo {
        max-height: 60px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .about-story {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .story-intro {
        font-size: 1.2rem;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-label {
        font-size: 1rem;
    }
    
    .stats-description {
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-tagline {
        font-size: 0.9rem;
    }
    
    .service-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .testimonials-slider {
        max-width: 100%;
        margin: 2rem auto 0;
        padding: 0 1rem;
    }
    
    .testimonials-track {
        height: 350px;
    }
    
    .testimonial-content {
        padding: 1.5rem;
        margin: 0;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .quote-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-role {
        font-size: 0.8rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .logos-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .logo-item {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        background: var(--secondary-white);
        border-radius: var(--radius-medium);
        box-shadow: var(--shadow-subtle);
        transition: all 0.3s ease;
    }
    
    .client-logo {
        max-width: 100%;
        height: auto;
        filter: grayscale(100%);
        transition: all 0.3s ease;
        opacity: 0.7;
    }
    
    .logo-item:hover .client-logo {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }
    
    .logo-item:hover {
        box-shadow: var(--shadow-medium);
        transform: translateY(-2px);
    }
    
    .hero-carousel {
        max-width: 100%;
    }
    
    .carousel-container {
        height: 450px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-info {
        order: 1;
        margin-bottom: 2rem;
    }
    
    /* Mobile-specific performance optimizations */
    .hero-image {
        transform: none !important;
    }
    
    .carousel-slide.active .hero-image {
        transform: none !important;
    }
    
    /* Reduce animations on mobile for better performance */
    .service-card:hover,
    .service-card.hover-active {
        transform: none;
    }
    
    .partner-item:hover,
    .partner-item.hover-active {
        transform: none;
    }
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .testimonial-slide {
        transition: none !important;
    }
    
    .testimonials-track {
        transition: none !important;
    }
    
    .slider-dot {
        transition: none !important;
    }
    
    .dot-fill {
        transition: none !important;
    }
}

/* ===== ADVANCED PERFORMANCE OPTIMIZATIONS ===== */
/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    will-change: auto;
}

img[loading="lazy"] {
    will-change: auto;
}

img[loading="eager"] {
    will-change: transform;
}

/* Content-visibility for better performance */
.about-stats,
.services-grid,
.testimonials-slider,
.credentials-grid,
.partners-grid {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Optimize animations for performance */
.service-card,
.stats-card,
.testimonial-slide,
.partner-item {
    contain: layout style paint;
}

/* Reduce layout shifts */
.hero-headshot,
.partner-logo,
.service-icon,
.stats-icon {
    aspect-ratio: 1;
}

/* Optimize for Core Web Vitals */
.hero,
.navbar,
.hero-content {
    contain: layout style paint;
}

/* Performance optimizations */
* {
    will-change: auto;
}

.hero-carousel,
.carousel-slide,
.hero-image {
    will-change: transform, opacity;
}

/* Reduce layout thrashing */
.service-card,
.partner-item,
.credential-category {
    contain: layout style paint;
}

/* Optimize images for better loading */
img {
    max-width: 100%;
    height: auto;
    will-change: transform;
}

/* Low performance device optimizations */
.low-performance * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.low-performance .hero-carousel,
.low-performance .carousel-slide,
.low-performance .hero-image {
    will-change: auto;
}

/* Touch device optimizations */
.touch-device .service-card:hover,
.touch-device .service-card.hover-active {
    transform: none;
}

.touch-device .partner-item:hover,
.touch-device .partner-item.hover-active {
    transform: none;
}

/* Optimize scroll performance */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-overflow-scrolling: touch;
}

:root {
    /* Brand Colors - Exact from Brand Guide */
    --primary-navy: #0A1D3F;
    --secondary-white: #FFFFFF;
    --accent-gold: #F5B700;
    
    /* Typography - Brand Kit Fonts */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Roboto Mono', monospace;
    
    /* Spacing */
    --container-max-width: 1400px;
    --section-padding: 120px 0;
    --grid-gap: 3rem;
    
    /* Animations - Optimized for Performance */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    
    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(10, 29, 63, 0.1);
    --shadow-medium: 0 4px 20px rgba(10, 29, 63, 0.15);
    --shadow-strong: 0 8px 40px rgba(10, 29, 63, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-navy);
    background-color: var(--secondary-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
}

h4 {
    font-size: 1.6rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: var(--font-body);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-small);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}



.section-title {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.4rem;
    color: rgba(10, 29, 63, 0.7);
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
}

/* ===== NAVIGATION - REDESIGNED ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 29, 63, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 20px rgba(10, 29, 63, 0.1);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

.brand-tag {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-gold);
    font-weight: 600;
}

.contact-cta {
    background: var(--accent-gold);
    color: var(--primary-navy) !important;
    padding: 1rem 2rem;
    border-radius: var(--radius-small);
    font-weight: 600;
    transition: all var(--transition-fast);
    /* Ensure crystal clear rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Remove any potential blur effects */
    filter: none;
    backdrop-filter: none;
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background: rgba(10, 29, 63, 0.05);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ===== HERO SECTION - OPTIMIZED ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-navy);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transform: translateZ(0); /* Enable hardware acceleration */
}

/* Parallax effect for hero background */
.hero-background {
    will-change: transform;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0b1d3a 0%, rgba(11, 29, 58, 0.8) 50%, rgba(11, 29, 58, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.hero-text {
    color: var(--secondary-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-small);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-badge span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-title {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
}

.title-line {
    display: block;
    color: var(--secondary-white);
}

.title-highlight {
    display: block;
    color: var(--accent-gold);
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-gold);
    animation: expandWidth 1.5s ease forwards 1.5s;
}

/* Typing cursor animation - only shows when typing */
.title-highlight.typing::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1.2em;
    background: var(--accent-gold);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5rem;
    max-width: 90%;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 1s;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 1.5s;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 2s;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #D4A017;
    color: var(--primary-navy);
    padding: 1.8rem 3.5rem;
    border-radius: var(--radius-medium);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.3);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 160, 23, 0.4);
}

.cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 1.2rem;
    color: var(--primary-navy);
}

.cta-primary:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-white);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-body);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem 3rem;
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1.2s ease forwards 1.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-headshot {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 5px solid var(--accent-gold);
}

.hero-headshot:hover {
    transform: scale(1.05);
}

.headshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.headshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 29, 63, 0.3) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.hero-image-container {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform var(--transition-medium);
    box-shadow: var(--shadow-strong);
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-large);
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.carousel-slide.active .hero-image {
    transform: scale(1);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(10, 29, 63, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.3);
}

.carousel-dot:hover {
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 29, 63, 0.3) 0%, transparent 50%);
}

.credential-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(245, 183, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-medium);
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    animation: pulse 4s infinite;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.badge-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(245, 183, 0, 0.9);
    color: var(--primary-navy);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-medium);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 8s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 30%;
    right: -10%;
    animation-delay: 4s;
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 2.5s;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: var(--accent-gold);
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--secondary-white);
    animation: scrollDown 3s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== ABOUT SECTION - REDESIGNED ===== */
.about {
    background: var(--secondary-white);
    padding: var(--section-padding);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-top: 4rem;
}

.about-text {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.about-story {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary-navy);
}

.story-intro {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1.2s ease forwards 0.8s;
}

.stats-card {
    background: linear-gradient(135deg, rgba(245, 183, 0, 0.05) 0%, rgba(10, 29, 63, 0.02) 100%);
    border: 1px solid rgba(245, 183, 0, 0.1);
    border-radius: var(--radius-large);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.stats-card:nth-child(1) {
    animation-delay: 0.2s;
}

.stats-card:nth-child(2) {
    animation-delay: 0.4s;
}

.stats-card:nth-child(3) {
    animation-delay: 0.6s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 183, 0, 0.15);
    border-color: rgba(245, 183, 0, 0.2);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-description {
    font-size: 0.9rem;
    color: rgba(10, 29, 63, 0.7);
    line-height: 1.5;
}

/* ===== CLIENT LOGOS SECTION ===== */
.client-logos {
    background: var(--secondary-white);
    padding: var(--section-padding);
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--secondary-white);
    border: 1px solid rgba(10, 29, 63, 0.1);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    min-height: 120px;
}

.client-logo {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
    max-height: 80px;
    object-fit: contain;
}

.logo-item:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

/* ===== CREDENTIALS SECTION ===== */
.credentials {
    background: var(--secondary-white);
    color: var(--primary-navy);
    padding: var(--section-padding);
}

.credentials .section-badge {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.credentials .section-title,
.credentials .section-subtitle {
    color: var(--primary-navy);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.credential-category {
    background: rgba(10, 29, 63, 0.05);
    padding: 3rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(10, 29, 63, 0.1);
    transition: all var(--transition-fast);
}

.credential-category:hover {
    background: rgba(10, 29, 63, 0.08);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.category-title {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0;
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(10, 29, 63, 0.1);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-navy);
}

.credentials-list li:last-child {
    border-bottom: none;
}

.credentials-list li i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ===== SERVICES SECTION - REDESIGNED ===== */
.services {
    background: var(--primary-navy);
    color: var(--secondary-white);
    padding: var(--section-padding);
}

.services .section-badge {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.services .section-title,
.services .section-subtitle {
    color: var(--secondary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-large);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 183, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover,
.service-card.hover-active {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(245, 183, 0, 0.3);
}

.partner-item:hover,
.partner-item.hover-active {
    transform: translateY(-5px);
}

.partner-item:hover .partner-logo,
.partner-item.hover-active .partner-logo {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-small);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-tagline {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(245, 183, 0, 0.1);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(245, 183, 0, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
    background: rgba(245, 183, 0, 0.2);
    border-color: rgba(245, 183, 0, 0.4);
}

.service-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.service-button {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 183, 0, 0.3);
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 183, 0, 0.4);
}

.service-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--primary-navy);
    padding: var(--section-padding);
    color: var(--secondary-white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    overflow: hidden;
}

.testimonials-track {
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    z-index: 10;
}

.testimonial-slide.prev {
    opacity: 0.3;
    transform: translateX(-50px) scale(0.9);
    filter: blur(1px);
}

.testimonial-slide.next {
    opacity: 0.3;
    transform: translateX(50px) scale(0.9);
    filter: blur(1px);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-white);
    padding: 3rem;
    border-radius: var(--radius-large);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info {
    text-align: center;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-white);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.author-role {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-dot.active {
    background: var(--accent-gold);
}

.dot-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.slider-dot.active .dot-fill {
    transform: scale(1);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    color: var(--primary-navy);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(245, 183, 0, 0.4);
}

.slider-nav.prev {
    left: -25px;
}

.slider-nav.next {
    right: -25px;
}

/* ===== INTERESTS SECTION ===== */
.interests {
    padding: var(--section-padding);
    background: var(--primary-navy);
    color: var(--secondary-white);
}

.interests .section-tag {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.interests .section-title {
    color: var(--secondary-white);
}

.interests .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.interest-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-medium);
}

.interest-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
}

.interest-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 2rem;
    margin: 0 auto 2rem;
    transition: all var(--transition-fast);
}

.interest-card:hover .interest-icon {
    transform: rotate(10deg) scale(1.1);
}

.interest-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.interest-card p {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    background: var(--secondary-white);
    padding: var(--section-padding);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.partner-item {
    background: var(--secondary-white);
    padding: 2rem;
    border-radius: var(--radius-medium);
    text-align: center;
    border: 1px solid rgba(10, 29, 63, 0.1);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.partner-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-fast);
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

.partner-logo-placeholder {
    width: 100px;
    height: 100px;
    background: var(--primary-navy);
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-fast);
}

.partner-item:hover .partner-logo-placeholder {
    transform: scale(1.1);
}

.partner-item h4 {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.partner-item p {
    color: rgba(10, 29, 63, 0.7);
    font-size: 0.9rem;
    font-family: var(--font-body);
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--primary-navy);
    color: var(--secondary-white);
    padding: var(--section-padding);
}

.contact .section-badge {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--secondary-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-white);
    font-family: var(--font-body);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-navy);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-navy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-button {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 1.5rem 3rem;
    border: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* Ensure crystal clear rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Remove any potential blur effects */
    filter: none;
    backdrop-filter: none;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 183, 0, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.2rem;
}

.method-content h4 {
    color: var(--secondary-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--secondary-white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.method-content span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.response-guarantee {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(245, 183, 0, 0.1);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(245, 183, 0, 0.2);
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.2rem;
}

.guarantee-text h4 {
    color: var(--secondary-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.guarantee-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-navy);
    color: var(--secondary-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--secondary-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-social h4 {
    color: var(--secondary-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.footer-column h4 {
    color: var(--secondary-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    font-family: var(--font-body);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 29, 63, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity var(--transition-fast);
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-content {
    background: var(--secondary-white);
    padding: 3rem;
    border-radius: var(--radius-large);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    z-index: 2001;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-navy);
    font-size: 2rem;
}

.modal-content h3 {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: rgba(10, 29, 63, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

.modal-button {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-small);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Contact Modal Styles */
.contact-modal {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.contact-modal .modal-header {
    text-align: left;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    position: relative;
}

.contact-modal .modal-header h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.contact-modal .modal-header p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--navy);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 183, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 1rem;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 183, 0, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 183, 0, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 0.9rem;
}

/* Contact method hover effect */
.contact-method {
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 29, 63, 0.15);
}

/* Mobile responsiveness for contact modal */
@media (max-width: 768px) {
    .contact-modal {
        width: 95%;
        margin: 1rem;
    }
    
    .contact-modal .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .submit-button {
        padding: 1.125rem 2rem;
        font-size: 1.1rem;
    }
}

/* ===== ANIMATIONS - OPTIMIZED ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes scrollDown {
    0% { transform: translateY(-20px); }
    50% { transform: translateY(40px); }
    100% { transform: translateY(-20px); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(10, 29, 63, 0.1);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(10, 29, 63, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(10, 29, 63, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border-radius: var(--radius-medium);
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        color: var(--primary-navy);
        text-decoration: none;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: var(--accent-gold);
        color: var(--primary-navy);
        transform: scale(1.05);
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-padding {
        padding: 100px 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-primary {
        padding: 1.5rem 2.5rem;
        font-size: 1.3rem;
        gap: 0.8rem;
    }
    
    .cta-arrow {
        font-size: 1.1rem;
    }
    
    /* Additional mobile optimizations */
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Mobile Touch Optimizations */
    .service-card,
    .partner-item,
    .cta-primary,
    .cta-secondary,
    .nav-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .service-card:active,
    .partner-item:active,
    .nav-link:active {
        transform: scale(0.98);
    }
    
    /* Mobile gesture hints */
    .swipe-hint {
        display: block;
        text-align: center;
        color: var(--accent-gold);
        font-size: 0.9rem;
        margin-top: 1rem;
        opacity: 0.7;
    }
    
    /* Better mobile spacing */
    .section-padding {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile form improvements */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: 8px;
    }
    
    /* Mobile button improvements */
    .submit-button,
    .cta-primary,
    .cta-secondary {
        min-height: 44px; /* iOS touch target minimum */
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .section-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===== LOADING STATES ===== */
.submit-button.loading {
    position: relative;
    color: transparent;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MOBILE TOUCH ENHANCEMENTS ===== */
@media (max-width: 768px) {
    /* Enhanced mobile navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border-radius: var(--radius-medium);
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: var(--accent-gold);
        color: var(--primary-navy);
        transform: scale(1.05);
    }
    
    /* Mobile touch optimizations */
    .service-card,
    .partner-item,
    .cta-primary,
    .cta-secondary {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .service-card:active,
    .partner-item:active {
        transform: scale(0.98);
    }
    
    /* Mobile gesture hints */
    .swipe-hint {
        display: block;
        text-align: center;
        color: var(--accent-gold);
        font-size: 0.9rem;
        margin-top: 1rem;
        opacity: 0.7;
    }
}