/* ===== DESIGN SYSTEM & VARIABLES ===== */
:root {
    /* Brand Colors — ALL 6 palette colors */
    --primary-dark: #122435;
    --bg-color: #EFEFEF;
    --primary-accent: #224766;
    --secondary-accent: #CC361E;
    --attention-color: #CC361E;
    --micro-accent: #B3B3B3;

    /* Utility aliases */
    --accent-color: #224766;
    --accent-gradient: linear-gradient(135deg, #224766, #CC361E);
    --glass-bg: rgba(239, 239, 239, 0.75);
    --glass-border: rgba(0, 0, 0, 0.06);

    /* Interface Colors */
    --surface-color: #EFEFEF;
    --surface-border: rgba(0, 0, 0, 0.06);
    --text-primary: #122435;
    --text-secondary: #224766;
    --text-on-dark: #EFEFEF;
    --text-muted: #B3B3B3;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Design Tokens */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-full: 50px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* BASE NUCLEAR RESET FOR ALL BLACK OUTLINES */
* {
    outline: none !important;
}

.btn-secondary, 
#lang-toggle, 
.navbar.scrolled,
.nav-links .btn-secondary,
.hero-cta .btn-secondary {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-feature-settings: 'locl';
    -webkit-font-feature-settings: 'locl';
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p { color: var(--text-secondary); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-padding { padding: 8rem 0; }

/* GRADIENT TEXT — blue → green with continuous animation */
.text-gradient {
    background: linear-gradient(135deg, #224766, #CC361E, #224766);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

.mt-4 { margin-top: 2rem; }

/* ===== BUTTONS — BLUE PRIMARY ACCENT ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: #224766 !important;
    background-image: none !important;
    color: #EFEFEF !important;
    border: none;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(34, 71, 102, 0.35);
    outline: none; /* Remove browser default outline */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 71, 102, 0.5);
    background-color: #122435 !important;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    border: none !important; 
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    outline: none !important;
}

.btn-secondary:hover {
    background: var(--surface-color);
    border-color: #B3B3B3;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(179, 179, 179, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hide-before-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal-fade-up {
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.reveal-zoom-in {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left {
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right {
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible.reveal-fade-up,
.visible.reveal-fade-in,
.visible.reveal-zoom-in,
.visible.reveal-slide-left,
.visible.reveal-slide-right {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ===== NAVBAR — dark on scroll ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(239, 239, 239, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    border-bottom: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Scroll Progress Bar — blue to green gradient */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #224766, #CC361E);
    z-index: 2000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(34, 71, 102, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 120px; /* ENFORCED wide gap */
}

@media (max-width: 480px) {
    .logo { font-size: 1.2rem; letter-spacing: 1px; margin-right: 20px; }
}

/* Base Nav Links (Desktop) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--text-color);
    border: none !important;
}

/* Uniform Button Sizing */
.nav-links .btn-primary,
.nav-links .btn-secondary {
    width: auto; 
    min-width: 40px;
    text-align: center;
    padding: 0.3rem 1.1rem; /* Slightly more horizontal padding per feedback */
    display: inline-block;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 0.68rem !important; /* Smaller letters as requested */
    border: none !important;
}

#lang-toggle {
    width: 42px !important; /* Even more compact toggle */
    padding: 0.3rem 0 !important;
    min-width: 42px !important;
    border: none !important;
}

/* Hide legacy mobile elements if they still exist in some files */
.nav-links-mobile, .nav-actions, .nav-links-center {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}

@media (max-width: 991px) {
    .hamburger { display: block; }
    .logo { margin-right: 0; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background: #122435; /* Ensure solid background, fix transparency bug */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        padding: 40px;
        box-shadow: none;
    }

    .nav-links.active {
        right: 0;
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: #EFEFEF !important;
    }

    .nav-links .btn-primary,
    .nav-links .btn-secondary {
        width: 100%; 
        max-width: 280px; 
        font-size: 0.95rem !important;
        padding: 15px 20px !important;
        border-radius: 8px;
        color: #EFEFEF !important;
    }

    .nav-links .btn-secondary {
        background: rgba(239, 239, 239, 0.1) !important;
    }

    /* Make dropdown inline on mobile to prevent overlap */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        min-width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-top: 15px;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

.nav-links-center a:not(.btn-primary):not(.btn-secondary) {
    position: relative;
}

.nav-links-center a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #224766;
    transition: var(--transition-smooth);
}

.nav-links-center a:not(.btn-primary):not(.btn-secondary):hover::after {
    width: 100%;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown > a i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition-smooth);
}

.nav-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 1rem 0;
    min-width: 260px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    display: block !important;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text-secondary) !important;
    transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
    background: rgba(34, 71, 102, 0.05);
    color: #224766 !important;
    padding-left: 1.8rem;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: #CC361E;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-color);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background-image:
        linear-gradient(rgba(34, 71, 102, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 71, 102, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px) translateZ(-200px); }
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s infinite alternate;
}

/* BLUE sphere */
.sphere-1 {
    width: 600px; height: 600px;
    background: rgba(34, 71, 102, 0.15);
    top: -200px; left: -100px;
}

/* GREEN sphere */
.sphere-2 {
    width: 500px; height: 500px;
    background: rgba(204, 54, 30, 0.12);
    bottom: -100px; right: -100px;
    animation-delay: -10s;
}

/* BLUE/PURPLE sphere */
.sphere-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(34, 71, 102, 0.25) 0%, transparent 70%);
    bottom: 10%; left: 20%;
    animation: float 25s infinite alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -50px) scale(1.1) rotate(5deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(-5deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.floating-element {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
    z-index: 1;
}

/* Hero badge — YELLOW dot accent */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(34, 71, 102, 0.08);
    border: 1px solid rgba(34, 71, 102, 0.25);
    color: #224766;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B3B3B3;
    box-shadow: 0 0 8px rgba(179, 179, 179, 0.6);
    animation: yellowPulse 2s infinite ease-in-out;
}

@keyframes yellowPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(179, 179, 179, 0.4); }
    50% { box-shadow: 0 0 12px rgba(179, 179, 179, 0.8); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Floating Badges */
.floating-graphic {
    position: absolute;
    background: rgba(239, 239, 239, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    animation: floatBadge 6s infinite ease-in-out;
    z-index: 1;
}

/* Each floating badge icon gets a DIFFERENT color */
.graphic-1 i { color: #CC361E; }  /* GREEN */
.graphic-2 i { color: #224766; }  /* BLUE */
.graphic-3 i { color: #B3B3B3; }  /* YELLOW */

.graphic-1 { top: 25%; left: 10%; animation-delay: 0s; }
.graphic-2 { bottom: 30%; right: 12%; animation-delay: 2s; }
.graphic-3 { top: 15%; right: 15%; animation-delay: 4s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Pulse — BLUE */
.animate-pulse {
    animation: softPulse 3s infinite ease-in-out;
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 71, 102, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(34, 71, 102, 0.08); }
}

.glow-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(239, 239, 239, 0.3), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.glow-effect:hover::after {
    transform: rotate(45deg) translateY(100%);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    position: relative;
    height: 100px;
    width: 100%;
    overflow: hidden;
    background: var(--bg-color);
}

.divider-wave {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    line-height: 0;
}

.divider-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.divider-wave .shape-fill {
    fill: var(--surface-color);
}

/* ===== SECTIONS GENERAL ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-header p { font-size: 1.1rem; }

/* ===== ABOUT SECTION — white bg, clean layout ===== */
.about {
    background: var(--surface-color);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* PILLARS GRID */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1.5px solid var(--surface-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-card i {
    font-size: 2rem;
    color: var(--primary-accent);
}

.pillar-card.p-2 i { color: var(--secondary-accent); }
.pillar-card.p-3 i { color: var(--attention-color); }
.pillar-card.p-4 i { color: var(--micro-accent); }

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 71, 102, 0.3);
    box-shadow: var(--shadow-premium);
}

.pillar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-content { text-align: center; }
}

/* ===== APPROACH — white bg, GREEN icons ===== */
.approach {
    background: var(--surface-color);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.approach-card {
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(204, 54, 30, 0.3);
}

/* GREEN icons for approach */
.approach-icon {
    width: 60px;
    height: 60px;
    background: rgba(204, 54, 30, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #CC361E;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(204, 54, 30, 0.2);
    transition: var(--transition-smooth);
}

.approach-card:hover .approach-icon {
    background: #CC361E;
    color: #EFEFEF;
    transform: scale(1.1);
}

.approach-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.approach-card p { font-size: 0.95rem; line-height: 1.6; }

/* ===== SERVICES — light bg, BLUE icons ===== */
.services {
    background: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Top accent line — blue→green gradient */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #224766, #CC361E);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 71, 102, 0.2);
    box-shadow: 0 20px 50px rgba(34, 71, 102, 0.08),
               0 0 0 1px rgba(179, 179, 179, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* BLUE icons for services */
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 71, 102, 0.08);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #224766;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 71, 102, 0.15);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: #224766;
    color: #EFEFEF;
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { font-size: 1rem; line-height: 1.6; }

/* ===== BUNDLE CARD — BLUE border, GREEN checkmarks ===== */
.bundle-card {
    background: linear-gradient(135deg, rgba(34, 71, 102, 0.05), rgba(204, 54, 30, 0.03));
    border: 1.5px solid rgba(34, 71, 102, 0.2);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.bundle-card:hover {
    border-color: #B3B3B3;
    box-shadow: 0 10px 30px rgba(179, 179, 179, 0.15);
}

.bundle-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bundle-features { list-style: none; margin-top: 1.5rem; }

.bundle-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

/* GREEN checkmarks */
.bundle-features i {
    color: #CC361E;
}

.bundle-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
}

.price-tag {
    margin-top: 1.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #224766;
    font-family: var(--font-heading);
}

.price-tag span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===== IMPACT STATS ===== */
.impact-stats {
    padding: 6rem 0 3rem 0;
    position: relative;
    z-index: 10;
    background: var(--bg-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.big-stat {
    text-align: center;
    transition: var(--transition-smooth);
}

.big-stat:hover { transform: translateY(-5px); }

/* Stats numbers — gradient blue→green */
.big-stat h3 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #224766, #CC361E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.big-stat p {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: var(--surface-border);
}

/* ===== WHY CHOOSE US — white bg, gradient icon boxes ===== */
.why-choose {
    background-color: var(--surface-color);
}

.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    width: 100%;
}

.why-choose-card {
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-choose-card:hover {
    transform: translateY(-12px);
    border-color: #224766;
    box-shadow: 0 20px 40px rgba(34, 71, 102, 0.1);
}

/* Icon boxes — blue→green gradient */
.card-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #224766, #CC361E);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #EFEFEF;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.why-choose-card:hover .card-visual {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(34, 71, 102, 0.3);
}

.why-choose-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.why-choose-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Performance bar inside card-visual */
.performance-bar {
    position: absolute;
    bottom: 10px;
    width: 60%;
    height: 4px;
    background: rgba(239, 239, 239, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    width: 0;
    height: 100%;
    background: #EFEFEF;
    animation: growBar 3s infinite ease-in-out;
}

@keyframes growBar {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 80%; }
}

/* ===== TESTIMONIALS — GREEN accents, YELLOW stars ===== */
.testimonials {
    background: var(--bg-color);
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-top: 1rem;
}

.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    border-top: 3px solid #CC361E; /* GREEN top accent */
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(204, 54, 30, 0.1);
    border-color: rgba(204, 54, 30, 0.3);
    border-top-color: #CC361E;
}

/* GREEN quote icon */
.testimonial-card .quote-icon {
    font-size: 2rem;
    color: #CC361E;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.testimonial-card .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Avatar — green gradient */
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #CC361E, #224766);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EFEFEF;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* YELLOW star ratings — prominent */
.testimonial-stars {
    color: #FFC107;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

/* ===== ABOUT SECTION — WHITE background ===== */
.about {
    background: var(--surface-color);
    position: relative;
}

.about h2 { color: var(--text-primary); }

.about .text-gradient {
    background: linear-gradient(135deg, #224766, #CC361E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    font-size: 1.15rem;
    margin: 2rem 0;
    color: var(--text-secondary);
}

.about-glass {
    height: 500px;
    border-radius: 30px;
    background: url('assets/about_abstract_art.png') center/cover no-repeat,
                linear-gradient(135deg, rgba(34, 71, 102, 0.05), rgba(204, 54, 30, 0.03));
    border: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #224766, #CC361E);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: drift 15s infinite alternate;
}

/* Pillars Grid — on white bg */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.pillars-grid::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(34, 71, 102, 0.1) 0%, transparent 60%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(30px);
}

.pillar-card {
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    padding: 3rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-soft);
}

/* Each pillar gets a DIFFERENT color icon */
.pillar-card.p-1 i { color: #224766; }  /* BLUE */
.pillar-card.p-2 i { color: #CC361E; }  /* GREEN */
.pillar-card.p-3 i { color: #CC361E; }  /* RED */
.pillar-card.p-4 i { color: #B3B3B3; }  /* YELLOW */

.pillar-card i {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.pillar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.pillar-card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: rgba(34, 71, 102, 0.3);
    box-shadow: var(--shadow-premium);
}

.p-2, .p-4 { transform: translateY(40px); }
.p-2:hover, .p-4:hover { transform: scale(1.05) translateY(30px); }

/* Stats inside about */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #224766, #CC361E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(239, 239, 239, 0.6);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-color);
}

.contact-wrapper {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    box-shadow: var(--shadow-soft);
}

.contact-details { list-style: none; margin-top: 2rem; }

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* BLUE contact icons */
.contact-details i {
    color: #224766;
    font-size: 1.3rem;
    width: 25px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 1.5rem;
}

.social-links a:hover { color: #224766; }

.contact-form .form-group { margin-bottom: 1.5rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1.5px solid var(--surface-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

/* BLUE focus ring */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #224766;
    background: #EFEFEF;
    box-shadow: 0 0 0 4px rgba(34, 71, 102, 0.1);
}

/* ===== FOOTER — DARK #122435 ===== */
footer {
    padding-top: 0;
    background-color: #122435 !important;
    color: #EFEFEF;
}

.border-top-glow {
    border-top: 1px solid rgba(239, 239, 239, 0.08);
    position: relative;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 6rem;
    padding: 6rem 0;
    align-items: start;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #EFEFEF;
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(239, 239, 239, 0.5);
    max-width: 320px;
    line-height: 1.7;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #EFEFEF;
}

.footer-col a {
    display: block;
    color: rgba(239, 239, 239, 0.5);
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

/* BLUE hover on footer links */
.footer-col a:hover {
    color: #224766;
    transform: translateX(5px);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(239, 239, 239, 0.08);
    font-size: 0.9rem;
}

.footer-bottom p {
    color: rgba(239, 239, 239, 0.4);
}

/* ===== TRUST BANNER ===== */
.trust-banner {
    padding: 4rem 0 2rem 0;
    border-bottom: 1px solid var(--surface-border);
    background: linear-gradient(to bottom, rgba(239, 239, 239, 0.8), var(--surface-color));
    position: relative;
    z-index: 10;
}

.trust-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.trust-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.trust-marquee::before,
.trust-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.trust-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.trust-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 6rem;
    align-items: center;
    animation: scroll 30s linear infinite;
    padding-left: 6rem;
}

.marquee-content i {
    font-size: 3rem;
    color: var(--text-secondary);
    opacity: 0.3;
    transition: var(--transition-smooth);
}

/* BLUE hover on marquee icons */
.marquee-content i:hover {
    opacity: 1;
    color: #224766;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 3rem)); }
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    z-index: 10;
    transition: var(--transition-smooth);
}

/* RED close button hover */
.close-modal:hover { color: #CC361E; }

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image {
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.modal-text { padding: 3rem; }

.modal-text span {
    color: #224766;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.modal-text h3 { font-size: 2rem; margin: 0.5rem 0 1.5rem; }

.modal-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--surface-border);
    padding-top: 1.5rem;
}

.metric h4 { font-size: 1.5rem; color: var(--text-primary); }
.metric p { font-size: 0.85rem; margin: 0; }

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.service-detail-hero .hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.service-detail-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.service-detail-content .hero-badge {
    margin-bottom: 1.5rem;
}

.service-detail-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.service-detail-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-body {
    padding: 6rem 0;
    background: var(--surface-color);
}

.service-body h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-feature-card {
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(204, 54, 30, 0.3);
}

.service-feature-card i {
    font-size: 1.5rem;
    color: #CC361E;
    margin-bottom: 1rem;
    display: block;
}

.service-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-cta-section {
    padding: 5rem 0;
    background: #122435;
    text-align: center;
}

.service-cta-section h2 {
    color: #EFEFEF;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-cta-section p {
    color: rgba(239, 239, 239, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-glass { height: 350px; }
}

@media (max-width: 991px) {
    .nav-links-center,
    .nav-actions {
        display: none;
    }

    .nav-links-mobile {
        display: flex; /* Show on mobile only */
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 400px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(239, 239, 239, 0.05);
        z-index: 1000;
        padding: 40px;
    }

    .nav-links-mobile a { 
        color: #EFEFEF !important; 
        font-size: 1.2rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
    }

    .nav-links-mobile.active { right: 0; }
    .hamburger { 
        display: block; 
        z-index: 1001;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--text-color);
    }

    /* Mobile dropdown — click-based toggle */
    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(239, 239, 239, 0.05);
        border: none;
        border-radius: 12px;
        box-shadow: none;
        min-width: 0;
        width: 100%;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        color: rgba(239, 239, 239, 0.7) !important;
        padding: 0.6rem 1.5rem !important;
    }

    .dropdown-menu a:hover {
        color: #224766 !important;
        background: rgba(34, 71, 102, 0.1);
    }

    .dropdown-menu a i {
        color: #CC361E;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4rem;
        padding: 4rem 20px;
    }

    .footer-brand {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .footer-links-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin: 0;
    }

    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
}

@media (max-width: 900px) {
    .stats-container {
        gap: 3rem;
        flex-direction: column;
    }
    .stat-divider { width: 100px; height: 1px; }
    .big-stat h3 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 5rem 0; }
    .contact-wrapper { padding: 2rem; }

    .bundle-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .bundle-price {
        text-align: left;
        align-items: flex-start;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-title { font-size: clamp(2rem, 5vw, 2.5rem); }
    .hidden-mobile { display: none !important; }

    .modal-body { grid-template-columns: 1fr; }
    .modal-text { padding: 2rem; }

    .p-2, .p-4 { transform: translateY(0); }
    .p-2:hover, .p-4:hover { transform: scale(1.05) translateY(-10px); }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials { padding: 5rem 0; }
}

/* ==========================================================================
   PUZZLE DECORATIVE ELEMENTS & ANIMATIONS 
   Architecture: 100% Pure CSS (No SVG Masks, High Compatibility)
   ========================================================================== */

section {
    position: relative;
    z-index: 1; /* Establish proper stacking context for sections */
}

/* Floating puzzle pieces (Solid shapes for robust rendering) */
section::before, 
section::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="white"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1; /* Keep strictly behind content */
    pointer-events: none;
    animation: puzzleParallax 18s infinite alternate ease-in-out;
}

section:nth-of-type(even)::before {
    top: 20%;
    left: -2%;
    opacity: 0.1;
    filter: invert(24%) sepia(50%) saturate(1200%) hue-rotate(180deg) brightness(85%) contrast(85%); /* #224766 */
    transform: rotate(25deg);
    animation-delay: -3s;
}

section:nth-of-type(odd)::before {
    bottom: 10%;
    right: -2%;
    opacity: 0.1;
    filter: invert(34%) sepia(91%) saturate(2311%) hue-rotate(345deg) brightness(86%) contrast(86%); /* #CC361E */
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.hero::before, .service-detail-hero::before {
    width: 250px;
    height: 250px;
    top: 5%;
    right: 5%;
    opacity: 0.15;
    filter: invert(90%) sepia(41%) saturate(2284%) hue-rotate(334deg) brightness(108%) contrast(103%); /* #B3B3B3 */
    transform: rotate(45deg);
    animation: puzzleParallax 24s infinite alternate-reverse ease-in-out;
}

.floating-puzzle-extra {
    position: absolute;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="white"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    animation: float 14s infinite ease-in-out;
}

@keyframes puzzleParallax {
    0% { transform: translateY(0) rotate(0deg) scale(0.9); }
    50% { transform: translateY(-40px) rotate(15deg) scale(1.05); }
    100% { transform: translateY(0) rotate(0deg) scale(0.9); }
}

/* ==========================================================================
   INTERACTIVE CARD HOVER TABS
   ========================================================================== */
.service-card, .approach-card, .why-choose-card, .service-feature-card, .work-card {
    position: relative !important;
    overflow: hidden !important; 
    z-index: 1;
}

.service-card > *, .approach-card > *, .why-choose-card > *, .service-feature-card > *, .work-card > * {
    position: relative;
    z-index: 2;
}

.service-card::after,
.approach-card::after,
.why-choose-card::after,
.service-feature-card::after,
.work-card::after {
    content: '';
    position: absolute;
    width: 160px; 
    height: 160px;
    bottom: -40px;
    right: -40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%234D96FF"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg) translate(80px, 80px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1; /* Below text, above background */
    pointer-events: none;
}

.service-card:hover::after,
.approach-card:hover::after,
.why-choose-card:hover::after,
.service-feature-card:hover::after,
.work-card:hover::after {
    opacity: 0.8 !important; 
    transform: scale(1) rotate(0deg) translate(0, 0);
}

/* Specific RED hover for portfolio cards as requested */
.work-card:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%23ff4d4d"/></svg>') !important;
    filter: drop-shadow(0 0 15px rgba(255, 77, 77, 0.4));
}

/* Different color variations using explicitly colored SVGs */
.approach-card::after { 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%233DDC97"/></svg>'); 
}
.why-choose-card::after { 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%23FF6B6B"/></svg>'); 
}

/* ==========================================================================
   "ASSEMBLING" SCROLL REVEALS
   ========================================================================== */
.service-card.animate-on-scroll,
.service-feature-card.animate-on-scroll,
.approach-card.animate-on-scroll {
    transform: translateX(0);
}

.service-card.animate-on-scroll.hide-before-scroll:nth-child(odd),
.service-feature-card.animate-on-scroll.hide-before-scroll:nth-child(odd),
.approach-card.animate-on-scroll.hide-before-scroll:nth-child(odd) {
    transform: translateX(-60px);
    opacity: 0;
}

.service-card.animate-on-scroll.hide-before-scroll:nth-child(even),
.service-feature-card.animate-on-scroll.hide-before-scroll:nth-child(even),
.approach-card.animate-on-scroll.hide-before-scroll:nth-child(even) {
    transform: translateX(60px);
    opacity: 0;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .bundles-grid {
        grid-template-columns: 1fr;
    }
}

.bundle-item {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(239, 239, 239, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bundle-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bundle-item.popular {
    border: 1px solid var(--accent-color);
    transform: scale(1.05);
}

.bundle-item.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

@media (max-width: 992px) {
    .bundle-item.popular {
        transform: scale(1);
    }
    .bundle-item.popular:hover {
        transform: scale(1) translateY(-5px);
    }
}

.bundle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bundle-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bundle-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bundle-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 45px;
}

.bundle-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    flex-grow: 1;
}

.bundle-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(239, 239, 239, 0.05);
    display: flex;
    flex-direction: column;
}

.bundle-features li:last-child {
    border-bottom: none;
}

.bundle-features .feature-name {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.bundle-features .feature-val {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bundle-features .feature-val i {
    color: var(--accent-color);
    margin-top: 4px;
    font-size: 0.8rem;
}

.bundle-cta-wrapper {
    margin-top: auto;
    text-align: center;
}

.service-card.animate-on-scroll.visible,
.service-feature-card.animate-on-scroll.visible,
.approach-card.animate-on-scroll.visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateX(-50%) translateY(0) !important; display: block !important; }

/* NUCLEAR RESET FOR ALL BLACK OUTLINES */
* {
    outline: none !important;
}

.btn-secondary, 
#lang-toggle, 
.navbar.scrolled,
.nav-links .btn-secondary,
.hero-cta .btn-secondary {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}



/* ===== Portfolio Grid Layout ===== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.work-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    min-height: 420px;
    text-decoration: none;
    color: #EFEFEF;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.work-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.work-card .work-content,
.work-card h3,
.work-card p,
.work-card .work-category {
    position: relative;
    z-index: 2;
    margin: 0;
}

.work-card .work-category {
    display: inline-block;
    color: #CC361E;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.work-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.work-card .card-puzzle {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    font-size: 2rem;
    color: rgba(239, 239, 239, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.work-card:hover .card-puzzle {
    transform: scale(1.25) rotate(15deg);
}

/* --- PROJECT SPECIFIC HOVER COLORS --- */
/* Hood Wear - Red */
.work-card.card-hoodwear:hover .card-puzzle {
    color: #CC361E !important;
}
.work-card.card-hoodwear:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%23ff4d4d"/></svg>') !important;
    filter: drop-shadow(0 0 15px rgba(255, 77, 77, 0.4));
}

/* TechStart - Blue */
.work-card.card-techstart:hover .card-puzzle {
    color: #224766 !important;
}
.work-card.card-techstart:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%234D96FF"/></svg>') !important;
}

/* GreenLife - Green */
.work-card.card-greenlife:hover .card-puzzle {
    color: #CC361E !important;
}
.work-card.card-greenlife:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%233DDC97"/></svg>') !important;
}

/* UrbanShop - Yellow */
.work-card.card-urbanshop:hover .card-puzzle {
    color: #B3B3B3 !important;
}
.work-card.card-urbanshop:hover::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 25H40A10 10 0 1 1 60 25H75V40A10 10 0 1 1 75 60V75H60A10 10 0 1 0 40 75H25V60A10 10 0 1 0 25 40Z" fill="%23FFD93D"/></svg>') !important;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .work-card {
        min-height: 320px;
    }
}