/* ==========================================
   PERCOSO NIGERIA - PREMIUM WEBSITE STYLES
   Professional B2B Design System
   ========================================== */

/* ==========================================
   CSS VARIABLES - DESIGN TOKENS
   ========================================== */
:root {
    /* Brand Colors - Professional Blue Palette */
    --primary-900: #0a1929;
    --primary-800: #0d2847;
    --primary-700: #103865;
    --primary-600: #134783;
    --primary-500: #1657a1;
    --primary-400: #4178b8;
    --primary-300: #6b99cf;
    --primary-200: #96bae6;
    --primary-100: #c0dbfd;
    
    /* Accent Colors */
    --accent-gold: #d4af37;
    --accent-green: #00a86b;
    --accent-orange: #ff6b35;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1657a1 0%, #0a1929 100%);
    --gradient-accent: linear-gradient(135deg, #00a86b 0%, #1657a1 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b35 0%, #d4af37 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 25, 41, 0.9) 0%, rgba(22, 87, 161, 0.85) 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Font Sizes - Responsive Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);
    --text-6xl: clamp(3.75rem, 2.75rem + 5vw, 5.5rem);
    
    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(22, 87, 161, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --container-max: 1320px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    --header-height: 80px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-24) 0;
}

.section-lg {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    transition: all var(--transition-base);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-menu a {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-600);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: var(--white);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gray-900);
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(22, 87, 161, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 107, 0.15) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 900;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #c0dbfd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats {
    position: absolute;
    bottom: var(--space-12);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--container-padding);
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-value {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ==========================================
   SCROLL REVEAL ANIMATION
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
        --container-padding: 1.5rem;
    }
    
    .nav-menu {
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --container-padding: 1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-8);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu a {
        display: block;
        padding: var(--space-4);
        font-size: var(--text-base);
    }
    
    .hero-stats {
        bottom: var(--space-6);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .stat-value {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   DARK MODE
   ========================================== */
body.dark-mode {
    --white: #0f172a;
    --gray-50: #1e293b;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
    background-color: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .main-header {
    background: rgba(15, 23, 42, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .main-header.scrolled {
    background: rgba(15, 23, 42, 0.99);
}

body.dark-mode .dropdown-menu {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-menu a:hover {
    background: #334155;
}

.dark-mode-toggle {
    width: 44px;
    height: 24px;
    background: var(--gray-300);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    transition: background var(--transition-base);
    flex-shrink: 0;
}

.dark-mode-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.dark-mode .dark-mode-toggle {
    background: var(--primary-500);
}

body.dark-mode .dark-mode-toggle::after {
    transform: translateX(20px);
}

/* ==========================================
   TOP UTILITY BAR
   ========================================== */
.header-top-bar {
    background: var(--primary-900);
    color: rgba(255, 255, 255, 0.85);
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.header-top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.top-bar-left a:hover { color: var(--white); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 2px;
}

.lang-btn {
    padding: 3px 10px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.05em;
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-800);
}

/* Adjust header position when top bar visible */
.main-header {
    top: 36px;
}

/* ==========================================
   DROPDOWN NAVIGATION MENUS
   ========================================== */
.nav-menu .has-dropdown {
    position: relative;
}

.nav-menu .has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

.nav-menu .has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    min-width: 220px;
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    color: var(--gray-700);
    transition: all var(--transition-fast);
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu a::after { display: none; }

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary-600);
    padding-left: var(--space-8);
}

.dropdown-menu .dropdown-header {
    padding: var(--space-2) var(--space-6);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-100);
    margin-top: var(--space-1);
}

.dropdown-menu .dropdown-header:first-child {
    border-top: none;
    margin-top: 0;
}

/* ==========================================
   HERO SLIDER (3-SLIDE SYSTEM)
   ========================================== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: calc(var(--header-height) + 36px);
    background: var(--gray-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 7s ease-out;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    position: absolute;
    inset: 0;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Slide 1: Innovation - Blue/Navy */
.slide-1 .slide-bg { background: linear-gradient(135deg, #0a1929 0%, #103865 50%, #1657a1 100%); }
.slide-1 .slide-overlay { background: linear-gradient(180deg, rgba(10, 25, 41, 0.6) 0%, rgba(10, 25, 41, 0.85) 100%); }

/* Slide 2: Value - Dark + Gold */
.slide-2 .slide-bg { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%); }
.slide-2 .slide-overlay { background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.88) 100%); }

/* Slide 3: Technology - Green/Blue */
.slide-3 .slide-bg { background: linear-gradient(135deg, #003d2b 0%, #006644 50%, #0a1929 100%); }
.slide-3 .slide-overlay { background: linear-gradient(180deg, rgba(0, 61, 43, 0.55) 0%, rgba(10, 25, 41, 0.9) 100%); }

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    padding-bottom: 140px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.slide-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.slide-1 .slide-badge-dot { background: #60a5fa; }
.slide-2 .slide-badge-dot { background: #d4af37; }
.slide-3 .slide-badge-dot { background: #4ade80; }

.slide-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-6);
    max-width: 900px;
}

.slide-title span {
    display: block;
}

.slide-1 .slide-title .highlight { color: #60a5fa; }
.slide-2 .slide-title .highlight { color: #d4af37; }
.slide-3 .slide-title .highlight { color: #4ade80; }

.slide-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 650px;
    margin-bottom: var(--space-10);
}

.slide-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(22, 87, 161, 0.5);
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(22, 87, 161, 0.6);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* Slider Navigation Controls */
.slider-controls {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

.slider-arrows {
    display: flex;
    gap: var(--space-3);
}

.slider-arrow {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.slider-dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--white);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 10;
    transition: width 0.1s linear;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    top: 50%;
    right: var(--container-padding);
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.slide-counter-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.slide-counter-num {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
}

.slide-counter-active {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

/* ==========================================
   METRICS STRIP (TEF-Style)
   ========================================== */
.metrics-strip {
    background: var(--gradient-primary);
    padding: var(--space-5) 0;
    overflow: hidden;
    position: relative;
}

.metrics-strip::before,
.metrics-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.metrics-strip::before {
    left: 0;
    background: linear-gradient(to right, rgba(22, 87, 161, 1), transparent);
}

.metrics-strip::after {
    right: 0;
    background: linear-gradient(to left, rgba(22, 87, 161, 1), transparent);
}

.metrics-track {
    display: flex;
    gap: var(--space-16);
    animation: metricsScroll 30s linear infinite;
    width: max-content;
}

.metrics-track:hover { animation-play-state: paused; }

@keyframes metricsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.metric-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--white);
    flex-shrink: 0;
    white-space: nowrap;
}

.metric-num {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    line-height: 1.3;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   QUICK ACCESS POPUP
   ========================================== */
.qa-trigger {
    position: fixed;
    left: var(--space-6);
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transition: all var(--transition-base);
}

.qa-trigger:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 40px rgba(22, 87, 161, 0.5);
}

.qa-trigger svg { transition: transform var(--transition-base); }
.qa-trigger.open svg { transform: rotate(45deg); }

.qa-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.qa-overlay.open {
    opacity: 1;
    visibility: visible;
}

.qa-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    z-index: 1600;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-spring);
    width: min(600px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.qa-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

body.dark-mode .qa-popup {
    background: #1e293b;
    color: var(--white);
}

.qa-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.qa-popup-header h3 {
    font-size: var(--text-2xl);
    color: var(--gray-900);
}

body.dark-mode .qa-popup-header h3 { color: var(--white); }

.qa-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--gray-600);
}

.qa-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-4);
}

.qa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--gray-700);
}

body.dark-mode .qa-item {
    background: #334155;
    color: var(--white);
}

.qa-item:hover {
    border-color: var(--primary-400);
    background: rgba(22, 87, 161, 0.05);
    transform: translateY(-4px);
}

.qa-item-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.qa-item-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
}

.qa-item-sub {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-align: center;
}

/* ==========================================
   CLIENT LOGOS CAROUSEL
   ========================================== */
.clients-section {
    padding: var(--space-12) 0;
    background: var(--gray-50);
    overflow: hidden;
}

.clients-section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.clients-section-header p {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    font-weight: 600;
}

.clients-track-wrapper {
    position: relative;
    overflow: hidden;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.clients-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.clients-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

.clients-track {
    display: flex;
    gap: var(--space-6);
    animation: clientScroll 25s linear infinite;
    width: max-content;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes clientScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-card {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.client-logo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity var(--transition-fast);
    filter: grayscale(40%);
}

.client-logo-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo-card .client-logo-text {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}

/* ==========================================
   GALLERY PAGE STYLES
   ========================================== */
.gallery-filter-tabs {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-10);
}

.filter-tab {
    padding: var(--space-2) var(--space-6);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-tab:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-900);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    aspect-ratio: 4/3;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}

.gallery-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-6);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition-base);
}

.gallery-card:hover .gallery-card-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-card-client {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: var(--space-1);
}

.gallery-card-title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.gallery-card-type {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
}

/* Gallery placeholder when no images */
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    gap: var(--space-3);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    background: var(--gray-900);
    padding: clamp(4rem, 8vw, 6rem) 0;
    overflow: hidden;
    position: relative;
}

.testimonials-track-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: var(--space-8);
    animation: testimonialScroll 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover { animation-play-state: paused; }

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    color: var(--white);
}

.testimonial-quote {
    font-size: var(--text-base);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-quote::before { content: '\201C'; font-size: 3rem; color: var(--accent-gold); line-height: 0; vertical-align: -0.6em; margin-right: 0.2em; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: var(--text-sm);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--accent-gold);
}

/* ==========================================
   NEWSLETTER / BLOG SECTION
   ========================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: var(--space-4) var(--space-6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: var(--text-base);
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-input:focus { border-color: rgba(255, 255, 255, 0.8); }

.newsletter-btn {
    padding: var(--space-4) var(--space-8);
    background: var(--white);
    color: var(--primary-700);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* ==========================================
   WHATSAPP CHAT BUTTON
   ========================================== */
.wa-chat-btn {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 900;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all var(--transition-base);
    text-decoration: none;
    animation: waPulse 3s ease-in-out infinite;
}

.wa-chat-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.wa-chat-btn:hover .wa-tooltip { opacity: 1; }

/* ==========================================
   GO GREEN PERCOSO - SUSTAINABILITY
   ========================================== */
.go-green-hero {
    background: linear-gradient(135deg, #003d2b 0%, #006644 40%, #00a86b 100%);
    position: relative;
    overflow: hidden;
}

.go-green-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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");
}

.go-green-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(0, 168, 107, 0.3);
    border: 1px solid rgba(0, 168, 107, 0.5);
    border-radius: var(--radius-full);
    color: #4ade80;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-6);
}

.green-metric-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.green-metric-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.green-metric-num {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: #4ade80;
    margin-bottom: var(--space-2);
}

/* ==========================================
   PROJECT SLIDER (Footprints)
   ========================================== */
.project-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.project-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
    min-width: 100%;
    position: relative;
}

.project-slide-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.project-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    padding: var(--space-8);
    color: var(--white);
}

.project-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    pointer-events: none;
    z-index: 5;
}

.project-nav-btn {
    pointer-events: all;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--gray-800);
    box-shadow: var(--shadow-lg);
}

.project-nav-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.project-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.project-dot.active {
    background: var(--primary-600);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   REAL LOGO IMAGE STYLES
   ========================================== */
.logo-real-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================
   SERVICES PAGE ENHANCEMENTS
   ========================================== */
.service-category-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
    background: var(--gray-100);
    padding: var(--space-2);
    border-radius: var(--radius-xl);
    overflow-x: auto;
}

.service-tab-btn {
    flex: 1;
    min-width: fit-content;
    padding: var(--space-3) var(--space-6);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--gray-600);
    white-space: nowrap;
}

.service-tab-btn.active {
    background: var(--white);
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: block;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.service-feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-feature-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: 1.5rem;
}

/* ==========================================
   FOOTPRINTS MAP SECTION
   ========================================== */
.map-embed-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 3px solid var(--gray-200);
}

.map-embed-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ==========================================
   PAGE HERO VARIANTS
   ========================================== */
.page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 36px + var(--space-12));
    padding-bottom: var(--space-16);
    position: relative;
    overflow: hidden;
}

.page-hero-about { background: linear-gradient(135deg, #0a1929 0%, #1657a1 100%); }
.page-hero-services { background: linear-gradient(135deg, #0a1929 0%, #103865 60%, #134783 100%); }
.page-hero-green { background: linear-gradient(135deg, #003d2b 0%, #006644 100%); }
.page-hero-footprints { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); }
.page-hero-careers { background: linear-gradient(135deg, #1a1a2e 0%, #1657a1 100%); }
.page-hero-gallery { background: linear-gradient(135deg, #0a1929 0%, #134783 100%); }

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    background: rgba(22, 87, 161, 0.1);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(1.875rem, 3vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: var(--space-4);
}

.section-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.7;
}

/* ==========================================
   FOOTER ENHANCEMENTS
   ========================================== */
.footer-v2 {
    background: #050e1a;
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    padding: clamp(3rem, 7vw, 6rem) 0 var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand {
    margin-bottom: var(--space-8);
}

.footer-brand-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    line-height: 1.8;
    max-width: 320px;
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: rgba(255, 255, 255, 0.7);
}

.footer-social-link:hover {
    background: var(--primary-600);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h5 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    font-size: var(--text-sm);
    line-height: 2.5;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: var(--space-2);
}

.footer-bottom {
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   CERTIFICATIONS & AWARDS
   ========================================== */
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

/* ==========================================
   RESPONSIVE ADDITIONS
   ========================================== */
@media (max-width: 1024px) {
    .slide-counter { display: none; }
    .qa-trigger { display: none; }
}

@media (max-width: 768px) {
    .header-top-bar { display: none; }
    .main-header { top: 0; }
    .hero-slider { margin-top: var(--header-height); }
    .page-hero { padding-top: calc(var(--header-height) + var(--space-12)); }
    .newsletter-inner { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .qa-popup { padding: var(--space-6); }
    .qa-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-content { padding-bottom: 120px; }
    .metrics-track { gap: var(--space-8); }
}

@media (max-width: 480px) {
    .slide-title { font-size: clamp(2rem, 8vw, 2.5rem); }
    .gallery-grid { grid-template-columns: 1fr; }
    .wa-chat-btn { bottom: var(--space-5); right: var(--space-5); width: 52px; height: 52px; }
}
