/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --primary: #1f3864;
    --primary-dark: #152746;
    --primary-light: #edf2f9;
    --accent: #314b7d;
    --dark: #0e1a2b;
    --gray: #6f7279;
    ---light-grey: #dee0e4;
    --light: #f4f6fa;
    --white: #ffffff;
    --linear-gradient: linear-gradient(135deg, var(--primary-light), var(---light-grey));
    --box-shadow: 0 8px 30px rgba(204, 218, 241, 1);
    ;
}

* {
    margin: 0;
    padding: 0;
    /* background-color: #152746; */
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: none !important;
    background-color: #314b7d;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden !important;
}

section,
.container,
.container-fluid {
    overflow-x: clip;
    /* modern and better than hidden */
}

/* ========================================
   Navigation
======================================== */
.text-custom-primary {
    color: var(--primary);
}

.navbar {
    background: transparent;
    backdrop-filter: none;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-nav .nav-link,
.navbar.scrolled .brand-title,
.navbar.scrolled .brand-subtitle {
    color: var(--dark);
}


.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--white);
    line-height: 1;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: var(--primary)
}

/* ========================================
   Hero Banner
======================================== */
.hero-banner {
    position: relative;
    background: url('../images/hero-banner.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    position: absolute;
    inset: 0;

    opacity: 0.5;
    filter: brightness(1.2) contrast(1.1);
}

.sanskrit-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 1.3rem;
    border: var(--primary);
    /* backdrop-filter: blur(10px); */
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 2rem;
    color: var(--primary-light);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn:hover{
    box-shadow: unset!important;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-custom-primary {
    border: 2px solid var(--primary);
    background-color: white;
    color: var(--primary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Section Styles
======================================== */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
}

/* ========================================
   Info Grid
======================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: var(--linear-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-content h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9375rem;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, #f8fafc, #eaf0f8);
    position: relative;
    overflow: hidden;
}
.about-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}

.about-details.show {
  max-height: 2000px; /* large enough for your content */
  opacity: 1;
}

.section-label {
    display: inline-block;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
}

.about-images {
    position: relative;
    flex: 1 1 35%;
}

.about-images .main-img {
    border-radius: 20px;
    overflow: hidden;
}

.about-images .main-img img {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-images .main-img img:hover {
    transform: scale(1.05);
}

.about-images .overlay-img {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 300px;
    border: 10px solid var(--white);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.about-images .overlay-img img {
    width: 100%;
    height: auto;
}

.about-text {
    flex: 1 1 60%;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.about-text p+p {
    margin-top: 1rem;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .about-wrapper {
        flex-direction: column;
    }

    .about-images {
        width: 100%;
        margin-bottom: 2rem;
    }

    .about-images .overlay-img {
        position: absolute;
        bottom: -30px;
        right: 30px;
        width: 180px;
    }
}

/* ========================================
   Feature Boxes
======================================== */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--linear-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon i {
    color: white;
}

.feature-box h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--gray);
    margin: 0;
}

/* ========================================
   Vision & Mission
======================================== */
.vision-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.vision-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vision-header i {
    font-size: 2rem;
    color: var(--primary);
}

.vision-header h3 {
    font-weight: 700;
    margin: 0;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--gray);
}

.mission-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===== CORE VALUES SECTION ===== */
#core-values {
    background: linear-gradient(135deg, #f8faff, #edf2f9);
    overflow: hidden;
    position: relative;
}

#core-values::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

#core-values::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.core-values-grid {
    position: relative;
    z-index: 2;
}

.value-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--primary-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.value-card h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ========================================
   Activity Cards
======================================== */
.activity-card {
    padding: 2.5rem;
    border-radius: 16px;
    color: white;
    height: 100%;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.activity-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.activity-card p {
    margin: 0;
    opacity: 0.95;
}

.activity-research {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.activity-publication {
    background: var(--linear-gradient);
}

.activity-extension {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ========================================
   Program Highlight
======================================== */
.program-highlight {
    background: var(--linear-gradient);
    border-radius: 16px;
    padding: 2.5rem;
    border-left: 4px solid var(--primary);
}

.program-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-badge i {
    font-size: 2rem;
    color: white;
}

.program-visual {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.program-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.check-list li::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   Training Cards
======================================== */
.training-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.training-header {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.training-duration {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.training-type {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.training-batch {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ========================================
   Research Section (Updated Theme)
======================================== */
.research-section {
    background: var(--linear-gradient);
    border-radius: 16px;
    padding: 3rem;
    color: #1a1a1a;
}

/* Variables Example:
   --linear-gradient: linear-gradient(135deg, var(--primary-light), var(---light-grey));
   --primary-light: #edf2f9;
   ---light-grey: #dee0e4;
   --light: #f4f6fa;
*/

.research-icon-large {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.research-icon-large i {
    font-size: 3rem;
    color: var(--primary);
    /* Keep the highlight tone */
}

.research-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.research-item:hover {
    background: var(--light);
    transform: translateY(-4px);
}

.research-item i {
    color: var(--primary);
    font-size: 1.25rem;
}


/* ========================================
   Programs Timeline (step-by-step)
======================================== */
.programs-timeline {
    --bg-overlay: linear-gradient(135deg, rgba(13, 20, 34, 0.85), rgba(22, 34, 58, 0.75));
    background: var(--bg-overlay), url("../images/porgrams-bg.png") center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    margin: 6rem 0;
}

/* Container adjustments */
.programs-timeline .section-label {
    color: var(--primary);
    font-weight: 700;
}

.programs-timeline h2 {
    color: var(--white);
}

.programs-timeline p.lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Timeline wrapper */
.timeline-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    align-items: start;
    margin-top: 2rem;
    z-index: 2;
}

/* connecting line (horizontal) */
.timeline-line {
    position: absolute;
    top: 56px;
    /* aligns with marker centers */
    left: 6%;
    right: 6%;
    height: 4px;
    /* background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); */
    border-radius: 6px;
    z-index: 1;
}

/* each step */
.timeline-step {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    z-index: 3;
}

/* marker (number + icon) */
.step-marker {
    width: 96px;
    min-width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    color: white;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(31, 56, 100, 0.18);
    font-size: 1.1rem;
}

/* icon circle under the number (decor) */
.step-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.183);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.2rem;
}

/* card area */
.step-card {
    background: rgba(255, 255, 255, 0.183);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.15rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(8, 12, 20, 0.35);
    color: rgba(255, 255, 255, 0.95);
    width: 100%;
}

/* titles & small */
.step-card h4 {
    margin: 0 0 0.35rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
}

.step-card .muted {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
}

/* bullet list */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.35rem;
}

.step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(31, 56, 100, 0.28);
}

/* hover subtle lift */
.timeline-step:hover .step-card {
    transform: translateY(-6px);
    transition: transform .35s ease;
    box-shadow: 0 18px 40px rgba(8, 12, 20, 0.45);
}

/* Responsive — stack vertically on small screens, vertical line */
@media (max-width: 991px) {
    .timeline-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-line {
        top: auto;
        left: 34px;
        right: auto;
        width: 4px;
        height: calc(100% - 40px);
        border-radius: 6px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    }

    .timeline-step {
        flex-direction: row;
        gap: 1rem;
        padding-left: 1rem;
    }

    .step-marker {
        width: 72px;
        min-width: 72px;
        align-items: flex-start;
        gap: .4rem;
    }

    .step-number {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .step-card {
        padding: 1rem;
        border-radius: 12px;
    }
}

/* accessibility focus */
.timeline-step a:focus,
.timeline-step button:focus,
.timeline-step:focus-within {
    outline: 3px solid rgba(31, 56, 100, 0.14);
    outline-offset: 3px;
}



/* ========================================
   Programs Section (Themed + Image Background)
======================================== */
.programs-modern {
    background:
        linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 52, 96, 0.85)),
        url("../images/porgrams.png") center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    color: #fff;
}

.programs-modern .section-label {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.program-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.program-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(49, 243, 134, 0.15);
}

.program-icon-glow {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.2rem auto;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 0 25px rgba(49, 243, 134, 0.3);
}

.program-glass-card h4 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.program-glass-card .subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.program-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-points li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    position: relative;
}

.program-points li::before {
    content: "▹";
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Floating Background Circles */
.bg-bubble {
    position: absolute;
    border-radius: 50%;

    animation: float 10s infinite ease-in-out;
    z-index: 1;
}

.bg-bubble.one {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.bg-bubble.two {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.bg-bubble.three {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 45%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}


/* ========================================
   Leadership Section - Modern White Theme
======================================== */
#leadership {
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay or accent background shapes */
#leadership::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(251, 109, 72, 0.15), transparent 70%);
    z-index: 0;
}

#leadership .container-fluid {
    position: relative;
    z-index: 2;
}

/* Leader Cards */
.leader-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    position: relative;
}

.leader-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--box-shadow);
}

.leader-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    box-shadow: var(--box-shadow);
}

.leader-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
    letter-spacing: 0.3px;
}

.leader-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.leader-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.leader-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: #f9f9f9;
    border: 1px solid rgba(251, 109, 72, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    transition: all 0.3s ease;
}

.highlight-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.highlight-badge i {
    color: var(--primary);
    transition: 0.3s;
}

.highlight-badge:hover i {
    color: #fff;
}

/* ========================================
   Board of Governors & Academic Advisory
   (Unified Glass-Gradient Theme)
======================================== */

/* Common wrapper style */
.board-governors-wrapper,
.academic-advisory {
    background: linear-gradient(135deg, var(--primary-light), var(--light-grey));
    border-radius: 20px;
    padding: 2.5rem;
    /* box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05); */
    backdrop-filter: blur(6px);
}

/* Section headings */
.board-governors-wrapper h3,
.academic-advisory h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Inner container cards (glass style) */
.board-of-governors,
.academic-advisory-inner {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    padding: 1rem;
    transition: all 0.3s ease;
}

/* Individual profile / member cards */
.governor-card,
.academic-advisory-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.governor-card:hover,
.academic-advisory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Card headings */
.governor-card h5,
.academic-advisory-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Card text */
.governor-card p,
.academic-advisory-card p {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Consistent spacing between cards */
.board-of-governors .row,
.academic-advisory-inner .row {
    row-gap: 1.5rem;
}





/* Responsive Tweaks */
@media (max-width: 992px) {
    .leader-card {
        padding: 2rem 1.5rem;
    }

    .leader-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
    }
}

/* ========================================
   Contact Section (Simplified & Clean)
======================================== */
.contact-card,
.org-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.4rem;
}

.contact-item h6 {
    color: var(--dark);
}

.org-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef0f2;
}

.org-item:last-child {
    border-bottom: none;
}

.org-label {
    color: #6c757d;
    font-size: 0.85rem;
}

.org-value {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Quote */
.quote-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #fff;
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quote-translation {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.quote-meaning {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: linear-gradient(135deg, var(--dark), #16213e);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-title {
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
}

.footer-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.footer h5 {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 991px) {
    .hero-banner {
        padding: 100px 0 60px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .phase-header {
        flex-direction: column;
    }

    .total-amount {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }

    .program-highlight,
    .phase-container,
    .research-section {
        padding: 1.5rem;
    }
}

/* ========================================
   Navbar Custom Responsive Styles
======================================== */
.navbar {
    transition: all 0.4s ease;
    background-color: transparent;
    padding: 1rem 2rem;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar Brand */
.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: white;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-light);
}

/* ========================================
   Navbar Toggler (White)
======================================== */
.navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: background 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* White icon */
.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 22px;
    height: 2px;
    background-color: white;
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

/* When expanded – make X icon */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ========================================
   Mobile & Tablet Breakpoints
======================================== */
@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--primary-dark);
        padding: 0.75rem 1.25rem;
    }

    .navbar-collapse {
        background: var(--primary-dark);
        border-radius: 12px;
        margin-top: 0.75rem;
        padding: 1rem;
    }

    .navbar-nav .nav-link {
        color: white;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }
}

/* ===============================
   CENTER CARDS (CRIE & CTDP)
================================= */
.center-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
    padding: 30px;
    color: #fff;
    transition: 0.4s ease;
}

/* Background images */
.crie-card {
    background: url('../images/about-main.png') center/cover no-repeat;
}

.ctdp-card {
    background: url('../images/about.png') center/cover no-repeat;
}

/* Overlay for readability */
.center-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79,70,229,0.85), rgba(236,72,153,0.85));
    z-index: 1;
}

/* Content */
.center-content {
    position: relative;
    z-index: 2;
}

.center-content h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.center-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Hover effect */
.center-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Button style */
.center-card .btn {
    background: #fff;
    color: #333;
    font-weight: 500;
}

.center-card .btn:hover {
    background: #000;
    color: #fff;
}