@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root,
[data-theme="dark"] {
    /* =====================================================
       PREMIUM DARK THEME (DEFAULT)
       Midnight Obsidian / Slate / Neon Cyan & Teal Accents
       ===================================================== */
    
    /* Core Background Colors */
    --bg-body: #080c16;
    --bg-primary: #080c16;
    --bg-secondary: #0d1322;
    --bg-tertiary: #131b2e;
    --bg-dark: #080c16;
    --bg-dark-accent: #0f172a;
    --bg-light: #0d1322;
    --bg-white: #111827;
    --bg-card: #111827;
    --bg-card-elevated: #162033;
    --bg-card-hover: #1c2840;

    /* Core Text Colors */
    --text-white: #ffffff;
    --text-dark: #f8fafc;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-muted-light: #64748b;
    
    /* Branding Accent (Teal → Cyan gradient) */
    --accent-teal: #0d9488;
    --accent-cyan: #0ea5e9;
    --accent-gradient: linear-gradient(135deg, #0d9488 0%, #0ea5e9 100%);
    --accent-gradient-hover: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
    --glow-color: rgba(14, 165, 233, 0.25);

    /* Section-specific backgrounds */
    --section-dark-bg: #080c16;
    --section-dark-accent: #0f172a;
    --section-dark-border: rgba(14, 165, 233, 0.15);

    /* Card theming */
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(14, 165, 233, 0.35);
    --card-hover-shadow: rgba(14, 165, 233, 0.2);
    --card-icon-bg: rgba(14, 165, 233, 0.12);
    --card-icon-bg-hover: rgba(14, 165, 233, 0.25);

    /* Form Inputs */
    --input-bg: #111827;
    --input-border: rgba(255, 255, 255, 0.12);
    --input-text: #f8fafc;
    --input-placeholder: #64748b;

    /* Stat section */
    --stat-bg: #0f172a;
    --stat-border: rgba(14, 165, 233, 0.15);
    --stat-hover-bg: #162033;
    --stat-hover-border: rgba(14, 165, 233, 0.35);
    --stat-hover-glow: rgba(14, 165, 233, 0.12);

    /* Navigation */
    --header-bg: rgba(8, 12, 22, 0.92);
    --header-scrolled-bg: rgba(8, 12, 22, 0.98);
    --nav-text: #f8fafc;
    --nav-active-color: #38bdf8;
    --nav-active-underline: #38bdf8;
    --nav-glow: rgba(56, 189, 248, 0.4);

    /* Footer */
    --footer-bg-start: #050810;
    --footer-bg-end: #020408;
    --footer-cta-bg: rgba(14, 165, 233, 0.12);
    --footer-cta-border: rgba(14, 165, 233, 0.25);
    --footer-cta-glow: rgba(14, 165, 233, 0.1);

    /* Hero overlay */
    --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.6) 100%);
    --hero-bg-gradient: linear-gradient(-45deg, #080c16, #0f172a, #0d1525, #050810);

    /* Quote accent */
    --quote-accent: rgba(14, 165, 233, 0.12);

    /* Trust bar */
    --trust-bar-bg: linear-gradient(135deg, #050810 0%, #0d1525 100%);
    --trust-bar-border: rgba(14, 165, 233, 0.15);
    --trust-bar-line: rgba(14, 165, 233, 0.3);
    --preview-canvas-bg: linear-gradient(135deg, #050810 0%, #0d1525 100%);
    --text-gradient-bg: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Shadow & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--glow-color);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   PREMIUM LIGHT THEME — CRISP EDITORIAL
   Pure White / Soft Slate / Charcoal Typography
   ===================================================== */
[data-theme="light"],
[data-theme="monochrome"] {
    /* Core Background Colors */
    --bg-body: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #f8fafc;
    --bg-dark-accent: #f1f5f9;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-elevated: #ffffff;
    --bg-card-hover: #f8fafc;

    /* Core Text Colors */
    --text-white: #0f172a;
    --text-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-muted-light: #94a3b8;

    /* Branding Accent */
    --accent-teal: #0d9488;
    --accent-cyan: #0284c7;
    --accent-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    --accent-gradient-hover: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    --glow-color: rgba(13, 148, 136, 0.12);

    /* Section-specific backgrounds */
    --section-dark-bg: #f8fafc;
    --section-dark-accent: #f1f5f9;
    --section-dark-border: rgba(15, 23, 42, 0.08);

    /* Card theming */
    --card-border: rgba(15, 23, 42, 0.08);
    --card-hover-border: rgba(14, 165, 233, 0.3);
    --card-hover-shadow: rgba(15, 23, 42, 0.08);
    --card-icon-bg: rgba(14, 165, 233, 0.08);
    --card-icon-bg-hover: rgba(14, 165, 233, 0.16);

    /* Form Inputs */
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;

    /* Stat section */
    --stat-bg: #ffffff;
    --stat-border: rgba(15, 23, 42, 0.08);
    --stat-hover-bg: #f8fafc;
    --stat-hover-border: rgba(14, 165, 233, 0.25);
    --stat-hover-glow: rgba(14, 165, 233, 0.04);

    /* Navigation */
    --header-bg: rgba(255, 255, 255, 0.94);
    --header-scrolled-bg: rgba(255, 255, 255, 0.98);
    --nav-text: #334155;
    --nav-active-color: #0284c7;
    --nav-active-underline: #0284c7;
    --nav-glow: rgba(2, 132, 199, 0.2);

    /* Footer */
    --footer-bg-start: #0f172a;
    --footer-bg-end: #090d16;
    --footer-cta-bg: rgba(14, 165, 233, 0.08);
    --footer-cta-border: rgba(255, 255, 255, 0.1);
    --footer-cta-glow: rgba(14, 165, 233, 0.05);

    /* Hero overlay */
    --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.55) 100%);
    --hero-bg-gradient: linear-gradient(-45deg, #f8fafc, #f1f5f9, #e2e8f0, #f8fafc);

    /* Quote accent */
    --quote-accent: rgba(15, 23, 42, 0.04);

    /* Trust bar */
    --trust-bar-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --trust-bar-border: rgba(15, 23, 42, 0.08);
    --trust-bar-line: rgba(15, 23, 42, 0.1);
    --preview-canvas-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --text-gradient-bg: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);

    /* Shadow & Borders */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   THEME TRANSITION (smooth switch, no flash)
   ===================================================== */
html {
    transition: background-color 0.4s ease;
}

body,
header, footer, section,
.service-card, .service-item, .stat-card, .testimonial,
.faq-item, .faq-question, .timeline-content,
.calculator-card, .calculator-header, .calculator-result,
.config-section, .preview-card, .preview-canvas,
.layout-step-card, .quote-unlock-box,
.leader-card, .leader-info,
.filter-btn, .gallery-item-overlay,
.custom-alert-box, .custom-alert-overlay,
.trust-bar, .marquee, .our-clients,
.footer-cta-banner, .btn-primary, .btn-secondary,
.contact-form form, .contact-form input, .contact-form textarea, .contact-form select,
.blog-card, .case-study-card,
.nav-links, .theme-toggle {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Base resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* When Lenis is active, disable native smooth scroll */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Headings & Text */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.text-gradient {
    background: var(--text-gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    display: inline-block;
}

.center {
    text-align: center;
}

.center-title {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 35px;
    font-size: 2.2rem;
}

.center-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Sections */
section {
    padding: 5rem 10%;
    width: 100%;
    position: relative;
}

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

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

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg p {
    color: var(--text-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* =====================================================
   SCROLL REVEAL ANIMATION CLASSES
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* =====================================================
   HEADER & NAV
   ===================================================== */
header {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid var(--section-dark-border);
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: background, padding;
}


/* Homepage transparent header */
header.header--transparent {
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 10px 5%;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: var(--section-dark-border);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    opacity: 0.85;
    position: relative;
    padding: 5px 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--nav-active-color);
    text-shadow: 0 0 10px var(--nav-glow), 0 1px 8px rgba(0, 0, 0, 0.85);
}

.nav-links a.active {
    opacity: 1;
    color: var(--nav-active-color);
    text-shadow: 0 0 8px var(--nav-glow), 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* GPU-accelerated underline with scaleX transform */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--nav-active-underline);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-normal);
    background-color: var(--text-white);
    border-radius: 2px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--glow-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep effect on CTA */
.btn-primary::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: none;
}

.btn-primary:hover::before {
    animation: shimmer 0.8s ease forwards;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow-color), var(--shadow-glow);
    background: var(--accent-gradient-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white) !important;
    padding: 10px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    border-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-teal) !important;
    transform: translateY(-3px);
}

/* =====================================================
   VIDEO HERO SECTION
   ===================================================== */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-bg-gradient);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.hero-bg-image.active {
    opacity: 0.55;
    transform: scale(1);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-bg-video.active {
    opacity: 0.4;
}

.video-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.88) 0%, rgba(10, 15, 30, 0.65) 50%, rgba(10, 15, 30, 0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 950px;
    padding: 0 20px;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Partner Badge */
.hero-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.hero-partner-badge .badge-sparkle {
    font-size: 0.9rem;
}

.hero-partner-badge .badge-accent {
    color: #38bdf8;
    font-weight: 700;
}

.hero-partner-badge .badge-dot {
    color: rgba(255, 255, 255, 0.3);
}

.hero-partner-badge .badge-location {
    color: rgba(255, 255, 255, 0.85);
}

/* Hero heading */
.video-hero .hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 4px 20px rgba(0,0,0,0.4);
}

.hero-accent-text {
    color: #38bdf8;
}

.hero-serif-italic {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
}

.video-hero .hero-content p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}

.video-hero .hero-content .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.video-hero .hero-buttons .btn-primary {
    border-radius: 9999px;
    padding: 14px 32px;
    background: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.video-hero .hero-buttons .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.video-hero .hero-buttons .btn-secondary {
    border-radius: 9999px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-hero .hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

/* Slider Controls & Indicators */
.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    z-index: 10;
}

.hero-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    width: 32px;
    background: #38bdf8;
}

.hero-caption {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: -5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: scrollIndicatorFadeIn 1s ease 2s forwards;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-weight: 500;
}

.scroll-indicator .scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 2px;
    animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

@keyframes scrollIndicatorFadeIn {
    to { opacity: 1; }
}

/* =====================================================
   BASIC HERO FOR SUBPAGES
   ===================================================== */
.hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%), url('images/hero_slider_1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding-top: 80px;
}

[data-theme="monochrome"] .hero {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.92) 0%, rgba(30, 30, 30, 0.95) 100%), url('images/hero_slider_1.png') center/cover no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* =====================================================
   SERVICE CARDS (Home & Services Page)
   ===================================================== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -10px var(--card-hover-shadow), var(--shadow-lg);
    border-color: var(--card-hover-border);
}

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

/* Service card icons */
.service-card .card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-icon-bg) 0%, var(--card-icon-bg) 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.service-card .card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-teal);
    transition: var(--transition-normal);
}

.service-card:hover .card-icon {
    transform: scale(1.12) rotate(5deg);
    background: linear-gradient(135deg, var(--card-icon-bg-hover) 0%, var(--card-icon-bg-hover) 100%);
}

.service-card:hover .card-icon svg {
    fill: var(--accent-cyan);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Page Specific Card */
.service-card.price {
    border: 2px solid var(--card-border);
    background: var(--bg-white);
    text-align: center;
}

.service-card.price p {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-dark);
}

.service-card.price p:last-child {
    border-bottom: none;
}

.service-card.price strong {
    color: var(--accent-teal);
    font-size: 1.25rem;
}

/* =====================================================
   WHY CHOOSE KIOSKRA SECTION
   ===================================================== */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px var(--card-hover-shadow), var(--shadow-md);
    border-color: var(--card-hover-border);
}

.service-icon {
    font-size: 1.8rem;
    color: var(--accent-teal);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-icon-bg);
    border-radius: 50%;
    margin-bottom: 5px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--card-icon-bg-hover);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-teal);
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================================================
   STATS / COUNTER SECTION
   ===================================================== */
.stats-section {
    background-color: var(--section-dark-bg);
    padding: 4.5rem 10%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--section-dark-border);
    border-bottom: 1px solid var(--section-dark-border);
}

.stats-section h2.center-title {
    color: var(--text-white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.stats-section h2.center-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 1.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    background: var(--stat-bg);
    border: 1px solid var(--stat-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 300ms ease, 
                box-shadow 300ms ease,
                background 300ms ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--stat-hover-bg);
    border-color: var(--stat-hover-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--stat-hover-glow);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -1px;
    transition: color 300ms ease, text-shadow 300ms ease;
}

.stat-card:hover .stat-number {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px var(--stat-hover-glow);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
    margin: 0;
    line-height: 1.4;
}

/* =====================================================
   TIMELINE SECTION (Replaces Process Steps)
   ===================================================== */
.timeline-section {
    background: var(--bg-white);
    padding: 5rem 10%;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0;
}

/* Central vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-cyan), rgba(14, 165, 233, 0.2));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px 50px;
}

/* Left items */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 50px;
    padding-left: 0;
}

/* Right items */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
}

/* Circle node */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--accent-gradient);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2), var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
    right: -9px;
}

.timeline-item:nth-child(even)::before {
    left: -9px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--card-border);
    transition: var(--transition-normal);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--card-hover-border);
}

.timeline-step {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Section (kept as fallback for services page) */
.process {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.process-steps > div {
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    padding: 30px 25px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.process-steps > div:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--bg-dark-accent);
    border-color: var(--accent-teal);
    color: var(--text-white);
}

.process-steps span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.process-steps > div:hover span {
    background: var(--text-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-white);
}

.process-steps p {
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.process-steps > div:hover p {
    color: var(--text-white);
}

/* =====================================================
   SEAMLESS IMAGE MARQUEE
   ===================================================== */
.marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    background: var(--bg-light);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-track img {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.marquee-track img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
#about {
    background: var(--bg-white);
}

#about h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

#about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 1000px;
    white-space: pre-line;
}

/* =====================================================
   LEADERSHIP SECTION
   ===================================================== */
.leadership-section {
    margin-top: 4rem;
    width: 100%;
}

.leadership-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 12px;
}

.leadership-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--text-dark);
    border-radius: 2px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 850px;
    margin: 0 auto;
}

.leader-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cacaca;
}

.leader-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background-color: #f9f9f9;
}

.leader-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.leader-card:hover .leader-image-wrapper img {
    transform: scale(1.04);
}

.leader-info {
    padding: 1.5rem;
    text-align: center;
    background-color: #ffffff;
}

.leader-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.leader-designation {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
}

/* =====================================================
   TESTIMONIALS SLIDER
   ===================================================== */
.testimonials {
    background: var(--bg-light);
    overflow: hidden;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 10px;
}

.testimonial {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: var(--quote-accent);
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 10px;
    text-align: right;
    font-family: var(--font-heading);
}

/* Star Rating */
.testimonial-stars {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 5px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
}

/* Slider Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.testimonial-arrow:hover {
    background: var(--accent-gradient);
    color: var(--text-white);
    border-color: transparent;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.testimonial-dot.active {
    background: var(--accent-gradient);
    width: 28px;
    border-radius: 5px;
}

/* Legacy grid (keep for fallback) */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* =====================================================
   CLIENT LOGOS MARQUEE
   ===================================================== */
.our-clients {
    background: var(--bg-white);
    border-top: 1px solid var(--card-border);
    overflow: hidden;
}

.logos-marquee {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-marquee-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scrollLogos 35s linear infinite;
    align-items: center;
}

.logos-marquee-track:hover {
    animation-play-state: paused;
}

.logo-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    min-width: 140px;
    flex-shrink: 0;
    padding: 10px 20px;
}

.logo-marquee-item img {
    max-width: 120px;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Old brands grid fallback */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    height: 90px;
    width: 100%;
    transition: var(--transition-normal);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.brand-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
    background: var(--bg-white);
}

.brand-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-section {
    background: var(--bg-white);
}

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

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--card-hover-border);
}

.faq-item.active {
    border-color: var(--card-hover-border);
    box-shadow: 0 4px 15px var(--card-hover-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: var(--bg-white);
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.faq-question:hover {
    color: var(--accent-teal);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: var(--transition-normal);
}

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

.faq-item.active .faq-icon svg {
    fill: var(--accent-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1), padding 0.5s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =====================================================
   CONTACT FORM SECTION
   ===================================================== */
.contact-form {
    background: var(--bg-light);
}

.contact-form form {
    max-width: 650px;
    margin: 40px auto 0;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .full-width {
    grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    width: 100%;
    background: var(--bg-light);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
    border-color: var(--accent-teal);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px var(--glow-color);
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    grid-column: span 2;
    background: var(--accent-gradient);
    color: var(--text-white);
    padding: 15px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--glow-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form button::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: none;
}

.contact-form button:hover::before {
    animation: shimmer 0.8s ease forwards;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-color);
    background: var(--accent-gradient-hover);
}

/* =====================================================
   CALL TO ACTION (Subpages)
   ===================================================== */
.cta {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(13, 148, 136, 0.85) 100%), url('images/hero_slider_2.png') center/cover no-repeat;
    text-align: center;
    padding: 6rem 10%;
    color: var(--text-white);
}

[data-theme="monochrome"] .cta {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.92) 0%, rgba(50, 50, 50, 0.85) 100%), url('images/hero_slider_2.png') center/cover no-repeat;
}

.cta h2 {
    font-size: 2.6rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* =====================================================
   PREMIUM FOOTER SECTION
   ===================================================== */
.footer {
    background: linear-gradient(180deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 10% 2.5rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--section-dark-border);
    position: relative;
    margin-top: 60px;
}

/* Pre-footer CTA Banner */
.footer-cta-banner {
    max-width: 1200px;
    margin: -50px auto 60px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, var(--footer-cta-bg) 100%);
    border: 1px solid var(--footer-cta-border);
    border-radius: var(--border-radius-lg);
    padding: 35px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px var(--footer-cta-glow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 10;
}

.footer-cta-content h3 {
    font-size: 1.45rem;
    color: var(--text-white);
    margin-bottom: 6px;
    font-weight: 700;
}

.footer-cta-content p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.1fr 1.2fr;
    gap: 45px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 22px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-col a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--accent-teal);
    transform: translateX(4px);
}

.footer-col a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent-teal);
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover::before {
    opacity: 1;
    transform: translateX(2px);
}

/* Footer Bio Column */
.footer-bio {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.bio-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-icon-bg);
    border: 1px solid var(--card-hover-border);
    color: var(--accent-teal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: max-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 8px var(--accent-teal);
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.footer-socials a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.footer-socials a::before {
    display: none !important;
}

.footer-socials a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.75);
    transition: fill 0.3s ease;
}

.footer-socials a:hover .social-icon {
    fill: var(--text-white);
}

/* Contact Details Column */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
}

.contact-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--card-icon-bg);
    border: 1px solid var(--card-hover-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 16px;
    height: 16px;
    fill: var(--accent-teal);
}

.footer-contact-details a::before {
    display: none !important;
}

.footer-contact-details a {
    display: inline !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.footer-contact-details a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
    transform: none;
}

/* Footer Divider Line */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 30px 0 20px 0;
}

/* Footer Bottom Container */
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 10px;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-to-top:hover {
    background: var(--accent-gradient);
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .footer-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

/* Pulse animation on floating widget */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =====================================================
   PORTFOLIO PAGE STYLES
   ===================================================== */
.portfolio-header {
    background: linear-gradient(135deg, var(--section-dark-bg) 0%, var(--section-dark-accent) 100%);
    color: var(--text-white);
    padding: 100px 5% 50px;
    text-align: center;
    margin-top: 70px;
}

.portfolio-header h1 {
    color: var(--text-white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.portfolio-header p {
    color: var(--text-muted-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Navigation Cards (Portfolio Specific) */
.service-cards-container {
    background: var(--bg-dark-accent);
    padding: 40px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-cards-heading {
    text-align: center;
    margin-bottom: 30px;
}

.service-cards-heading h2 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.service-cards-heading p {
    color: var(--text-muted-light);
    font-size: 1rem;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.service-cards .service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    text-align: center;
    width: 280px;
    padding: 30px 20px;
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.service-cards .service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-cards .service-card h3 {
    color: var(--text-white);
    margin-top: 15px;
    font-size: 1.2rem;
}

.service-cards .service-card p {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Filter Tab Buttons */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--card-border);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

/* Filterable Grid Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, opacity 0.4s ease;
    contain: layout;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0) 40%, rgba(10, 15, 30, 0.92) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item-title {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-tag {
    color: var(--accent-teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-tag {
    transform: translateY(0);
}

/* =====================================================
   LIGHTBOX MODAL
   ===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-top: 15px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-white);
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-teal);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--text-white);
    color: var(--bg-dark);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Lightbox Nav Media Queries */
@media (max-width: 992px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-nav {
        background: rgba(7, 10, 19, 0.6);
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Video Container & Stats (Portfolio Specific) */
.video-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    background: #000;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-item {
    display: none;
    text-align: center;
}

.video-item.active {
    display: block;
}

.video-item video {
    width: 100%;
    display: block;
}

.video-label {
    padding: 20px;
    background: var(--bg-dark-accent);
    color: var(--text-white);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 5;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-btn.prev {
    left: 15px;
}

.nav-btn.next {
    right: 15px;
}

.portfolio-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 10%;
    background: var(--bg-light);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}

/* Portfolio Dark Section */
.portfolio-dark {
    background: linear-gradient(135deg, var(--section-dark-bg) 0%, var(--section-dark-accent) 100%);
    color: var(--text-white);
}

.portfolio-section {
    padding: 5rem 10%;
}

/* =====================================================
   KEYFRAMES
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 992px) {
    section {
        padding: 4rem 5%;
    }

    .video-hero .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .video-hero .hero-content p {
        font-size: 1.15rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Timeline: single column */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 55px;
        padding-right: 0;
    }

    .timeline-item::before,
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 11px;
        right: auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .hamburger {
        display: block;
    }

    /* Hamburger Active state */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile nav – slide from right with glass effect */
    .nav-links {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        flex-direction: column;
        background: rgba(10, 15, 30, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        padding: 100px 40px 50px;
        gap: 25px;
        z-index: 999;
        overflow-y: auto;
    }


    .nav-links.active {
        right: 0;
        left: auto;
    }

    .nav-links a {
        font-size: 1.15rem;
        display: inline-block;
        opacity: 0;
        transform: translateX(20px);
    }

    .nav-links.active a {
        opacity: 0.85;
        transform: translateX(0);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Stagger animation via transition-delay */
    .nav-links.active li:nth-child(1) a { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) a { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) a { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) a { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) a { transition-delay: 0.3s; }

    .video-hero .hero-content h1 {
        font-size: 2.2rem;
    }

    .video-hero .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-form form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .contact-form .full-width {
        grid-column: span 1;
    }
    
    .contact-form button {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .footer-container {
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .video-hero .hero-content h1 {
        font-size: 1.8rem;
    }

    .video-hero .hero-content p {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 24px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .video-hero .hero-content .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =====================================================
   PREMIUM CUSTOM ALERT POPUP
   ===================================================== */
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-alert-overlay.active {
    opacity: 1;
}
.custom-alert-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(13, 148, 136, 0.15);
    border-radius: 16px;
    padding: 35px 25px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #ffffff;
}
.custom-alert-overlay.active .custom-alert-box {
    transform: scale(1) translateY(0);
}
.custom-alert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #0d9488;
}
.custom-alert-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.custom-alert-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
.custom-alert-title {
    font-family: var(--font-heading, inherit);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.custom-alert-message {
    font-family: var(--font-body, inherit);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #94a3b8;
    margin-bottom: 25px;
}
.custom-alert-btn {
    background: var(--accent-gradient, linear-gradient(135deg, #0d9488, #0ea5e9));
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.custom-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}
.custom-alert-btn:active {
    transform: translateY(0);
}

/* =====================================================
   HERO TRUST BADGE
   ===================================================== */
.hero-trust-badge {
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trust-star {
    font-size: 1.1rem;
}

.btn-sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
}

/* =====================================================
   TRUST BAR SECTION
   ===================================================== */
.trust-bar {
    background: var(--trust-bar-bg);
    padding: 2.5rem 5%;
    border-bottom: 1px solid var(--trust-bar-border);
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--trust-bar-line), transparent);
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.trust-bar-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.trust-bar-heading .trust-icon {
    font-size: 1.5rem;
}

.trust-bar-heading h3 {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-bar-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-divider {
    color: var(--card-border) !important;
    font-weight: 300;
}

.trust-more {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.trust-bar-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-stat-icon {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 2rem 5%;
    }
    .trust-bar-stats {
        gap: 12px 20px;
    }
    .trust-bar-brands {
        gap: 6px;
        font-size: 0.85rem;
    }
    .trust-stat {
        font-size: 0.8rem;
    }
}

/* =====================================================
   ENHANCED CONTACT FORM STYLES
   ===================================================== */
.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

.contact-form label .required {
    color: #ef4444;
    font-weight: 700;
}

.contact-form select {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    width: 100%;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition-fast);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form select:focus,
.contact-form select:focus-visible {
    outline: none;
    border-color: var(--accent-teal);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--glow-color);
}

/* Validation states */
.contact-form .input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.contact-form .input-valid {
    border-color: #10b981 !important;
}

.field-error {
    display: none;
    font-size: 0.78rem;
    color: #ef4444;
    font-weight: 500;
    margin-top: 2px;
}

/* Radio buttons */
.radio-group-label {
    margin-bottom: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: var(--bg-light);
}

.radio-label:hover {
    border-color: var(--accent-teal);
    color: var(--text-dark);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.5);
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-teal);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--accent-gradient);
    border-radius: 50%;
}

.radio-label input[type="radio"]:checked ~ * {
    color: var(--text-dark);
}

/* Submit button loader */
.btn-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form group in grid */
.contact-form .form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 576px) {
    .contact-form .form-group.full-width {
        grid-column: span 1;
    }
    .radio-group {
        gap: 10px;
    }
    .radio-label {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* =====================================================
   WHATSAPP TOOLTIP
   ===================================================== */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1f2937;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none;
    }
}

/* =====================================================
   IMAGE FALLBACK
   ===================================================== */
.img-fallback {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(13, 148, 136, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

.img-fallback::after {
    content: '📷 Image unavailable';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

/* =====================================================
   CALCULATOR PAGE STYLES
   ===================================================== */
.calculator-section {
    background: var(--bg-light);
    padding: 5rem 5%;
}

.calculator-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, var(--section-dark-bg) 0%, var(--section-dark-accent) 100%);
    padding: 30px 40px;
    text-align: center;
}

.calculator-header h2 {
    color: var(--text-white);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.calculator-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-field.full {
    grid-column: span 2;
}

.calc-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.calc-field input,
.calc-field select {
    padding: 12px 16px;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-light);
    transition: var(--transition-fast);
    width: 100%;
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px var(--glow-color);
    background: var(--bg-white);
}

.calc-type-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.calc-type-card {
    flex: 1;
    min-width: 140px;
    padding: 16px;
    border: 2px solid var(--card-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-normal);
    background: var(--bg-white);
}

.calc-type-card:hover {
    border-color: var(--accent-teal);
}

.calc-type-card.active {
    border-color: var(--accent-teal);
    background: var(--card-icon-bg);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.calc-type-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.calc-type-card .calc-price {
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 600;
}

.calc-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.calc-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--bg-white);
    font-size: 0.88rem;
}

.calc-feature-item:hover {
    border-color: var(--accent-teal);
}

.calc-feature-item.checked {
    border-color: var(--accent-teal);
    background: var(--card-icon-bg);
}

.calc-feature-item input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-teal);
}

.calc-feature-price {
    margin-left: auto;
    font-weight: 600;
    color: var(--accent-teal);
    font-size: 0.8rem;
    white-space: nowrap;
}

.calculator-result {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--section-dark-bg) 0%, var(--section-dark-accent) 100%);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    margin-top: 10px;
}

.calculator-result .result-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.calculator-result .result-price {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.calculator-result .result-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 500px;
    margin: 0 auto;
}

.calculator-actions {
    grid-column: span 2;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    padding: 12px 28px;
    border: 2px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .calculator-body {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }
    .calc-field.full,
    .calculator-result,
    .calculator-actions {
        grid-column: span 1;
    }
    .calc-features {
        grid-template-columns: 1fr;
    }
    .calculator-result .result-price {
        font-size: 1.8rem;
    }
}

/* =====================================================
   CASE STUDIES PAGE STYLES
   ===================================================== */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.2);
}

.case-study-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-study-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-gradient);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-body {
    padding: 25px;
}

.case-study-body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.case-study-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.case-study-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-teal);
    margin-bottom: 6px;
    margin-top: 14px;
}

.case-study-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.case-study-results {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-study-results li,
.case-study-results .result-item {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-study-footer {
    padding: 16px 25px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Before/After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-slider .after-img {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.before-after-slider .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--text-white);
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.before-after-slider .slider-handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   BLOG PAGE STYLES
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.2);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(7, 10, 19, 0.85);
    color: var(--accent-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

.blog-card-body {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-body h3 {
    color: var(--accent-teal);
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    padding: 14px 25px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.blog-read-more {
    color: var(--accent-teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 8px;
}

/* Blog Post Page */
.blog-post-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.blog-breadcrumb a {
    color: var(--accent-teal);
}

.blog-breadcrumb .separator {
    color: rgba(148, 163, 184, 0.5);
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.blog-post-content h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(14, 165, 233, 0.15);
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 12px;
}

.blog-post-content p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.blog-post-content li {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--accent-teal);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-style: italic;
    color: var(--text-dark);
}

.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 40px;
}

.blog-share-bar span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--accent-gradient);
    color: var(--text-white);
    border-color: transparent;
    transform: scale(1.1);
}

.blog-cta-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(13, 148, 136, 0.08) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.blog-cta-box h3 {
    margin-bottom: 10px;
}

.blog-cta-box p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.related-posts h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-header h1 {
        font-size: 1.8rem;
    }
}

/* =====================================================
   CONFIGURATOR PAGE STYLES
   ===================================================== */
.configurator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.configurator-controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.config-section {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.config-section h3 {
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-section h3 .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.shape-options {
    display: flex;
    gap: 12px;
}

.shape-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
    cursor: pointer;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.shape-btn:hover {
    border-color: var(--accent-teal);
}

.shape-btn.active {
    border-color: var(--accent-teal);
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-teal);
}

.dimension-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dim-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dim-input label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.dim-input input {
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    text-align: center;
    background: var(--bg-light);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.dim-input input:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.color-picker-wrapper input[type="color"] {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    padding: 2px;
    background: none;
}

.color-hex {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.feature-toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.feature-toggle:hover {
    border-color: var(--accent-teal);
}

.feature-toggle.checked {
    border-color: var(--accent-teal);
    background: rgba(14, 165, 233, 0.05);
}

.feature-toggle input[type="checkbox"] {
    accent-color: var(--accent-teal);
}

.configurator-preview {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.preview-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.preview-canvas {
    background: var(--preview-canvas-bg);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-info {
    padding: 25px;
}

.preview-cost {
    text-align: center;
    margin-bottom: 16px;
}

.preview-cost .cost-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.preview-cost .cost-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-cost .cost-timeline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .configurator-layout {
        grid-template-columns: 1fr;
    }
    .configurator-preview {
        position: static;
    }
}

/* =====================================================
   PORTFOLIO ADVANCED FILTERS
   ===================================================== */
.advanced-filters {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field select {
    padding: 10px 14px;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-primary);
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-field select option {
    background: var(--bg-card, #111827);
    color: var(--text-primary, #f8fafc);
    padding: 8px 12px;
}

.filter-field select:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-actions .btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
}

.btn-filter-apply {
    background: var(--accent-gradient);
    color: var(--text-white);
}

.btn-filter-reset {
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--card-border) !important;
}

.btn-filter-reset:hover {
    color: var(--text-dark);
    border-color: var(--text-muted) !important;
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: none;
}

.no-results-message.visible {
    display: block;
}

.no-results-message h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.result-count {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .advanced-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .advanced-filters {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   COMMON PAGE HEADER (for new pages)
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--section-dark-bg) 0%, var(--section-dark-accent) 100%);
    color: var(--text-white);
    padding: 120px 5% 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: var(--text-white);
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 5%;
}

/* Category filter pills */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-pill {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.category-pill:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.category-pill.active {
    background: var(--accent-gradient);
    color: var(--text-white);
    border-color: transparent;
}

/* =====================================================
   LIGHT-BACKGROUND SECONDARY BUTTON FIX
   ===================================================== */
.light-bg .btn-secondary,
.service-card .btn-secondary {
    color: var(--text-dark) !important;
    border-color: rgba(7, 10, 19, 0.3) !important;
}

.light-bg .btn-secondary:hover,
.service-card .btn-secondary:hover {
    color: var(--accent-teal) !important;
    border-color: var(--accent-teal) !important;
    background: rgba(14, 165, 233, 0.05) !important;
}

/* =====================================================
   FLOATING CALL BUTTON
   ===================================================== */
.phone-float {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: #111111; /* Brand matching black */
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3);
    z-index: 999;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.phone-float svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.phone-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 22px rgba(17, 17, 17, 0.5);
    background: #333333;
}

/* Pulse animation on phone floating widget */
.phone-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111111;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Phone Tooltip */
.phone-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1f2937;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.phone-float:hover .phone-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 768px) {
    .phone-tooltip {
        display: none;
    }
}

/* =====================================================
   HERO GRID BLUEPRINT ANIMATION
   ===================================================== */
.hero-grid-animation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    perspective: 800px;
    transform: rotateX(60deg) translateY(-25%) translateZ(-150px);
    animation: gridFloorScroll 25s linear infinite;
    z-index: 1;
    transform-origin: top center;
}

@keyframes gridFloorScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

/* =====================================================
   STALL LAYOUT SYSTEM
   ===================================================== */
.stall-layout-system {
    padding: 6rem 10% 3.5rem 10%;
    background-color: var(--bg-white);
    border-top: 1px solid var(--text-muted-light);
    border-bottom: 1px solid var(--text-muted-light);
}

.stall-layout-system h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.stall-layout-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

.layout-system-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.layout-system-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.layout-step-card {
    background: var(--bg-light);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-normal);
}

.layout-step-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-sm);
}

.layout-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--text-muted-light);
    padding-bottom: 12px;
}

.layout-step-num {
    background: var(--accent-teal);
    color: var(--text-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.layout-step-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

/* Selector Grids (Segmented Buttons style) */
.selector-segmented-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.segmented-option {
    position: relative;
    cursor: pointer;
}

.segmented-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.segmented-option-content {
    background: var(--bg-white);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: block;
}

.segmented-option input:checked + .segmented-option-content {
    background: var(--accent-teal);
    color: var(--text-white);
    border-color: var(--accent-teal);
}

.segmented-option-content:hover {
    border-color: var(--accent-cyan);
}

/* Dimensions fields */
.dimensions-input-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.input-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-field-wrapper label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-field-wrapper input,
.input-field-wrapper select {
    padding: 10px 12px;
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    background: var(--bg-white);
    transition: var(--transition-fast);
    width: 100%;
}

.input-field-wrapper input:focus,
.input-field-wrapper select:focus {
    border-color: var(--accent-teal);
    outline: none;
}

.dimension-summary {
    background: var(--bg-white);
    border: 1px dashed var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Feature Checkbox Grid */
.features-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.checkbox-option {
    position: relative;
    cursor: pointer;
    display: block;
}

.checkbox-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-option-content {
    background: var(--bg-white);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-option-indicator {
    width: 18px;
    height: 18px;
    border: 1px solid var(--text-muted-light);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background: var(--bg-light);
}

.checkbox-option-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--text-white);
    border-radius: 2px;
    transform: scale(0);
    transition: var(--transition-fast);
}

.checkbox-option input:checked + .checkbox-option-content {
    border-color: var(--accent-teal);
    background: rgba(0, 0, 0, 0.02);
}

.checkbox-option input:checked + .checkbox-option-content .checkbox-option-indicator {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
}

.checkbox-option input:checked + .checkbox-option-content .checkbox-option-indicator::after {
    transform: scale(1);
}

/* Reception Sub-options */
.sub-options-container {
    margin-top: 10px;
    padding: 10px 15px;
    border-left: 2px solid var(--text-muted-light);
    display: flex;
    gap: 15px;
    align-items: center;
}

.sub-options-container label {
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-options-container input {
    cursor: pointer;
}

/* Stall Layout Visual Preview & Unlock Box */
.layout-system-preview {
    background: var(--bg-light);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    position: sticky;
    top: 90px;
}

.preview-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.preview-canvas-container canvas {
    background: var(--bg-white);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}

.canvas-legend {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Locking / Quote Flow Cards */
.quote-unlock-box {
    background: var(--bg-white);
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.quote-teaser-state h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.quote-teaser-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.quote-email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-email-form input[type="email"] {
    padding: 12px;
    border: 1px solid var(--text-muted-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    transition: var(--transition-fast);
}

.quote-email-form input[type="email"]:focus {
    border-color: var(--accent-teal);
}

.quote-email-form button {
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    width: 100%;
}

.quote-unlocked-state {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-unlocked-state.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.quote-unlocked-state h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.quote-price-val {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: var(--text-dark);
}

.quote-price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.4;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--text-muted-light);
}

.quote-actions-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-actions-group .btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.quote-actions-group .btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.quote-actions-group .btn-final-quote {
    background-color: var(--accent-teal);
    color: #ffffff !important;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.quote-actions-group .btn-final-quote:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* =====================================================
   RWA CAMPAIGNS SERVICE STYLES
   ===================================================== */
.service-card .card-icon-rwa {
    font-size: 1.8rem;
    line-height: 1;
}

/* Mobile responsive layout for Stall Layout System */
@media (max-width: 992px) {
    .layout-system-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-system-preview {
        position: static;
    }
}

@media (max-width: 576px) {
    .stall-layout-system {
        padding: 4rem 15px;
    }
    
    .dimensions-input-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


/* =====================================================
   THEME TOGGLE COMPONENT
   ===================================================== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Icon Styles */
.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(45deg) scale(1.1);
}

/* Default (Dark Mode): Show Sun icon to switch to Light, hide Moon */
.theme-toggle .theme-icon-colorful,
.theme-toggle .theme-icon-sun {
    display: block;
    color: #38bdf8;
}

.theme-toggle .theme-icon-mono,
.theme-toggle .theme-icon-moon {
    display: none;
    color: #0f172a;
}

/* Light Mode: Show Moon icon to switch to Dark, hide Sun */
[data-theme="light"] .theme-toggle .theme-icon-colorful,
[data-theme="light"] .theme-toggle .theme-icon-sun,
[data-theme="monochrome"] .theme-toggle .theme-icon-colorful,
[data-theme="monochrome"] .theme-toggle .theme-icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .theme-icon-mono,
[data-theme="light"] .theme-toggle .theme-icon-moon,
[data-theme="monochrome"] .theme-toggle .theme-icon-mono,
[data-theme="monochrome"] .theme-toggle .theme-icon-moon {
    display: block;
    color: #0f172a;
}

/* Desktop navbar layout */
.nav-theme-toggle-item {
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 6px;
}

/* Mobile nav styles */
@media (max-width: 992px) {
    .nav-theme-toggle-item {
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav-theme-toggle-item .theme-toggle {
        width: 42px;
        height: 42px;
    }

    .nav-theme-toggle-item .theme-toggle svg {
        width: 22px;
        height: 22px;
    }
}

/* =====================================================
   LIGHT THEME OVERRIDES ([data-theme="light"] & [data-theme="monochrome"])
   ===================================================== */

/* 1. Header (Navbar) */
[data-theme="light"] header,
[data-theme="monochrome"] header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] header.header--transparent:not(.scrolled),
[data-theme="monochrome"] header.header--transparent:not(.scrolled) {
    background: rgba(0, 0, 0, 0.22);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] header.scrolled,
[data-theme="monochrome"] header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] header .logo-text,
[data-theme="monochrome"] header .logo-text {
    color: #0f172a;
    text-shadow: none;
    font-weight: 800;
}

[data-theme="light"] header .nav-links a,
[data-theme="monochrome"] header .nav-links a {
    color: #0f172a;
    text-shadow: none;
    opacity: 1;
}

[data-theme="light"] header .nav-links a:hover,
[data-theme="light"] header .nav-links a.active,
[data-theme="monochrome"] header .nav-links a:hover,
[data-theme="monochrome"] header .nav-links a.active {
    color: #0284c7;
    text-shadow: none;
}

[data-theme="light"] header .hamburger .bar,
[data-theme="monochrome"] header .hamburger .bar {
    background-color: #0f172a;
}

[data-theme="light"] header .theme-toggle,
[data-theme="monochrome"] header .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] header .theme-toggle:hover,
[data-theme="monochrome"] header .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

[data-theme="light"] header .theme-toggle svg,
[data-theme="monochrome"] header .theme-toggle svg {
    color: #0f172a;
}

/* Header Text overrides for transparent state over hero video */
[data-theme="light"] header.header--transparent:not(.scrolled) .logo-text,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .logo-text {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] header.header--transparent:not(.scrolled) .nav-links a,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] header.header--transparent:not(.scrolled) .nav-links a:hover,
[data-theme="light"] header.header--transparent:not(.scrolled) .nav-links a.active,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .nav-links a:hover,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .nav-links a.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 1px 8px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] header.header--transparent:not(.scrolled) .hamburger .bar,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .hamburger .bar {
    background-color: #ffffff;
}

[data-theme="light"] header.header--transparent:not(.scrolled) .theme-toggle,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] header.header--transparent:not(.scrolled) .theme-toggle svg,
[data-theme="monochrome"] header.header--transparent:not(.scrolled) .theme-toggle svg {
    color: #ffffff;
}

/* Mobile Nav Drawer in Light */
@media (max-width: 992px) {
    [data-theme="light"] .nav-links,
    [data-theme="monochrome"] .nav-links,
    [data-theme="light"] .nav-links.active,
    [data-theme="monochrome"] .nav-links.active {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
    }

    [data-theme="light"] .nav-links a,
    [data-theme="monochrome"] .nav-links a,
    [data-theme="light"] .nav-links.active a,
    [data-theme="monochrome"] .nav-links.active a {
        color: #0f172a !important;
        text-shadow: none !important;
        opacity: 1 !important;
    }

    [data-theme="light"] .nav-links a:hover,
    [data-theme="light"] .nav-links a.active,
    [data-theme="monochrome"] .nav-links a:hover,
    [data-theme="monochrome"] .nav-links a.active,
    [data-theme="light"] .nav-links.active a:hover,
    [data-theme="light"] .nav-links.active a.active,
    [data-theme="monochrome"] .nav-links.active a:hover,
    [data-theme="monochrome"] .nav-links.active a.active {
        color: #0284c7 !important;
        text-shadow: none !important;
        opacity: 1 !important;
    }

    [data-theme="light"] .hamburger .bar,
    [data-theme="monochrome"] .hamburger .bar,
    [data-theme="light"] header.scrolled .hamburger .bar,
    [data-theme="monochrome"] header.scrolled .hamburger .bar {
        background-color: #0f172a !important;
    }

    [data-theme="light"] header.header--transparent:not(.scrolled) .hamburger .bar,
    [data-theme="monochrome"] header.header--transparent:not(.scrolled) .hamburger .bar {
        background-color: #ffffff !important;
    }

    [data-theme="light"] .nav-links .theme-toggle,
    [data-theme="monochrome"] .nav-links .theme-toggle {
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.12);
    }

    [data-theme="light"] .nav-links .theme-toggle svg,
    [data-theme="monochrome"] .nav-links .theme-toggle svg {
        color: #0f172a;
    }
}

/* 2. Light Theme Cards & Sections */
[data-theme="light"] .service-card,
[data-theme="monochrome"] .service-card,
[data-theme="light"] .timeline-content,
[data-theme="monochrome"] .timeline-content,
[data-theme="light"] .testimonial,
[data-theme="monochrome"] .testimonial,
[data-theme="light"] .faq-item,
[data-theme="monochrome"] .faq-item,
[data-theme="light"] .leader-card,
[data-theme="monochrome"] .leader-card,
[data-theme="light"] .stat-card,
[data-theme="monochrome"] .stat-card,
[data-theme="light"] .calculator-card,
[data-theme="monochrome"] .calculator-card,
[data-theme="light"] .config-section,
[data-theme="monochrome"] .config-section,
[data-theme="light"] .preview-card,
[data-theme="monochrome"] .preview-card,
[data-theme="light"] .blog-card,
[data-theme="monochrome"] .blog-card,
[data-theme="light"] .case-study-card,
[data-theme="monochrome"] .case-study-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .service-card:hover,
[data-theme="monochrome"] .service-card:hover,
[data-theme="light"] .stat-card:hover,
[data-theme="monochrome"] .stat-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="monochrome"] .blog-card:hover,
[data-theme="light"] .case-study-card:hover,
[data-theme="monochrome"] .case-study-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 165, 233, 0.35);
}

[data-theme="light"] .stat-number,
[data-theme="monochrome"] .stat-number {
    color: #0f172a;
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Page & Subpage Headers */
[data-theme="light"] .portfolio-header,
[data-theme="monochrome"] .portfolio-header,
[data-theme="light"] .page-header,
[data-theme="monochrome"] .page-header,
[data-theme="light"] .calculator-header,
[data-theme="monochrome"] .calculator-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .portfolio-header h1,
[data-theme="monochrome"] .portfolio-header h1,
[data-theme="light"] .page-header h1,
[data-theme="monochrome"] .page-header h1,
[data-theme="light"] .calculator-header h2,
[data-theme="monochrome"] .calculator-header h2 {
    color: #0f172a !important;
}

[data-theme="light"] .portfolio-header p,
[data-theme="monochrome"] .portfolio-header p,
[data-theme="light"] .page-header p,
[data-theme="monochrome"] .page-header p,
[data-theme="light"] .calculator-header p,
[data-theme="monochrome"] .calculator-header p {
    color: #475569 !important;
}

/* 4. Form Controls in Light Mode */
[data-theme="light"] .contact-form form,
[data-theme="monochrome"] .contact-form form {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-form input,
[data-theme="monochrome"] .contact-form input,
[data-theme="light"] .contact-form textarea,
[data-theme="monochrome"] .contact-form textarea,
[data-theme="light"] .contact-form select,
[data-theme="monochrome"] .contact-form select,
[data-theme="light"] .calc-input-group input,
[data-theme="monochrome"] .calc-input-group input,
[data-theme="light"] .calc-input-group select,
[data-theme="monochrome"] .calc-input-group select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .contact-form input:focus,
[data-theme="monochrome"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus,
[data-theme="monochrome"] .contact-form textarea:focus,
[data-theme="light"] .contact-form select:focus,
[data-theme="monochrome"] .contact-form select:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* 5. Light Footer */
[data-theme="light"] .footer,
[data-theme="monochrome"] .footer {
    background: linear-gradient(180deg, #0f172a 0%, #080d18 100%);
    color: #94a3b8;
}

[data-theme="light"] .footer-cta-banner,
[data-theme="monochrome"] .footer-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .footer-cta-content h3,
[data-theme="monochrome"] .footer-cta-content h3 {
    color: #ffffff;
}

[data-theme="light"] .footer-cta-content p,
[data-theme="monochrome"] .footer-cta-content p {
    color: #cbd5e1;
}

[data-theme="light"] .footer-col h3,
[data-theme="monochrome"] .footer-col h3 {
    color: #ffffff;
}

[data-theme="light"] .footer-col a,
[data-theme="monochrome"] .footer-col a {
    color: #94a3b8;
}

[data-theme="light"] .footer-col a:hover,
[data-theme="monochrome"] .footer-col a:hover {
    color: #38bdf8;
}

[data-theme="light"] .footer-logo .logo-text,
[data-theme="monochrome"] .footer-logo .logo-text {
    color: #ffffff;
}

[data-theme="light"] .bio-text,
[data-theme="monochrome"] .bio-text {
    color: #94a3b8;
}

[data-theme="light"] .footer-socials a,
[data-theme="monochrome"] .footer-socials a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .social-icon,
[data-theme="monochrome"] .social-icon {
    fill: #94a3b8;
}

[data-theme="light"] .footer-socials a:hover .social-icon,
[data-theme="monochrome"] .footer-socials a:hover .social-icon {
    fill: #ffffff;
}

[data-theme="light"] .contact-icon-wrapper,
[data-theme="monochrome"] .contact-icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .contact-icon,
[data-theme="monochrome"] .contact-icon {
    fill: #38bdf8;
}

[data-theme="light"] .footer-contact-details a,
[data-theme="monochrome"] .footer-contact-details a {
    color: #94a3b8;
}

[data-theme="light"] .footer-contact-details a:hover,
[data-theme="monochrome"] .footer-contact-details a:hover {
    color: #38bdf8;
}

[data-theme="light"] .footer-divider,
[data-theme="monochrome"] .footer-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

[data-theme="light"] .footer-bottom-container,
[data-theme="monochrome"] .footer-bottom-container {
    color: #94a3b8;
}

[data-theme="light"] .back-to-top,
[data-theme="monochrome"] .back-to-top {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="light"] .back-to-top:hover,
[data-theme="monochrome"] .back-to-top:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #38bdf8;
}

/* 6. Dark Theme Sections & Modals Polish */
[data-theme="dark"] .service-card,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .service-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .service-card:hover,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .service-card:hover {
    background: #151f32;
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.25), 0 10px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .contact-form form,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form form {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form input,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form textarea,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form select {
    background: #0d1322;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus,
[data-theme="dark"] .contact-form select:focus,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form input:focus,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form textarea:focus,
:root:not([data-theme="light"]):not([data-theme="monochrome"]) .contact-form select:focus {
    background: #111827;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* =====================================================
   ADDITIONAL LIGHT MODE & MONOCHROME THEME TEXT FIXES
   ===================================================== */
[data-theme="light"] .trust-bar-heading h3,
[data-theme="monochrome"] .trust-bar-heading h3 {
    color: #0f172a !important;
}

[data-theme="light"] .trust-bar-brands,
[data-theme="monochrome"] .trust-bar-brands {
    color: #334155 !important;
}

[data-theme="light"] .trust-divider,
[data-theme="monochrome"] .trust-divider {
    color: rgba(15, 23, 42, 0.2) !important;
}

[data-theme="light"] .trust-stat,
[data-theme="monochrome"] .trust-stat {
    color: #475569 !important;
}

[data-theme="light"] .stats-section h2.center-title,
[data-theme="monochrome"] .stats-section h2.center-title {
    color: #0f172a !important;
}

[data-theme="light"] .stat-number,
[data-theme="monochrome"] .stat-number {
    color: #0f172a !important;
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .stat-card:hover .stat-number,
[data-theme="monochrome"] .stat-card:hover .stat-number {
    color: #0284c7 !important;
    -webkit-text-fill-color: #0284c7 !important;
}

[data-theme="light"] .stat-label,
[data-theme="monochrome"] .stat-label {
    color: #475569 !important;
}

[data-theme="light"] .layout-step-card h3,
[data-theme="monochrome"] .layout-step-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .segmented-option-content,
[data-theme="monochrome"] .segmented-option-content {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .segmented-option input:checked + .segmented-option-content,
[data-theme="monochrome"] .segmented-option input:checked + .segmented-option-content {
    background: var(--accent-teal);
    color: #ffffff !important;
    border-color: var(--accent-teal);
}

[data-theme="light"] .checkbox-option-content,
[data-theme="monochrome"] .checkbox-option-content {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .checkbox-option-indicator,
[data-theme="monochrome"] .checkbox-option-indicator {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .checkbox-option-indicator::after,
[data-theme="monochrome"] .checkbox-option-indicator::after {
    background: #ffffff !important;
}

[data-theme="light"] .sub-options-container span,
[data-theme="monochrome"] .sub-options-container span,
[data-theme="light"] .sub-options-container label,
[data-theme="monochrome"] .sub-options-container label {
    color: #0f172a !important;
}

[data-theme="light"] .dimension-summary,
[data-theme="monochrome"] .dimension-summary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .quote-teaser-state h4,
[data-theme="monochrome"] .quote-teaser-state h4 {
    color: #0f172a;
}

[data-theme="light"] .quote-teaser-state p,
[data-theme="monochrome"] .quote-teaser-state p {
    color: #64748b;
}

[data-theme="light"] .quote-unlocked-state h4,
[data-theme="monochrome"] .quote-unlocked-state h4 {
    color: #64748b;
}

[data-theme="light"] .quote-price-val,
[data-theme="monochrome"] .quote-price-val {
    color: #0f172a;
}

[data-theme="light"] .quote-price-note,
[data-theme="monochrome"] .quote-price-note {
    color: #64748b;
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .canvas-legend,
[data-theme="monochrome"] .canvas-legend {
    color: #64748b;
}

[data-theme="light"] .canvas-legend strong,
[data-theme="monochrome"] .canvas-legend strong {
    color: #0f172a;
}





