/* =========================================================
   Kalimati Font Setup for Nepali & Devanagari Typography
   ========================================================= */
@font-face {
    font-family: 'Kalimati';
    src: url('../fonts/Kalimati.ttf') format('truetype'),
         url('/fonts/Kalimati.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Unicode-Range specific font-face:
   Automatically captures all Devanagari/Nepali characters (U+0900-U+097F)
   anywhere on the site, even in mixed English/Nepali text. */
@font-face {
    font-family: 'NepaliDevanagari';
    src: url('../fonts/Kalimati.ttf') format('truetype'),
         url('/fonts/Kalimati.ttf') format('truetype');
    unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+A8E0-A8FF;
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #1b5e20; /* Deep Green */
    --primary-light: #4c8c4a;
    --primary-dark: #003300;
    --secondary-color: #2e7d32;
    --accent-color: #f38020; /* Brand Orange */
    --accent-light: #f69d52;
    --accent-dark: #c2661a;
    --accent-hover: #ff8c33;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    --gradient-accent: linear-gradient(135deg, #f38020 0%, #ff8c33 100%);
    --font-heading: 'NepaliDevanagari', 'Poppins', 'Kalimati', sans-serif;
    --font-body: 'NepaliDevanagari', 'Inter', 'Kalimati', sans-serif;
    --font-nepali: 'Kalimati', 'NepaliDevanagari', sans-serif;
    --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);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --brand-orange: #f38020; /* Custom Brand Orange */
}

/* =========================================================
   PROTECT FONTAWESOME & ALL ICON FONTS
   Never allow language/typography rules to override icons
   ========================================================= */
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
.fa-light,
.fa-thin,
.fa-duotone,
[class^="fa-"],
[class*=" fa-"],
i.fa,
i.fas,
i.far,
i.fab,
i[class*="fa-"] {
    -webkit-text-stroke: 0 !important;
    text-rendering: auto !important;
}

.fa,
.fas,
.fa-solid,
i.fas,
i.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.far,
.fa-regular,
i.far,
i.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.fab,
.fa-brands,
[class^="fa-brands-"],
[class*=" fa-brands-"],
i.fab,
i.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* =========================================================
   Global & Locale-Specific Nepali Typography (Clean & Crisp)
   Matches English styling and layout hierarchy, using clean Kalimati font with no bold
   ========================================================= */
html[lang="ne"] {
    font-synthesis: none !important;
}

html[lang="ne"] body {
    font-family: 'Kalimati', 'Inter', sans-serif;
    font-weight: 400 !important;
    line-height: 1.7;
    letter-spacing: normal;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html[lang="ne"] p,
html[lang="ne"] li,
html[lang="ne"] a:not([class*="fa"]):not([class*="fas"]):not([class*="fab"]):not([class*="far"]),
html[lang="ne"] span:not([class*="fa"]):not([class*="fas"]):not([class*="fab"]):not([class*="far"]),
html[lang="ne"] .nav-link,
html[lang="ne"] .dropdown-item,
html[lang="ne"] input,
html[lang="ne"] textarea,
html[lang="ne"] select {
    font-family: 'Kalimati', sans-serif;
    font-weight: 400 !important;
    letter-spacing: normal;
}

/* Headings & Prominent Titles in Nepali: Same sizes & hierarchy as English, rendered cleanly in Kalimati with NO bold */
html[lang="ne"] h1,
html[lang="ne"] h2,
html[lang="ne"] h3,
html[lang="ne"] h4,
html[lang="ne"] h5,
html[lang="ne"] h6,
html[lang="ne"] .card-title,
html[lang="ne"] .navbar-brand,
html[lang="ne"] .section-title,
html[lang="ne"] .section-subtitle,
html[lang="ne"] .modal-title {
    font-family: 'Kalimati', 'Poppins', sans-serif;
    font-weight: 400 !important;
    line-height: 1.35;
    letter-spacing: normal !important;
}

html[lang="ne"] .btn,
html[lang="ne"] button,
html[lang="ne"] .badge,
html[lang="ne"] strong,
html[lang="ne"] b,
html[lang="ne"] .fw-bold,
html[lang="ne"] .fw-semibold,
html[lang="ne"] .fw-medium,
html[lang="ne"] .fw-bolder {
    font-family: 'Kalimati', sans-serif;
    font-weight: 400 !important;
    letter-spacing: normal;
}

/* Explicit Nepali classes and elements (independent of current html lang) */
.font-nepali,
.nepali-text,
.pth-text-block .pth-ne,
.pth-ne {
    font-family: 'Kalimati', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent unnatural faux-italic slanting on Devanagari script */
html[lang="ne"] .fst-italic,
html[lang="ne"] em,
html[lang="ne"] i:not([class*="fa"]):not([class*="fas"]):not([class*="fab"]):not([class*="far"]) {
    font-style: normal !important;
}

/* Ensure comfortable legibility for small captions and labels in Nepali */
html[lang="ne"] small,
html[lang="ne"] .small {
    font-size: max(0.82rem, 13px);
    line-height: 1.6;
}

/* Footer & Dark Area Nepali Typography */
html[lang="ne"] .footer p,
html[lang="ne"] .footer li,
html[lang="ne"] .footer a {
    font-family: 'Kalimati', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.75;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Navbar */
.navbar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-slogan {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--brand-orange);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.2rem;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.9rem;
    position: relative;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(46, 125, 50, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--brand-orange);
    border-radius: 2px;
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0.4rem;
    min-width: 210px;
    background: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar .dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar .dropdown-item i {
    font-size: 0.85rem;
    width: 22px;
    color: var(--primary-light);
    transition: transform 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(27, 94, 32, 0.08);
    color: var(--primary-color);
    transform: translateX(3px);
}

.navbar .dropdown-item:hover i {
    color: var(--brand-orange);
    transform: scale(1.15);
}

.navbar .dropdown-item.active {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.navbar .dropdown-item.active i {
    color: var(--accent-light) !important;
}

/* Language Switcher Flag-Only Trigger & Hover Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-flag-btn {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(27, 94, 32, 0.22) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.lang-flag-btn::after {
    display: none !important; /* Hide bootstrap default caret arrow */
}

.lang-flag-btn:hover,
.lang-dropdown:hover .lang-flag-btn {
    border-color: var(--brand-orange) !important;
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(243, 128, 32, 0.28);
    background: #ffffff !important;
}

.lang-flag-icon {
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.lang-flag-icon.flag-en {
    width: 19px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-flag-icon.flag-ne {
    width: 14px;
    height: 17px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.lang-dropdown-menu {
    min-width: 155px !important;
    padding: 0.5rem !important;
    border-radius: 0.85rem !important;
    border: 1px solid rgba(27, 94, 32, 0.12) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lang-dropdown-menu .dropdown-item {
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-dropdown-menu .dropdown-item:hover {
    background-color: rgba(27, 94, 32, 0.08) !important;
    color: var(--primary-color) !important;
    transform: translateX(3px);
}

.lang-dropdown-menu .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.flag-thumb {
    width: 24px;
    height: 20px;
}

@media (min-width: 1200px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .lang-dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    .navbar .dropdown > .dropdown-menu,
    .navbar .lang-dropdown > .dropdown-menu {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(8px) !important;
        margin-top: 0 !important;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
        pointer-events: none !important;
    }
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

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

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Section Styling */
.section-padding {
    padding: 3rem 0;
}

.section-title {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #111827;
    color: #e5e7eb;
    padding-top: 5rem;
    padding-bottom: 2rem;
    position: relative;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer a {
    color: #9ca3af;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    color: var(--white);
    margin-bottom: 0; /* Override block margin */
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) rotate(360deg);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Slider */
.hero-slider .carousel-item {
    height: 90vh; /* Slightly reduced for better fit */
    min-height: 500px;
    background-color: #000;
    position: relative;
}

/* Full screen gradient overlay for readability */
.hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    transition: transform 10s ease;
}

.hero-slider .carousel-item.active img {
    transform: scale(1.05); /* Reduced zoom for better fit */
}

.hero-caption {
    position: relative;
    z-index: 2; /* Above the overlay */
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

/* Modern Typography */
.hero-caption h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4rem); /* Responsive giant text */
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
}

.hero-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

/* Modern Button */
.hero-caption .btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    background: var(--brand-orange);
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(243, 125, 32, 0.3);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.7s;
    transition: all 0.3s ease;
}

.hero-caption .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 125, 32, 0.5);
    background: #ff8c33;
}

/* Remove old styles */
.hero-caption::before { display: none; }
.hero-caption:hover::before { display: none; }

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* New Animations */
@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(27, 94, 32, 0.8)), url('../images/building.png');
    background-size: cover;
    background-position: center;
    margin-top: -68px;
    padding: calc(5rem + 68px) 0 4rem;
    color: var(--white);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb.glass-card .breadcrumb-item a {
    color: var(--primary-color) !important;
}

.breadcrumb.glass-card .breadcrumb-item a:hover {
    color: var(--primary-light) !important;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-light-alt { background-color: #f0fdf4; }
.bg-accent { background-color: var(--accent-color) !important; color: var(--primary-color) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; color: #ffffff !important; }

/* Premium Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.premium-shadow {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* About Page Specifics */
.about-image-stack {
    position: relative;
    padding-bottom: 30px;
}

.about-image-stack .main-img {
    width: 90%;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 2;
}

.about-image-stack .accent-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border-radius: var(--radius-lg);
    border: 8px solid var(--white);
    z-index: 3;
    box-shadow: var(--shadow-xl);
}

.stat-card-floating {
    position: absolute;
    top: 10%;
    left: -5%;
    z-index: 4;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 140px;
}

.mission-card {
    padding: 2.5rem;
    height: 100%;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.mission-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.team-card-premium {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    transition: all 0.4s ease;
}

.team-card-premium .member-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-card-premium img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card-premium:hover img {
    transform: scale(1.1);
}

.team-card-premium .member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(27, 94, 32, 0.9);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.team-card-premium:hover .team-social-overlay {
    bottom: 0;
}

.team-social-overlay a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.1rem;
}

.team-social-overlay a:hover {
    color: var(--accent-color);
}

/* Notification Stunning & Compact Upgrade */
.notification-modal-premium .modal-dialog {
    max-width: 750px; /* Increased width for better content display */
}

.notification-modal-premium .modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem; /* More professional radius */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Decorative background elements */
.notification-modal-premium .modal-content::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(60px);
    opacity: 0.05;
    z-index: -1;
}

.notification-modal-premium .modal-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    filter: blur(60px);
    opacity: 0.05;
    z-index: -1;
}

.notification-modal-premium .modal-header {
    padding: 1rem 1.25rem 0.5rem; /* Reduced padding */
}

.notification-modal-premium .modal-body {
    padding: 0.5rem 1.25rem 1rem; /* Reduced padding */
}

.notification-modal-premium .modal-footer {
    padding: 0 1.25rem 1.25rem; /* Reduced padding */
}

.notification-icon-wrapper {
    width: 45px; /* Slightly smaller */
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem; /* Reduced margin */
    font-size: 1.1rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.notification-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: inherit;
    opacity: 0.1;
    filter: blur(4px);
    z-index: -1;
}

.notification-modal-premium:hover .notification-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.notification-badge-type {
    display: inline-block;
    padding: 0.2rem 0.6rem; /* Reduced padding */
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem; /* Reduced margin */
    border: 1px solid rgba(0,0,0,0.03);
}

.notification-title-stunning {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: -0.2px;
    font-size: 1.25rem; /* Slightly smaller */
    line-height: 1.2;
}

.notification-img-premium {
    width: 90%; /* Occupy 90% of the modal width */
    border-radius: 0.75rem;
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(0,0,0,0.05);
    max-height: 60vh; /* Increased height to match wider modal */
    object-fit: contain;
}

.notification-img-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
}

.btn-professional {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 0.6rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-professional:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: all 0.8s ease;
}

.btn-shimmer:hover::before {
    left: 150%;
}

.btn-close-premium {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    font-size: 0.75rem;
    color: var(--text-dark);
}

.btn-close-premium:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 500px;
    }
    .hero-caption h1 {
        font-size: 2rem;
    }
    .hero-caption {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Facebook Feed Premium Styling */
.fb-container-premium {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.5s ease;
}

.fb-container-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.fb-container-premium::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    filter: blur(60px);
    opacity: 0.1;
    z-index: 0;
}

.fb-container-premium::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    filter: blur(60px);
    opacity: 0.1;
    z-index: 0;
}

.fb-header-premium {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
}

.fb-icon-box {
    width: 40px;
    height: 40px;
    background: #1877F2;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

.fb-header-text h6 {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

.fb-header-text span {
    font-size: 0.7rem;
    color: #1877F2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fb-content-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
}

/* Responsive adjustments for FB feed */
@media (max-width: 768px) {
    .fb-container-premium {
        margin-top: 2rem;
    }
}

.notice-card-premium {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.notice-card-premium:hover {
    transform: translateX(10px);
    background: #f8f9fa;
    border-color: var(--primary-color) !important;
}

.social-tabs {
    background: #f1f3f5;
    padding: 5px;
    border-radius: 1rem;
}

.social-tabs .nav-link {
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border: none;
}

.social-tabs .nav-link.active {
    background: white !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.social-tabs .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
}
/* Floating Messaging Button */
.fab-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.fab-main.active {
    transform: rotate(135deg);
    background: #ff4757;
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.fab-item:hover {
    transform: scale(1.1);
}

.fab-item .label {
    position: absolute;
    right: 60px;
    background: white;
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-item:hover .label {
    opacity: 1;
    transform: translateX(0);
}

.fab-whatsapp { background: #25D366; }
.fab-messenger { background: #0084FF; }
.fab-phone { background: #34ace0; }

/* Pulse Animation */
.fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    animation: fab-pulse 2s infinite;
    opacity: 0.5;
}

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

/* Visitor Counter Premium Styling */
.visitor-counter-premium {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.visitor-counter-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.visitor-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visitor-count-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.85rem;
    text-shadow: 0 0 10px rgba(243, 128, 32, 0.2);
}

/* Marquee Animations */
.notice-marquee-container {
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.notice-marquee-content {
    display: inline-flex;
    animation: scroll-left 32s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.notice-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* President Message Specifics */
.blob-shape {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* Custom Navbar Toggler */
.navbar-toggler {
    background-color: var(--secondary-color) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.4rem 0.6rem !important;
    box-shadow: var(--shadow-sm);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1) !important;
}

/* About Page Revamp */
.framework-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.framework-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.1);
}

.framework-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.legal-status-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.legal-status-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.principle-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.principle-card:hover {
    border-bottom-color: var(--accent-color);
    transform: translateY(-5px);
}

.principle-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Gallery - Masonry */
.masonry-gallery {
    columns: 3 300px;
    column-gap: 1.5rem;
    width: 100%;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

.gallery-card-premium {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-overlay-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card-premium:hover .gallery-overlay-v2 {
    transform: translateY(0);
    opacity: 1;
}

.gallery-count-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.25) !important;
}
/* Notice Ticker Pulse */
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.latest-pulse {
    background: #fff;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-right: 10px;
    animation: pulse-red 2s infinite;
    text-transform: uppercase;
}

/* Glassmorphism Slider */
.hero-caption-glass {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem !important;
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Chairman Card */
.chairman-message-card {
    background: #fff;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.chairman-message-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.05;
    font-family: serif;
}

/* Stat Counter Animation */
.stat-item h2 {
    transition: all 0.3s ease;
}

.stat-item:hover h2 {
    transform: scale(1.1);
    color: white !important;
}

/* Hover Lift Pro */
.hover-lift-pro {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift-pro:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* === Additional Production Refinements === */

.hover-accent {
    transition: all 0.3s ease;
}
.hover-accent:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
    transform: translateX(3px);
}

.footer-contact-list a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 0 !important;
}

/* === Premium Horizontal Top Header === */
@keyframes pthSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

.premium-top-header {
    background: linear-gradient(to right, #1b5e20, #2e7d32);
    padding: 0.5rem 0;
    border-bottom: 3px solid var(--accent-color);
}

.pth-inner-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.pth-logo-left {
    height: 75px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    animation: pthSlideIn 0.6s ease-out both;
    transition: transform 0.3s ease;
}

.pth-logo-left:hover {
    transform: scale(1.08) rotate(-2deg);
}

.pth-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    animation: pthFadeUp 0.7s ease-out 0.15s both;
}

.pth-text-block .pth-ne {
    font-family: 'Kalimati', var(--font-heading) !important;
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    font-weight: 400 !important;
    font-synthesis: none !important;
    color: #fff;
    line-height: 1.2;
    letter-spacing: normal !important;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.8), 2px 2px 5px rgba(0,0,0,0.6);
}

.pth-text-block .pth-en {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.pth-address-line {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
    text-align: center;
}

/* Solid White Sticky Navbar */
.navbar.sticky-top,
.navbar.navbar-glass {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.sticky-top.scrolled,
.navbar.navbar-glass.scrolled {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 1px solid rgba(27, 94, 32, 0.15) !important;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-collapse {
        background: #ffffff !important;
        border-radius: 1rem;
        padding: 1rem 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(27, 94, 32, 0.1);
    }
}

/* Ensure Modals and Backdrops are strictly above the sticky navbar (Bootstrap standard is 1050/1055) */
.modal-backdrop {
    z-index: 1070 !important;
}

.modal {
    z-index: 1075 !important;
}

/* Lower z-index for in-page sticky sidebars so they never bleed over the main menu */
.sticky-sidebar {
    position: sticky !important;
    top: 95px !important;
    z-index: 20 !important;
}

/* About Page Enhancements */
.about-hero-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(27, 94, 32, 0.2);
}

.about-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(27, 94, 32, 0.12);
    border-color: rgba(27, 94, 32, 0.2);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.timeline-track {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid rgba(27, 94, 32, 0.15);
}

.timeline-step {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.2);
}

/* =========================================================
   PREMIUM ABOUT US DESIGN SYSTEM
========================================================= */
.about-hero-modern {
    background: linear-gradient(135deg, #0a3311 0%, #1b5e20 50%, #2e7d32 100%);
    position: relative;
    padding: 90px 0 80px;
    color: #ffffff;
    overflow: hidden;
}

.about-hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 128, 32, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.about-hero-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 140, 74, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.glass-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mosaic-gallery-wrapper {
    position: relative;
    border-radius: 1.5rem;
}

.mosaic-main-img {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-main-img:hover {
    transform: scale(1.02);
}

.floating-glass-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.25rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.4rem;
    z-index: 5;
    transition: transform 0.3s ease;
}

.floating-glass-stat:hover {
    transform: translateY(-4px);
}

.about-quote-box {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.04) 0%, rgba(243, 128, 32, 0.04) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 1rem 1rem 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.premium-pillar-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-column: column;
}

.premium-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.premium-pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(27, 94, 32, 0.12);
    border-color: rgba(27, 94, 32, 0.2);
}

.premium-pillar-card:hover::before {
    height: 7px;
}

.pillar-icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.impact-visual-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 340px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.impact-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.18);
}

.impact-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.impact-visual-card:hover img {
    transform: scale(1.08);
}

.impact-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10, 51, 17, 0.88) 65%, rgba(10, 51, 17, 0.98) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: #ffffff;
}

.timeline-card-modern {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card-modern:hover {
    transform: translateX(6px);
    border-color: var(--primary-color);
}

.founder-spotlight-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f4fbf5 100%);
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.verified-credential-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}

.verified-credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(27, 94, 32, 0.08);
}

/* Hero Carousel & Crystal-Clear Photo Presentation */
.hero-slider {
    position: relative;
    background-color: #0b2e13;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 72vh;
    min-height: 520px;
    max-height: 740px;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: none !important;
    image-rendering: -webkit-optimize-contrast;
    transform: none !important;
    transition: none !important;
}

.hero-slider .carousel-item.active img {
    transform: none !important;
}

/* Smooth Carousel Fade: No split-screen sliding! */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.75s ease-in-out !important;
    transform: none !important;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1 !important;
    transform: none !important;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0 !important;
    transform: none !important;
}

.hero-slider .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem;
    z-index: 5;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45) 100%) !important;
    pointer-events: none;
}

.hero-slider .carousel-caption .container,
.hero-caption-glass {
    pointer-events: auto;
}

/* Fully Clear Floating Caption: No murky box hiding the image or people! */
.hero-caption-glass {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 580px;
}

.hero-caption-glass h1 {
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.15;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;
}

.hero-caption-glass p {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1) !important;
    opacity: 0.95;
    max-width: 520px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    opacity: 0.85;
    margin: 0 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(243, 128, 32, 0.4);
}

@media (max-width: 991.98px) {
    .hero-slider .carousel-item {
        height: 62vh;
        min-height: 480px;
    }
    .hero-caption-glass {
        padding: 1.25rem 1.35rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item {
        height: 56vh;
        min-height: 420px;
    }
    .hero-caption-glass {
        padding: 1rem 1rem !important;
    }
}

/* =========================================================
   Executive Committee & Leadership Team Layout
   ========================================================= */
.executive-member-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    max-width: 240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.executive-member-card:hover {
    transform: translateY(-6px);
}

.executive-photo-wrapper {
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #f8fafc;
    margin: 0 auto;
}

.executive-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.executive-member-card:hover .executive-photo {
    transform: scale(1.05);
}

.executive-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.08) 0%, rgba(243, 128, 32, 0.08) 100%);
    border: 1px dashed rgba(27, 94, 32, 0.25);
    border-radius: 14px;
}

.executive-name {
    color: var(--primary-color, #1b5e20) !important;
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

html[lang="ne"] .executive-name {
    font-weight: 400 !important;
}

.executive-position {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* ==========================================================================
   Pagination Styling (Bootstrap 5 & Brand Theme)
   ========================================================================== */
.pagination-wrapper {
    width: 100%;
}

.pagination-wrapper nav {
    width: 100%;
}

.pagination {
    margin-bottom: 0;
    gap: 6px;
    align-items: center;
}

.page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color, #1b5e20);
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px !important;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    color: #ffffff;
    background-color: var(--primary-color, #1b5e20);
    border-color: var(--primary-color, #1b5e20);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(27, 94, 32, 0.2);
}

.page-item.active .page-link {
    color: #ffffff !important;
    background-color: var(--primary-color, #1b5e20) !important;
    border-color: var(--primary-color, #1b5e20) !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(27, 94, 32, 0.25);
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8fafc;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Hard constraint preventing oversized SVGs in any navigation or pagination */
nav[role="navigation"] svg,
.pagination svg,
.page-link svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block !important;
    vertical-align: middle;
}





