/* ===== CSS VARIABLES - Premium Roofing Design System ===== */
:root {
    /* Primary Colors - Professional Blue Tones */
    --primary: #2980B9;
    --primary-light: #3498DB;
    --primary-dark: #1A5276;
    --primary-gradient: linear-gradient(135deg, #3498DB 0%, #2980B9 50%, #1A5276 100%);
    
    /* Secondary - Slate & Charcoal (like roof tiles) */
    --secondary: #1E293B;
    --secondary-light: #334155;
    --accent: #475569;
    
    /* Roofing Material Colors */
    --slate: #334155;
    --slate-dark: #1E293B;
    --copper: #B45309;
    --copper-light: #D97706;
    --zinc: #71717A;
    --zinc-light: #A1A1AA;
    --terracotta: #C2410C;
    --wood: #78350F;
    --wood-light: #92400E;
    
    /* Backgrounds - Clean & Professional */
    --white: #ffffff;
    --off-white: #F8FAFC;
    --light-gray: #F1F5F9;
    --gray: #E2E8F0;
    --dark-gray: #64748B;
    
    /* Text Colors - High Contrast */
    --text: #0F172A;
    --text-light: #475569;
    --text-muted: #94A3B8;
    --black: #020617;
    --text-heading: #0F172A;
    --text-body: #1E293B;
    --text-secondary: #475569;
    
    /* Gradients - Professional Blue */
    --gradient-primary: linear-gradient(135deg, #2980B9 0%, #3498DB 50%, #2980B9 100%);
    --gradient-dark: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    --gradient-roof: linear-gradient(180deg, #1A5276 0%, #2980B9 50%, #3498DB 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-shine: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    
    /* Shadows - Refined Depth System */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
    --shadow-2xl: 0 32px 64px rgba(0,0,0,0.14);
    --shadow-primary: 0 8px 32px rgba(41, 128, 185,0.25);
    --shadow-primary-lg: 0 16px 48px rgba(41, 128, 185,0.35);
    --shadow-glow: 0 0 40px rgba(41, 128, 185,0.3);
    --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.06);
    
    /* Animations - Smooth & Natural */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: 0.15s var(--ease-out-quart);
    --transition: 0.25s var(--ease-out-expo);
    --transition-slow: 0.4s var(--ease-out-expo);
    --transition-bounce: 0.5s var(--ease-spring);
    
    /* Border Radius - Consistent System */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
}

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

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

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

/* Selection styling */
::selection {
    background: var(--primary);
    color: white;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU acceleration for animated elements */
.navbar, .service-card, .testimonial-card, .project-card, 
.btn, .nav-cta, .dropdown-menu, .logo-icon-wrapper {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-light);
    line-height: 1.8;
}

.highlight {
    color: var(--primary);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(41, 128, 185, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-heading);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== BUTTONS - Premium Design ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: 0.01em;
}

/* Shine effect on buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
    border: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--gradient-dark);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* Button icon animation */
.btn i {
    transition: transform var(--transition);
}

.btn:hover i {
    transform: translateX(4px);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D3436 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.loader-rings .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    animation: spin 1.5s linear infinite;
}

.loader-rings .ring-1 {
    width: 100%;
    height: 100%;
    animation-duration: 1.5s;
}

.loader-rings .ring-2 {
    width: 80%;
    height: 80%;
    animation-duration: 2s;
    animation-direction: reverse;
    border-top-color: var(--primary-light);
}

.loader-rings .ring-3 {
    width: 60%;
    height: 60%;
    animation-duration: 2.5s;
    border-top-color: rgba(41, 128, 185, 0.5);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.loader-svg {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 1;
}

.loader-svg .sun-loader {
    animation: sunPulse 1s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { opacity: 1; r: 4; }
    50% { opacity: 0.6; r: 5; }
}

.loader-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 2rem;
    font-weight: 800;
}

.loader-pro {
    color: white;
    letter-spacing: 3px;
}

.loader-dot {
    color: var(--primary);
    animation: dotPulse 1s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.loader-toit {
    color: var(--primary);
    letter-spacing: 3px;
}

.loader-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loadProgress 2s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== URGENCY BANNER ===== */
.urgency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(135deg, #2980B9 0%, #3498DB 100%);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.urgency-banner.hidden {
    display: none;
}

.urgency-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.urgency-icon i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.urgency-banner a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

.urgency-banner a:hover {
    text-decoration: none;
}

.urgency-close {
    position: absolute;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.urgency-close:hover {
    background: rgba(255,255,255,0.3);
}

body.has-banner .navbar {
    top: 50px;
}

body.has-banner .hero {
    padding-top: 130px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== NAVBAR - Professional ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.navbar.scrolled .nav-link.has-dropdown > span {
    color: var(--dark);
}

.navbar.scrolled .nav-link.has-dropdown > span:hover {
    color: var(--primary);
}

.navbar.scrolled .dropdown-trigger {
    color: var(--dark);
}

.navbar.scrolled .dropdown-trigger:hover {
    color: var(--primary);
}

.navbar.scrolled .dropdown-wrapper.open .dropdown-trigger {
    color: var(--primary);
}

.navbar.scrolled .nav-phone {
    color: var(--dark);
}

.navbar.scrolled .nav-phone:hover {
    color: var(--primary);
}

.navbar.scrolled .logo-text-pro {
    color: var(--primary) !important;
}

.navbar.scrolled .logo-text-toit {
    color: var(--dark);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

/* ===== LOGO BRAND - PREMIUM ANIMATED ===== */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 6px;
}

.logo-brand:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Premium Logo Glow Background */
.logo-premium .logo-glow-bg {
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse at center, rgba(52, 152, 219,0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.logo-premium:hover .logo-glow-bg {
    opacity: 1;
    animation: logoGlowPulse 2s ease-in-out infinite;
}

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

/* Scan Line Effect - Disabled */
.logo-scan-line {
    display: none;
}

.logo-premium:hover .logo-scan-line {
    display: none;
}

@keyframes logoScanMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.logo-container {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbit Rings */
.logo-orbit-ring {
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(52, 152, 219,0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: orbitSpin 15s linear infinite;
}

.logo-orbit-ring.ring-2 {
    inset: -14px;
    border-color: rgba(52, 152, 219,0.15);
    animation-duration: 20s;
    animation-direction: reverse;
}

.logo-premium:hover .logo-orbit-ring {
    opacity: 1;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Logo Particles */
.logo-particles {
    position: absolute;
    inset: -20px;
    pointer-events: none;
    z-index: 5;
}

.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #3498DB 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
}

.logo-premium:hover .logo-particle {
    animation: logoParticleFloat 3s ease-in-out infinite;
}

.logo-particle.lp1 { top: 0; left: 50%; animation-delay: 0s; }
.logo-particle.lp2 { bottom: 10%; right: 0; animation-delay: 1s; }
.logo-particle.lp3 { bottom: 20%; left: 10%; animation-delay: 2s; }

@keyframes logoParticleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; transform: translateY(-15px) scale(1); }
}

/* Professional Icon Wrapper - Premium Style */
.logo-icon-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2980B9 0%, #1A5276 50%, #154360 100%);
    border-radius: 14px;
    padding: 4px;
    box-shadow: 
        0 4px 20px rgba(41, 128, 185, 0.4),
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 2px 0 rgba(255,255,255,0.15) inset,
        0 -2px 0 rgba(0,0,0,0.2) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: visible;
}

.logo-icon-wrapper::before {
    display: none;
}

.logo-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 12px;
    pointer-events: none;
}

.nav-logo:hover .logo-icon-wrapper::before {
    opacity: 1;
}

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

.nav-logo:hover .logo-icon-wrapper {
    transform: translateY(-4px) scale(1.08) rotateY(5deg);
    box-shadow: 
        0 15px 40px rgba(41, 128, 185, 0.5),
        0 0 30px rgba(52, 152, 219, 0.3),
        0 0 0 1px rgba(255,255,255,0.2) inset;
    background: linear-gradient(145deg, #3498DB 0%, #2980B9 50%, #1A5276 100%);
}

/* Clean SVG Logo */
.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: filter 0.3s ease;
}

.nav-logo:hover .logo-svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)) drop-shadow(0 0 10px rgba(243,156,18,0.3));
}

/* Logo Elements Animations */
.logo-circle {
    transform-origin: center;
}

.logo-halo {
    animation: haloBreath 3s ease-in-out infinite;
}

@keyframes haloBreath {
    0%, 100% { opacity: 0.05; r: 24; }
    50% { opacity: 0.1; r: 26; }
}

.logo-roof {
    transform-origin: 30px 16px;
    transition: all 0.4s ease;
}

.nav-logo:hover .logo-roof {
    filter: url(#logoGlow) brightness(1.15);
    transform: translateY(-1px);
}

.logo-house {
    transition: all 0.4s ease;
}

.nav-logo:hover .logo-house {
    filter: url(#shadow) brightness(1.1);
}

.logo-chimney {
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-chimney {
    transform: translateY(-1px);
}

.logo-smoke circle {
    opacity: 0.3;
}

.nav-logo:hover .logo-smoke circle {
    opacity: 0.5;
}

.logo-window {
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-window {
    fill: #FFF9C4;
    filter: drop-shadow(0 0 3px rgba(255,249,196,0.8));
}

.logo-doorknob {
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-doorknob {
    r: 1.5;
    filter: url(#innerGlow) drop-shadow(0 0 4px #F39C12);
}

.logo-sun {
    transform-origin: center;
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.nav-logo:hover .logo-sun {
    animation: sunHoverPulse 0.5s ease-out;
}

@keyframes sunHoverPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.logo-rays line {
    transform-origin: 52px 12px;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-rays line {
    stroke-width: 1.2;
}

.logo-tiles path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: tilesReveal 2s ease-out forwards;
}

@keyframes tilesReveal {
    to { stroke-dashoffset: 0; }
}

/* Text Group - Modern Typography with Animation */
.logo-text-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1;
    gap: 6px;
    position: relative;
    z-index: 10;
}

.logo-text-pro {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1E293B;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    transition: all 0.3s ease;
}

.logo-text-pro::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498DB, #2980B9);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-logo:hover .logo-text-pro::after {
    width: 100%;
}

.nav-logo:hover .logo-text-pro {
    color: #0F172A;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-text-separator {
    font-size: 1.5rem;
    font-weight: 300;
    color: #3498DB;
    margin: 0 2px;
    animation: separatorPulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(52, 152, 219,0.5);
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.logo-text-toit {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 50%, #1A5276 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.logo-text-toit::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #5DADE2, #3498DB, #2980B9);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.nav-logo:hover .logo-text-toit::before {
    opacity: 0.5;
}

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

.logo-tagline {
    display: none;
}

/* Logo on Scrolled Navbar */
.navbar.scrolled .logo-text-pro {
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.navbar.scrolled .logo-text-toit {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 50%, #1A5276 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

.navbar.scrolled .logo-text-separator {
    color: #3498DB;
    text-shadow: none;
}

.navbar.scrolled .logo-text-pro,
.navbar.scrolled .logo-text-toit {
    font-size: 1.2rem;
}

.navbar.scrolled .logo-container {
    width: 44px;
    height: 44px;
}

.navbar.scrolled .logo-icon-wrapper {
    width: 46px;
    height: 46px;
}

.navbar.scrolled .logo-glow {
    opacity: 0.4;
}

/* Navbar on dark/transparent background */
.navbar:not(.scrolled) .logo-text-pro {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.navbar:not(.scrolled) .logo-text-pro::after {
    background: linear-gradient(90deg, #FFFFFF, #5DADE2);
}

.navbar:not(.scrolled) .logo-text-separator {
    color: #5DADE2;
}

.navbar:not(.scrolled) .logo-text-toit {
    background: linear-gradient(135deg, #5DADE2, #FFFFFF, #5DADE2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.navbar:not(.scrolled) .logo-tagline {
    color: rgba(255,255,255,0.8);
}

.navbar:not(.scrolled) .nav-link {
    color: white;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: var(--primary-light);
    background: rgba(255,255,255,0.1);
}

.navbar:not(.scrolled) .nav-phone {
    color: white;
}

.navbar:not(.scrolled) .nav-phone:hover {
    color: var(--primary-light);
    background: rgba(255,255,255,0.1);
}

.navbar:not(.scrolled) .theme-toggle {
    color: white;
}

.navbar:not(.scrolled) .theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-light);
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-cta {
    margin-left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: background 0.2s ease;
    border: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-cta i {
    font-size: 0.8rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-phone:hover {
    color: var(--primary-light);
}

.navbar.scrolled .nav-phone:hover {
    color: var(--primary);
}

.nav-phone i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.navbar.scrolled .nav-phone i {
    color: var(--primary);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar.scrolled .theme-toggle {
    color: var(--dark);
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.2s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Footer */
.nav-menu-footer {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.nav-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.nav-menu-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.nav-menu-social a {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all var(--transition);
}

.nav-menu-social a:hover {
    background: var(--primary);
    color: white;
}

/* ===== DROPDOWN MENU - NEW SYSTEM ===== */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-lg);
    position: relative;
}

.dropdown-trigger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    transform: scale(0.95);
}

.dropdown-trigger:hover {
    color: white;
    transform: translateY(-2px);
}

.dropdown-trigger:hover::before {
    opacity: 1;
    transform: scale(1);
}

.dropdown-wrapper.open .dropdown-trigger::before {
    opacity: 1;
    transform: scale(1);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.dropdown-trigger span {
    position: relative;
    z-index: 1;
}

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

.dropdown-wrapper.open .dropdown-trigger {
    color: var(--primary);
}

/* Dropdown Menu Container */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 12px 20px -10px rgba(41, 128, 185, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
}

/* Arrow/Pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 3px 0 0 0;
    box-shadow: -3px -3px 10px rgba(0,0,0,0.05);
}

/* Show dropdown when wrapper has .open class */
.dropdown-wrapper.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(41, 128, 185, 0.08);
}

.dropdown-item:hover .dropdown-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.05));
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--transition);
    border: 1px solid rgba(41, 128, 185, 0.1);
}

.dropdown-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.dropdown-content p {
    font-size: 0.8rem;
    color: #636e72;
    margin: 0;
    transition: color 0.3s ease;
}

.dropdown-item:hover .dropdown-content h4 {
    color: var(--primary);
}

.dropdown-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.05));
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid rgba(41, 128, 185, 0.1);
    transition: all var(--transition);
}

.dropdown-item span {
    font-weight: 500;
    color: #2D3436;
    transition: color 0.3s ease;
}

.dropdown-item:hover span {
    color: var(--primary);
}

.dropdown-item small {
    display: block;
    font-size: 0.75rem;
    color: #636e72;
    margin-top: 2px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D3436 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1632759145351-1d592919f522?w=1920') center/cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(45,52,54,0.6) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card .hero-carousel {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-card .hero-carousel-track {
    width: 100%;
    height: 100%;
}

.hero-card .hero-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-card .hero-carousel-slide.active {
    opacity: 1;
}

.hero-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    line-height: 1;
}

.hero-experience span:first-child {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.hero-experience span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stats-card {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-stats-card .stat-item {
    text-align: center;
    flex: 1;
}

.hero-stats-card .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.hero-stats-card .stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.9rem;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* ============================================
   EXPERTISE BADGE PREMIUM - React Bits Style
   ============================================ */

.expertise-badge-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px 16px 20px;
    margin-bottom: 32px;
    border-radius: 60px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.expertise-badge-premium:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Background Layers */
.badge-bg-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 30, 40, 0.95) 0%,
        rgba(40, 40, 55, 0.9) 50%,
        rgba(25, 25, 35, 0.95) 100%);
    border-radius: 60px;
    z-index: 1;
}

.badge-aurora {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(41, 128, 185, 0.1) 0%, transparent 50%);
    border-radius: 60px;
    z-index: 2;
}

@keyframes auroraShift {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

.badge-glass-morph {
    position: absolute;
    inset: 1px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 60px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 3;
}

.badge-border-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.6) 0%,
        rgba(41, 128, 185, 0.3) 25%,
        rgba(26, 82, 118, 0.1) 50%,
        rgba(41, 128, 185, 0.3) 75%,
        rgba(52, 152, 219, 0.6) 100%);
    border-radius: 62px;
    z-index: 0;
    filter: blur(1px);
}

@keyframes borderGlowRotate {
    0% { filter: blur(1px) hue-rotate(0deg); }
    100% { filter: blur(1px) hue-rotate(360deg); }
}

.expertise-badge-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(52, 152, 219, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 4;
}

/* Orbiting Particles */
.badge-particles {
    position: absolute;
    inset: -15px;
    z-index: 5;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #3498DB 0%, transparent 70%);
    border-radius: 50%;
    animation: particleOrbit 6s linear infinite;
}

.particle.p1 { animation-delay: 0s; }
.particle.p2 { animation-delay: 1s; }
.particle.p3 { animation-delay: 2s; }
.particle.p4 { animation-delay: 3s; }
.particle.p5 { animation-delay: 4s; }
.particle.p6 { animation-delay: 5s; }

@keyframes particleOrbit {
    0% { 
        transform: rotate(0deg) translateX(120px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
        opacity: 0;
    }
}

/* Star Container */
.badge-star-container {
    position: relative;
    width: 50px;
    height: 50px;
    z-index: 10;
    flex-shrink: 0;
}

.badge-star-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
    }
    50% { 
        transform: scale(1.05) rotate(3deg);
        filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.8));
    }
}

.star-main {
    transform-origin: center;
    animation: starRotateSlight 8s ease-in-out infinite;
}

@keyframes starRotateSlight {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.star-inner {
    animation: starInnerPulse 2s ease-in-out infinite;
}

@keyframes starInnerPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.5; }
}

.star-shine {
    animation: starShineMove 3s ease-in-out infinite;
}

@keyframes starShineMove {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.6;
    }
    50% { 
        transform: translate(2px, 2px);
        opacity: 0.9;
    }
}

.star-bg-glow {
    animation: starBgPulse 3s ease-in-out infinite;
}

@keyframes starBgPulse {
    0%, 100% { r: 18; opacity: 0.15; }
    50% { r: 22; opacity: 0.25; }
}

/* Orbit Ring */
.star-orbit-ring {
    position: absolute;
    inset: -5px;
    border: 1px dashed rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: orbitRingSpin 10s linear infinite;
}

@keyframes orbitRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Badge Content Wrapper */
.badge-content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 10;
}

/* Text Premium Styles */
.badge-text-premium {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-number-wrapper {
    position: relative;
    display: inline-block;
}

.badge-number-bg {
    position: absolute;
    font-size: 2rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(52, 152, 219, 0.2);
    transform: translate(2px, 2px);
    z-index: 1;
}

.badge-number-main {
    position: relative;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 50%, #2980B9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
}

@keyframes numberGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(52, 152, 219, 0.8));
    }
}

.badge-number-shine {
    display: none;
}

@keyframes numberShine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.badge-label-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-label-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.badge-label-highlight {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
}

.badge-label-highlight::after {
    display: none;
}

@keyframes underlineGrow {
    0%, 100% { transform: scaleX(0.5); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Sparkles Premium */
.badge-sparkles-premium {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.spark {
    position: absolute;
    font-size: 12px;
    color: rgba(52, 152, 219, 0.8);
    animation: sparkFloat 4s ease-in-out infinite;
}

.spark.sp1 { top: 5px; left: 25%; animation-delay: 0s; }
.spark.sp2 { top: 50%; right: 10px; animation-delay: 1s; }
.spark.sp3 { bottom: 5px; left: 40%; animation-delay: 2s; }
.spark.sp4 { top: 30%; left: 10px; animation-delay: 3s; }

@keyframes sparkFloat {
    0%, 100% { 
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    25% { 
        transform: translateY(-5px) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) scale(1.2);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-5px) scale(1);
        opacity: 0.5;
    }
}

/* Scan Line Effect - Disabled */
.badge-scan-line {
    display: none;
}

@keyframes scanLineMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 3px); opacity: 0; }
}

/* Hover Effects */
.expertise-badge-premium:hover .badge-star-svg {
    animation: starHoverPulse 0.5s ease-out;
}

@keyframes starHoverPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.expertise-badge-premium:hover .badge-border-glow {
    filter: blur(2px);
}

.expertise-badge-premium:hover .badge-number-main {
    animation: numberHoverGlow 0.5s ease-out forwards;
}

@keyframes numberHoverGlow {
    0% { filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5)); }
    100% { filter: drop-shadow(0 0 25px rgba(52, 152, 219, 1)); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .expertise-badge-premium {
        padding: 12px 20px 12px 14px;
    }
    
    .badge-star-container {
        width: 40px;
        height: 40px;
    }
    
    .badge-number-main,
    .badge-number-bg {
        font-size: 1.5rem;
    }
    
    .badge-label-text {
        font-size: 0.75rem;
    }
    
    .badge-label-highlight {
        font-size: 0.8rem;
    }
    
    .badge-content-wrapper {
        gap: 10px;
    }
}

.hero-title {
    color: white;
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
}

.split-line {
    display: block;
}

.split-word {
    display: inline-block;
    margin-right: 0.3em;
}

.split-word.highlight {
    color: var(--primary-light);
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
}

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ===== LIVE COUNTER SECTION - Premium ===== */
.live-counter-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2D3436 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.live-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.live-counter-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    padding: 36px 24px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, var(--primary) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.counter-item:hover::before {
    opacity: 1;
}

.counter-item:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.counter-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.4);
    transition: all 0.4s var(--ease-spring);
}

.counter-item:hover .counter-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(41, 128, 185, 0.5);
}

.live-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #10B981;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    animation: livePulse 2s ease infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.counter-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.live-counter {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, white 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.counter-plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-light);
}

.counter-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.counter-sublabel {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}

/* Gradient border on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), #FFD93D);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Shine effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.service-card:hover::after {
    left: 150%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    box-shadow: 0 8px 24px rgba(41, 128, 185, 0.3);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 60%);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 12px 32px rgba(41, 128, 185, 0.4);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color var(--transition);
}

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

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.service-link:hover::after {
    width: 100%;
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about { 
    background: white; 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.about-images { 
    position: relative; 
}

.about-main-image { 
    border-radius: var(--radius-xl); 
    overflow: hidden; 
    box-shadow: var(--shadow-xl); 
}

.about-main-image img { 
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
}

.about-secondary-image { 
    position: absolute; 
    bottom: -40px; 
    right: -40px; 
    width: 200px; 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-lg); 
    border: 5px solid white; 
}

.about-secondary-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.about-badge { 
    position: absolute; 
    top: 30px; 
    left: -30px; 
    background: var(--gradient-primary); 
    color: white; 
    padding: 20px 25px; 
    border-radius: var(--radius-lg); 
    text-align: center; 
    box-shadow: var(--shadow-primary); 
}

.about-badge-number { 
    display: block; 
    font-size: 2.5rem; 
    font-weight: 800; 
    line-height: 1; 
}

.about-badge-text { 
    font-size: 0.85rem; 
    opacity: 0.9;
    display: block;
}

.about-content { 
    padding-left: 20px; 
}

.about-content .section-tag { 
    margin-bottom: 16px; 
}

.about-content h2 { 
    margin-bottom: 24px; 
}

.about-text { 
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-features { 
    display: flex;
    flex-direction: column;
    gap: 20px; 
    margin-bottom: 40px; 
}

.feature-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.feature-icon { 
    width: 50px; 
    height: 50px; 
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; 
    border-radius: var(--radius-md); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    flex-shrink: 0;
}

.feature-text h4 { 
    font-size: 1.1rem;
    font-weight: 600; 
    color: var(--secondary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== PROJECTS ===== */
.projects { background: var(--secondary); color: white; }
.projects .section-tag { background: rgba(255,255,255,0.1); color: white; }
.projects .section-title { color: white; }
.projects .section-subtitle { color: rgba(255,255,255,0.7); }
.project-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; background: rgba(255,255,255,0.1); color: white; border-radius: var(--radius-full); font-weight: 500; transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card:hover img { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; opacity: 0; transition: opacity var(--transition); }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h4 { color: white; font-size: 1.2rem; margin-bottom: 8px; }
.project-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--off-white); }
.testimonials-slider { max-width: 900px; margin: 0 auto; position: relative; }
.testimonial-card { background: white; padding: 50px; border-radius: var(--radius-xl); text-align: center; box-shadow: var(--shadow-md); }
.testimonial-card .quote-icon { font-size: 3rem; color: var(--primary); opacity: 0.2; margin-bottom: 20px; }
.testimonial-card p { font-size: 1.25rem; line-height: 1.8; color: var(--text); margin-bottom: 30px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-info h5 { font-size: 1.1rem; margin-bottom: 4px; }
.author-info span { color: var(--text-light); font-size: 0.9rem; }
.testimonial-rating { display: flex; gap: 4px; justify-content: center; margin-top: 20px; color: #FFD700; }

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

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

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

/* Service Number */
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(41, 128, 185, 0.08);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover .service-number {
    color: rgba(41, 128, 185, 0.15);
}

/* Section Description */
.section-description {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ===== GALLERY SECTION - Premium ===== */
.gallery {
    background: linear-gradient(180deg, var(--off-white) 0%, white 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

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

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease-spring);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.03);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
}

.carousel-caption h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
}

.carousel-caption p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(41, 128, 185, 0.4);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition);
    border: 3px solid transparent;
}

.carousel-thumb:hover,
.carousel-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-cta,
.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== CTA SECTION - Premium Design ===== */
.cta-section { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1a0a08 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: ctaGlow 15s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: ctaGlow 20s linear infinite reverse;
}

@keyframes ctaGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content { 
    text-align: center; 
    color: white;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 { 
    color: white; 
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-content p { 
    color: rgba(255,255,255,0.85); 
    margin-bottom: 40px; 
    font-size: 1.2rem;
    line-height: 1.8;
}

.cta-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.cta-section .btn-primary { 
    background: white; 
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 2px solid white;
}

.cta-section .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.2), transparent);
}

.cta-section .btn-primary:hover { 
    background: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.cta-section .btn-outline { 
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    background: transparent;
}

.cta-section .btn-outline::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.cta-section .btn-outline:hover { 
    background: white; 
    color: var(--primary);
    border-color: white;
    transform: translateY(-4px);
}

/* ===== MAP SECTION - Premium ===== */
.map-section {
    position: relative;
    height: 550px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-section:hover .map-iframe {
    filter: grayscale(0%) contrast(1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 50px;
    pointer-events: none;
    z-index: 10;
}

.map-info-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-width: 400px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
}

.map-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--off-white);
}

.map-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}

.map-info-header .logo-brand {
    transform: scale(0.8);
    transform-origin: left center;
}

.map-info-header h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
}

.map-info-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-info-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.map-info-item:hover {
    background: var(--off-white);
}

.map-info-item i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-light), rgba(41, 128, 185, 0.1));
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-spring);
}

.map-info-item:hover i {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.1);
}

.map-info-item strong {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.map-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.map-info-item a {
    color: var(--primary);
    font-weight: 500;
}

.map-btn {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER - Premium Design ===== */
.footer { 
    background: linear-gradient(180deg, var(--secondary) 0%, #0f0f0f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-main { 
    padding: 100px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 60px; 
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo .logo-container {
    width: 55px;
    height: 55px;
}

.footer-logo .logo-icon-wrapper {
    width: 50px;
    height: 50px;
}

.footer-brand .logo-text-pro {
    color: white;
}

.footer-brand p { 
    color: rgba(255,255,255,0.65); 
    margin: 24px 0; 
    line-height: 1.9;
    font-size: 0.95rem;
}

.footer-social { 
    display: flex; 
    gap: 14px; 
}

.footer-social a { 
    width: 48px; 
    height: 48px; 
    background: rgba(255,255,255,0.08); 
    border-radius: var(--radius-lg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.4);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover i {
    color: white;
}

.footer-col h4 { 
    font-size: 1.15rem; 
    font-weight: 700;
    margin-bottom: 28px; 
    color: white;
    position: relative;
    padding-bottom: 14px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.footer-col ul li { 
    margin-bottom: 14px; 
}

.footer-col ul li a,
.footer-col ul li { 
    color: rgba(255,255,255,0.65); 
    transition: all 0.3s var(--ease-spring);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-col ul li a:hover { 
    color: white;
    transform: translateX(6px);
}

.footer-col ul li i {
    color: var(--primary);
    width: 18px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover i {
    transform: scale(1.2);
}

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    padding: 28px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px;
}

.footer-bottom p { 
    color: rgba(255,255,255,0.5); 
    font-size: 0.9rem; 
}

.footer-bottom p a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: var(--primary-light);
}

.footer-links { 
    display: flex; 
    gap: 28px; 
}

.footer-links a { 
    color: rgba(255,255,255,0.5); 
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

/* ===== BACK TO TOP - Premium ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-spring);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(41, 128, 185, 0.4);
    cursor: pointer;
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 8px 30px rgba(41, 128, 185, 0.5);
}

.back-to-top:hover::before {
    opacity: 1;
    animation: gradientShift 2s ease infinite;
}

/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out-expo); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ===== PAGE HERO ===== */
.page-hero { padding: 180px 0 100px; background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: white; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.breadcrumb a, .breadcrumb span { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.8rem; }

/* ===== ROI CALCULATOR (Solar Simulator) - Enhanced ===== */
.roi-calculator {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.roi-calculator .section-header .section-tag {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.roi-calculator .section-title {
    color: white;
}

.roi-calculator .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.roi-simulator-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-top: 50px;
}

.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.roi-input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.roi-input-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.roi-input-group label i {
    color: var(--primary-light);
}

.roi-input-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.roi-input-control input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    appearance: none;
    cursor: pointer;
}

.roi-input-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.5);
    transition: all 0.2s ease;
}

.roi-input-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-input-value {
    min-width: 120px;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
    color: #22C55E;
}

.roi-input-group small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.roi-results-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.roi-chart-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.roi-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.roi-chart-header h4 {
    color: white;
    font-size: 1.1rem;
}

.roi-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-item .dot.green {
    background: #22C55E;
}

.legend-item .dot.red {
    background: var(--primary);
}

.roi-chart {
    height: 200px;
    position: relative;
    margin-bottom: 15px;
}

.roi-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
    padding: 0 10px;
}

.roi-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #22C55E 0%, #16A34A 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
    position: relative;
    min-height: 5px;
}

.roi-chart-bar.negative {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.roi-chart-breakeven {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-style: dashed;
    top: 50%;
    display: flex;
    align-items: center;
}

.breakeven-label {
    position: absolute;
    right: -10px;
    transform: translateX(100%);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
}

.roi-chart-labels {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    padding: 0 10px;
}

.roi-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.roi-summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.roi-summary-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.roi-summary-card.highlight {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.3);
}

.roi-summary-icon {
    width: 50px;
    height: 50px;
    background: rgba(41, 128, 185, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roi-summary-icon i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.roi-summary-icon.green {
    background: rgba(34, 197, 94, 0.2);
}

.roi-summary-icon.green i {
    color: #22C55E;
}

.roi-summary-icon.orange {
    background: rgba(245, 158, 11, 0.2);
}

.roi-summary-icon.orange i {
    color: #F59E0B;
}

.roi-summary-icon.blue {
    background: rgba(59, 130, 246, 0.2);
}

.roi-summary-icon.blue i {
    color: #3B82F6;
}

.roi-summary-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.roi-summary-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.roi-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.roi-cta p i {
    color: #F59E0B;
    margin-right: 8px;
}

/* ROI Calculator Responsive */
@media (max-width: 1200px) {
    .roi-simulator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .roi-inputs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roi-summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .roi-inputs {
        grid-template-columns: 1fr;
    }
    
    .roi-summary-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .roi-chart-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .roi-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .roi-chart {
        height: 150px;
    }
}

/* ===== OLD ROI CALCULATOR STYLES (kept for compatibility) ===== */
.roi-calculator-old {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--radius-xl);
    padding: 50px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.roi-calculator-old::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 15 L85 50 L75 50 L75 85 L25 85 L25 50 L15 50 Z' fill='rgba(41, 128, 185,0.1)'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.roi-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.roi-header .section-tag {
    background: rgba(41, 128, 185, 0.2);
    color: #3498DB;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.roi-header h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.roi-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.roi-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.roi-form .roi-input-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.roi-form .roi-input-group select,
.roi-form .roi-input-group input {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.roi-form .roi-input-group select option {
    background: #1E293B;
    color: white;
}

.roi-calculate-btn {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.roi-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.4);
}

.roi-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.roi-result-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.roi-result-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.roi-result-card i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.roi-result-card .result-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.roi-result-card .result-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.roi-result-card.highlight {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
}

.roi-result-card.highlight .result-value {
    color: #22C55E;
}

/* ROI Responsive */
@media (max-width: 992px) {
    .roi-form {
        grid-template-columns: 1fr 1fr;
    }
    .roi-calculate-btn {
        grid-column: span 2;
    }
    .roi-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .roi-calculator-old {
        padding: 30px 20px;
    }
    .roi-form {
        grid-template-columns: 1fr;
    }
    .roi-calculate-btn {
        grid-column: span 1;
    }
    .roi-results {
        grid-template-columns: 1fr 1fr;
    }
    .roi-header h3 {
        font-size: 1.5rem;
    }
}

/* ===== CALCULATORS SHOWCASE (Homepage) ===== */
.calculators-showcase {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.calculators-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.calculator-card.featured {
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.03) 0%, var(--white) 100%);
    border-color: var(--primary);
    transform: scale(1.02);
}

.calculator-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.calc-card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-primary);
}

.calc-card-badge i {
    font-size: 0.7rem;
}

.calc-card-icon {
    width: 70px;
    height: 70px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.calc-card-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.calc-card-icon.solar {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.calc-card-icon.solar i {
    color: #D97706;
}

.calculator-card:hover .calc-card-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.calculator-card:hover .calc-card-icon i {
    color: white;
}

.calculator-card:hover .calc-card-icon.solar {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.calculator-card:hover .calc-card-icon.solar i {
    color: white;
}

.calc-card-content {
    flex: 1;
}

.calc-card-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.calc-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.calc-card-features {
    margin-bottom: 20px;
}

.calc-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.calc-card-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.calc-card-price {
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: center;
}

.calc-card-price .price-from {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.calc-card-price .price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.calc-card-btn {
    width: 100%;
    justify-content: center;
}

.calculators-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.calculators-note i {
    color: var(--primary);
    font-size: 1.2rem;
}

.calculators-note p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive calculators showcase */
@media (max-width: 1024px) {
    .calculators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-card.featured {
        transform: none;
        grid-column: span 2;
    }
    
    .calculator-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card.featured {
        grid-column: span 1;
    }
    
    .calculators-note {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== CALCULATOR ===== */
.calculator { background: var(--off-white); }
.calculator-wrapper { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.calculator-header { text-align: center; padding: 40px; background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%); color: white; }
.calculator-header .section-tag { background: rgba(255,255,255,0.1); color: white; }
.calculator-header .section-title { color: white; }
.calculator-header p { color: rgba(255,255,255,0.8); }
.calculator-body { padding: 40px; }
.calc-step { display: none; }
.calc-step.active { display: block; }
.calc-step h3 { font-size: 1.3rem; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.step-number { width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.calc-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.calc-option { cursor: pointer; }
.calc-option input { display: none; }
.option-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: var(--off-white); border: 2px solid transparent; border-radius: var(--radius-lg); transition: all var(--transition); }
.option-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.option-card strong { display: block; margin-bottom: 4px; color: var(--secondary); }
.option-card small { color: var(--text-light); font-size: 0.85rem; }
.calc-option input:checked + .option-card { background: rgba(41, 128, 185,0.08); border-color: var(--primary); }
.price-hint { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.surface-slider { margin: 30px 0; }
.surface-slider input[type="range"] { width: 100%; height: 8px; border-radius: var(--radius-full); background: var(--light-gray); appearance: none; cursor: pointer; }
.surface-slider input[type="range"]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-md); }
.surface-value { text-align: center; margin-top: 16px; font-size: 2rem; font-weight: 700; color: var(--primary); }
.surface-presets { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.preset-btn { padding: 8px 16px; background: var(--off-white); border-radius: var(--radius-full); font-size: 0.85rem; color: var(--text); transition: all var(--transition); }
.preset-btn:hover { background: var(--primary); color: white; }
.calc-checkboxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc-checkbox { cursor: pointer; }
.calc-checkbox input { display: none; }
.checkbox-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--off-white); border: 2px solid transparent; border-radius: var(--radius-md); transition: all var(--transition); }
.checkbox-card i { font-size: 1.2rem; color: var(--primary); }
.checkbox-card strong { display: block; font-size: 0.95rem; color: var(--secondary); }
.checkbox-card small { display: block; font-size: 0.8rem; color: var(--text-light); }
.calc-checkbox input:checked + .checkbox-card { background: rgba(41, 128, 185,0.08); border-color: var(--primary); }
.calc-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--light-gray); }
.calc-btn { padding: 12px 28px; border-radius: var(--radius-md); font-weight: 600; display: flex; align-items: center; gap: 8px; transition: all var(--transition); }
.calc-btn.prev { background: var(--off-white); color: var(--text); }
.calc-btn.prev:hover:not(:disabled) { background: var(--light-gray); }
.calc-btn.prev:disabled { opacity: 0.5; cursor: not-allowed; }
.calc-btn.next { background: var(--primary); color: white; }
.calc-btn.next:hover { background: var(--primary-dark); }
.calc-progress { flex: 1; height: 6px; background: var(--light-gray); border-radius: var(--radius-full); margin: 0 30px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); width: 25%; transition: width 0.4s ease; }

/* Calculator Utility Classes */
.calc-info { margin-top: 15px; padding: 12px; border-radius: 8px; }
.calc-info.solar-info { background: rgba(34, 197, 94, 0.1); }
.calc-info.couv-info { background: rgba(184, 134, 11, 0.1); }
.calc-info i.text-primary { color: var(--primary); }
.calc-info i.text-green { color: #22C55E; }
.calc-checkboxes.mt-20, .quantity-selector.mt-20, .calc-options.mb-20 { margin-top: 20px; }
.calc-options.mb-20 { margin-bottom: 20px; }
.icon-zinc { color: #9CA3AF; }
.icon-copper { color: #B87333; }
.icon-alu { color: #E5E7EB; }
.icon-inox { color: #6B7280; }
.icon-tuile { color: #B45309; }
.icon-beton { color: #6B7280; }
.icon-ardoise { color: #1F2937; }
.icon-zinc-couv { color: #9CA3AF; }
.roi-preview { margin: 20px 0; padding: 20px; background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05)); border-radius: 12px; }
.roi-preview h4 { margin-bottom: 15px; color: #22C55E; }
.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; text-align: center; }
.roi-value { font-size: 1.5rem; font-weight: 700; }
.roi-value.primary { color: var(--primary); }
.roi-value.green { color: #22C55E; }
.roi-label { display: block; opacity: 0.7; }
.solar-panneaux-info { display: block; font-size: 0.8rem; opacity: 0.7; }
.breakdown-item.subventions { background: rgba(34, 197, 94, 0.1); }
.text-green { color: #22C55E; }

/* Calculator Result */
.calculator-result { display: none; padding: 40px; }
.calculator-result.active { display: block; }
.result-card { text-align: center; padding: 40px; background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); border-radius: var(--radius-lg); border: 2px solid var(--primary); }
.result-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; }
.result-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.result-breakdown { margin: 20px 0; text-align: left; }
.breakdown-item { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--light-gray); }
.breakdown-item.total { background: var(--off-white); font-weight: 700; border-radius: var(--radius-md); border: none; margin-top: 10px; }
.result-price { margin: 30px 0; }
.price-from { display: block; font-size: 0.9rem; color: var(--text-light); }
.price-value, .price-range { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 10px 0; }
.price-note { display: block; font-size: 0.8rem; color: var(--text-light); }
.result-details { color: var(--text-light); margin-bottom: 30px; }
.result-details p { margin: 8px 0; }
.result-details i { color: var(--primary); margin-right: 8px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.result-card .btn { margin: 8px; }

/* Quantity Selector */
.quantity-selector { margin-bottom: 20px; }
.quantity-selector label { display: block; margin-bottom: 10px; font-weight: 500; }
.quantity-control { display: flex; align-items: center; gap: 12px; }
.qty-btn { width: 40px; height: 40px; background: var(--off-white); border-radius: var(--radius-md); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.qty-btn:hover { background: var(--primary); color: white; }
.quantity-control input { width: 80px; height: 40px; text-align: center; border: 2px solid var(--light-gray); border-radius: var(--radius-md); font-size: 1.1rem; font-weight: 600; }

/* ===== PAGE HEADER (Sub-pages) - Premium Design ===== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #0F172A 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(41, 128, 185, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Geometric pattern overlay */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.page-header .section-tag {
    background: rgba(41, 128, 185, 0.2);
    color: #FF8A80;
    border: 1px solid rgba(41, 128, 185, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.page-title .highlight {
    background: linear-gradient(135deg, var(--primary-light), #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTACT FORM ===== */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info { padding: 20px 0; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info h3 { margin-bottom: 24px; }
.contact-info > p { margin-bottom: 30px; color: var(--text-light); line-height: 1.8; }
.contact-details { margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }

/* Info List - Premium Style */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.info-item:hover::before {
    opacity: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(41, 128, 185, 0.25);
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.info-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(41, 128, 185, 0.35);
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-content a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all var(--transition);
    position: relative;
}

.info-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.info-content a:hover {
    color: var(--primary);
}

.info-content a:hover::after {
    width: 100%;
}

/* Contact Direct - Enhanced */
.contact-direct {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 32px;
    border-radius: var(--radius-xl);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.contact-direct::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-direct h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white;
}
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-buttons .btn {
    width: 100%;
    justify-content: center;
}
.contact-buttons .btn-primary {
    background: white;
    color: var(--primary);
}
.contact-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}
.contact-buttons .btn-outline {
    border-color: white;
    color: white;
}
.contact-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Form - Premium Design */
.contact-form {
    background: white;
    padding: 48px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

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

.form-header {
    margin-bottom: 36px;
    text-align: center;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.form-header h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.btn-submit {
    width: 100%;
    padding: 18px 36px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-back);
}

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

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

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.4);
}

.btn-submit i {
    transition: transform 0.3s var(--ease-spring);
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* Contact Item - Enhanced */
.contact-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
    transition: all 0.3s var(--ease-spring);
}

.contact-item:hover .contact-item-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
}

.contact-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Contact Form Wrapper - Premium */
.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-form-wrapper:hover::before {
    opacity: 1;
}

.contact-form-wrapper h3 {
    margin-bottom: 28px;
    font-size: 1.5rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Form Group - Premium Floating Labels */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s var(--ease-spring);
    background: var(--off-white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

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

/* Custom Select Arrow */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Form Checkbox - Enhanced */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
}

.form-checkbox:hover {
    background: var(--primary-light);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease;
}

.form-checkbox a:hover {
    text-decoration-color: var(--primary);
}

/* ===== FAQ - Premium Design ===== */
.faq-section {
    background: white;
    position: relative;
}

.faq-grid,
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item.active {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.faq-item.active::before {
    transform: scaleY(1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

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

.faq-question i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.4s var(--ease-spring);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px;
    max-height: 600px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.9;
    padding-left: 4px;
    border-left: 2px solid var(--primary-light);
}

/* ===== APPOINTMENT SECTION - Premium Design ===== */
.appointment-section {
    background: linear-gradient(135deg, var(--off-white) 0%, white 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.appointment-info h2 {
    margin-bottom: 24px;
    font-size: 2.4rem;
}

.appointment-info > p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 36px;
    font-size: 1.1rem;
}

.appointment-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-spring);
    border: 2px solid transparent;
}

.benefit-item:hover {
    transform: translateX(8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.benefit-item i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-spring);
}

.benefit-item:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-item span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
}

.appointment-form-container {
    background: white;
    padding: 48px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.appointment-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.appointment-form-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    pointer-events: none;
}

.appointment-form-container h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 28px;
    text-align: center;
    font-weight: 700;
}

/* Step Indicator - Premium */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
    padding: 16px;
    background: var(--off-white);
    border-radius: 50px;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--light-gray);
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.step-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.2);
}

.step-dot.active::before {
    border-color: var(--primary-light);
    animation: stepPulse 2s ease infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.step-dot.completed {
    background: var(--primary);
}

.step-dot.completed::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    font-weight: bold;
}

/* Appointment Steps - Premium */
.appointment-step {
    display: none;
    animation: fadeInUp 0.5s var(--ease-spring);
}

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

.appointment-step.active {
    display: block;
}

.appointment-step-title {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

/* Date Picker - Premium */
.date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-xl);
}

.day-header {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-spring);
    background: white;
    border: 2px solid transparent;
}

.day-cell:hover:not(.disabled):not(.selected) {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.day-cell.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
    transform: scale(1.05);
}

.day-cell.disabled {
    color: var(--light-gray);
    cursor: not-allowed;
    background: transparent;
    opacity: 0.5;
}

.day-cell.today {
    border: 2px solid var(--primary);
    background: var(--primary-light);
    font-weight: 600;
}

/* Time Slots - Premium */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.time-slot {
    padding: 16px 14px;
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-spring);
    border: 2px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.time-slot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot span {
    position: relative;
    z-index: 1;
}

.time-slot:hover:not(.unavailable):not(.selected) {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.time-slot:hover:not(.unavailable):not(.selected)::before {
    opacity: 0.1;
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
    transform: translateY(-2px);
}

.time-slot.unavailable {
    background: var(--off-white);
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
    border-color: transparent;
}

/* Appointment Navigation - Premium */
.appointment-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid var(--off-white);
}

.appt-prev-hidden {
    visibility: hidden;
}

.appt-prev,
.appt-next {
    flex: 1;
}

.appt-prev .btn,
.appt-next .btn {
    width: 100%;
}

/* ===== WHATSAPP FLOAT BUTTON - Premium Design ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: visible;
}

/* Animated ring pulse effect */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E, #25D366);
    z-index: -1;
    animation: whatsappRingPulse 2s ease-out infinite;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 60%);
    pointer-events: none;
}

@keyframes whatsappRingPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Icon styling with gradient */
.whatsapp-btn i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s var(--ease-spring);
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 
        0 8px 32px rgba(37, 211, 102, 0.5),
        0 0 60px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover i {
    transform: scale(1.1) rotate(8deg);
}

.whatsapp-btn:active {
    transform: scale(1.05);
}

/* Premium tooltip with glassmorphism */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--secondary);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 
        var(--shadow-lg),
        0 0 0 1px rgba(255,255,255,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
}

.whatsapp-tooltip::before {
    content: '💬';
    margin-right: 8px;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(2px 0 2px rgba(0,0,0,0.05));
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Notification badge with glow */
.whatsapp-notification {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #5DADE2 0%, var(--primary) 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 
        0 2px 8px rgba(41, 128, 185, 0.4),
        0 0 20px rgba(41, 128, 185, 0.3);
    animation: notificationBounce 2s ease-in-out infinite;
    z-index: 3;
}

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

/* Second ring for extra effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: whatsappRingExpand 3s ease-out infinite;
}

@keyframes whatsappRingExpand {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: var(--off-white);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
}
.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}
.timeline-content {
    width: calc(50% - 60px);
    background: white;
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}
.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications {
    background: white;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.certification-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}
.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.certification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}
.certification-card h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}
.certification-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--off-white);
}
.testimonials-slider {
    overflow: hidden;
    position: relative;
}
.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
}
.testimonial-quote {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 16px;
    opacity: 0.3;
}
.testimonial-content {
    margin-bottom: 24px;
}
.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author-info h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 2px;
}
.testimonial-author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}
.testimonial-rating {
    display: flex;
    gap: 4px;
}
.testimonial-rating i {
    color: #FFD700;
    font-size: 1rem;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.service-header .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
.service-detail {
    background: white;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.service-detail-content h2 {
    margin-bottom: 24px;
}
.service-detail-content .lead {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}
.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
    padding: 30px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}
.service-features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-features-list .feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}
.service-features-list .feature-item span {
    color: var(--secondary);
    font-weight: 500;
}
.service-cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}
.service-detail-visual {
    position: sticky;
    top: 120px;
}
.service-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}
.service-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.experience-badge {
    display: flex;
    flex-direction: column;
    color: white;
}
.experience-badge strong {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}
.experience-badge span {
    font-size: 1rem;
    opacity: 0.9;
}
.service-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}
.info-card i {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.info-card div strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 2px;
}
.info-card div span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== PRODUCTS/TYPES SECTION ===== */
.products-section {
    background: var(--off-white);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}
.product-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== OTHER SERVICES SECTION ===== */
.other-services {
    background: white;
}
.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.other-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition);
}
.other-service-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.other-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.other-service-card h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 4px;
}
.other-service-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 4px;
}
.other-service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}
.other-service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 12px;
    transition: all var(--transition);
}
.other-service-link i {
    transition: transform var(--transition);
}
.other-service-card:hover .other-service-link i {
    transform: translateX(5px);
}

/* ===== ROI PREVIEW SECTION ===== */
.roi-preview-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
    padding: 80px 0;
}
.roi-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.roi-preview-content h2 {
    color: white;
    margin-bottom: 20px;
}
.roi-preview-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 24px;
}
.roi-preview-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.roi-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}
.roi-card .roi-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.roi-card .roi-unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}
.roi-card .roi-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
}

/* Solar Header Specific */
.solar-header {
    background: linear-gradient(135deg, #22C55E 0%, #166534 100%);
}

/* ===== SERVICE FEATURES ON SERVICES PAGE ===== */
.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}
.service-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}
.service-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}
.service-card-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* ===== GALLERY/PORTFOLIO GRID ===== */
.gallery {
    background: white;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.portfolio-overlay span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 12px 24px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}
.filter-tab:hover {
    background: var(--light-gray);
    color: var(--secondary);
}
.filter-tab.active {
    background: var(--primary);
    color: white;
}

/* ===== BEFORE/AFTER SLIDER ===== */
.before-after {
    background: var(--off-white);
}
.ba-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.ba-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: ew-resize;
}
.ba-slider::before,
.ba-slider::after {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 10;
}
.ba-slider::before {
    content: attr(data-before);
    left: 20px;
}
.ba-slider::after {
    content: attr(data-after);
    right: 20px;
}
.ba-before, .ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-after {
    clip-path: inset(0 0 0 50%);
}
.ba-range {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
}
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: white;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ba-handle i {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.ba-info {
    padding: 20px;
}
.ba-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 6px;
}
.ba-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: white;
}
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 12px 24px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover {
    background: var(--light-gray);
    color: var(--secondary);
}
.filter-btn.active {
    background: var(--primary);
    color: white;
}
.project-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.project-card.large {
    grid-column: span 2;
    grid-row: span 2;
}
.project-image {
    width: 100%;
    height: 100%;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.project-card:hover .project-image img {
    transform: scale(1.1);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all var(--transition);
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}
.project-info h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.project-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] { --off-white: #12121a; --light-gray: #1e1e2d; --text: #E8E8F0; --text-light: #A0A0B0; --secondary: #E8E8F0; }
[data-theme="dark"] body { background: #0a0a0f; color: #E8E8F0; }
[data-theme="dark"] .navbar.scrolled { background: rgba(10, 10, 15, 0.98); }

/* Light mode navbar specific styles */
[data-theme="light"] .nav-link,
.nav-link { color: rgba(255, 255, 255, 0.9); }
[data-theme="light"] .dropdown-trigger,
.dropdown-trigger { color: rgba(255, 255, 255, 0.9); }
[data-theme="light"] .nav-phone,
.nav-phone { color: rgba(255, 255, 255, 0.9); }

/* Dark Mode - Dropdown Menu Complete */
[data-theme="dark"] .dropdown-trigger { color: rgba(255, 255, 255, 0.9); }
[data-theme="dark"] .dropdown-trigger:hover { color: white; }
[data-theme="dark"] .dropdown-wrapper.open .dropdown-trigger { color: white; }
[data-theme="dark"] .dropdown-arrow { color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] .dropdown-menu { 
    background: rgba(18, 18, 26, 0.98);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 12px 20px -10px rgba(41, 128, 185, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
[data-theme="dark"] .dropdown-menu::before { 
    background: #12121a; 
    box-shadow: -3px -3px 10px rgba(0,0,0,0.3);
}
[data-theme="dark"] .dropdown-item:hover { background: rgba(41, 128, 185, 0.15); }
[data-theme="dark"] .dropdown-icon { 
    background: rgba(41, 128, 185, 0.2); 
    color: #5DADE2;
}
[data-theme="dark"] .dropdown-item:hover .dropdown-icon { 
    background: var(--primary); 
    color: white; 
}
[data-theme="dark"] .dropdown-content h4 { color: #E8E8F0; }
[data-theme="dark"] .dropdown-content p { color: #A0A0B0; }
[data-theme="dark"] .dropdown-item i { 
    background: rgba(41, 128, 185, 0.2); 
    color: #5DADE2;
    border-color: rgba(41, 128, 185, 0.3);
}
[data-theme="dark"] .dropdown-item:hover i { 
    background: var(--primary); 
    color: white; 
}
[data-theme="dark"] .dropdown-item span { color: #E8E8F0; }
[data-theme="dark"] .dropdown-item:hover span { color: #5DADE2; }
[data-theme="dark"] .dropdown-item small { color: #A0A0B0; }
[data-theme="dark"] .dropdown-item:hover .dropdown-content h4 { color: #5DADE2; }
[data-theme="dark"] .service-card { background: #12121a; }
[data-theme="dark"] .about { background: #0a0a0f; }
[data-theme="dark"] .services { background: #0a0a0f; }
[data-theme="dark"] .testimonials { background: #0a0a0f; }
[data-theme="dark"] .testimonial-card { background: #12121a; }
[data-theme="dark"] .contact-section { background: #0a0a0f; }
[data-theme="dark"] .contact-form-wrapper { background: #12121a; }
[data-theme="dark"] .form-group input, [data-theme="dark"] .form-group select, [data-theme="dark"] .form-group textarea { background: #1e1e2d; border-color: #2a2a3d; color: #E8E8F0; }
[data-theme="dark"] .footer { background: #0a0a0f; }
[data-theme="dark"] .faq-item { background: #12121a; }
[data-theme="dark"] .faq-question { color: #E8E8F0; }
[data-theme="dark"] .calculator { background: #0a0a0f; }
[data-theme="dark"] .calculator-wrapper { background: #12121a; }
[data-theme="dark"] .calculator-body { background: #12121a; }
[data-theme="dark"] .calc-step h3 { color: #E8E8F0; }
[data-theme="dark"] .option-card { background: #1e1e2d; color: #E8E8F0; }
[data-theme="dark"] .option-card strong { color: #E8E8F0; }
[data-theme="dark"] .calc-option input:checked + .option-card { background: rgba(255, 71, 87, 0.15); border-color: #FF4757; }
[data-theme="dark"] .preset-btn { background: #1e1e2d; color: #E8E8F0; }

/* Dark Mode - Before/After & Projects */
[data-theme="dark"] .before-after { background: #0a0a0f; }
[data-theme="dark"] .ba-item { background: #12121a; }
[data-theme="dark"] .ba-info h4 { color: #E8E8F0; }
[data-theme="dark"] .projects { background: #0a0a0f; }
[data-theme="dark"] .filter-btn { background: #12121a; color: #A0A0B0; }
[data-theme="dark"] .filter-btn:hover { background: #1e1e2d; color: #E8E8F0; }
[data-theme="dark"] .checkbox-card { background: #1e1e2d; }
[data-theme="dark"] .checkbox-card strong { color: #E8E8F0; }
[data-theme="dark"] .result-card { background: #12121a; border-color: #FF4757; }
[data-theme="dark"] .result-card h3 { color: #E8E8F0; }

/* Dark Mode - Page Header */
[data-theme="dark"] .page-header { background: linear-gradient(135deg, #12121a 0%, #0a0a0f 100%); }
[data-theme="dark"] .page-title { color: #E8E8F0; }
[data-theme="dark"] .page-description { color: rgba(232, 232, 240, 0.7); }

/* Dark Mode - Info Items & Contact */
[data-theme="dark"] .info-item { background: #12121a; }
[data-theme="dark"] .info-content h4 { color: #E8E8F0; }
[data-theme="dark"] .contact-form { background: #12121a; }
[data-theme="dark"] .form-header h3 { color: #E8E8F0; }
[data-theme="dark"] .contact-direct { background: linear-gradient(135deg, #12121a 0%, #1e1e2d 100%); border: 1px solid var(--primary); }

/* Dark Mode - Appointment Section */
[data-theme="dark"] .appointment-section { background: #0a0a0f; }
[data-theme="dark"] .benefit-item { background: #12121a; }
[data-theme="dark"] .benefit-item span { color: #E8E8F0; }
[data-theme="dark"] .appointment-form-container { background: #12121a; }
[data-theme="dark"] .appointment-form-container h3 { color: #E8E8F0; }
[data-theme="dark"] .appointment-step-title { color: #E8E8F0; }
[data-theme="dark"] .day-cell { background: #1e1e2d; color: #E8E8F0; }
[data-theme="dark"] .time-slot { background: #1e1e2d; color: #E8E8F0; }
[data-theme="dark"] .time-slot.unavailable { background: #0a0a0f; }

/* Dark Mode - Calculators Showcase */
[data-theme="dark"] .calculators-showcase { background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%); }
[data-theme="dark"] .calculator-card { background: #12121a; border-color: #2a2a3d; }
[data-theme="dark"] .calculator-card:hover { border-color: var(--primary); }
[data-theme="dark"] .calculator-card.featured { background: linear-gradient(135deg, rgba(41, 128, 185, 0.1) 0%, #12121a 100%); }
[data-theme="dark"] .calc-card-icon { background: #1e1e2d; }
[data-theme="dark"] .calc-card-content h3 { color: #E8E8F0; }
[data-theme="dark"] .calc-card-features li { color: #A0A0B0; }
[data-theme="dark"] .calc-card-price { background: #1e1e2d; }
[data-theme="dark"] .calculators-note { background: #1e1e2d; }

/* Dark Mode - Timeline */
[data-theme="dark"] .timeline-section { background: #0a0a0f; }
[data-theme="dark"] .timeline-content { background: #12121a; }
[data-theme="dark"] .timeline-content h4 { color: #E8E8F0; }

/* Dark Mode - Certifications */
[data-theme="dark"] .certifications { background: #0a0a0f; }
[data-theme="dark"] .certification-card { background: #12121a; }
[data-theme="dark"] .certification-card h4 { color: #E8E8F0; }

/* Dark Mode - Service Detail */
[data-theme="dark"] .service-detail { background: #0a0a0f; }
[data-theme="dark"] .service-detail-content h2 { color: #E8E8F0; }
[data-theme="dark"] .service-detail-content .lead { color: #A0A0B0; }
[data-theme="dark"] .service-features-list { background: #12121a; }
[data-theme="dark"] .service-features-list .feature-item span { color: #E8E8F0; }
[data-theme="dark"] .info-card { background: #12121a; }
[data-theme="dark"] .info-card i { background: #1e1e2d; }
[data-theme="dark"] .info-card div strong { color: #E8E8F0; }

/* Dark Mode - Products */
[data-theme="dark"] .products-section { background: #0a0a0f; }
[data-theme="dark"] .product-card { background: #12121a; }
[data-theme="dark"] .product-card h3 { color: #E8E8F0; }

/* Dark Mode - Other Services */
[data-theme="dark"] .other-services { background: #0a0a0f; }
[data-theme="dark"] .other-service-card { background: #12121a; }
[data-theme="dark"] .other-service-card:hover { background: #1e1e2d; }
[data-theme="dark"] .other-service-card h4 { color: #E8E8F0; }

/* Dark Mode - Gallery */
[data-theme="dark"] .gallery { background: #0a0a0f; }
[data-theme="dark"] .filter-tab { background: #12121a; color: #A0A0B0; }
[data-theme="dark"] .filter-tab:hover { background: #1e1e2d; color: #E8E8F0; }

/* Dark Mode Toggle */
.dark-mode-toggle { position: fixed; bottom: 100px; right: 30px; width: 50px; height: 50px; background: var(--secondary); color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; z-index: 998; box-shadow: var(--shadow-md); transition: all var(--transition); cursor: pointer; }
.dark-mode-toggle:hover { transform: scale(1.1); }
[data-theme="dark"] .dark-mode-toggle { background: #FFD93D; color: #1a1a1a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 40px; }
    .certifications-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .other-services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 992px) {
    .nav-menu { 
        position: fixed; 
        top: 0; 
        left: 0; 
        right: 0; 
        bottom: 0; 
        background: white; 
        flex-direction: column; 
        justify-content: flex-start;
        padding: 100px 30px 30px;
        gap: 8px; 
        transform: translateX(100%); 
        transition: transform var(--transition);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 15px 20px;
        width: 100%;
        border-radius: var(--radius-md);
    }
    .nav-menu .nav-link:hover {
        background: var(--off-white);
    }
    .nav-menu-footer {
        display: block;
    }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav-phone { display: none; }
    .nav-item.has-dropdown > .nav-link::after { display: none; }
    .nav-link.has-dropdown > span::after { content: '\f107'; display: inline-block; }
    
    /* Mobile Dropdown Styles */
    .nav-link.has-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-link.has-dropdown > span {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: var(--radius-md);
        background: transparent;
        transition: background 0.3s ease;
    }
    .nav-link.has-dropdown > span:hover {
        background: var(--off-white);
    }
    .nav-link.has-dropdown > span::after {
        transition: transform 0.3s ease;
    }
    .nav-link.has-dropdown.active > span::after {
        transform: rotate(180deg);
    }
    .dropdown-menu { 
        position: static; 
        opacity: 1; 
        visibility: visible; 
        transform: none; 
        box-shadow: none; 
        padding: 0 0 10px 15px; 
        min-width: auto;
        background: transparent;
        display: none;
        pointer-events: auto;
    }
    .dropdown-menu::before {
        display: none;
    }
    .nav-link.has-dropdown.active .dropdown-menu,
    .dropdown-menu.show {
        display: block;
    }
    .dropdown-item {
        padding: 12px 15px;
        border-left: 3px solid transparent;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        margin-bottom: 4px;
    }
    .dropdown-item:hover {
        border-left-color: var(--primary);
        background: rgba(41, 128, 185, 0.05);
    }
    .dropdown-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .dropdown-content h4 {
        font-size: 0.9rem;
    }
    .dropdown-content p {
        font-size: 0.75rem;
    }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; padding-top: 20px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-images { order: -1; }
    .about-badge { left: 20px; }
    .about-secondary-image { right: 20px; bottom: -20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-overlay { padding: 20px; }
    .map-info-card { max-width: 100%; }
    [data-theme="dark"] .nav-menu { background: #0a0a0f; }
    [data-theme="dark"] .nav-menu .nav-link { color: #E8E8F0; }
    [data-theme="dark"] .nav-menu .nav-link:hover { background: #1e1e2d; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .urgency-banner { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center;
        padding: 15px 50px 15px 20px;
    }
    .urgency-close { top: 50%; transform: translateY(-50%); }
    body.has-banner .navbar { top: 80px; }
    body.has-banner .hero { padding-top: 160px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-stats-card { flex-direction: column; }
    .counter-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .counter-item { padding: 20px 15px; }
    .live-counter { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .carousel-slide img { height: 350px; }
    .carousel-btn { width: 40px; height: 40px; }
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    .carousel-thumbnails { display: none; }
    .cta-section { padding: 60px 0; }
    .map-section { height: 400px; }
    .map-overlay { position: relative; height: auto; }
    .map-info-card { margin: 0 auto; }
    .map-iframe { height: 300px; }
    .calc-options { grid-template-columns: 1fr; }
    .calc-checkboxes { grid-template-columns: 1fr; }
    .calculator-body { padding: 24px; }
    .calc-navigation { flex-wrap: wrap; }
    .calc-progress { order: -1; width: 100%; flex: none; margin: 0 0 20px 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .roi-grid { grid-template-columns: 1fr; }
    .result-actions { flex-direction: column; }
    .scroll-indicator { display: none; }
    .about-features { gap: 12px; }
    .feature-item { padding: 15px; }
    
    /* Page Header Responsive */
    .page-header { padding: 120px 0 60px; }
    .page-title { font-size: 2rem; }
    
    /* Contact Page Responsive */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .info-list { gap: 16px; }
    .info-item { padding: 16px; }
    .info-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .contact-form { padding: 25px; }
    .contact-buttons { flex-direction: column; }
    
    /* Appointment Responsive */
    .appointment-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .appointment-form-container { padding: 25px; }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
    .appointment-nav { flex-direction: column; }
    .appt-prev-hidden { display: none; }
    
    /* Timeline Responsive */
    .timeline::before { left: 20px; }
    .timeline-marker { left: 20px; width: 40px; height: 40px; font-size: 1rem; }
    .timeline-item { flex-direction: column !important; text-align: left !important; }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px; }
    
    /* Certifications Responsive */
    .certifications-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .certification-card { padding: 25px 15px; }
    .certification-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    
    /* Service Detail Responsive */
    .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-features-list { grid-template-columns: 1fr; }
    .service-cta-buttons { flex-direction: column; }
    .service-detail-visual { position: relative; top: 0; }
    .service-image-card img { height: 300px; }
    
    /* Products Responsive */
    .products-grid { grid-template-columns: 1fr; }
    
    /* Other Services Responsive */
    .other-services-grid { grid-template-columns: 1fr; }
    
    /* Portfolio/Gallery Responsive */
    .portfolio-grid { grid-template-columns: 1fr; }
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 10px 18px; font-size: 0.9rem; }
    
    /* Testimonials Responsive */
    .testimonial-card { min-width: 100%; padding: 25px; }
    
    /* Before/After Responsive */
    .ba-gallery { grid-template-columns: 1fr; }
    .ba-slider { aspect-ratio: 16/10; }
    
    /* Projects Responsive */
    .projects-filter { gap: 8px; }
    .filter-btn { padding: 10px 18px; font-size: 0.9rem; }
    .project-card.large { grid-column: span 1; grid-row: span 1; }
    
    /* WhatsApp */
    .whatsapp-float { bottom: 80px; right: 15px; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 1.5rem; }
    .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .nav-container { padding: 0 16px; }
    .counter-grid { grid-template-columns: 1fr; }
    .live-counter { font-size: 2rem; }
    .counter-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .service-card { padding: 30px 20px; }
    .carousel-caption { padding: 20px; }
    .carousel-caption h3 { font-size: 1.2rem; }
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail-section { background: white; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-detail-image img { width: 100%; height: 400px; object-fit: cover; }
.service-detail-content h2 { margin-bottom: 20px; }
.service-detail-content p { margin-bottom: 16px; }
.feature-list { margin: 24px 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.feature-list i { color: var(--primary); margin-top: 4px; }

/* Benefits Grid */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.benefit-card { background: var(--off-white); padding: 30px; border-radius: var(--radius-lg); text-align: center; transition: all var(--transition); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-icon { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.benefit-card h4 { margin-bottom: 8px; }

/* Process Steps */
.process-section { background: var(--off-white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 30px; right: -15px; width: 30px; height: 2px; background: var(--primary); }
.process-step:last-child::after { display: none; }
.step-number { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 16px; }
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { background: white; border-radius: var(--radius-xl); padding: 40px 30px; text-align: center; border: 2px solid var(--light-gray); transition: all var(--transition); }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.05); }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-badge { display: inline-block; padding: 6px 16px; background: var(--primary); color: white; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 16px 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-features { text-align: left; margin: 24px 0; }
.pricing-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pricing-features i { color: var(--primary); }

/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }

/* Before/After Slider */
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.ba-before, .ba-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: white; cursor: ew-resize; transform: translateX(-50%); }
.ba-handle::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: white; border-radius: 50%; box-shadow: var(--shadow-md); }

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10000;
    transform: translateX(150%);
    transition: transform 0.4s var(--ease-out-expo);
    border-left: 4px solid #10B981;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-content strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.toast-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.toast-close {
    width: 28px;
    height: 28px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
    margin-left: 10px;
}

.toast-close:hover {
    background: var(--gray);
    color: var(--secondary);
}

/* ===== MOBILE CALL BAR ===== */
.mobile-call-bar { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: white;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.mobile-call-bar .call-bar-btn {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 16px;
    font-weight: 600;
    flex: 1;
}

.mobile-call-bar .call-bar-btn.call {
    background: var(--primary);
    color: white;
}

.mobile-call-bar .call-bar-btn.contact {
    background: var(--secondary);
    color: white;
}

@media (max-width: 768px) { 
    .mobile-call-bar { 
        display: flex; 
    } 
    .back-to-top { 
        bottom: 90px; 
    }
    .chatbot-container {
        bottom: 90px;
    }
}

/* ============================================
   CHATBOT AI - COMPLETE REDESIGN
   ============================================ */

/* Container - Fixed Position Right */
.chatbot-container { 
    position: fixed; 
    bottom: 24px; 
    right: 24px; 
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Toggle Button */
.chatbot-toggle { 
    width: 60px; 
    height: 60px; 
    background: linear-gradient(145deg, #3498DB, #2980B9);
    color: white; 
    border: none;
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    cursor: pointer; 
    position: relative;
    box-shadow: 
        0 4px 20px rgba(41, 128, 185, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover { 
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(41, 128, 185, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.chatbot-toggle:active {
    transform: translateY(-1px);
}

/* Pulse Animation */
.chatbot-pulse {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: #2980B9;
    animation: pulse 2s ease-out infinite;
    z-index: -1;
}

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

/* Notification Badge */
.chatbot-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Tooltip */
.chatbot-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    white-space: nowrap;
    background: #1a1a2e;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a2e;
}

.chatbot-toggle:hover .chatbot-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Chat Window */
.chatbot-window { 
    position: absolute; 
    bottom: 72px; 
    right: 0;
    width: 380px; 
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #ffffff; 
    border-radius: 20px; 
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: windowOpen 0.3s ease;
}

@keyframes windowOpen {
    from { 
        opacity: 0; 
        transform: translateY(16px) scale(0.96); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.chatbot-window.active { 
    display: flex; 
}

/* Header */
.chatbot-header { 
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white; 
    padding: 16px 18px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-info .chatbot-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
}

.chatbot-avatar .chatbot-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    border: 2px solid #2980B9;
}

.chatbot-header-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.chatbot-header-text span {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-header-info .online-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
}

/* Close Button */
.chatbot-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Lead Form & Chat Area */
.chatbot-lead-form,
.chatbot-chat-area,
.chatbot-handoff {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-lead-form.hidden,
.chatbot-chat-area.hidden,
.chatbot-handoff.hidden {
    display: none;
}

/* Lead Form Styles */
.chatbot-lead-form {
    padding: 20px;
    overflow-y: auto;
}

.lead-form-header {
    text-align: center;
    margin-bottom: 20px;
}

.lead-form-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.lead-form-header h4,
.lead-form-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--secondary);
}

.lead-form-header p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.lead-form-group {
    margin-bottom: 14px;
}

.lead-form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 6px;
}

.lead-form-group label i {
    color: var(--primary);
    font-size: 0.75rem;
}

.lead-form-group input,
.lead-form-group select,
.lead-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #FAFBFC;
}

.lead-form-group input:focus,
.lead-form-group select:focus,
.lead-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.08);
}

.lead-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.lead-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(41, 128, 185, 0.3);
}

.lead-skip-section {
    text-align: center;
    margin-top: 16px;
}

.lead-divider {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.lead-skip-btn {
    padding: 8px 16px;
    background: #F3F4F6;
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lead-skip-btn:hover {
    background: #E5E7EB;
}

.lead-privacy {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.lead-privacy i {
    color: #10B981;
}

/* Messages Area */
.chatbot-messages { 
    flex: 1;
    overflow-y: auto; 
    padding: 16px;
    background: #F9FAFB;
}

/* Quick Actions */
.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 14px;
    border-top: 1px solid #F3F4F6;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    flex-shrink: 0;
    max-height: 120px;
    overflow-y: auto;
}

/* Firefox scrollbar styling */
@supports (scrollbar-width: thin) {
    .chatbot-quick-actions {
        scrollbar-width: thin;
        scrollbar-color: var(--primary) #f0f0f0;
    }
}

.chatbot-quick-actions::-webkit-scrollbar {
    width: 6px;
}

.chatbot-quick-actions::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.chatbot-quick-actions::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.quick-action,
.quick-action-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    white-space: nowrap;
}

.quick-action:hover,
.quick-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 80, 60, 0.3);
}

.quick-action:hover,
.quick-action-btn:hover {
    background: var(--primary);
    color: white;
}

/* Input Area */
.chatbot-input-area { 
    display: flex;
    gap: 8px;
    padding: 12px 16px; 
    border-top: 1px solid #F3F4F6;
    background: white;
    flex-shrink: 0;
}

.chatbot-input-area input { 
    flex: 1; 
    padding: 10px 14px; 
    border: 1px solid #E5E7EB; 
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: var(--primary);
}

.chatbot-input-area button { 
    width: 42px;
    height: 42px;
    padding: 0;
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white; 
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbot-input-area button:hover {
    transform: scale(1.05);
}

/* Footer */
.chatbot-footer {
    padding: 8px 16px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-light);
    background: #F9FAFB;
    border-top: 1px solid #F3F4F6;
    flex-shrink: 0;
}

.chatbot-footer span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.request-human-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.7rem;
    text-decoration: underline;
}

/* Chat Messages */
.chat-message { 
    margin-bottom: 12px;
    max-width: 85%;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message.user { 
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.chat-message.bot .message-avatar {
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white;
}

.chat-message.user .message-avatar {
    background: #E5E7EB;
    color: var(--text);
}

.message-content {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-message.bot .message-content { 
    background: white; 
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.chat-message.user .message-content { 
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white; 
    border-bottom-right-radius: 4px;
}

.message-time {
    display: block;
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Handoff Section */
.handoff-header {
    text-align: center;
    padding: 20px;
}

.handoff-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.handoff-header h4,
.handoff-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.handoff-header p {
    color: var(--text-light);
    font-size: 0.85rem;
}

#handoff-form {
    padding: 0 20px 20px;
}

#handoff-form input,
#handoff-form select,
#handoff-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 0.9rem;
}

#handoff-form textarea {
    min-height: 80px;
    resize: vertical;
}

.back-to-chat-btn {
    width: 100%;
    padding: 10px;
    background: #F3F4F6;
    color: var(--text);
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 8px;
}

.back-to-chat-btn:hover {
    background: #E5E7EB;
}

/* Dark Mode */
[data-theme="dark"] .chatbot-window { 
    background: #1a1a24; 
    border: 1px solid #2a2a3a;
}
[data-theme="dark"] .chatbot-header {
    background: linear-gradient(135deg, #1A5276, #2980B9);
}
[data-theme="dark"] .chatbot-messages { 
    background: #12121a; 
}
[data-theme="dark"] .chat-message.bot .message-content { 
    background: #252530; 
    color: #E8E8F0; 
}
[data-theme="dark"] .chatbot-input-area { 
    background: #1a1a24; 
    border-color: #2a2a3a; 
}
[data-theme="dark"] .chatbot-input-area input { 
    background: #252530; 
    border-color: #3a3a4a; 
    color: #E8E8F0; 
}
[data-theme="dark"] .chatbot-quick-actions {
    background: #1a1a24;
    border-color: #2a2a3a;
}
[data-theme="dark"] .quick-action {
    background: #252530;
    color: #E8E8F0;
}
[data-theme="dark"] .chatbot-footer {
    background: #12121a;
    border-color: #2a2a3a;
}
[data-theme="dark"] .chatbot-lead-form,
[data-theme="dark"] .chatbot-handoff {
    background: #1a1a24;
}
[data-theme="dark"] .lead-form-group input,
[data-theme="dark"] .lead-form-group select,
[data-theme="dark"] .lead-form-group textarea,
[data-theme="dark"] #handoff-form input,
[data-theme="dark"] #handoff-form select,
[data-theme="dark"] #handoff-form textarea {
    background: #252530;
    border-color: #3a3a4a;
    color: #E8E8F0;
}

/* Responsive */
@media (max-width: 480px) { 
    .chatbot-container {
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-toggle {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
    
    .chatbot-window { 
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .chatbot-header {
        padding: 14px 16px;
    }
    
    .chatbot-messages {
        padding: 12px;
    }
    
    .chatbot-input-area {
        padding: 10px 12px;
    }
    
    .chatbot-quick-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 10px;
    }
    
    .quick-action,
    .quick-action-btn {
        font-size: 0.7rem;
        padding: 8px 6px;
    }
}
