:root {
    /* Primary Colors - Maroon Theme */
    --primary: hsl(350, 65%, 28%);
    --primary-dark: hsl(350, 70%, 22%);
    --primary-light: hsl(350, 45%, 45%);
    --primary-foreground: #ffffff;

    /* Accent Colors - Gold */
    --accent: hsl(38, 85%, 55%);
    --accent-light: hsl(38, 70%, 75%);
    --accent-foreground: hsl(350, 25%, 15%);

    /* Secondary Colors */
    --secondary: hsl(30, 30%, 95%);
    --secondary-foreground: hsl(350, 25%, 20%);

    /* Neutral Colors */
    --background: #ffffff;
    --foreground: hsl(220, 15%, 20%);
    --muted: hsl(30, 20%, 94%);
    --muted-foreground: hsl(350, 10%, 45%);
    --card: #ffffff;
    --card-foreground: hsl(350, 25%, 15%);
    --border: hsl(30, 20%, 88%);
    --input: hsl(30, 20%, 88%);

    /* Extended Color Palette */
    --maroon: hsl(350, 65%, 28%);
    --maroon-dark: hsl(350, 70%, 22%);
    --maroon-light: hsl(350, 45%, 45%);
    --gold: hsl(38, 85%, 55%);
    --gold-light: hsl(38, 70%, 75%);
    --cream: hsl(40, 40%, 96%);
    --warm-gray: hsl(30, 10%, 60%);
    --steel: hsl(210, 25%, 45%);
    --steel-light: hsl(210, 30%, 65%);
    --tealsoft: hsl(175, 40%, 40%);
    --tealsoft-light: hsl(175, 45%, 65%);
    --plum: hsl(285, 30%, 40%);
    --plum-light: hsl(285, 35%, 65%);
    --slateblue: hsl(215, 35%, 35%);
    --slateblue-light: hsl(215, 40%, 60%);

    /* Semantic Colors */
    --success: hsl(142, 76%, 36%);
    --warning: hsl(38, 92%, 50%);
    --error: hsl(0, 84%, 60%);
    --info: hsl(199, 89%, 48%);

    /* Gradients */
    --gradient-maroon: linear-gradient(
        135deg,
        hsl(350, 65%, 28%) 0%,
        hsl(350, 70%, 22%) 100%
    );
    --gradient-maroon-light: linear-gradient(
        135deg,
        hsl(350, 45%, 45%) 0%,
        hsl(350, 65%, 28%) 100%
    );
    --gradient-hero: linear-gradient(
        180deg,
        hsla(350, 65%, 28%, 0.9) 0%,
        hsla(350, 70%, 22%, 0.95) 100%
    );
    --gradient-gold: linear-gradient(
        135deg,
        hsl(38, 85%, 55%) 0%,
        hsl(38, 70%, 45%) 100%
    );
    --gradient-cream: linear-gradient(
        180deg,
        hsl(30, 20%, 98%) 0%,
        hsl(40, 40%, 96%) 100%
    );

    /* Shadows */
    --shadow-soft:
        0 2px 15px -3px hsla(350, 25%, 15%, 0.08),
        0 4px 6px -4px hsla(350, 25%, 15%, 0.05);
    --shadow-card:
        0 4px 25px -5px hsla(350, 25%, 15%, 0.1),
        0 8px 10px -6px hsla(350, 25%, 15%, 0.05);
    --shadow-elevated: 0 10px 40px -10px hsla(350, 25%, 15%, 0.15);
    --shadow-maroon: 0 4px 20px -5px hsla(350, 65%, 28%, 0.3);

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Container */
    --container-max: 1400px;
    --container-padding: 1rem;
}

/* -------------------- Reset & Base -------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    padding-left: 0px !important;
}

a {
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", system-ui, sans-serif !important;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0 !important;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* -------------------- Container -------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* -------------------- Typography -------------------- */

.section-title {
    font-family: var(--font-display);
    font-size: 34px;
    margin: 10px 0;
    font-weight: 700;
    color: #1a1a1a;
}

.section-titles {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    color: white;
}

/* @media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
} */

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.text-muted {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: white;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.text-center {
    text-align: center;
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-muted);
    box-shadow: var(--shadow-lg);
}

.carousel-caption .btn-hero {
    background: linear-gradient(
        135deg,
        hsl(38, 85%, 55%) 0%,
        hsl(38, 70%, 45%) 100%
    );
    color: hsl(350, 25%, 15%);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.carousel-caption .btn-hero:hover {
    color: #761928;
    background-color: hsla(0, 0%, 100%, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px hsla(38, 85%, 55%, 0.4);
}

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

.btn-hero-outline:hover {
    background-color: hsla(0, 0%, 100%, 0.1);
}

.btn-outline {
    border: 1px solid var(--input);
    background-color: var(--background);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

.btn-full {
    width: 100%;
}
@media (max-width: 640px) {
    /* .carousel-inner .carousel-item img {
        height: 450px;
    } */
    .hero-nav-btn.prev,
    .hero-nav-btn.next {
        display: none;
    }
}

/* -------------------- Cards -------------------- */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.card-institution {
    background-color: var(--card);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.card-institution:hover {
    box-shadow: var(--shadow-lg);
}

.card-border-primary {
    border-left: 4px solid var(--primary);
}

.card-border-academic {
    border-left: 4px solid var(--academic);
}

.card-border-sage {
    border-left: 4px solid var(--sage);
}

/* -------------------- Section Backgrounds -------------------- */

.section-neutral {
    background-color: var(--background);
}

.section-subtle {
    background-color: var(--background-subtle);
}

.section-amber {
    background-color: var(--amber-light);
}

.section-academic {
    background-color: var(--academic-light);
}

.section-sage {
    background-color: var(--sage-light);
}

.section-teal {
    background-color: var(--teal-light);
}

.section-plum {
    background-color: var(--plum-light);
}

.section-gold {
    background-color: var(--gold-light);
}

.section-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* -------------------- Badges -------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 3rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-red {
    background-color: hsl(0, 85%, 97%);
    color: hsl(0, 70%, 35%);
}

.badge-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.badge-gold {
    background-color: var(--gold);
    color: var(--gold-foreground);
}

/* -----------------

/* -------------------- Grids -------------------- */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* -------------------- Flexbox -------------------- */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

/* -------------------- Spacing -------------------- */
.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-14 {
    margin-bottom: 3.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* -------------------- Announcement Bar -------------------- */
.announcement-bar {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.625rem 0;
    overflow: hidden;
}

.announcement-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    background-color: hsla(0, 0%, 100%, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
}

.announcement-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

.announcement-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.announcement-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    animation: ticker 11s linear infinite;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.announcement-item svg {
    width: 0.875rem;
    height: 0.875rem;
    opacity: 0.6;
}

/* -------------------- Hero Section -------------------- */

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    opacity: 0.75;
    inset: 0px;
    /* background: linear-gradient(
        rgba(118, 25, 40, 0.85) 0%,
        rgba(95, 17, 30, 0.92) 100%
    ); */
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 42rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    /* color: white;
    background: linear-gradient(
        rgba(150, 50, 70, 0.45) 0%,
        rgba(130, 40, 60, 0.55) 100%
    ); */
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2rem;
        /* background: linear-gradient(
            rgba(150, 50, 70, 0.45) 0%,
            rgba(130, 40, 60, 0.55) 100%
        ); */
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2rem;
        /* background: linear-gradient(
            rgba(150, 50, 70, 0.45) 0%,
            rgba(130, 40, 60, 0.55) 100%
        ); */
    }
}

.hero-subtitle {
    font-size: 1rem;
    /* margin-bottom: 2rem; 
    color: hsla(0, 0%, 100%, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);*/
}

@media (min-width: 768px) {
    /* .hero-subtitle {
        font-size: 1rem;
    } */
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero {
    background: var(--gradient-gold);
    color: var(--accent-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.hero-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-nav-btn.prev {
    left: 1rem;
}

.hero-nav-btn.next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: hsla(0, 0%, 100%, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-dot:hover {
    background-color: hsla(0, 0%, 100%, 0.7);
}

.hero-dot.active {
    background-color: white;
    width: 2rem;
}

/* Hero Badge - exact match to React bg-accent/90 */
.hero-badge {
    display: none;
    align-items: center;
    background-color: hsla(38, 85%, 55%, 0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary));
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.hero-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

.carousel-item {
    height: 510px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-section .carousel-caption {
    /* position: relative; */
    bottom: 0;
    left: 20%;
    right: auto;
    max-width: 60%;
    width: 80%;
    padding: 5px;
    color: #841014;
    text-align: center !important;
}
.carousel-caption:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-4%) skewX(-12deg);
    background: linear-gradient(180deg, #fff9ec 0%, #f2dfbf 100%);
    border-radius: 14px;
    border: 1px solid rgba(150, 110, 40, 0.25);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.85),
        inset 0 -2px 0 rgba(120, 80, 20, 0.25),
        0 10px 24px rgba(0, 0, 0, 0.18);
}
/* .hero-section .carousel-caption {
    padding: 5px 0;
    bottom: 0;
    left: 0;
    transform: translateY(0%);
    max-width: 100%;
    color: #000000;
    position: relative;
    margin: auto;
    background: #f6ead7;
    border-radius: 0px;
    display: none;
} */
.hero-section .carousel-indicators {
    display: none;
}

.hero-nav-btn.prev,
.hero-nav-btn.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.hero-nav-btn.prev {
    left: 1rem;
}
.hero-nav-btn.next {
    right: 1rem;
}
.hero-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* =====================================
   RIBBON WRAPPER (controls overlap)
===================================== */

.ribbon-wrapper {
    position: relative;
    height: 0;
    z-index: 5;
}
@media (max-width: 768px) {
    .container.ribbon-wrapper {
        height: auto;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .stats-ribbon {
        border-radius: 0;
        transform: none;
    }
    .stats-ribbon > * {
        transform: none;
    }
}

/* =====================================
   GOLD RIBBON BAR (BUTTON STYLE TILT)
===================================== */

.stats-ribbon {
    display: none;
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    transform: translateY(-58%) skewX(-12deg);
    padding: 18px 26px;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: linear-gradient(180deg, #fff9ec 0%, #f2dfbf 100%);
    border-radius: 14px;
    border: 1px solid rgba(150, 110, 40, 0.25);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.85),
        inset 0 -2px 0 rgba(120, 80, 20, 0.25),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

/* keep text & icons straight */
.stats-ribbon > * {
    transform: skewX(12deg);
}

/* glossy highlight */
.stats-ribbon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.15) 35%,
        transparent 65%
    );
    pointer-events: none;
}

/* soft ground shadow */
.stats-ribbon::after {
    content: "";
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: -14px;
    height: 16px;
    background: rgba(0, 0, 0, 0.22);
    filter: blur(10px);
    border-radius: 50%;
    opacity: 0.35;
}

.rebbion_items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 0 12px;
}

/* =====================================
   RIBBON ITEMS
===================================== */

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-right: 1px solid rgba(140, 110, 60, 0.28);
    flex-shrink: 0;
}

.ribbon-item:last-child {
    border-right: none;
}

.ribbon-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.ribbon-item h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #8b0000;
    line-height: 1;
}

.ribbon-item p {
    margin: 0;
    font-size: 13px;
    color: #5a4630;
}

/* =====================================
   NAAC BADGE AREA
===================================== */

.ribbon-naac img {
    width: 54px;
}

.ribbon-naac strong {
    display: block;
    font-size: 16px;
    color: #8b0000;
}

.ribbon-naac p {
    font-size: 13px;
}

/* =====================================
   FEATURES STRIP SPACING
===================================== */

/* =====================================
   RESPONSIVE FIX
===================================== */

@media (max-width: 1024px) {
    .stats-ribbon {
        transform: translateY(-50%) perspective(1400px) rotateY(-6deg)
            rotateX(1deg);
    }
}

@media (max-width: 768px) {
    .stats-ribbon {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px 18px;
        transform: none;
        max-width: 100%;
        border-radius: 0;
    }

    .ribbon-item {
        flex: 1 1 30%;
        justify-content: center;
        border-right: none;
    }

    .ribbon-item h3 {
        font-size: 22px;
    }

    .stats-ribbon > * {
        transform: none;
        width: 100%;
    }
}
@media (max-width: 767px) {
    .ribbon-item {
        display: block !important;
    }
    .hero-nav-btn.prev,
    .hero-nav-btn.next {
        display: none;
    }
    .download-card-title {
        font-size: 1rem;
    }
}

/* ===============================
   FEATURES STRIP â€” CLEAN PREMIUM
================================ */
/* ===============================
   FEATURES STRIP — CLEAN PREMIUM
================================ */

.features-strip {
    display: none;
    position: relative;
    padding: 40px 13px 0px;

    /* clean warm background */
    background: #f6ead7;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 20px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* ===============================
   LAYOUT
================================ */

.features-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

/* ===============================
   FEATURE ITEMS
================================ */

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

/* image cards */
.feature-img {
    width: 165px;
    height: 100px;
    margin: auto;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    border: 4px solid #ffffff;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(190, 150, 90, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* subtle hover lift (not glow) */
.feature-item:hover .feature-img {
    transform: translateY(-4px);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(190, 150, 90, 0.35);
}

/* labels */
.feature-item p {
    margin-top: 14px;
    font-weight: 600;
    color: #3e2f22;
    font-size: 15px;
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* ===============================
   GOLD DOT SEPARATORS
================================ */

.dot {
    width: 8px;
    height: 8px;
    background: #c8a15a;
    border-radius: 50%;
    opacity: 0.85;
}

/* -------------------- Quick Stats -------------------- */
.quick-stats {
    padding: 2rem 0;
    background-color: var(--card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    color: var(--primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 1.875rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* -------------------- Icon Boxes -------------------- */
.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box-primary {
    background-color: hsla(350, 65%, 28%, 0.1);
}

.icon-box-primary svg {
    color: var(--primary);
}

.icon-box-round {
    border-radius: 9999px;
}

.icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* -------------------- Facility Cards -------------------- */
.facility-card {
    padding: 1.25rem;
    background-color: var(--card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.facility-card:hover {
    box-shadow: var(--shadow-md);
}

.facility-card h3 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.facility-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.facility-list-item .dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: var(--primary);
}

/* -------------------- Image Cards -------------------- */
.image-card {
    position: relative;
    height: 14rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(220, 20%, 15%, 0.7), transparent);
}

.image-card-content {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.image-card-content svg {
    width: 1.125rem;
    height: 1.125rem;
}

.image-card-content span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* -------------------- Program Cards -------------------- */

/* -------------------- Program Cards -------------------- */

.program-card {
    border-radius: 1.5rem;
    border: 1px solid var(--border-light);
    position: relative;
    background-color: #fafafa;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* GOLD BORDER GLOW */
.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    /* background: linear-gradient(
        135deg,
        var(--gold),
        transparent,
        var(--maroon)
    ); */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.35s;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px rgba(122, 31, 42, 0.25);
}

/* IMAGE */
.program-card-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MAROON OVERLAY */
.program-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(122, 31, 42, 0.55)
    );
}

.program-meta i {
    color: var(--gold) !important;
}

/* GOLD BADGE */
.program-badge {
    /* position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--yellow-accent));
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--maroon-dark);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2); */

    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(128, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    padding: 0.75rem;
}

/* TITLE */
.program-title {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .program-title {
        font-size: 1.5rem;
    }
}

/* CONTENT */
.program-card-content {
    padding: 1.5rem;
    text-align: center;
}

/* META */
.program-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

.program-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ICON GOLD */
.program-meta-item svg {
    width: 0.9375rem;
    height: 0.9375rem;
    color: var(--gold);
}

/* TAGS */
.program-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.program-highlight-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 9999px;
    background: var(--gold-light);
    border: 1px solid var(--gold-soft);
    color: var(--maroon-dark);
    font-weight: 500;
}

.downloads {
    padding: 4rem 1rem;
    background-color: var(--background);
}

@media (min-width: 1024px) {
    .downloads {
        padding: 6rem 1rem;
    }
}

.downloads-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .downloads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .downloads-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background-color: var(--card);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.download-card:hover,
.download-card:focus {
    background: linear-gradient(135deg, #7a001c, #b8962e);
    color: white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-6px) scale(1.02) !important;
}

/* ================= ICON BOX ================= */

.download-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;

    /* soft gold background */
    background: linear-gradient(135deg, #fff4cc, #f3d27a);

    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* hover icon background */
.download-card:hover .download-card-icon {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* ================= ICON COLOR ================= */

.download-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;

    /* GOLD ICON */
    color: #b8962e;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* hover icon */
.download-card:hover .download-card-icon svg {
    color: #ffd76a;
    transform: scale(1.1);
}

/* ================= TITLE ================= */

.download-card-title {
    font-family: var(--font-display, "Georgia", serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.download-card:hover .download-card-title {
    color: white;
}

/* ================= DESCRIPTION ================= */

.download-card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.45;
    transition: color 0.3s ease;
}

.download-card:hover .download-card-description {
    color: hsla(0, 0%, 100%, 0.85);
}

/* ================= DOWNLOAD ICON ================= */

.download-card-download-icon {
    width: 1.5rem;
    height: 1.5rem;

    /* GOLD */
    color: #b8962e;
    opacity: 0;
    margin-top: auto;
    transition: all 0.3s ease;
}

.download-card:hover .download-card-download-icon {
    color: #ffd76a;
    transform: translateY(3px);
    opacity: 1;
}

.download-card-icon i {
    font-size: 30px;
    color: #ddb333;
}

/* BUTTON PREMIUM STYLE */
.btn-primary {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold), var(--yellow-accent));
    color: var(--maroon-dark);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
}

/* -------------------- Stat Cards -------------------- */
/* ================= STAT CARDS GOLD STYLE ================= */

/* soft golden glow border */
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, #ffd54f, #d4af37, transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.35s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(212, 175, 55, 0.25);
}

/* ICON STYLE */
.stat-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background-color: rgba(128, 0, 0, 0.15);
}

/* VALUE */
.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    background: #761928;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

/* LABEL */
.stat-card-label {
    font-size: 0.9rem;
    color: #000;
    letter-spacing: 0.3px;
    margin: 0;
}

/* subtle shine effect */
.stat-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 215, 0, 0.15),
        transparent
    );
    transform: rotate(25deg);
    opacity: 0;
    transition: 0.5s;
}

.stat-card:hover::after {
    opacity: 1;
    left: 100%;
}
.stat-card {
    background-color: #fafafa;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px) !important;
}
.placements-stats .stat-card:nth-child(1) .stat-card-value {
    background: #eea62b;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.placements-stats .stat-card:nth-child(1) .stat-card-icon {
    background-color: rgba(234, 179, 8, 0.2);
}
.placements-stats .stat-card:nth-child(2) .stat-card-icon {
    background-color: rgba(100, 116, 139, 0.15);
}
.placements-stats .stat-card:nth-child(2) .stat-card-value {
    background: #56738f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -------------------- Partner Logos -------------------- */

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo-card:hover {
    filter: grayscale(0%);
    box-shadow: var(--shadow-lg);
}

.partner-logo-card img {
    max-height: 3.5rem;
    object-fit: contain;
}

.partners-scroll {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollLoop 5s linear infinite;
}

@keyframes scrollLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partners-scroll:hover .partners-track {
    animation-play-state: paused;
}

/* -------------------- Governance Cards -------------------- */
/* ================= GOVERNANCE CARD ================= */

.governance-card {
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* header layout */
.governance-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* ICON CONTAINER STYLE */
.governance-card-header svg {
    width: 2rem;
    height: 2rem;
    padding: 8px;
    border-radius: 10px;

    /* maroon â†’ gold gradient */
    background: linear-gradient(135deg, #7a1f2a, #d4af37);
    color: white;

    box-shadow: 0 6px 14px rgba(122, 31, 42, 0.25);
    transition: 0.35s ease;
}

/* hover premium glow */
.governance-card:hover .governance-card-header svg {
    background: linear-gradient(135deg, #ffd54f, #d4af37);
    color: #5a0f17;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.35);
}

/* heading */
.governance-card-header h3 {
    font-weight: 600;
    color: var(--foreground);
}

/* small text */
.governance-card p.small {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

/* body text */
.governance-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* -------------------- Downloads -------------------- */
/* ================= DOWNLOAD ITEM ================= */

.download-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* hover border glow */
.download-item:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(
        to right,
        rgba(212, 175, 55, 0.06),
        rgba(122, 31, 42, 0.05)
    );
}

/* ICON BOX */
.download-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #7a1f2a, #d4af37);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(122, 31, 42, 0.25);
    transition: 0.3s ease;
}

/* icon */
.download-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
}

/* hover icon highlight */
.download-item:hover .download-icon-box {
    background: linear-gradient(135deg, #ffd54f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.download-item:hover .download-icon-box svg {
    color: #5a0f17;
}

/* TEXT INFO */
.download-info {
    flex: 1;
    min-width: 0;
}

.download-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-info p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ARROW */
.download-arrow {
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    flex-shrink: 0;
    transition: 0.25s ease;
}

.download-item:hover .download-arrow {
    color: #d4af37;
    transform: translateX(3px);
}

/* -------------------- Media Cards -------------------- */
/* 
.media-card {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.media-card:hover {
  box-shadow: var(--shadow-md);
}

.media-card-inner {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}

.media-card-image {
  width: 7rem;
  height: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-content {
  flex: 1;
}

.media-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: hsla(350, 65%, 28%, 0.1);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.media-card-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.media-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.media-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.media-card-link:hover {
  gap: 0.5rem;
}

.media-card-link svg {
  width: 0.75rem;
  height: 0.75rem;
} */

/* ===============================
   MEDIA CARD
================================ */

.media-card {
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    height: 100%;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* layout */
.media-card-inner {
    display: flex;
    flex-direction: column;
    /* ðŸ”¥ image on top */
    height: 100%;
}

/* ===============================
   LARGE IMAGE AREA
================================ */

.media-card-image {
    width: 100%;
    height: 260px;
    /* ðŸ”¥ bigger image */
    overflow: hidden;
    position: relative;
}

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

/* smooth zoom */
.media-card:hover .media-card-image img {
    transform: scale(1.08);
}

/* gradient overlay for readability */
.media-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.35)
    );
}

/* ===============================
   CONTENT
================================ */

.media-card-content {
    padding: 1.25rem 1.4rem 1.5rem;
    flex: 1;
}

.media-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    background-color: hsla(350, 65%, 28%, 0.1);
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.media-card-badge svg {
    width: 0.7rem;
    height: 0.7rem;
}

.media-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.35rem;
}

.media-card p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.media-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.25s ease;
}

.media-card-link:hover {
    gap: 0.6rem;
}

.media-card-link svg {
    width: 0.8rem;
    height: 0.8rem;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
    .media-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .media-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .media-card-image {
        height: 180px;
    }
}

/* -------------------- Gallery -------------------- */
/* 
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.gallery-item:hover .gallery-item-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.gallery-item-label {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  transition: box-shadow 0.2s ease;
}

.gallery-action-btn:hover {
  box-shadow: var(--shadow-md);
}

.gallery-action-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
} */

/* ============ Gallery Section ============ */
/* ===============================
   GALLERY SECTION
================================ */

.gallery {
    padding: 60px 0;
    background: rgba(128, 0, 0, 0.05);
}

/* ===== GRID ===== */
.gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.gallery-item-label {
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
}

/* ===== LINK TILES ALIGN WITH GRID ===== */
/* layout */

.gallery-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-top: 12px;
}

/* card */
.gallery-card {
    position: relative;
    height: 210px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    background: #000;
}

/* collage container */
.premium-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

/* main large image */
.img-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* stacked photo top */
.img-top {
    position: absolute;
    width: 45%;
    height: 65%;
    object-fit: cover;
    top: 12px;
    left: 14px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    border: 3px solid #fff;
    transform: rotate(-6deg);
    transition: transform 0.4s ease;
}

/* stacked photo bottom */
.img-bottom {
    position: absolute;
    width: 42%;
    height: 60%;
    object-fit: cover;
    bottom: 14px;
    right: 14px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    border: 3px solid #fff;
    transform: rotate(7deg);
    transition: transform 0.4s ease;
}

/* overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.05)
    );
}
.gallery-grid .gallery-overlay {
    justify-content: center;
    background: rgb(0 0 0 / 0%);
}
.gallery-overlay span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.gallery-overlay .gallery-item-label {
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
    font-size: 16px;
    text-align: center;
}

.gallery-overlay small {
    font-size: 13px;
    opacity: 0.85;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.45);
}

/* hover premium motion */
.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.gallery-card:hover .img-top {
    transform: rotate(-2deg) scale(1.05);
}

.gallery-card:hover .img-bottom {
    transform: rotate(2deg) scale(1.05);
}

/* -------------------- Research Section -------------------- */
/* ================= RESEARCH CARD ================= */

.research-card {
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);

    /* LEFT STRIP GOLD */
    border-left: 4px solid #d4af37;
}

/* ICON GOLD */
.research-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

/* TITLE */
.research-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

/* TAGS â†’ GOLD */
.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.research-tag {
    padding: 0.25rem 0.75rem;
    background-color: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #b8962e;
    font-weight: 500;
}

/* STATS */
.research-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.research-stat-row:last-child {
    border-bottom: none;
}

.research-stat-row span:first-child {
    color: var(--muted-foreground);
}

.research-stat-row span:last-child {
    font-weight: 700;
    color: var(--foreground);
}

/* PUBLICATION CARD */
.publication-item {
    padding: 1rem;
    background-color: rgba(212, 175, 55, 0.06);
    border-radius: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.publication-item h4 {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.publication-item .authors {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.publication-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* -------------------- Awards Section -------------------- */
/* ================= AWARD CARD ================= */

.award-card {
    padding: 1.25rem;
    transition: box-shadow 0.2s ease;
}

.award-card:hover {
    box-shadow: var(--shadow-lg);
}

.award-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* ICON BOX GOLD STYLE */
.award-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;

    background: linear-gradient(135deg, #ffd54f, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    box-shadow: 0 6px 14px rgba(212, 175, 55, 0.35);
    transition: 0.3s ease;
}

/* ICON */
.award-icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #5a0f17;
}

/* hover premium glow */
.award-card:hover .award-icon-box {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45);
}

/* CONTENT */
.award-content {
    flex: 1;
}

.award-year {
    font-size: 0.75rem;
    font-weight: 500;
    color: #d4af37;
}

.award-title {
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.award-body {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* -------------------- Student Life -------------------- */
/* ================= ACTIVITY CARD ================= */

.activity-card {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

/* subtle gold hover border */
.activity-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
}

.activity-card.featured {
    padding: 2rem;
}
.why-choose-grid {
    display: grid;
}

@media (min-width: 1024px) {
    .activity-card.featured {
        padding: 2.5rem;
    }
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px;
    }
}
@media (min-width: 640px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
/* ICON BOX GOLD */
.activity-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;

    background: linear-gradient(135deg, #ffd54f, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;

    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* hover premium elevation */
.activity-card:hover .activity-icon-box {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

/* ICON */
.activity-icon-box svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #5a0f17;
}

/* TITLE */
.activity-card h3 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

/* TEXT */
.activity-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    flex: 1;
}

@media (min-width: 768px) {
    .activity-card p {
        font-size: 1rem;
    }
}

/* -------------------- Why Choose Section -------------------- */
/* 
.reason-card {
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s ease;
}

.reason-card:hover {
  box-shadow: var(--shadow-lg);
}

.reason-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: hsl(0, 85%, 97%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon-box {
  transform: scale(1.1);
}

.reason-icon-box svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.reason-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.reason-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
} */

/* ===============================
   REASON CARD (IMAGE VERSION)
================================ */
.activities-grid {
    display: grid;
    gap: 2rem;
}
.reason-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* hover elevation */
.reason-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ===============================
   IMAGE BOX
================================ */

.reason-image {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

/* image fit */
.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* hover zoom */
.reason-card:hover .reason-image img {
    transform: scale(1.08);
}

/* optional soft overlay for readability */
.reason-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.15)
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.reason-card:hover .reason-image::after {
    opacity: 1;
}

/* ===============================
   TYPOGRAPHY
================================ */

.reason-card h3 {
    color: #2b303b;
    line-height: 1.35;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.reason-card p {
    color: #737373;
    line-height: 1.6;
}

/* ===============================
   RESPONSIVE IMPROVEMENTS
================================ */

@media (max-width: 768px) {
    .reason-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .reason-card {
        padding: 1.2rem;
    }

    .reason-image {
        height: 110px;
    }
}

/* -------------------- Enquiry Section -------------------- */
.enquiry-section {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.enquiry-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.enquiry-text {
    color: hsla(0, 0%, 100%, 0.8);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: hsla(0, 0%, 100%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-foreground);
}

.contact-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-content p {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
}

.enquiry-form-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    box-shadow: var(--shadow-lg);
}

.enquiry-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(220, 20%, 15%);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-row.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: hsl(220, 10%, 50%);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px hsla(350, 65%, 28%, 0.1) !important;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.submit {
    background: #eea62b !important;
}

.submit:hover {
    background: #eea62b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px hsla(350, 25%, 15%, 0.15);
}

.submit i {
    color: #000;
}

/* -------------------- Footer -------------------- */
.footer {
    padding: 2rem 0;
    background-color: rgba(128, 0, 0, 0.05);
}

@media (min-width: 1024px) {
    .footer {
        padding: 3rem 0;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 0.75rem;
}

.footer-text {
    font-size: 0.875rem;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: hsla(350, 65%, 28%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: background-color 0.2s ease;
}

.footer-social a:hover {
    background-color: hsla(350, 65%, 28%, 0.2);
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #1a1a1a;
}
.footer-contact-item svg {
    color: #eea62b;
}

.footer-links a {
    font-size: 0.875rem;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #eea62b;
}

.footer-affiliations {
    border-top: 1px solid hsla(350, 65%, 28%, 0.2);
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.footer-affiliations-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.footer-affiliations-inner svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid hsla(350, 65%, 28%, 0.2);
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--foreground);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: var(--foreground);
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* -------------------- WhatsApp Widget -------------------- */
/* .float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    animation: moveUpDown 2s ease-in-out infinite alternate;
    z-index: 9999;
}

@keyframes moveUpDown {
    0% {
        top: 87%;
    }

    100% {
        top: 90%;
    }
} */

/* ============ WhatsApp Widget ============ */

.whatsapp-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-fixed);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.75rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 1rem;
    width: 16rem;
    opacity: 0;
    transform: translateX(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.whatsapp-tooltip-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.whatsapp-tooltip-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.whatsapp-tooltip-arrow {
    position: absolute;
    bottom: -0.5rem;
    right: 1.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--card);
    transform: rotate(45deg);
}

.whatsapp-popup {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 20rem;
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-popup.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup-header {
    background-color: #16a34a;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-popup-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-popup-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-popup-avatar svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #ffffff;
}

.whatsapp-popup-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.875rem;
}

.whatsapp-popup-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.whatsapp-popup-close {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.whatsapp-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-popup-close svg {
    width: 1rem;
    height: 1rem;
}

.whatsapp-popup-body {
    padding: 1rem;
    background-color: #f3f4f6;
}

.whatsapp-popup-message {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.whatsapp-popup-message-text {
    font-size: 0.875rem;
    color: #1f2937;
}

.whatsapp-popup-message-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    display: block;
}

.whatsapp-popup-message-arrow {
    position: absolute;
    left: -0.5rem;
    top: 1rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #ffffff;
    border-bottom: 0.5rem solid transparent;
}

.whatsapp-popup-footer {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background-color: #16a34a;
    color: #ffffff;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: background-color 0.2s ease;
}

.whatsapp-popup-btn:hover {
    background-color: #15803d;
}

.whatsapp-popup-btn svg {
    width: 1rem;
    height: 1rem;
}

.whatsapp-btn {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background-color: #16a34a;
    box-shadow: var(--shadow-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.whatsapp-btn:hover {
    background-color: #15803d;
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #ffffff;
}

.whatsapp-btn-ping {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background-color: #16a34a;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.3;
}
/* ============ Feedback Widget ============ */
/* =========================================
   FEEDBACK WIDGET WRAPPER
========================================= */

.feedback-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999 !important;
}

/* =========================================
   SIDE TAB BUTTON
========================================= */

.feedback-tab {
    background: #800000;
    color: #fff;
    padding: 1.6rem 0.8rem;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.feedback-tab:hover {
    background: #660000;
}

.feedback-tab-text {
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================================
   PANEL
========================================= */

/* =========================================
   PANEL (NO SCROLL â€“ FULL VISIBLE)
========================================= */

.feedback-panel {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(110%);
    width: 480px; /* Bigger Width */
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.feedback-panel.open {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Content */
.feedback-content {
    padding: 25px;
}

/* =========================================
   HEADER
========================================= */

.feedback-panel-header {
    background: #800000;
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feedback-panel-title {
    font-size: 14px;
    font-weight: 600;
}

.feedback-panel-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* =========================================
   TABS
========================================= */

.feedback-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.feedback-tab-btn {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background: #f8f8f8;
    cursor: pointer;
    transition: 0.2s ease;
}

.feedback-tab-btn.active {
    background: #fff;
    color: #800000;
    border-bottom: 3px solid #800000;
}

.feedback-tab-btn:hover {
    background: #eee;
}

/* =========================================
   CONTENT AREA
========================================= */

.feedback-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* =========================================
   BIG FORM STYLING
========================================= */

.big-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Two Column Layout */
.form-row {
    display: flex;
    gap: 12px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #800000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Submit Button */
.submit-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #800000;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #660000;
    transform: translateY(-1px);
}

/* =========================================
   SCROLLBAR
========================================= */

.feedback-content::-webkit-scrollbar {
    width: 6px;
}

.feedback-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* =========================================
   TOAST NOTIFICATION
========================================= */

.custom-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #111827;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 600px) {
    .feedback-panel {
        width: 95vw;
        right: 10px;
    }

    .form-row {
        flex-direction: column;
    }
}

/* Custom 1/5 width column class for 5-column grids (Bootstrap doesn't have col-5) */
@media (min-width: 1200px) {
    .col-xl-20 {
        flex: 0 0 auto;
        width: 20%;
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        margin-top: var(--bs-gutter-y, 0);
    }
}

@media (min-width: 992px) {
    .col-lg-20 {
        flex: 0 0 auto;
        width: 20%;
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        margin-top: var(--bs-gutter-y, 0);
    }
}

/* Ensure mega menu grid cards stay centered in their col */
.mega-menu-card a {
    text-decoration: none;
}

/* Fix Bootstrap row margin collision with container padding on mobile */
.top-bar .row,
.logo-bar .row,
.nav-bar .row {
    margin-left: 0;
    margin-right: 0;
}

/* Mobile menu button: always visible below 1024px, hidden above */
#mobile-menu-btn {
    display: flex !important;
}

@media (min-width: 1024px) {
    #mobile-menu-btn {
        display: none !important;
    }
}

/* Fix z-index conflicts with Bootstrap 5 (Bootstrap uses 1000-1090 range) */
.header {
    z-index: 1030 !important;
}

.mega-menu {
    z-index: 1031 !important;
}

.mobile-menu-backdrop {
    z-index: 1050 !important;
}

.mobile-menu {
    z-index: 1055 !important;
}

.search-overlay {
    z-index: 1040 !important;
}

/* Ensure mobile menu slides in from right correctly */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 100% !important;
    max-width: 24rem !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    overflow-y: auto !important;
}

.mobile-menu.open {
    transform: translateX(0) !important;
}

.mobile-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease !important;
}

.mobile-menu-backdrop.open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* -------------------- Responsive Utilities -------------------- */
.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:flex {
        display: flex;
    }

    .sm\:hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .md\:flex {
        display: flex;
    }
    .sm\:inline {
        display: inline;
    }
    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:inline {
        display: inline;
    }
}

/* Max width utilities */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

/* Width utilities */
.w-full {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: white;
    padding: 1.5rem;
    overflow-y: auto;
    animation: slideInRight 0.3s ease forwards;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background-color: var(--muted);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--foreground);
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--muted);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* -------------------- Eligibility List -------------------- */
.eligibility-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.eligibility-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.eligibility-item span {
    color: var(--muted-foreground);
}

/* -------------------- CTA Card -------------------- */
.cta-card {
    background: linear-gradient(
        to bottom right,
        var(--amber-light),
        var(--gold-light)
    );
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.cta-card-footer p.highlight {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

/* -------------------- Additional Features Tags -------------------- */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: hsla(350, 65%, 28%, 0.05);
    border: 1px solid hsla(350, 65%, 28%, 0.2);
    border-radius: 9999px;
}

.feature-tag svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary);
}

.feature-tag span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* -------------------- Labs Grid -------------------- */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .labs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .labs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1180px) {
    .labs-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.lab-card {
    background-color: var(--card);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s ease;
}

.lab-card:hover {
    box-shadow: var(--shadow-lg);
}

.lab-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.lab-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lab-card:hover .lab-card-image img {
    transform: scale(1.05);
}

.lab-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.lab-card-content {
    padding: 0.75rem;
}

.lab-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.lab-card p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* Student Life Grid */
.student-life-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .student-life-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .student-life-grid .activity-card:nth-child(1),
    .student-life-grid .activity-card:nth-child(2),
    .student-life-grid .activity-card:nth-child(3) {
        grid-column: span 2;
    }

    .student-life-grid .activity-card:nth-child(4),
    .student-life-grid .activity-card:nth-child(5) {
        grid-column: span 3;
    }
}

@media (max-width: 1023px) {
    .student-life-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .student-life-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   ABOUT SECTION BASE
================================ */

.about-section {
    position: relative;
    padding: 80px 0;
    background-image: url("http://51.79.142.255/ihaswebsite-new/assets/images/hero-campus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.about-section .container {
    position: relative;
    z-index: 2;
}
.about-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.about_txt {
    line-height: 2rem;
    margin-bottom: 1.6rem;
}

.about-label {
    display: inline-block;
    color: #761928;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.about-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.about-title span {
    color: #761928;
}
.about-grid .logo-bar-btn {
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #a51f1f 0%, #6f0e11 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 6px 14px rgba(0, 0, 0, 0.35);
    transform: skewX(-12deg);
    transition: 0.25s ease;
}
.about-stat-card {
    background-color: #fafafa;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
}
.about-stat-card:hover {
    transform: translateY(-4px) !important;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-icon i {
    width: 1.75rem;
    height: 1.75rem;
    color: #ffda7e;
    margin: 0 auto 0.5rem;
    display: block;
}

.about-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.about-stat-label {
    font-size: 0.8125rem;
    color: #737373;
    margin-top: 0.25rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}
button.submit {
    display: grid;
    grid-auto-flow: column;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.logo-bar-btn {
    /* display: none; */
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #a51f1f 0%, #6f0e11 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 6px 14px rgba(0, 0, 0, 0.35);
    transform: skewX(-12deg);
    transition: 0.25s ease;
}

.blink-btn {
    animation: blinkPulse 1.2s infinite;
}

@keyframes blinkPulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgb(111, 14, 17, 0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 0 15px rgb(111, 14, 17, 0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgb(111, 14, 17, 0.8);
    }
}
.blink-btn span {
    transform: none !important;
}

.about-affiliations {
    background-color: #fafafa;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    border: 1px solid#0004;
}

.about-affiliations-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}
.about-excellence-icon img {
    filter: invert(1);
}
.affiliation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--muted);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.affiliation-name {
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.95rem;
}

.affiliation-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background-color: hsl(350 65% 28% / 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
}

.about-excellence {
    margin-top: 1.5rem;
    background-color: hsl(350 65% 28% / 0.05);
    border: 1px solid hsl(350 65% 28% / 0.15);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
}

.about-excellence-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-excellence-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: var(--gradient-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-excellence-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.about-excellence-text {
    font-size: 0.9375rem;
    color: #1a1a1a;
    line-height: 1.5;
}
@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===============================
   BACKGROUND SLIDER
================================ */

.bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: aboutFade 15s infinite;
}

/* slide timing */
.bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.bg-slide:nth-child(2) {
    animation-delay: 5s;
}

.bg-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes aboutFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ===============================
   LIGHT VISIBILITY OVERLAY
   (NO DARKNESS)
================================ */

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    /* soft light layer */
    z-index: 1;
}

/* soft gradient depth */
.about-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgb(255 255 255),
        rgb(255 255 255 / 62%)
    );
    z-index: 1;
}

/* Cources Section */
.courses {
    padding: 4rem 0;
    background-color: rgba(118, 25, 40, 0.05);
}
.card.border-0 {
    border-radius: 15px 15px 0 0;
}

.courses ul {
    color: #000;
}
.section-label {
    color: #1317df;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-label-blue {
    background-color: rgba(59, 130, 246, 0.15);
    color: hsl(217, 91%, 45%) !important;
}
.section-label-green {
    background-color: rgba(34, 197, 94, 0.15);
    color: hsl(142, 71%, 35%) !important;
}
.section-label-indigo {
    background-color: rgba(99, 102, 241, 0.15);
    color: hsl(239, 84%, 50%) !important;
}
.section-label-amber {
    background-color: rgba(245, 158, 11, 0.15);
    color: hsl(38, 92%, 35%) !important;
}
.section-label-slate {
    background-color: rgba(100, 116, 139, 0.15);
    color: hsl(215, 25%, 35%) !important;
}
.section-label-primary {
    background-color: rgba(122, 31, 50, 0.1);
    color: #761928 !important;
}
.section-description {
    color: black;
    font-size: 1rem;
    line-height: 1.6;
}

.course-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.course-card-header {
    background: linear-gradient(135deg, hsl(350, 65%, 28%), hsl(350, 70%, 35%));
    padding: 1.25rem;
}

.course-card-header {
    border-radius: 15px 15px 0px 0px;
}

.badge-new {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p.txt-white {
    font-size: small;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.5rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff !important;
    background: linear-gradient(135deg, #9f1239 0%, #b91c1c 100%);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(230, 4, 68, 0.25);
    transition: all 0.22s ease;
    cursor: pointer;
    text-decoration: none;
    margin-top: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Why Choos us */
.why-choose {
    background: #f7f7f7;
    padding: 60px 0;
}
.why-choose .reason-card {
    text-align: center;
}
.why-choose .reason-card h3 {
    font-size: 18px;
}
.why-choose .reason-card p {
    font-size: 14px;
}

/* infa */
.infrastructure {
    padding: 4rem 0;
    background-color: hsla(350, 65%, 28%, 0.05);
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
}
.infrastructure-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.media {
    padding: 4rem 0;
    background-color: rgba(59, 130, 246, 0.05);
}
.media-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 640px) {
    .infrastructure-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .infrastructure-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .about,
    .courses,
    .infrastructure,
    .placements,
    .activities,
    .media,
    .gallery,
    .enquiry {
        padding: 5.5rem 0;
    }
    .about-section,
    .downloads {
        padding: 5.5rem 1rem;
    }
}
@media (min-width: 1280px) {
    .infrastructure-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.infra-card {
    background-color: hsl(0, 0%, 98%);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.infra-card-image img {
    transition: transform 0.5s ease;
}
.infra-card:hover {
    box-shadow: 0 10px 40px -10px hsla(350, 25%, 15%, 0.15);
}
.infra-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.card_hed img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.infra-card:hover .infra-card-image img,
.card_overlay:hover {
    transform: scale(1.1);
}

.card_overlay {
    position: absolute;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        transparent 100%
    );
    inset: 0;
}
.infra-card .card-body {
    padding: 0.75rem;
}
.infra-card .card-body h3 {
    font-weight: 700;
    font-size: 1.12rem;
    margin-bottom: 0.125rem;
}

.clr1 {
    background-color: #800000cc;
}

.clr2 {
    background-color: #4b5563cc;
}

.clr3 {
    background-color: #8b5cf6cc;
}

.clr4 {
    background-color: #14b8a6cc;
}

.clr5 {
    background-color: #eab308e6;
}

.Overlay_icon {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: 10px;
    left: 10px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Overlay_icon i {
    color: #fff;
}

/* placement  */

.placements {
    padding: 4rem 0;
    background-color: rgba(34, 197, 94, 0.05);
}
.placements-hero {
    margin-bottom: 3rem;
    border-radius: 1rem;
    overflow: hidden;
}
.placements-hero img {
    width: 100%;
    /* height: 20rem; */
    object-fit: cover;
}
.placements-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}
@media (min-width: 1024px) {
    .placements-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.placements-recruiters {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 30px;
    background: rgb(255, 255, 255);
    border-radius: var(--radius-xl);
    padding: 2rem;
    overflow: hidden;
}

.placements-recruiters-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.logo-slider {
    position: relative;
    overflow: hidden;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scrollLogos 10s linear infinite;
}

.logo-track img {
    height: 42px;
    transition: transform 0.3s;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-track img:hover {
    transform: scale(1.1);
}

.activities {
    background-color: rgba(128, 0, 0, 0.05);
    padding: 4rem 0px;
}

.media-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
}

.media-card-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0px 0px;
}

.section-label-primary {
    background-color: rgba(122, 31, 50, 0.1);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 20px;
}

.enquiry {
    padding: 4rem 0;
    background-color: var(--primary);
}

@media (min-width: 1024px) {
    .enquiry {
        padding: 5rem 0;
    }
}

.enquiry-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .enquiry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.enquiry-form-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius-2xl);
}

.enquiry-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .enquiry-form-title {
        font-size: 1.875rem;
    }
}

.enquiry-form-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enquiry-info {
    color: #ffffff;
}

.enquiry-info-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.enquiry-info-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .enquiry-info-title {
        font-size: 2.25rem;
    }
}

.enquiry-info-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 1.2rem;
}

.enquiry-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enquiry-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    color: #fff;
}

.enquiry-contact:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.enquiry-contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.enquiry-contact-icon-phone {
    background-color: var(--accent);
}

.enquiry-contact-icon-phone svg {
    color: var(--accent-foreground);
}

.enquiry-contact-icon-email {
    background-color: var(--secondary);
}

.enquiry-contact-icon-email svg {
    color: var(--secondary-foreground);
}

.enquiry-contact-icon-whatsapp {
    background-color: #22c55e;
}

.enquiry-contact-icon-whatsapp svg {
    color: #ffffff;
}

.enquiry-contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.enquiry-contact-value {
    font-weight: 600;
    margin-bottom: 0;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    background-color: var(--muted);
    color: var(--muted-foreground);
}

.tag-pci {
    background-color: rgba(234, 179, 8, 0.2);
    color: hsl(38, 92%, 35%);
}

.tag-nba {
    background-color: rgba(122, 31, 50, 0.2);
    color: var(--maroon-dark);
}

.tag-aktu {
    background-color: rgba(229, 162, 32, 0.2);
    color: var(--accent);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--accent);
    color: var(--maroon-dark);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.footer-cta:hover {
    background-color: var(--accent-light);
    color: var(--maroon-dark);
}

/* ===============================
   TEXT VISIBILITY (DARK TEXT ON LIGHT OVERLAY)
================================ */

.section-titles {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-section p {
    /* color: #374151; */
    color: #000;
    font-weight: 550;
}

.about-s {
    color: #000;
    font-weight: 550;
}

/* ===============================
   ICON BADGES
================================ */

.icon-box-primary {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    backdrop-filter: blur(6px);
}

/* ===============================
   RIGHT SIDE CARDS
================================ */

.card-institution {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-institution:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.card-institution h3 {
    color: #111827;
}

.card-institution p {
    color: #4b5563;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .section-titles {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-titles {
        font-size: 1.6rem;
    }
}

/* ===============================
   ADMISSIONS SECTION - Full edge-to-edge slider, no blank sides
================================ */

.admissions-section {
    position: relative;
    padding: 80px 0;
    background-image: url("http://51.79.142.255/ihaswebsite-new/assets/images/pharma-lab.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.admissions-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.admissions-section .container {
    position: relative;
    z-index: 2;
}

/* Make slider fill the entire section edge-to-edge */
.admissions-section .bg-slider {
    position: absolute;
    inset: 0;
    /* top:0, right:0, bottom:0, left:0 â†’ full coverage */
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Critical fixes for no blank sides */
.admissions-section .bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* crops to fill without distortion */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: aboutFade 12s infinite;
    /* adjusted timing for smooth loop */
    will-change: opacity;
    /* smoother animation performance */
}

/* Slide delays â€“ with 4 slides, 12s cycle works well */
.admissions-section .bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.admissions-section .bg-slide:nth-child(2) {
    animation-delay: 3s;
}

.admissions-section .bg-slide:nth-child(3) {
    animation-delay: 6s;
}

.admissions-section .bg-slide:nth-child(4) {
    animation-delay: 9s;
}

/* Fade keyframes â€“ same as before */
@keyframes aboutFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Overlays remain the same â€“ soft white for readability */
.admissions-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
}

.admissions-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.35)
    );
    z-index: 1;
}

/* Container content on top */
.admissions-section .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    /* â† optional: wider container for big screens */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Force dark text visibility (like in About) â€“ adjust if your theme uses white text here */
.admissions-section .section-titles {
    color: #0f172a;
    /* dark slate */
    font-size: 2.4rem;
    font-weight: 700;
}

.admissions-section .section-subtitle {
    color: #1f2937;
}

.admissions-section p,
.admissions-section li,
.admissions-section h3,
.admissions-section h4 {
    color: #111827;
    /* dark gray/black for contrast on light overlay */
}

/* Cards get semi-opaque white bg for better readability */
.card-institution {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    /* nice modern touch */
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* ===============================
   PLACEMENTS SECTION - Full edge-to-edge slider, no blank sides
================================ */

.placements-section {
    position: relative;
    padding: 80px 0;
    background-image: url("http://51.79.142.255/ihaswebsite-new/assets/images/place.jfif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.placements-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.placements-section .container {
    position: relative;
    z-index: 2;
}

/* .placements-section {
  position: relative;
  overflow: hidden;
  min-height: 800px;          
  color: #ffffff;       
  padding-left: 0;
  padding-right: 0;
} */

.placements-section .bg-slider {
    position: absolute;
    inset: 0;
    /* top:0, right:0, bottom:0, left:0 â†’ full coverage */
    width: 100%;
    height: 100%;
    z-index: 0;
}

.placements-section .bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* crops to fill without distortion */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: aboutFade 10s infinite;
    /* adjusted timing for smooth loop */
    will-change: opacity;
}

/* Delays for 4 slides */
.placements-section .bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.placements-section .bg-slide:nth-child(2) {
    animation-delay: 3s;
}

.placements-section .bg-slide:nth-child(3) {
    animation-delay: 6s;
}

.placements-section .bg-slide:nth-child(4) {
    animation-delay: 9s;
}

/* Same fade as before */
@keyframes aboutFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Light overlays for readability (soft white, no dark tint) */
.placements-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
}

.placements-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.35)
    );
    z-index: 1;
}

/* Content layer */
.placements-section .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Dark text for visibility on light overlay */
.placements-section .section-titles {
    color: #0f172a;
    font-size: 2.4rem;
    font-weight: 700;
}

.placements-section .section-subtitle,
.placements-section p,
.placements-section .stat-card-label,
.placements-section .text-muted {
    color: #1f2937;
}

.placements-section .stat-card-value {
    color: #111827;
}

/* Cards & stats get semi-transparent bg */
/* .stat-card,
.card-institution {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
} */

/* ===============================================================
   RESEARCH SECTION - same slider + adjustments
   =============================================================== */

.research-section {
    position: relative;
    padding: 80px 0;
    background-image: url("http://51.79.142.255/ihaswebsite-new//assets/images/infra-library.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.research-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.research-section .container {
    position: relative;
    z-index: 2;
}

/* .research-section {
  position: relative;
  overflow: hidden;
  min-height: 800px;              
  padding-left: 0;
  padding-right: 0;
  background: #f8fafc;            
} */

/* Dark readable text on light overlay */
.research-section .section-titles {
    color: #0f172a;
    font-size: 2.4rem;
    font-weight: 700;
}

.research-section .section-subtitle {
    color: #1f2937;
}

.research-section p,
.research-section h3,
.research-section h4,
.research-section span {
    color: #111827;
}

/* Cards semi-transparent for visibility */
.research-section .research-card,
.research-section .card-institution {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    padding: 2rem;
    /* optional: match your padding */
}

/* ===============================================================
   STUDENT LIFE SECTION - same proper slider
   =============================================================== */

.student-life-section {
    position: relative;
    padding: 80px 0;
    background-image: url("http://51.79.142.255/ihaswebsite-new/assets/convo.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.student-life-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.student-life-section .container {
    position: relative;
    z-index: 2;
}

/* .student-life-section {
  position: relative;
  overflow: hidden;
  min-height: 700px;             
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  background: #f8fafc;           
} */

/* Readable dark text on light overlay */
.student-life-section .section-titles {
    color: #0f172a;
    font-size: 2.4rem;
    font-weight: 700;
}

.student-life-section .section-subtitle {
    color: #1f2937;
}

.student-life-section p,
.student-life-section h3 {
    color: #111827;
}

/* Cards semi-opaque + blur for perfect visibility */
.student-life-section .card-institution.activity-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.student-life-section .card-institution.activity-card:hover {
    transform: translateY(-8px);
}

/* Optional: featured cards can have slight accent if needed */
.student-life-section .activity-card.featured {
    border-left: 4px solid var(--primary);
    /* or your accent color */
}

.btn-primary {
    border: none !important;
}

.admissions-section ul {
    padding-left: 0px !important;
}

.downloads_card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tablet */
@media (max-width: 992px) {
    .downloads_card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .downloads_card {
        grid-template-columns: 1fr;
    }
}

.affiliated ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.affiliated ul li {
    text-align: center;
}

.announcement-item li {
    margin-right: 50px !important;
    padding-top: 10px;
}

.announcement-item li a {
    color: #fff;
}

.announcement-item li a:hover {
    color: var(--gold);
}

.clr-gold {
    color: var(--gold);
}

span.announcements-item-badge {
    padding: 0.125rem 0.5rem;
    background-color: var(--gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 3px;
}

/* ============ Header ============ */

.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: #ffffff;
    box-shadow: var(--shadow-soft);
}
@media (max-width: 1399px) {
    .nav-list .nav-link {
        font-size: 11px !important;
    }
}
@media (max-width: 1200px) {
    .nav-list .nav-link {
        letter-spacing: 0 !important;
        gap: 2px !important;
        padding: 10px 8px !important;
    }
    .nav-list {
        gap: 3px;
    }
}

/* ================= TOP BAR ================= */

.top-bar {
    position: relative;
    z-index: 1000;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(90deg, #5c0b0e 0%, #7d0e12 45%, #b21c21 100%);
}

/* ===============================
   GOLD WAVE (FULL RIGHT SIDE)
================================ */

/* .top-bar::before {
    top: -95px;
    width: 820px;
    height: 320px;

    border-radius: 240px;
    z-index: 1;
} */

/* GOLD WAVE */
.top-bar::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -80px;
    width: 620px;
    height: 260px;
    background: linear-gradient(90deg, #ffd36a, #f2a81c);
    border-radius: 180px;
    transform: rotate(-10deg);
}

/* LIGHT HIGHLIGHT */
.top-bar::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -45px;
    width: 520px;
    height: 200px;
    background: linear-gradient(90deg, #fff6c7, #ffd36a);
    border-radius: 180px;
    transform: rotate(-10deg);
    opacity: 0.95;
}

/* keep content above wave */
.top-bar .container {
    position: relative;
    z-index: 2;
}

/* LAYOUT */
.topbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 10px 0;
}

/* LEFT */
.topbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
}
.topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-right: 0;
    justify-content: flex-end;
}

.topbar-left a {
    color: #fff;
}

.topbar-left a i {
    margin-right: 10px;
    color: var(--gold);
}

.topbar-left a:hover {
    color: #ffd76a !important;
}

/* SOCIAL */
.top-bar-social {
    display: flex;
    gap: 8px;
    float: right !important;
}

.top-bar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    transition: 0.25s ease;
}

/* brand colors */
.facebook {
    background: #1877f2;
}

.instagram {
    background: radial-gradient(
        circle at 30% 110%,
        #fdf497 0%,
        #fd5949 45%,
        #d6249f 60%,
        #285aeb 90%
    );
}

.twitter {
    background: #000;
}

.youtube {
    background: #ff0000;
}

.top-bar-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* MOBILE */
@media (max-width: 768px) {
    .topbar-left {
        gap: 14px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    .topbar-left a {
        display: block;
        color: #800000;
    }
    .topbar-right {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .logo-text {
        display: none;
    }

    .logo-img {
        border-right: none !important;
    }
    .features-strip {
        padding: 0;
    }
}

/* ================= LOGO BAR ================= */

/* .logo-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
} */

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    padding: 14px 22px;
}

/* ================= LOGO ================= */

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 350px;
}
.logo-link {
}
.logo-text {
    display: flex;
    flex-direction: column;
    padding-left: 18px;
    position: relative;
}
.logo-img {
    width: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    padding-left: 18px;
    position: relative;
}
.logo-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    height: 38px;
    width: 3px;
    background: #7b0f12;
    border-radius: 10px;
}
.logo-title {
    font-weight: 800;
    font-size: clamp(1.125rem, 1.55vw, 1.625rem);
    color: #6d0e11;
    margin: 0;
}
.logo-subtitle {
    font-size: 14px;
    color: #555;
    margin-top: 3px;
}
@media (max-width: 768px) {
    .logo-section,
    .header-actions {
        flex: 1 1 50%;
    }
}
.nav-link:focus {
    color: #fff !important;
}
@media (max-width: 767px) {
    .logo-section,
    .logo-bar-actions {
        justify-content: center;
        width: 100%;
    }
    .stat-card-value,
    .section-title,
    .reason-card h3,
    .enquiry-form-title,
    .enquiry-info-title {
        font-size: 1.2rem;
    }
    /* .hero-overlay{background: linear-gradient(rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 80%) 100%);}
    .hero-section .carousel-caption {
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 20px;
    } */
    .carousel-item {
        height: 250px;
    }
    .hero-section .carousel-caption {
        bottom: 1%;
        padding: 5px;
        left: 10%;
        max-width: 80%;
        width: 100%;
    }
    .hero-title {
        font-size: 1rem;
        margin: 0;
        /* background: linear-gradient(
            rgba(150, 50, 70, 0.45) 0%,
            rgba(130, 40, 60, 0.55) 100%
        ); */
    }
    .hero-subtitle {
        font-size: 0.7rem;
        margin: 0;
    }
    .announcement-badge span {
        display: none;
    }
    .announcement-item li {
        margin-right: 20px !important;
    }
    .about-title {
        font-size: 2rem;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .feedback-content {
        padding: 10px;
    }
    .big-form,
    .form-row {
        gap: 5px;
    }
    .form-row {
        margin-bottom: 4px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 5px 10px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .download-card-title {
        font-size: 1rem;
    }
    .download-card {
        padding: 1rem;
    }
    .about-section,
    .courses,
    .infrastructure,
    .why-choose,
    .placements,
    .activities,
    .media,
    .gallery,
    .downloads,
    .enquiry {
        padding: 2rem 0;
    }
    .hero-badge-text,
    .hero-badge .btn {
        font-size: 0.8rem;
    }
    .hero-badge {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 424px) {
    .ribbon-item p {
        width: 80%;
    }
}
/* ================= ACTION AREA ================= */

.logo-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ================= PREMIUM BUTTON ================= */

/*.apply-btn {
    position: relative;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(180deg, #a51f1f 0%, #6f0e11 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 6px 14px rgba(0, 0, 0, 0.35);
    transform: skewX(-12deg);
    transition: .25s ease;
}
 .logo-bar-btn {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;

    color: #fff;
    font-weight: 700;
    font-size: 14px;

    padding: 10px 22px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(180deg, #a51f1f 0%, #6f0e11 100%);

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 6px 14px rgba(0, 0, 0, 0.35);

    transform: skewX(-12deg);
    transition: 0.25s ease;
} */

/* text straight */
.logo-bar-btn span {
    transform: skewX(12deg);
}

/* glossy shine */
.logo-bar-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transition: 0.6s;
    pointer-events: none;
}

.logo-bar-btn:hover::before {
    left: 130%;
}

.logo-bar-btn:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 10px 22px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.logo-bar-btn:active {
    transform: skewX(-12deg) translateY(1px);
}

/* arrow */
.logo-bar-btn .arrow {
    font-size: 16px;
    font-weight: 900;
}

/* small variant */
.logo-bar-btn.small {
    padding: 8px 18px;
    font-size: 13px;
}

/* show buttons desktop */
@media (min-width: 768px) {
    .logo-bar-btn {
        display: inline-flex;
    }
}

/* ================= ICON BUTTONS ================= */

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= MOBILE MENU ================= */

.mobile-menu-btn {
    display: flex;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-menu-btn:hover {
    background: #f3f3f3;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .logo-title {
        font-size: 18px;
    }

    .logo-link {
        margin-left: 0px;
    }
}

/* ══════════════════════════════
           MAIN NAVBAR
        ══════════════════════════════ */
.main-nav {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(123, 15, 18, 0.92) 0%,
        rgba(94, 12, 14, 0.88) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9 !important;
}
.main-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
}

.navbar-brand-mobile {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

/* Hamburger — mobile/tablet only */
.sidebar-toggler {
    display: none;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    align-items: center;
}

@media (max-width: 991px) {
    .sidebar-toggler {
        display: flex;
    }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1360px !important;
    }
}

/* Desktop nav */
.nav-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

@media (max-width: 991px) {
    .nav-list {
        display: none !important;
    }
}

.nav-list .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-list .nav-link svg {
    transition: transform 0.2s;
}

.nav-list .mega-menu-wrapper:hover > .nav-link svg {
    transform: rotate(180deg);
}

/* ══════════════════════════════
           MEGA DROPDOWN (desktop)
        ══════════════════════════════ */
/* .mega-menu-wrapper {
    position: static;
} */

.mega-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 90%;
    background: #fff;
    border-top: 5px solid #800000;
    box-shadow: 0 14px 40px rgba(26, 58, 110, 0.14);
    display: none;
    z-index: 999;
    animation: fadeSlide 0.18s ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-wrapper:hover .mega-dropdown {
    display: block;
}

.mega-dropdown-inner {
    padding: 26px 0 30px;
}

.mega-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    padding-bottom: 12px;
    /* border-bottom: 1px solid var(--border); */
}

.mega-head svg {
    color: var(--primary);
}

.mega-head h5 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #800000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    width: 100%;
    margin: auto;
}

.mega-menu-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.mega-menu-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 40rem;
}
.mega-menu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.mega-menu-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.mega-menu-grid-1 {
    grid-template-columns: repeat(1, 1fr);
    max-width: 30rem;
}
.mega-menu-column {
    width: 100%;
}
.mega-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.6rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid hsla(350, 65%, 28%, 0.2);
    text-align: left;
}

.mega-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.4rem 1rem;
    background-color: hsl(220, 15%, 97%);
    border: 1px solid hsl(220, 15%, 93%);
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 hsla(220, 20%, 15%, 0.03);
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
}
.mega-menu-item-label {
    font-size: 0.9rem;
    font-weight: 500;
    /* color: hsl(220, 10%, 40%); */
    color: #000;
    line-height: 1.35;
    transition: color 0.3s ease;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mega-link:hover {
    background: #761928;
    transform: translateY(-2px);
    box-shadow:
        0 4px 6px -1px hsla(220, 20%, 15%, 0.05),
        0 2px 4px -2px hsla(220, 20%, 15%, 0.05);
}
.mega-link:hover span {
    color: #fff;
}

.mega-link-icon {
    color: #761928;
    padding: 0.4rem;
    background-color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mega-link:hover .mega-link-icon {
    background-color: hsla(0, 0%, 100%, 0.2);
}
.mega-link:hover .mega-link-icon img {
    filter: brightness(0) invert(1);
}
.mega-menu-section-item-label {
    font-size: 0.99rem;
    font-weight: 600;
    line-height: 1.3;
}

/* .mega-link:hover .mega-link-icon {
    background: var(--primary);
    color: #fff;
} */

.mega-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    background-color: #f5f5f5;
    border: 1px solid #eaecf0;
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}
.mega-menu-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 8px;
    padding: 0.625rem;
    background-color: #ffffff;
    border-radius: 99px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
span.mega-menu-card-label {
    font-size: 0.9rem;
    font-weight: 500;
    /* color: hsl(220, 10%, 40%); */
    color: #000;
    line-height: 1.35;
    transition: color 0.3s ease;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}
.mega-card:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.mega-menu-item:hover .mega-menu-card-icon {
    background-color: hsla(0, 0%, 100%, 0.2);
}
.mega-menu-item,
.mega-card:hover:hover .mega-menu-card-icon img {
    filter: brightness(0) invert(1);
}
.mega-card:hover .mega-menu-card-icon {
    background-color: rgba(255, 255, 255, 0.2);
}
.mega-menu-item,
.mega-card:hover .mega-menu-card-label {
    color: #ffffff;
}
.mega-card svg {
    color: var(--primary);
    transition: color 0.18s;
}

.mega-card:hover svg {
    color: #fff;
}

/* ══════════════════════════════
           OVERLAY
        ══════════════════════════════ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1099;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
}

/* ══════════════════════════════
           SIDENAV
        ══════════════════════════════ */
.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sidenav.open {
    transform: translateX(0);
}

.sidenav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sidenav-header .s-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidenav-header .s-logo {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.sidenav-header .s-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.sidenav-header .s-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
}

.sidenav-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.sidenav-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidenav-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 20px;
}

.sidenav-body::-webkit-scrollbar {
    width: 4px;
}

.sidenav-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.sidenav-link {
    display: flex;
    align-items: center;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}

.sidenav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidenav-link.highlight {
    color: var(--accent);
    font-weight: 700;
}

.sidenav-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition:
        background 0.15s,
        color 0.15s;
    font-family: inherit;
}

.sidenav-accordion-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidenav-accordion-btn.active {
    background: rgba(232, 160, 32, 0.12);
    color: var(--accent);
}

.sidenav-accordion-btn .chevron {
    transition: transform 0.25s;
    flex-shrink: 0;
}

.sidenav-accordion-btn.active .chevron {
    transform: rotate(180deg);
}

.sidenav-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.18);
}

.sidenav-panel.open {
    max-height: 1200px;
}

.sidenav-section-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    padding: 12px 20px 4px;
}

.sidenav-sub-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    transition:
        color 0.15s,
        background 0.15s;
}

.sidenav-sub-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sidenav-sub-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.sidenav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 4px 0;
}

.sidenav-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sidenav-footer a {
    display: block;
    text-align: center;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.sidenav-footer a:hover {
    background: #c88a12;
}

/* glass border */
.nav-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* ================= SHINE SWEEP ================= */

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.55),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.nav-link:hover::before {
    left: 130%;
}

/* ================= GOLD TAB HOVER ================= */

.nav-link:hover,
.nav-item.active .nav-link {
    background: linear-gradient(180deg, #ffd76a, #f3a81c) !important;
    color: #5e0c0e !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

/* underline glow */
.nav-link:hover::after,
.nav-item.active .nav-link::after {
    border: 1px solid rgba(0, 0, 0, 0);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.5);
}

/* CSS By Akram */

/* Hover Effect */
.btn-view-details:hover {
    background: linear-gradient(135deg, #881337 0%, #991b1b 100%);
    box-shadow: 0 8px 20px rgba(159, 18, 57, 0.45) !important;
    transform: scale(1.02) !important;
}

/* Icon animation */
.btn-view-details svg {
    transition: transform 0.3s ease;
}

.btn-view-details:hover svg {
    transform: translateX(4px);
}
