/* SineThamsanqa Business Solutions - Main Stylesheet */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ===== CSS CUSTOM PROPERTIES (Design Guide: "Confident Clarity with Kinetic Energy") ===== */
:root {
    /* Palette */
    --primary:        #0A2B5E;   /* Deep Trust Blue  — buttons, headlines, header, footer */
    --primary-dark:   #08234D;   /* Hover state for primary */
    --primary-mid:    #0D3875;   /* Lighter blue for gradients */
    --primary-light:  rgba(10, 43, 94, 0.08);
    --accent:         #E86A2C;   /* Vibrant Sunset  — accents, badges, hover, CTAs */
    --accent-dark:    #C55A20;
    --accent-light:   rgba(232, 106, 44, 0.12);
    --mint:           #1DB954;   /* Neon Mint  — success/growth indicators */
    --bg-base:        #FBFCFD;   /* Off-white body background */
    --bg-subtle:      #F0F4F9;   /* Alternate section background */
    --surface:        #FFFFFF;
    --dark:           #1A2C3E;   /* Text primary */
    --text:           #1A2C3E;
    --text-muted:     #5C6F87;   /* Text secondary */
    --border:         #E2E8F0;
    --border-light:   rgba(226, 232, 240, 0.6);
    --footer-bg:      #0D1B2A;

    /* Radii */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 20px -4px rgba(0,0,0,0.1);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
    --shadow-card: 0 4px 16px -2px rgba(10,43,94,0.08);

    /* Motion */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-stack: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== FOCUS STYLES (Accessibility) ===== */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Ensure section headings are readable */
section h2 {
    color: var(--dark);
    margin-bottom: 12px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
}

/* ===== BUTTONS (Design Guide: solid blue pill, arrow translates on hover) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(10, 43, 94, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 43, 94, 0.4);
    color: white;
}

.btn-primary:hover .fa-arrow-right,
.btn-primary:hover i.fas.fa-arrow-right {
    transform: translateX(4px);
}

.btn-primary i {
    transition: transform 0.25s ease;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 43, 94, 0.3);
}

/* Ghost / outline button — "Watch Demo" style */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--primary);
    color: var(--primary);
}

/* Accent button (orange) for high-emphasis on dark sections */
.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(232, 106, 44, 0.35);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 106, 44, 0.45);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

/* ===== HEADER ===== */
header {
    background: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(10, 43, 94, 0.35);
    transition: background 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
    position: relative;
    z-index: 1003;
}

.logo {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a i {
    font-size: 0.85em;
    opacity: 0.75;
}

nav a:hover,
nav a.active {
    color: white;
}

/* Desktop: orange underline accent on active/hover */
nav > ul > li > a:hover,
nav > ul > li > a.active {
    color: white;
    position: relative;
}

nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

nav > ul > li > a:hover::after,
nav > ul > li > a.active::after {
    transform: scaleX(1);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--primary-dark);
    min-width: 210px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    z-index: 100;
    border-radius: var(--radius-md);
    top: calc(100% + 8px);
    left: 0;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.85);
    padding: 11px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-content a i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.dropdown-content a:hover {
    background: rgba(232, 106, 44, 0.15);
    color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTIONS — Deep Trust Blue with Sunset energy ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial energy hint per design guide */
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 100% 0%, rgba(232,106,44,0.12), rgba(10,43,94,0.02) 60%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

/* Typed Hero Section */
.hero-typed {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-typed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 95% 5%, rgba(232,106,44,0.14), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.hero-typed .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/web-design-bg-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.12;
}

.hero-typed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,43,94,0.92) 0%, rgba(13,56,117,0.88) 100%);
    z-index: 1;
}

.hero-typed .hero-content {
    position: relative;
    z-index: 2;
}

.typed-container {
    max-width: 800px;
    margin: 0 auto;
}

.typed-text {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.static-text {
    color: rgba(255,255,255,0.95);
}

.typed-words {
    color: var(--accent);
    font-weight: 800;
    min-height: 1.2em;
    display: inline-block;
}

.cursor {
    color: var(--accent);
    font-weight: 800;
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

/* Hero Waves Section */
.hero-waves {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: white;
    padding: 120px 0 200px;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-waves::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(232,106,44,0.12), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

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

.hero-waves .hero-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-waves h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
}

.hero-waves .subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hero-waves .btn {
    position: relative;
    z-index: 2;
}

/* Wave Animation */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 45%;
    transform: translateX(-50%) rotate(0deg);
}

.wave1 {
    animation: wave-motion 8s linear infinite;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0.7;
}

.wave2 {
    animation: wave-motion 10s linear infinite;
    animation-delay: -2s;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    bottom: 10px;
}

.wave3 {
    animation: wave-motion 12s linear infinite;
    animation-delay: -4s;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
    bottom: 20px;
}

@keyframes wave-motion {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(360deg);
    }
}

/* Responsive styles for hero waves */
@media (max-width: 768px) {
    .hero-waves {
        padding: 100px 0 150px;
        min-height: 400px;
    }
    
    .hero-waves h1 {
        font-size: 2.5rem;
    }
    
    .hero-waves .subtitle {
        font-size: 1.1rem;
    }
    
    .waves {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-waves {
        padding: 80px 0 120px;
        min-height: 350px;
    }
    
    .hero-waves h1 {
        font-size: 2rem;
    }
    
    .hero-waves .subtitle {
        font-size: 1rem;
    }
    
    .waves {
        height: 120px;
    }
}

/* ===== BANNER SECTION (Homepage Hero) ===== */
.banner-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, #0F4A9C 100%);
    position: relative;
    overflow: hidden;
}

/* Orange energy accent */
.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(232,106,44,0.18), transparent 55%),
                radial-gradient(circle at 10% 90%, rgba(29,185,84,0.06), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.banner-section > * {
    position: relative;
    z-index: 1;
}

.banner-column {
    position: relative;
    display: grid;
    align-items: center;
    row-gap: 3rem;
    column-gap: 2rem;
}

.banner-image {
    display: block;
    max-width: 16rem;
    height: auto;
    object-fit: cover;
    justify-self: center;
}

.banner-inner {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    row-gap: 1.5rem;
}

.banner-link {
    position: absolute;
    display: grid;
    top: 30%;
    right: 1.5rem;
    justify-items: center;
    row-gap: 0.5rem;
    visibility: hidden;
}

.banner-link a {
    font-size: 1.25rem;
    line-height: inherit;
    color: white;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-link a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive Banner Styles */
@media screen and (min-width: 768px) {
    .banner-column {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        margin-top: 4rem;
    }
    
    .banner-image {
        max-width: 20rem;
        order: 1;
    }
    
    .banner-link {
        visibility: visible;
    }
}

@media screen and (min-width: 1024px) {
    .banner-column {
        grid-template-columns: 1fr max-content;
        column-gap: 4rem;
    }
    
    .banner-image {
        max-width: 24rem;
        margin-right: 5rem;
    }
}

/* Typography for Banner */
.title-large {
    font-family: inherit;
    font-size: clamp(2.65rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin-bottom: 1rem;
}

.text-base {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: white;
}

.font-normal {
    font-weight: 400;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

/* Default white sections */
section:not(.section-light):not(.section-dark):not(.banner-section):not(.hero-waves):not(.hero-typed):not(.faq-section) {
    background: var(--surface);
}

.section-light {
    background: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}

/* Subtle noise/texture hint */
.section-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/web-design-bg-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.02;
    z-index: 0;
    pointer-events: none;
}

/* ===== SECTION DARK — Deep Blue CTA sections ===== */
.section-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(232,106,44,0.14), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.section-dark > .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Section Light with Split Layout */
.section-light .split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-light .content-left {
    position: relative;
    z-index: 2;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    opacity: 1;
}


.section-light .content-right {
    padding-left: 20px;
}

.section-light .section-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

.section-light .section-description {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.75;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    position: relative;
    z-index: 3;
}

.section-light .section-cta {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    position: relative;
    z-index: 3;
}

.section-light .metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.section-light .metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.section-light .metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.section-light .metric-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
    color: var(--accent);
    transition: var(--transition);
}

.section-light .metric-number {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
}

.section-light .metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0;
}

/* Animations */
.section-light.animate .section-headline,
.section-light.animate .section-description,
.section-light.animate .section-cta {
    opacity: 1;
    transform: translateY(0);
}

.section-light.animate .content-left {
    opacity: 1;
    transform: translateY(0);
}

.section-light.animate .metric-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-light.animate .metric-card::before {
    opacity: 1;
    transform: scaleX(1);
}

.section-light .metric-card:hover .metric-icon {
    transform: scale(1.1);
    color: #C55A20;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--surface);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 90%, rgba(10,43,94,0.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.faq-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(10, 43, 94, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(10,43,94,0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    position: relative;
    z-index: 2;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent);
    transition: transform 0.3s ease;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-subtle);
}

.faq-answer-content {
    padding: 0 28px 22px 28px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question {
    background: var(--primary-light);
}

/* FAQ Section Dark */
.section-dark + .faq-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.section-dark + .faq-section .faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-dark + .faq-section .faq-question h3 {
    color: #ffffff;
}

.section-dark + .faq-section .faq-answer {
    background: rgba(255, 255, 255, 0.05);
}

.section-dark + .faq-section .faq-answer-content {
    color: rgba(255, 255, 255, 0.9);
}

.section-dark + .faq-section .faq-header h2 {
    color: #ffffff;
}

.section-dark + .faq-section .faq-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Section Light */
@media (max-width: 968px) {
    .section-light .split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-light .content-left {
        padding-right: 0;
        text-align: center;
    }
    
    .section-light .content-right {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .section-light .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .section-light .section-headline {
        font-size: 2.8rem;
    }
    
    .section-light .metric-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-light {
        padding: 80px 0;
    }
    
    .section-light .split-container {
        gap: 30px;
    }
    
    .section-light .section-headline {
        font-size: 2.5rem;
    }
    
    .section-light .section-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .section-light .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-light .metric-card {
        padding: 25px;
    }
    
    .section-light .metric-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .section-light {
        padding: 60px 0;
    }
    
    .section-light .section-headline {
        font-size: 2.2rem;
    }
    
    .section-light .section-description {
        font-size: 1rem;
    }
    
    .section-light .metric-card {
        padding: 20px;
    }
    
    .section-light .metric-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-light .metric-number {
        font-size: 2rem;
    }
    
    .section-light .metric-label {
        font-size: 0.9rem;
    }
}

/* ===== SERVICE CARDS (Design Guide: subtle shadow, no heavy borders) ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.service-card {
    background: var(--surface);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Top accent bar — hidden by default, reveals on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -8px rgba(10, 43, 94, 0.15);
    border-color: rgba(10, 43, 94, 0.15);
}

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

.service-card .service-icon {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    position: relative;
    z-index: 2;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Dark section cards */
.section-dark .service-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.section-dark .service-card::before {
    background: linear-gradient(90deg, var(--accent), #FFB347);
}

.section-dark .service-card:hover {
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-6px);
}

.section-dark .service-card h3 {
    color: rgba(255,255,255,0.95);
}

.section-dark .service-card:hover h3 {
    color: #fff;
}

.section-dark .service-card p {
    color: rgba(255, 255, 255, 0.72);
}

/* Responsive service cards */
@media (max-width: 768px) {
    .service-card {
        padding: 30px;
        margin: 0 auto;
    }
    
    .service-icon,
    .service-card .fas,
    .service-card .fab,
    .service-card .far,
    .service-card .fal {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .service-card:hover {
        transform: translateY(-5px) translateZ(10px) scale3d(1.01, 1.01, 1.01);
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px;
    }
    
    .service-icon,
    .service-card .fas,
    .service-card .fab,
    .service-card .far,
    .service-card .fal {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.service-icon {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

/* FontAwesome icons inside service cards */
.service-card .fas,
.service-card .fab,
.service-card .far,
.service-card .fal {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .fas,
.service-card:hover .fab,
.service-card:hover .far,
.service-card:hover .fal {
    color: var(--primary);
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--surface);
    padding: 36px 30px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px -8px rgba(10,43,94,0.12);
    border-color: rgba(10,43,94,0.12);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--accent);
    position: absolute;
    top: 4px;
    left: 20px;
    opacity: 0.18;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card p {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.75;
    font-size: 0.95rem;
}

.testimonial-card strong {
    color: var(--dark);
    font-style: normal;
}

.stars {
    color: #F5A623;
    margin-bottom: 14px;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ===== PROCESS STEPS ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 24px 16px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(10,43,94,0.13);
    border-color: rgba(10,43,94,0.12);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 38px;
    right: -18px;
    width: 18px;
    height: 2px;
    background: var(--accent);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(10,43,94,0.3);
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(232,106,44,0.4);
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 44px 32px 36px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -8px rgba(10,43,94,0.15);
    border-color: rgba(10,43,94,0.15);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(232,106,44,0.18);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #FF8C42);
    color: white;
    padding: 4px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.pricing-card h3 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.price {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pricing-card.featured .price {
    color: var(--accent);
}

.price-period {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pricing-features {
    text-align: left;
    margin: 20px 0 24px;
}

.pricing-features li {
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== SUBTITLE ===== */
.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

section .subtitle,
.section-light .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--footer-bg);
    color: white;
    padding: 64px 0 28px;
    border-top: 3px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 40px;
    margin-bottom: 44px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 18px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    transition: color 0.25s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 15px;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(232,106,44,0.4);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #E86A2C;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}

.show {
    display: block !important;
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002; /* Ensure it's above other elements */
        cursor: pointer;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10,43,94,0.98);
        flex-direction: column;
        padding: 80px 20px 20px;
        z-index: 1001;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        backdrop-filter: blur(5px);
    }
    
    nav.show {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 16px;
        min-height: 50px;
        align-items: center;
        border-left: 3px solid transparent;
    }
    
    nav ul li a:hover {
        background-color: rgba(232,106,44,0.2);
        border-left-color: #E86A2C;
        padding-left: 25px;
    }
    
    nav ul li a.active {
        background-color: rgba(232,106,44,0.3);
        border-left-color: #E86A2C;
    }
    
    /* Dropdown menu for mobile */
    .dropdown {
        margin-bottom: 10px;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        background: rgba(13,56,117,0.95);
        border-radius: 5px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .dropdown.show .dropdown-content {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }
    
    .dropdown-content a {
        padding: 12px 25px;
        color: rgba(255,255,255,0.65);
        display: block;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .dropdown-content a:hover {
        color: #E86A2C;
        background: rgba(232,106,44,0.1);
        border-left-color: #E86A2C;
        padding-left: 30px;
    }
    
    /* Mobile dropdown toggle */
    .dropdown-toggle::after {
        content: '\25BC';
        float: right;
        font-size: 0.8em;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .service-grid,
    .testimonial-grid,
    .process-timeline,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .service-card,
    .testimonial-card,
    .pricing-card {
        padding: 20px;
    }
}

/* ===== UTILITY CLASSES (replacing inline styles) ===== */

/* Banner stats strip */
.banner-stats {
    margin: 20px 0;
    font-size: 1.1rem;
    color: white;
}

/* Pricing feature lists */
.pricing-features {
    text-align: left;
    margin: 20px 0;
}

/* Hero sub-text strip */
.hero-tagline {
    margin-top: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Hero CTA wrapper */
.hero-cta-wrap {
    margin-top: 30px;
}

/* CTA urgency line */
.cta-urgency {
    margin: 30px 0;
    font-size: 1.1rem;
}

/* Contact links under dark-section CTA */
.cta-contact {
    margin-top: 30px;
}

.cta-contact a,
.section-dark .cta-contact a {
    color: white;
    transition: opacity 0.3s ease;
}

.cta-contact a:hover {
    opacity: 0.85;
    color: white;
}

.cta-contact-simple {
    margin-top: 20px;
}

.cta-contact-simple a,
.section-dark .cta-contact-simple a {
    color: rgba(255, 255, 255, 0.9);
}

.cta-contact-simple a:hover {
    color: white;
}

.cta-contact-wrap {
    margin-top: 40px;
    color: #5C6F87;
}

/* List utilities */
.list-left {
    text-align: left;
}

.list-clean {
    list-style: none;
    padding: 0;
}

.list-spaced {
    margin: 20px 0;
}

/* Areas grid - standard (250px min) */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

/* Areas grid - compact (200px min) */
.areas-grid-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

/* Results highlight box (showcase case studies) */
.results-box {
    background: var(--bg-subtle);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

/* Accent highlight box */
.highlight-box {
    background: var(--bg-subtle);
    padding: 20px 30px;
    border-radius: 10px;
    border-left: 4px solid #E86A2C;
    text-align: left;
}

.white-box {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

/* Text alignment + width utilities */
.text-left-narrow {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.text-left-wide {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.text-muted-mt {
    margin-top: 20px;
    color: #5C6F87;
}

/* Dark card variant in dark sections */
.card-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.card-dark h3 { color: #fff; }
.card-dark p  { color: rgba(255,255,255,0.85); }

/* Link accent colour */
.link-accent {
    color: #E86A2C;
}

.link-accent:hover {
    color: #e6851a;
}

/* Margin utilities */
.mt-30  { margin-top: 30px; }
.mt-40  { margin-top: 40px; }
.mt-60  { margin-top: 60px; }
.mb-30  { margin-bottom: 30px; }

/* Tool section (video prompt page) */
.tool-section {
    padding: 40px 0;
}

/* Iframe embed wrapper */
.iframe-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Embedded iframe */
.embed-iframe {
    border: none;
    border-radius: 10px;
    display: block;
    width: 100%;
}

/* Search suggestions dropdown (404 page) */
.search-suggestions {
    margin-top: 15px;
    text-align: left;
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
    color: var(--dark);
    font-size: 0.95rem;
}

.suggestion-item:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* ===== 404 PAGE ===== */
.error-container {
    text-align: center;
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #E86A2C;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1A2C3E;
}

.error-description {
    font-size: 1.2rem;
    color: #5C6F87;
    margin-bottom: 40px;
    max-width: 600px;
}

.error-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box {
    margin: 40px 0;
    max-width: 500px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 10px;
}

.search-box input:focus {
    outline: none;
    border-color: #E86A2C;
}

.quick-links {
    margin: 60px 0;
}

.quick-links h3 {
    color: #1A2C3E;
    margin-bottom: 20px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
}

.quick-links-grid a {
    color: #E86A2C;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
    display: block;
}

.quick-links-grid a:hover {
    background: var(--bg-subtle);
    color: #1A2C3E;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .areas-grid,
    .areas-grid-sm {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .areas-grid,
    .areas-grid-sm {
        grid-template-columns: 1fr;
    }
}

/* ===== SKIP NAV (Accessibility) ===== */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: #E86A2C;
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-nav:focus {
    top: 0;
    color: white;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ===== IMPROVED SECTION DARK CTA LINKS ===== */
.section-dark a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
}

.section-dark a:not(.btn):hover {
    color: #E86A2C;
}

/* ===== HEADER LOGO SIZING ===== */
.logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* ===== IMPROVED FOOTER BOTTOM LINKS ===== */
.footer-bottom a {
    color: rgba(255,255,255,0.65);
}

.footer-bottom a:hover {
    color: #E86A2C;
}

/* ===== PERFORMANCE: content-visibility for below-fold sections ===== */
.section-below-fold {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* ===== DESIGN GUIDE: BADGE COMPONENT ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(232,106,44,0.25);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(10,43,94,0.15);
}

.badge-mint {
    background: rgba(29,185,84,0.1);
    color: #138a3c;
    border-color: rgba(29,185,84,0.2);
}

/* ===== SECTION ACCENT HEADINGS ===== */
.section-accent-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-accent-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-pill);
}

.text-center .section-accent-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== IMPROVED SECTION HEADINGS — accent underline ===== */
section .text-center > h2,
.section-light .text-center > h2 {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

section .text-center > h2::after,
.section-light .text-center > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-pill);
}

/* ===== UTILITY TEXT COLOURS ===== */
.text-mint   { color: var(--mint);    font-weight: 700; }
.text-accent { color: var(--accent);  font-weight: 700; }
.text-primary-color { color: var(--primary); font-weight: 700; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero .hero-content,
.banner-inner {
    animation: fadeUp 0.45s ease both;
}

.banner-image {
    animation: fadeUp 0.45s 0.12s ease both;
}

/* ===== CONTAINER — 1280px max (design guide) ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION PADDING — 80px desktop, 56px mobile ===== */
@media (max-width: 768px) {
    section { padding: 56px 0; }
    .faq-section { padding: 56px 0; }
    footer { padding: 48px 0 20px; }
}

/* ===== SERVICE CARDS: ensure consistent height in grid ===== */
.service-grid .service-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ===== SECTION DARK: text colours ===== */
.section-dark h2,
.section-dark h3 {
    color: rgba(255,255,255,0.95);
}

.section-dark > .container p,
.section-dark > .container .subtitle {
    color: rgba(255,255,255,0.78);
}

.section-dark strong {
    color: white;
}

/* ===== LOGO ===== */
.logo {
    height: 46px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}