/* Import Google Fonts for Bilingual Support (Latin Serif + Devanagari) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Poppins:ital,wght@0,300;0,400;0,500;1,300&display=swap');

html {
    scroll-behavior: smooth;
    background-color: #051F20; /* Darkest green background from palette */
}

body {
    background-color: #051F20;
    color: #DAF1DE; /* Soft light green-tinted text */
    font-family: 'Cormorant Garamond', 'Poppins', serif, sans-serif;
}

/* Bilingual Styling Classes */
.text-english {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; /* Matches the classic historical quote style */
    font-weight: 400;
}

.text-hindi {
    font-family: 'Poppins', serif; /* Provides clean multilingual Devanagari support */
    font-weight: 400;
    color: #8EB69B; /* Sage accent for Hindi highlights matching your reference */
}

/* Glassmorphism System Cards */
.glass-panel {
    background: rgba(11, 43, 38, 0.75); /* Deep dark green tint (#0B2B26) */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(142, 182, 155, 0.1);
    box-shadow: 0 20px 40px rgba(5, 31, 32, 0.5), inset 0 1px 0 rgba(218, 241, 222, 0.06);
}

.glass-panel-interactive {
    background: rgba(11, 43, 38, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(142, 182, 155, 0.1);
    box-shadow: 0 12px 26px rgba(5, 31, 32, 0.45), inset 0 1px 0 rgba(218, 241, 222, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.glass-panel-interactive:hover {
    background: rgba(22, 56, 50, 0.85); /* Medium-dark green tint on hover (#163832) */
    border-color: rgba(212, 175, 55, 0.5); /* subtle gold border glow on hover */
    box-shadow: 0 30px 60px rgba(5, 31, 32, 0.6),
                0 0 30px rgba(212, 175, 55, 0.07), /* faint gold ambient glow */
                inset 0 1px 0 rgba(218, 241, 222, 0.15);
    transform: translateY(-4px);
}

/* --- Small gold accent utilities (used sparingly: labels, dividers, icons) --- */
.text-gold-accent {
    color: #D4AF37;
}

.border-gold-accent {
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

/* Gold-rimmed variant for icon badges / logo frames — green fill stays, only rim is gold */
.gold-rim {
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 20px rgba(5, 31, 32, 0.5),
                inset 0 0 0 1px rgba(212, 175, 55, 0.08),
                0 0 16px rgba(212, 175, 55, 0.06);
}

/* Embossed 3D icon container in the same dark-green family */
.icon-3d {
    background: linear-gradient(145deg, #163832, #0B2B26);
    box-shadow: 6px 6px 14px rgba(2, 15, 14, 0.55),
                -4px -4px 10px rgba(142, 182, 155, 0.04),
                inset 0 1px 0 rgba(218, 241, 222, 0.06);
}

/* Scrollbar System */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #051F20;
}
::-webkit-scrollbar-thumb {
    background: rgba(142, 182, 155, 0.35); /* Sage accent scrollbar (#8EB69B) */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(142, 182, 155, 0.7);
}

/* Dynamic Carousel Track Modifier */
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}