/* Updated CSS for new design system - targeting <20KB */

/* CSS Variables - Define color scheme */
:root {
    --navy: #0B2850;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --yellow: #FFD60A;
    --text-navy: #0B2850;
    --text-light: rgba(255, 255, 255, 0.9);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-navy);
    background-color: var(--white);
}

/* ============================================
   SITE-WIDE SPACING RULES
   ============================================ */
/* All sections must follow these spacing rules */
section {
    padding: 100px 0;  /* Consistent vertical padding for all sections */
}

/* Alternating background sections */
section.bg-navy {
    background: linear-gradient(135deg, #0A2342 0%, #0B2850 100%);
    color: var(--white);
    padding: 120px 0;  /* Slightly more padding for dark sections */
}

section.bg-off-white {
    background-color: var(--off-white);
    padding: 100px 0;
}

/* Section headings - consistent spacing from top */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-top: 20px;  /* Extra breathing room */
}

/* Typography hierarchy with proper spacing */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* Ensure first element in section doesn't have extra top margin */
section > *:first-child,
.container > *:first-child {
    margin-top: 0;
}

/* Consistent container width and padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA sections need extra emphasis */
.cta-section {
    padding: 120px 0;
}

/* Hero sections are special - more padding */
.hero {
    padding: 140px 0 120px;
}

/* Footer spacing */
.footer {
    padding: 80px 0 40px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--navy);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Updated critical CSS variables and header styles */
/* Generic header style - but navigation uses .site-header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ensure the navigation wrapper doesn't interfere with sticky positioning */
#site-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Don't add any height or overflow styles that would break sticky */
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--yellow);
}

.logo-image {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;  /* Show by default for desktop */
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;  /* Better alignment */
}

.nav-menu a {
    color: var(--text-navy);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--yellow);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    color: var(--navy);
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.2s;
}

.dropdown-toggle:hover {
    color: var(--yellow);
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    border-radius: 0.5rem;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
    list-style: none;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--yellow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    font-weight: 600;
    color: var(--navy);
    display: none;
}

/* Desktop styles - ensure proper display on larger screens */
@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;  /* Always show on desktop */
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .nav-phone {
        display: block;
    }
    
    .mobile-menu-button {
        display: none !important;  /* Always hide on desktop */
    }
}

.nav-cta {
    background: var(--yellow);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--yellow);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 45px;
    box-shadow: 0 2px 8px rgba(255, 214, 10, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 214, 10, 0.4);
    background: #e6c000;
}

.cta-button {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid var(--yellow);
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 50px;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.15);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 35, 66, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.25);
    background: var(--white);
    color: var(--navy);
    border-color: var(--yellow);
}

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

.cta-button:active {
    transform: translateY(-1px);
}

.dropdown-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-menu-button {
    display: none;  /* Hidden by default, shown on mobile via media query */
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    font-size: 1.5rem;
    color: var(--navy);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .logo-image {
        max-height: 60px;  /* Reasonable mobile logo size */
        max-width: 150px;
    }
    
    /* Adjust nav container for mobile */
    .nav-container {
        height: auto;
        min-height: 4rem;
        padding: 1rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;  /* Position below header */
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem 0;
        display: none;  /* Hidden by default on mobile */
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex !important;  /* Show when active */
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--off-white);
        display: none;
        padding-left: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding-left: 3rem;
        font-size: 0.9rem;
    }
    
    .nav-phone {
        display: none;  /* Hide phone on mobile to save space */
    }
    
    .nav-cta {
        margin: 1rem 1.5rem;
        width: auto;
    }
    
    .mobile-menu-button {
        display: block !important;  /* Always show on mobile */
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .mobile-menu-button {
        display: none;
    }
}

/* Section styles with enhanced spacing and backgrounds */
.section {
    padding: 6rem 0; /* Enhanced 96px top/bottom for better breathing room */
    position: relative;
}

.bg-white {
    background: var(--white);
}

.bg-off-white {
    background: linear-gradient(135deg, var(--off-white) 0%, #f8fafc 100%);
    position: relative;
}

.bg-off-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 214, 10, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(10, 35, 66, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.bg-navy {
    background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
    position: relative;
    color: var(--white);
}

.bg-navy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 214, 10, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Professional Testimonial Card */
.professional-testimonial-card {
    background: var(--white) !important;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08), 0 3px 10px rgba(10, 35, 66, 0.04);
    border-top: 3px solid var(--yellow);
    position: relative;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--yellow);
}

.professional-quote {
    font-size: 1.375rem;
    line-height: 1.6;
    color: var(--text-navy);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1.5rem;
    quotes: """ """ "'" "'";
}

.professional-citation {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    font-style: normal;
}

/* Professional Proof Box (About Section) */
.professional-proof-box {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid var(--yellow) !important;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* Ensure About section containers also get white backgrounds */
#about .professional-proof-box,
.about-content .professional-proof-box {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid var(--yellow) !important;
}

.proof-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.proof-quote {
    font-style: italic;
    color: var(--text-navy);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Professional Card (Contact Section) */
.professional-card {
    background: var(--white) !important;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.06);
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--yellow);
    flex-shrink: 0;
    margin-right: 0.75rem;
}

/* Hero Section Icons */
.stars-display {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stars-display .star-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--yellow);
}

.highlight-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--yellow);
    flex-shrink: 0;
    margin-right: 0.75rem;
}

/* Typography styles - Enhanced hierarchy */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-navy);
    margin-bottom: 2rem;
    line-height: 1.1;
    max-width: 800px;
    letter-spacing: -0.02em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.text-white {
    color: var(--white) !important;
}

.section-intro {
    font-size: 1.25rem;
    color: #64748b;
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
}

.bg-navy .section-intro {
    color: rgba(255, 255, 255, 0.8);
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 700px;
    color: #475569;
}

.bg-navy .section-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Hero section - Enhanced with premium visual design */
.hero {
    min-height: 105vh;
    background: linear-gradient(135deg, var(--navy) 0%, #0a1a2e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.05) 0%, transparent 70%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 0.8; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(10,35,66,0.2) 100%);
    backdrop-filter: blur(1px);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.02);
    border-radius: 1rem;
    margin: 2rem;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 214, 10, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 214, 10, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(10,35,66,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 4rem 0;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
}

.trust-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-left: 3px solid var(--yellow);
    padding-left: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.highlight-icon {
    background: linear-gradient(135deg, var(--yellow) 0%, #ffed4e 100%);
    color: var(--navy);
    font-weight: 700;
    padding: 0.35rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(255, 214, 10, 0.3);
    min-width: 24px;
    text-align: center;
}

/* Hero Review - Aligned with bullets and extended to match bullet width */
.hero-review {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%) !important;
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 2rem !important;
    margin: 2rem 0 0 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.12), 0 3px 10px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    position: relative;
    overflow: hidden;
}

.hero-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, #ffed4e 50%, var(--yellow) 100%);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-review .reviewer-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.review-time {
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 500;
}

.google-icon {
    flex-shrink: 0;
}

.review-text {
    color: #1e3a8a;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-style: italic;
    text-align: left;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500;
}

/* Form styles - Enhanced with modern, professional styling */
.quote-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(10, 35, 66, 0.1), 0 5px 15px rgba(10, 35, 66, 0.05);
    position: relative;
    overflow: hidden;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, #ffed4e 50%, var(--yellow) 100%);
}

.final-form {
    background: var(--white);
    backdrop-filter: none;
    box-shadow: 0 20px 40px rgba(10, 35, 66, 0.15), 0 8px 25px rgba(10, 35, 66, 0.08);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-navy);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-navy);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    min-height: 52px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-navy);
}

/* Form message styles for success and error feedback */
.form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideInUp 0.3s ease;
}

.success-message {
    background: #10b981;
    color: white;
    border: 1px solid #059669;
}

.error-message {
    background: #ef4444;
    color: white;
    border: 1px solid #dc2626;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1), 0 2px 8px rgba(10, 35, 66, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.submit-button {
    width: 100%;
    background: var(--yellow);
    color: var(--navy);
    padding: 1.25rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.submit-button::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.6s ease;
}

.submit-button-yellow {
    background: var(--yellow);
    color: var(--navy);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.25);
    background: #ffed4e;
}

.submit-button:hover::before {
    left: 100%;
}

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

.helper-text {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Image Container and Section Image Styles */
.image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.12);
    position: relative;
}

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


/* Benefit cards - Enhanced with better shadows and depth */
.benefit-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 4rem 0;
}

@media (min-width: 768px) {
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(10, 35, 66, 0.08), 0 4px 12px rgba(10, 35, 66, 0.04);
    border: 1px solid rgba(10, 35, 66, 0.06);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, #ffed4e 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 35, 66, 0.12), 0 8px 24px rgba(10, 35, 66, 0.08);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon .lucide-icon {
    color: var(--navy);
    transition: all 0.3s ease;
}

.benefit-card:hover .lucide-icon {
    color: var(--yellow);
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA buttons - Enhanced with gradient and better effects */
.cta-button-navy {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 1rem 2rem;
    border: 2px solid var(--yellow) !important;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 50px;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.15) !important;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

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

.cta-button-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.25) !important;
    background: var(--white) !important;
    color: var(--navy) !important;
    border-color: var(--yellow) !important;
}

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

.cta-button-navy:active {
    transform: translateY(-1px);
}

/* Case studies grid - Enhanced with modern card design */
.case-studies-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin: 4rem 0;
}

.case-study-card {
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.06), 0 2px 8px rgba(10, 35, 66, 0.03);
    border: 1px solid rgba(10, 35, 66, 0.05);
    position: relative;
}

.case-study-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 214, 10, 0.05) 0%, rgba(10, 35, 66, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.case-study-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(10, 35, 66, 0.15), 0 10px 30px rgba(10, 35, 66, 0.08);
}

.case-study-card:hover::after {
    opacity: 1;
}

.card-image {
    height: 220px;
    border-bottom: 1px solid rgba(10, 35, 66, 0.08);
    position: relative;
    overflow: hidden;
}

.card-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 214, 10, 0.1) 50%, transparent 70%);
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.read-more-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.read-more-link:hover {
    color: var(--yellow);
}

.read-more-link:hover::after {
    transform: scaleX(1);
}

/* Yellow quote strip - Enhanced with premium presentation */
.quote-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stars.large {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(10, 35, 66, 0.2));
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    position: relative;
    padding: 0 2rem;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 3rem;
    color: rgba(10, 35, 66, 0.3);
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
}

.quote-text::before {
    left: 0;
}

.quote-text::after {
    right: 0;
    transform: scaleX(-1);
}

.quote-author {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: block;
    font-size: 1.1rem;
    position: relative;
}

.quote-author::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
}

.quote-cta {
    margin-top: 2.5rem;
}

/* Process timeline - Enhanced with modern design */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin: 4rem 0;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow) 0%, #ffed4e 50%, var(--yellow) 100%);
    z-index: 1;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 140px;
    position: relative;
    z-index: 2;
}

.step-number {
    background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.3), 0 2px 8px rgba(10, 35, 66, 0.2);
    border: 3px solid var(--white);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 35, 66, 0.4), 0 3px 12px rgba(10, 35, 66, 0.25);
}

.process-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-navy);
    line-height: 1.4;
    margin: 0;
}

/* Testimonials grid - Enhanced with premium card styling */
.testimonials-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 4rem 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08), 0 3px 10px rgba(10, 35, 66, 0.04);
    border: 1px solid rgba(10, 35, 66, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 214, 10, 0.1);
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(10, 35, 66, 0.12), 0 6px 18px rgba(10, 35, 66, 0.06);
}

.testimonial-card .stars {
    color: var(--yellow);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 214, 10, 0.3));
}

.testimonial-text {
    color: var(--text-navy);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
    font-style: normal;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.testimonial-author::before {
    content: '— ';
    opacity: 0.7;
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-item {
    background: var(--white);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(10, 35, 66, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.1);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-trigger:hover {
    background: rgba(10, 35, 66, 0.02);
}

.faq-trigger[aria-expanded="true"] {
    background: rgba(10, 35, 66, 0.03);
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--yellow);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.open {
    max-height: 500px;
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-navy);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA styles - Enhanced for maximum impact */
.final-cta-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .final-cta-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}


.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}


.benefit-item span:last-child {
    color: var(--navy);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

/* Image placeholders - Enhanced with modern styling */
.image-placeholder {
    background: linear-gradient(135deg, var(--off-white) 0%, #f1f5f9 100%);
    border: 2px dashed rgba(100, 116, 139, 0.3);
    border-radius: 1rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 214, 10, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-placeholder:hover {
    border-color: rgba(255, 214, 10, 0.5);
    background: linear-gradient(135deg, #f8fafc 0%, var(--off-white) 100%);
}

.image-placeholder:hover::before {
    opacity: 1;
}

.image-placeholder.small {
    height: 250px;
}

.image-placeholder.center {
    margin: 2rem auto;
    max-width: 500px;
}

/* Special styling for navy section image placeholders */
.bg-navy .image-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.bg-navy .image-placeholder:hover {
    border-color: rgba(255, 214, 10, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

/* Image Slider Styles */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.slide-caption h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-prev:hover:not(:disabled),
.slider-next:hover:not(:disabled) {
    background: white;
    transform: scale(1.1);
}

.slider-prev:disabled,
.slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-prev svg,
.slider-next svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #0B2850;
    stroke-width: 2.5;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid #0B2850;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
    background: #0B2850;
    transform: scale(1.2);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0B2850;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slide {
        height: 300px;
    }
    
    .slider-prev,
    .slider-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .slider-prev svg,
    .slider-next svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .slide-caption {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
}

/* Footer styles */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-subtitle {
    color: var(--text-light);
    font-weight: 500;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.5;
}

.footer-heading {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-links, .footer-areas {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-areas li {
    color: var(--text-light);
}

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

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
    padding: 1rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    color: var(--text-navy);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: block;
}

.mobile-menu a:hover {
    color: var(--navy);
}

.mobile-cta {
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
        gap: 2.5rem;
        align-items: flex-start;
    }
    
    .hero-review {
        margin-top: 1rem !important;
        max-width: none !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .hero-review .reviewer-avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .quote-form {
        width: 100%;
        max-width: 480px;
        flex-shrink: 0;
    }
    
    .trust-highlights {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .process-timeline {
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .process-timeline::before {
        left: 8%;
        right: 8%;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* Utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .cta-button:hover,
    .submit-button:hover,
    .case-study-card:hover,
    .benefit-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Form Trust Points Styling - Matching Hero Bullet Style */
.form-trust-points {
    margin-top: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.form-trust-points .trust-point {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    border-left: 3px solid var(--yellow) !important;
    padding-left: 0.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

.form-trust-points .trust-point:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(5px) !important;
}

.form-trust-points .trust-icon {
    background: linear-gradient(135deg, #0B2850 0%, #0f3460 100%) !important;
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
    font-weight: 700 !important;
    padding: 0.35rem !important;
    border-radius: 50% !important;
    font-size: 0.875rem !important;
    box-shadow: 0 2px 8px rgba(11, 40, 80, 0.3) !important;
    min-width: 24px !important;
    text-align: center !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Additional targeting for SVG elements inside trust icons */
.form-trust-points .trust-icon svg {
    stroke: #FFFFFF !important;
    fill: none !important;
}

.form-trust-points .trust-point span {
    font-size: 0.875rem;
    color: #0B2850;
    line-height: 1.3;
    font-weight: 500;
}

@media (min-width: 640px) {
    .form-trust-points {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .trust-point {
        flex: 1;
        min-width: 200px;
    }
}

/* Testimonials Slider Styles */
.testimonials-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonials-slider {
    overflow: hidden;
    border-radius: 12px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
}

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

.slider-button {
    background: var(--white);
    border: 2px solid var(--yellow);
    color: var(--navy);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-button:hover {
    background: var(--yellow);
    transform: scale(1.05);
}

.slider-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-button svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--yellow);
    transform: scale(1.2);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slider-controls {
        gap: 0.75rem;
    }
    
    .slider-button {
        width: 40px;
        height: 40px;
    }
    
    .slider-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Print styles - only apply when actually printing, not on mobile */
@media print {
    .nav-container,
    .mobile-menu-button,
    .quote-form,
    .footer {
        display: none;
    }
    
    /* Keep hero visible but adjust for print */
    .hero {
        min-height: auto;
        /* Don't remove background for regular hero, only for print */
        page-break-inside: avoid;
    }
    
    /* Hide background overlays for print to save ink */
    .hero-bg {
        display: none;
    }
    
    /* Make text black for print readability */
    .hero-text,
    .hero-title,
    .hero-description {
        color: black !important;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
/* Mobile-specific hero styles to ensure background displays correctly */
@media (max-width: 768px) {
    /* Ensure hero background and overlays are preserved on mobile */
    .hero {
        /* Keep the gradient background as fallback */
        background: linear-gradient(135deg, var(--navy) 0%, #0a1a2e 50%, #0f3460 100%);
        /* Ensure minimum height is maintained */
        min-height: 80vh;
        /* Fix iOS background-attachment issue */
        background-attachment: scroll !important;
    }
    
    /* Keep hero-bg visible on mobile */
    .hero-bg {
        display: block !important;
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(10,35,66,0.2) 100%);
    }
    
    /* Ensure text remains white on mobile */
    .hero-text,
    .hero-title,
    .hero-description {
        color: var(--white) !important;
    }
    
    .hero-title {
        color: var(--white) !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .hero-description {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Ensure inline styles on hero section are preserved */
    section.hero,
    section[style*="background-image"] {
        /* Force background-attachment to scroll on mobile to fix iOS issues */
        background-attachment: scroll !important;
        /* Ensure background properties are preserved */
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo-image {
        max-height: 140px;  /* Increased 2.8x from 50px */
        max-width: 420px;   /* Increased 2.8x from 150px */
    }
    
    /* Increase nav container height to accommodate larger logo on mobile */
    .nav-container {
        height: auto;
        min-height: 7rem;
        padding: 1.25rem 0;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    /* Ensure overlays work on small screens */
    .hero-bg,
    .hero::before {
        display: block !important;
        opacity: 1 !important;
    }
}

/* Target SVG icons within testimonial for proper sizing */
.hero-review .reviewer-avatar svg,
.hero-review .review-header svg {
    width: 24px !important;
    height: 24px !important;
}

/* Trusted By Section */
.trusted-by-section {
    background: #f8fafc;
    padding: 3rem 0;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.trusted-by-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0.5rem;
}

.client-logo {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    /* Performance optimizations */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Remove white backgrounds and blend */
    mix-blend-mode: multiply;
    background: transparent;
    /* Additional techniques to handle white backgrounds */
    filter: grayscale(100%) opacity(0.7) contrast(1.1);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1) contrast(1);
    transform: scale(1.05);
    mix-blend-mode: normal;
}

/* Responsive adjustments for trusted by section */
@media (max-width: 768px) {
    .trusted-by-section {
        padding: 2rem 0;
    }
    
    .logos-strip {
        gap: 1.5rem;
        justify-content: space-between;
    }
    
    .logo-item {
        min-width: 100px;
        max-width: 140px;
    }
    
    .client-logo {
        max-height: 60px;
    }
    
    .trusted-by-title {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .logos-strip {
        gap: 1rem;
    }
    
    .logo-item {
        min-width: 75px;
        max-width: 110px;
    }
    
    .client-logo {
        max-height: 45px;
    }
}

/* Accreditation Section Styling */
.accreditation-section {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.accreditation-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.accreditation-logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.accreditation-logo-item {
    flex: 1;
    min-width: 120px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0.75rem;
}

.accreditation-logo {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(40%) opacity(0.85);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: transparent;
}

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

/* Responsive adjustments for accreditation section */
@media (max-width: 768px) {
    .accreditation-section {
        padding: 2.5rem 0;
    }
    
    .accreditation-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .accreditation-logos-strip {
        gap: 1.5rem;
        justify-content: space-between;
    }
    
    .accreditation-logo-item {
        min-width: 80px;
        max-width: 120px;
        padding: 0.5rem;
    }
    
    .accreditation-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .accreditation-logos-strip {
        gap: 1rem;
    }
    
    .accreditation-logo-item {
        min-width: 70px;
        max-width: 100px;
    }
    
    .accreditation-logo {
        max-height: 50px;
    }
}

/* Hero Star Rating */
.hero-rating {
    margin-bottom: 2.5rem;
    text-align: left;
}

.stars-display {
    margin-bottom: 0.5rem;
}

.star {
    font-size: 1.75rem;
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-right: 0.125rem;
    line-height: 1;
}

.star.filled {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* Mobile Action Bar Styles - REMOVED TO PREVENT CONFLICTS WITH INLINE STYLES
   These styles have been commented out because they were overriding the inline
   styles from shared-components.js, causing the mobile sticky bar to disappear.
   The mobile action bar should ONLY be styled via inline styles in shared-components.js
*/

/* 
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    flex-direction: column;
}

.mobile-action-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    background: var(--navy);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 10px;
}

.british-flag {
    margin-right: 6px;
    font-size: 14px;
}

.banner-text {
    color: white;
}

.mobile-action-bar-inner {
    display: flex;
    height: calc(100% - 22px);
    width: 100%;
}

.mobile-action-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
    gap: 3px;
}

.mobile-action-button:hover {
    opacity: 0.9;
}

.mobile-action-button:active {
    opacity: 0.8;
}

.mobile-action-button.home {
    background: #f5f5f5;
    color: var(--navy);
}

.mobile-action-button.quote {
    background: var(--navy);
    color: white;
}

.mobile-action-button.call {
    background: var(--yellow);
    color: var(--navy);
}

.mobile-action-button svg {
    width: 22px;
    height: 22px;
}

.mobile-action-button span {
    font-size: 11px;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
    }
}

.mobile-sticky-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-height: 44px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-action-btn svg {
    flex-shrink: 0;
}

.mobile-quote-btn {
    background: var(--yellow);
    color: var(--navy);
    border: 2px solid var(--yellow);
}

.mobile-quote-btn:hover {
    background: linear-gradient(135deg, var(--yellow) 0%, #ffd700 100%);
    color: var(--navy);
    border-color: var(--yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 214, 10, 0.4);
}

.mobile-call-btn {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.mobile-call-btn:hover {
    background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(11, 40, 80, 0.4);
}

.mobile-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
*/

/* Transformations Section - Single Column Layout */
.transformations-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 2rem auto 0;
    gap: 3rem;
}

/* Show all transformation items in single column layout */

/* Flexible Layout Options for Different Project Types */

/* Dual After Layout - for two angles of same project */
.dual-after-comparison {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dual-after-comparison .after-side {
    flex: 1;
    position: relative;
}

/* Single Project Layout - for completed projects only */
.single-project {
    margin-bottom: 2rem;
    position: relative;
}

.single-project img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.project-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--yellow);
    color: var(--navy);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
    .transformations-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.transformation-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.before-after-comparison {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
}

.before-side,
.after-side {
    flex: 1;
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 0.75rem;
}

.comparison-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.warehouse-marker {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--yellow);
    color: var(--navy);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.warehouse-marker .tick-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.before-side img,
.after-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.arrow-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arrow-circle {
    width: 50px;
    height: 50px;
    background: var(--yellow);
    border: 3px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.arrow-circle:hover {
    background: var(--white);
    transform: scale(1.1);
}

.arrow-circle:hover .arrow-icon {
    stroke: var(--yellow);
}

.arrow-icon {
    color: var(--navy);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.transformation-details {
    text-align: center;
}

.transformation-details h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.transformation-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile optimizations for transformations */
@media (max-width: 768px) {
    .transformations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .transformation-item {
        padding: 1.5rem;
    }
    
    .before-after-comparison {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dual-after-comparison {
        flex-direction: column;
        gap: 1rem;
    }
    
    .before-side img,
    .after-side img {
        height: 240px;
    }
    
    .dual-after-comparison .after-side img {
        height: 240px;
    }
    
    .single-project img {
        height: 240px;
    }
    
    .arrow-circle {
        width: 44px;
        height: 44px;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
        width: 20px;
        height: 20px;
    }
    
    .comparison-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Show sticky bottom on mobile only */
@media (max-width: 768px) {
    .mobile-sticky-bottom {
        display: flex;
    }
    
    /* Add bottom padding to body to prevent content being hidden behind sticky bar */
    body {
        padding-bottom: 65px;
    }
}
