/* =========================================================================
   1. PREMIUM BRAND MATRIX & DESIGN SYSTEM
   ========================================================================= */
:root {
    /* Color System */
    --imperial-green: #053316;       /* Dense, ultra-premium forest emerald */
    --imperial-green-glow: rgba(5, 51, 22, 0.08);
    --antique-gold: #C29B4F;         /* Muted satin gold */
    --gold-gradient: linear-gradient(135deg, #DFBA73 0%, #A47B34 100%);
    --executive-dark: #09130D;       /* Luxury near-black with organic green undertone */
    
    /* Backdrops & Interactive Kinetic Spaces */
    --studio-alabaster: #FAFAF9;     
    --card-white: #FFFFFF;
    
    /* Typography Contrasts */
    --charcoal-rich: #1C2421;        
    --charcoal-muted: #5B6661;       
    
    /* Luxury Border & Shadows */
    --gold-border-fine: 1px solid rgba(194, 155, 79, 0.25);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-ambient: 0 10px 40px -10px rgba(9, 19, 13, 0.04);
    --shadow-elevated: 0 30px 60px -15px rgba(5, 51, 22, 0.12);
    
    /* Architectural Curves & Physics */
    --radius-premium: 14px;
    --transition-luxury: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   2. DYNAMIC & INNOVATIVE BACKGROUND KINETICS
   ========================================================================= */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--charcoal-rich);
    background-color: var(--studio-alabaster);
    background-image: 
        radial-gradient(at 10% 20%, rgba(5, 51, 22, 0.03) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(194, 155, 79, 0.04) 0px, transparent 50%),
        linear-gradient(rgba(250, 250, 249, 0.95), rgba(250, 250, 249, 0.95)),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23053316' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm1-61c3.105 0 5.625-2.52 5.625-5.625S38.105 17.75 35 17.75s-5.625 2.52-5.625 5.625S31.895 29 35 29z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    line-height: 1.8;
    letter-spacing: -0.15px;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(194, 155, 79, 0.03) 0%, transparent 60%),
                radial-gradient(circle, rgba(5, 51, 22, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: driftAuroras 25s infinite linear;
    pointer-events: none;
}

@keyframes driftAuroras {
    0% { transform: rotate(0deg); }
    50% { transform: translate(50px, -30px) rotate(180deg); }
    100% { transform: rotate(360deg); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: var(--executive-dark);
    letter-spacing: -0.03em;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--studio-alabaster);
}
::-webkit-scrollbar-thumb {
    background: var(--imperial-green);
    border-radius: 10px;
}

/* =========================================================================
   3. THE NAVIGATION SYSTEM (Executive Glassmorphism with Lighting Engine)
   ========================================================================= */
.navbar {
    background-color: rgba(9, 19, 13, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.1rem 0;
    position: relative;
    transition: var(--transition-luxury);
    
    /* 1. Ambient Backlight Glow */
    box-shadow: 
        0 4px 30px rgba(5, 51, 22, 0.15), 
        0 15px 50px rgba(194, 155, 79, 0.08);
}

/* 2. Interactive Light-Sweep Bottom Border */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        var(--antique-gold) 15%, 
        #FFE8B5 30%, 
        var(--antique-gold) 45%, 
        transparent 60%
    );
    background-size: 200% auto;
    animation: lightSweep 6s linear infinite;
}

@keyframes lightSweep {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* 3. Pulsing Brand Lighting */
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.navbar-brand span {
    animation: brandGlow 4s ease-in-out infinite alternate;
}

@keyframes brandGlow {
    0% {
        text-shadow: 0 0 5px rgba(194, 155, 79, 0.1), 0 0 10px rgba(194, 155, 79, 0.05);
    }
    100% {
        text-shadow: 0 0 15px rgba(194, 155, 79, 0.6), 0 0 25px rgba(5, 51, 22, 0.4);
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1.2rem !important;
    letter-spacing: 0.2px;
    transition: var(--transition-luxury);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--antique-gold) !important;
    text-shadow: 0 0 10px rgba(194, 155, 79, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -2px;
    left: 50%;
    background: var(--gold-gradient);
    transform: translateX(-50%);
    transition: var(--transition-luxury);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

/* =========================================================================
   4. EXQUISITE INTERACTIVE BUTTONS
   ========================================================================= */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.9rem 2.2rem;
    border-radius: 50px !important;
    transition: var(--transition-luxury);
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--executive-dark);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(194, 155, 79, 0.15);
}

.btn-gold:hover {
    background: transparent;
    color: var(--antique-gold);
    border: 1px solid var(--antique-gold);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(194, 155, 79, 0.25);
}

.btn-primary-green {
    background-color: var(--imperial-green);
    color: var(--card-white);
    border: 1px solid var(--imperial-green);
    box-shadow: 0 4px 15px rgba(5, 51, 22, 0.15);
}

.btn-primary-green:hover {
    background-color: transparent;
    color: var(--imperial-green);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--imperial-green-glow);
}

/* =========================================================================
   5. ULTRA-PREMIUM HERO ARENA
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 140px 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(5, 51, 22, 0.96) 0%, rgba(9, 19, 13, 0.98) 100%),
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================================================
   6. ARCHITECTURAL CARDS & GRID SPACING
   ========================================================================= */
.py-6 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-premium) !important;
    border: 1px solid rgba(5, 51, 22, 0.05);
    box-shadow: var(--shadow-ambient);
    transition: var(--transition-luxury);
    padding: 2.5rem !important;
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--card-white);
    border-color: rgba(194, 155, 79, 0.45);
    box-shadow: var(--shadow-elevated) !important;
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--gold-border-fine);
}

.bg-light-green { background-color: var(--imperial-green-glow); }
.bg-light-blue { background-color: rgba(9, 19, 13, 0.03); }
.bg-light-gold { background-color: rgba(194, 155, 79, 0.08); }

.project-card {
    border: var(--gold-border-fine);
    border-radius: var(--radius-premium) !important;
    overflow: hidden;
    background: var(--card-white);
    box-shadow: var(--shadow-ambient);
    transition: var(--transition-luxury);
}

.project-img {
    height: 280px;
    object-fit: cover;
    transition: var(--transition-luxury);
    filter: brightness(0.95) contrast(1.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(194, 155, 79, 0.6);
}

.project-card:hover .project-img {
    transform: scale(1.04);
}

.academy-card {
    background: linear-gradient(150deg, #09130D 0%, #030805 100%) !important;
    border-radius: var(--radius-premium) !important;
    border: var(--gold-border-fine) !important;
    transition: var(--transition-luxury);
}

.academy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(194, 155, 79, 0.8) !important;
    box-shadow: 0 25px 50px rgba(9, 19, 13, 0.5) !important;
}

/* =========================================================================
   7. INTERACTIVE PREMIUM WIDGETS
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: var(--card-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-luxury);
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    color: var(--card-white);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold-gradient);
    color: var(--executive-dark);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-luxury);
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    background: var(--imperial-green);
    color: var(--card-white);
    transform: translateY(-4px);
}

.gallery-item {
    border: var(--gold-border-fine);
    border-radius: var(--radius-premium);
    transition: var(--transition-luxury);
}

.gallery-item img {
    transition: var(--transition-luxury);
}

.gallery-item:hover {
    border-color: var(--antique-gold);
    box-shadow: var(--shadow-elevated);
}

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

.cookie-notice {
    background-color: rgba(9, 19, 13, 0.98) !important;
    border-top: 1.5px solid rgba(194, 155, 79, 0.4);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-luxury);
}

.icon-circle {
    background-color: var(--imperial-green-glow);
    padding: 16px;
    border-radius: 14px;
    border: var(--gold-border-fine);
    display: inline-flex;
}

.form-control, .form-select {
    border: 1.5px solid #E4E4E7;
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    transition: var(--transition-luxury);
    background-color: #FAFAFA;
}

.form-control:focus, .form-select:focus {
    border-color: var(--antique-gold);
    background-color: var(--card-white);
    box-shadow: 0 0 0 5px rgba(194, 155, 79, 0.15);
}

/* =========================================================================
   8. SYSTEM RESPONSIVE SCALING
   ========================================================================= */
@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .navbar-collapse {
        background-color: var(--executive-dark);
        margin-top: 1rem;
        padding: 2rem;
        border-radius: var(--radius-premium);
        border: var(--gold-border-fine);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.65rem !important;
    }
    .py-6 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}
