/* ============================================================
   ASIAN COLLEGE - PREMIUM LAW COLLEGE WEBSITE STYLESHEET
   Theme: Luxury Academic (Red + Deep Blue + White)
   ============================================================ */

/* ==============================
   CSS CUSTOM PROPERTIES
   ============================== */

@font-face {
    font-family: 'Cinzel';
    src: url('Assets/fonts/cinzel-700.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Poppins';
    src: url('Assets/fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('Assets/fonts/playfair-700.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Cormorant';
    src: url('Assets/fonts/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Cormorant';
    src: url('Assets/fonts/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
}

:root {
    /* Core Palette */
    --primary-red: #C62828;
    --primary-red-hover: #b32424;
    --primary-blue: #0d366e;
    --secondary-blue: #163A70;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --accent-silver: #D9E2EC;
    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-body: #475569;
    --text-muted: #64748b;
    /* UI Elements */
    --shadow-sm: 0 4px 6px rgba(11, 31, 58, 0.05);
    --shadow-md: 0 10px 25px rgba(11, 31, 58, 0.08);
    --shadow-premium: 0 20px 40px rgba(11, 31, 58, 0.12);
    --shadow-red: 0 10px 25px rgba(198, 40, 40, 0.25);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Typography */
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
}

/* ==============================
   GLOBAL RESET & BASE
   ============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* ==============================
   UTILITIES
   ============================== */
.section-padding {
    padding: 100px 0;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-blue {
    background-color: var(--primary-blue) !important;
}

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

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
}

/* Buttons */
.btn-red {
    background-color: var(--primary-red);
    color: var(--white) !important;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-red);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-red:hover {
        background-color: var(--primary-red-hover);
        transform: translateY(-3px);
    }

.btn-outline-blue {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-outline-blue:hover {
        background-color: var(--primary-blue);
        color: var(--white) !important;
        transform: translateY(-3px);
    }

/* ==============================
   MASTER PAGE ELEMENTS
   ============================== */
/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 300;
}

    .top-bar a {
        color: var(--accent-silver);
    }

        .top-bar a:hover {
            color: var(--primary-red);
        }

.top-bar-item {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .top-bar-item i {
        color: var(--primary-red);
    }

.top-bar-social a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.8;
}

    .top-bar-social a:hover {
        opacity: 1;
        color: var(--primary-red);
    }

/* Main Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--accent-silver);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-emblem {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

/* Logo Image Box */
.logo-image-wrap {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Actual Image */
.college-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover Effect */
.logo-emblem:hover .logo-image-wrap {
    transform: scale(1.06) rotate(2deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    border-color: var(--primary-blue);
}

/* Text */
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-abbr {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo-sub-abbr {
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.4;
}


/* Logo Tagline � rich institutional line */
.logo-tagline {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-serif);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.82;
    white-space: nowrap;
}

.tagline-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-red);
    flex-shrink: 0;
}

/* ==============================
   HEADER BRANDING BADGES (CENTER)
   ============================== */
.header-branding-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 20px;
}

.header-badge-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-soft);
    border: 1px solid var(--accent-silver);
    border-radius: 50px;
    padding: 10px 22px;
    box-shadow: var(--shadow-sm);
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
}

.header-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .header-badge-icon i {
        color: var(--white);
        font-size: 13px;
    }

.header-badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.badge-sub {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-top: 1px;
}

.header-badge-divider {
    width: 1px;
    height: 34px;
    background: var(--accent-silver);
    flex-shrink: 0;
}



/* Navbar */
.main-navbar {
    background: var(--primary-blue) !important;
    padding: 0;
    box-shadow: var(--shadow-md);
    justify-content: center;
}

    .main-navbar .nav-link {
        color: var(--white) !important;
        font-weight: 500;
        font-size: 14px;
        padding: 20px 20px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }

        .main-navbar .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--primary-red);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .main-navbar .nav-link:hover::after, .main-navbar .nav-link.active::after {
            width: 100%;
        }

.dropdown-menu-custom {
    background: var(--white);
    border: none;
    border-top: 3px solid var(--primary-red);
    box-shadow: var(--shadow-premium);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.dropdown-item {
    padding: 12px 24px;
    font-weight: 500;
    color: var(--primary-blue);
}

    .dropdown-item:hover {
        background: var(--bg-soft);
        color: var(--primary-red);
    }

/* ==============================
   HOME: HERO SLIDER SECTION
   ============================== */

/* --- Outer wrapper --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* height = viewport minus top-bar (~40px) + header (~110px) + navbar (~60px) */
    height: 100vh;
    min-height: 600px;
}

/* --- Slides wrapper (stacking context) --- */
.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide --- */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Ken-Burns subtle zoom on active */
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

    .hero-slide.active {
        opacity: 1;
        pointer-events: auto;
        animation: heroZoom 8s ease-in-out forwards;
    }

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* --- Dark gradient overlay per slide --- */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 100deg, rgba(4, 22, 54, 0.88) 0%, rgba(4, 22, 54, 0.72) 45%, rgba(198, 40, 40, 0.40) 100% );
    z-index: 1;
}

/* --- Slide container must sit above overlay --- */
.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-slide .row {
    min-height: calc(100vh - 200px); /* leave room for counters bar */
}

/* --- Slide Content animation --- */
.hero-slide-content {
    padding: 40px 0 20px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Label */
.hero-label {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.13);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.22);
    text-transform: uppercase;
}

/* Heading */
.hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.40);
}

    .hero-title span {
        color: #ef5350;
        font-style: italic;
    }

/* Description */
.hero-desc {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,0.90);
    max-width: 680px;
    margin-bottom: 36px;
}

/* CTA Buttons row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: #fff !important;
    padding: 15px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-red);
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .hero-btn-primary:hover {
        background: var(--primary-red-hover);
        transform: translateY(-3px);
    }

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.3s ease;
}

    .hero-btn-secondary:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-3px);
    }

/* ---- Arrow Navigation ---- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.55);
    background: rgba(4,22,54,0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

    .hero-arrow:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        transform: translateY(-50%) scale(1.1);
    }

.hero-arrow-prev {
    left: 28px;
}

.hero-arrow-next {
    right: 28px;
}

/* ---- Dot Navigation ---- */
.hero-dots {
    position: absolute;
    bottom: 130px; /* sit above counters bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

    .hero-dot.active,
    .hero-dot:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        transform: scale(1.3);
    }

/* ---- Counters Bar (fixed to bottom of slider) ---- */
.hero-counters-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(4, 22, 54, 0.82);
    backdrop-filter: blur(12px);
    border-top: 2px solid rgba(198,40,40,0.55);
    padding: 22px 0;
}

.hero-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.counter-box {
    text-align: center;
    padding: 0 20px;
}

    .counter-box h4 {
        font-size: 36px;
        color: #ffffff;
        margin-bottom: 4px;
        font-weight: 800;
        line-height: 1;
    }

    .counter-box p {
        font-size: 12px;
        color: rgba(255,255,255,0.70);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 0;
    }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide .row {
        min-height: calc(100vh - 160px);
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .hero-arrow-prev {
        left: 14px;
    }

    .hero-arrow-next {
        right: 14px;
    }

    .hero-dots {
        bottom: 110px;
    }

    .counter-box h4 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-counters {
        gap: 25px;
    }

    .counter-box h4 {
        font-size: 32px;
    }
}

/* Hero Bottom Features (Overlapping) */
.hero-bottom-features {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-10px);
        border-bottom-color: var(--primary-red);
        box-shadow: var(--shadow-premium);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary-red);
    color: var(--white);
}

.feature-box h4 {
    font-family: var(--font-sans);
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted);
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-collage {
    position: relative;
    height: 550px;
}

.about-img {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    object-fit: cover;
}

.about-img-1 {
    width: 60%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-img-2 {
    width: 50%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid var(--bg-soft);
}

.about-img-3 {
    width: 40%;
    height: 40%;
    top: 15%;
    right: 5%;
    z-index: 3;
    border: 8px solid var(--bg-soft);
}

.about-stat-card {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-red);
    z-index: 4;
    box-shadow: var(--shadow-md);
}

    .about-stat-card h3 {
        color: var(--white);
        font-size: 32px;
        margin: 0;
    }

    .about-stat-card p {
        margin: 0;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--accent-silver);
    }

.about-list {
    list-style: none;
    margin: 30px 0;
}

    .about-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        font-weight: 500;
        color: var(--primary-blue);
    }

    .about-list i {
        color: var(--primary-red);
        font-size: 18px;
    }

/* ==============================
   COURSES SECTION PREMIUM
============================== */

/* Card */
.course-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--accent-silver);
    height: 100%;
}

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-premium);
        border-color: var(--primary-red);
    }

/* Featured Card */
.featured-course {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-premium);
}

/* Full Width Image */
.course-image-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

.course-card:hover .course-full-img {
    transform: scale(1.08);
}

/* Header */
.course-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 28px 30px;
    position: relative;
}

.featured-header {
    background: var(--primary-red);
}

.course-header h3 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 6px;
    font-family: 'Cinzel', serif;
}

.course-duration {
    font-size: 13px;
    color: var(--accent-silver);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Icon */
.course-icon {
    position: absolute;
    right: 30px;
    top: 28px;
    font-size: 42px;
    color: rgba(255,255,255,0.12);
}

/* Body */
.course-body {
    padding: 30px;
}

/* Description */
.course-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 22px;
    border-left: 3px solid var(--primary-red);
    padding-left: 15px;
}

/* Features */
.course-features {
    list-style: none;
    margin-bottom: 28px;
    padding: 0;
}

    .course-features li {
        padding: 12px 0;
        border-bottom: 1px solid var(--bg-soft);
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .course-features li:last-child {
            border-bottom: none;
        }

    .course-features i {
        color: var(--primary-red);
        min-width: 18px;
    }

/* Responsive */
@media (max-width: 767px) {
    .course-image-wrap {
        height: 200px;
    }

    .course-header h3 {
        font-size: 24px;
    }

    .course-body {
        padding: 22px;
    }
}

/* ==============================
   FACULTY SECTION
   ============================== */
.faculty-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.faculty-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.faculty-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(11, 31, 58, 0.9);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.faculty-card:hover .faculty-social {
    bottom: 0;
}

.faculty-social a {
    color: var(--white);
    font-size: 16px;
}

    .faculty-social a:hover {
        color: var(--primary-red);
    }

.faculty-info {
    padding: 25px 20px;
    border-top: 3px solid var(--primary-red);
}

    .faculty-info h4 {
        font-family: var(--font-sans);
        font-size: 20px;
        margin-bottom: 5px;
        color: var(--primary-blue);
    }

    .faculty-info span {
        display: block;
        color: var(--primary-red);
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .faculty-info p {
        font-size: 13px;
        color: var(--text-muted);
        margin: 0;
    }

/* ==============================
   GALLERY BENTO
   ============================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,58,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay i {
    color: var(--primary-red);
    font-size: 24px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: 0.4s;
}

.bento-overlay h5 {
    color: var(--white);
    margin: 0;
    transform: translateY(20px);
    transition: 0.4s;
    font-family: var(--font-sans);
}

.bento-item:hover .bento-overlay i, .bento-item:hover .bento-overlay h5 {
    transform: translateY(0);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Lightbox */
.lb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.95);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: 0.3s;
}

.lb-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: 0.3s;
    max-width: 90vw;
    max-height: 90vh;
}

.lb-active .lb-backdrop {
    display: block;
    opacity: 1;
}

.lb-active .lb-content {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lb-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-premium);
}

.lb-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

    .lb-close:hover {
        color: var(--primary-red);
    }

/* ==============================
   ADMISSION CTA
   ============================== */
.admission-cta-strip {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .admission-cta-strip::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 10px;
        background: var(--primary-red);
    }

    .admission-cta-strip h2 {
        color: var(--white);
        font-size: 42px;
        margin-bottom: 20px;
    }

    .admission-cta-strip p {
        color: var(--accent-silver);
        font-size: 18px;
        margin-bottom: 0;
    }

/* ==============================
   CONTACT
   ============================== */

.contact-premium-section {
    background: linear-gradient(to bottom, #f8f9fc, #eef3f9);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: 17px;
}

/* Left Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.contact-premium-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

    .contact-premium-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    }

.contact-card-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

    .contact-card-top-border.blue {
        background: var(--primary-blue);
    }

    .contact-card-top-border.red {
        background: var(--primary-red);
    }

.contact-flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-box {
    min-width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-blue), #0d2f66);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contact-premium-card:nth-child(2) .contact-icon-box {
    background: linear-gradient(135deg, var(--primary-red), #b30000);
}

.contact-premium-card:nth-child(4) .contact-icon-box {
    background: linear-gradient(135deg, var(--primary-red), #b30000);
}

.contact-premium-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.contact-premium-card p,
.contact-premium-card a {
    display: block;
    color: var(--text-body);
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 16px;
    transition: 0.3s ease;
}

    .contact-premium-card a:hover {
        color: var(--primary-red);
        padding-left: 5px;
    }

/* Map */
.map-premium-wrapper {
    position: relative;
    height: 100%;
    min-height: 620px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

    .map-premium-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
        filter: grayscale(10%);
    }

.map-overlay-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255,255,255,0.96);
    padding: 25px;
    border-radius: 20px;
    max-width: 340px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

    .map-overlay-card h5 {
        font-family: 'Cinzel', serif;
        color: var(--primary-blue);
        margin-bottom: 10px;
        font-size: 22px;
    }

    .map-overlay-card p {
        color: var(--text-muted);
        margin-bottom: 15px;
    }

.btn-red-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

    .btn-red-sm:hover {
        background: var(--primary-blue);
        color: white;
    }

/* Responsive */
@media (max-width: 991px) {
    .map-premium-wrapper {
        min-height: 450px;
        margin-top: 30px;
    }

    .map-overlay-card {
        left: 20px;
        right: 20px;
        max-width: unset;
    }
}

/* ==============================
   MD MESSAGE SECTION
   ============================== */
.md-message-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

    .md-message-section::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(198, 40, 40, 0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

    .md-message-section::after {
        content: '';
        position: absolute;
        bottom: -60px;
        left: -60px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(13, 54, 110, 0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

/* ---- Photo Wrapper ---- */
.md-photo-wrapper {
    position: relative;
    display: inline-block;
}

.md-photo-frame {
    width: 340px;
    height: 380px;
    border-radius: 20px 20px 60px 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(13, 54, 110, 0.18);
    border: 5px solid var(--white);
    position: relative;
    margin: 0 auto;
}

    .md-photo-frame::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(13, 54, 110, 0.55) 100%);
        z-index: 1;
        border-radius: inherit;
    }

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

.md-photo-wrapper:hover .md-photo {
    transform: scale(1.04);
}

/* Decorative corner accent */
.md-photo-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-top: 4px solid var(--primary-red);
    border-left: 4px solid var(--primary-red);
    border-radius: 4px;
    z-index: 2;
}

/* Badge */
.md-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 24px;
    box-shadow: 0 8px 20px rgba(13, 54, 110, 0.3);
}

    .md-badge i {
        color: var(--primary-red);
        font-size: 16px;
    }

/* ---- Message Content ---- */
.md-message-content {
    padding-left: 20px;
}

/* Quote Block */
.md-quote-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 36px 36px 48px;
    position: relative;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-red);
    margin: 28px 0;
}

.md-quote-icon {
    position: absolute;
    top: -18px;
    left: 28px;
    font-size: 42px;
    color: var(--primary-red);
    background: var(--white);
    padding: 0 8px;
    line-height: 1;
}

.md-message-text {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 16px;
}

    .md-message-text:last-child {
        margin-bottom: 0;
    }

/* Signature */
.md-signature-block {
    padding-top: 24px;
}

.md-signature-line {
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 5px;
    margin-bottom: 14px;
}

.md-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.md-designation {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.md-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .md-message-content {
        padding-left: 0;
    }

    .md-photo-frame {
        width: 280px;
        height: 310px;
    }
}

@media (max-width: 767px) {
    .md-quote-block {
        padding: 28px 24px 28px 32px;
    }

    .md-photo-frame {
        width: 240px;
        height: 270px;
    }
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    background: var(--primary-blue);
    color: var(--accent-silver);
    padding: 80px 0 20px;
    border-top: 5px solid var(--primary-red);
}
/* ==============================
   FOOTER LOGO BRANDING
============================== */

/* Footer Brand Container */
.footer-brand-box {
    margin-bottom: 25px;
}

/* Logo + Text Layout */
.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo Circle */
.footer-logo-image-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    padding: 4px;
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    transition: all 0.4s ease;
}

/* Footer Logo Image */
.footer-college-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover */
.footer-logo-block:hover .footer-logo-image-wrap {
    transform: scale(1.06);
    border-color: var(--primary-red);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Text Wrapper */
.footer-logo-text-wrap {
    display: flex;
    flex-direction: column;
}

/* Main Footer Title */
.footer-logo-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Subtitle */
.footer-logo-subtitle {
    font-size: 15px;
    color: var(--accent-silver);
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Footer Text */
.footer-text {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.78);
}

/* Footer Heading */
.footer-heading {
    color: var(--white);
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 45px;
        height: 3px;
        background: var(--primary-red);
        border-radius: 5px;
    }

/* Responsive */
@media (max-width: 767px) {
    .footer-logo-image-wrap {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

    .footer-logo-title {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .footer-logo-subtitle {
        font-size: 13px;
    }
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: var(--accent-silver);
        transition: var(--transition);
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--primary-red);
            transform: translateX(5px);
        }

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
}

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

/* ---- 1200px and below ---- */
@media (max-width: 1200px) {
    .bento-grid {
        grid-auto-rows: 200px;
    }

    .header-badge {
        padding: 0 12px;
    }

    .badge-title {
        font-size: 12px;
    }

    .badge-sub {
        font-size: 10px;
    }
}

/* ---- 991px tablet ---- */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 100px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .hero-actions, .hero-counters {
        justify-content: center;
    }

    .hero-bottom-features {
        margin-top: 40px;
    }

    .about-collage {
        height: 400px;
        margin-top: 50px;
    }

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

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    /* Hero slider tablet: keep viewport-height layout */
    .hero-slider-section {
        height: 70vh;
        min-height: 420px;
        aspect-ratio: unset;
    }

    .hero-slide .row {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-dots {
        bottom: 28px;
    }

    .header-branding-center {
        display: none !important;
    }

    .header-inner {
        gap: 15px;
    }

    /* Tagline: visible on tablet */
    .logo-tagline {
        display: flex;
        font-size: 10px;
        white-space: nowrap;
    }
}

/* ---- 767px mobile ---- */
@media (max-width: 767px) {

    /* TOP BAR */
    .top-bar {
        display: none;
    }

    /* HEADER */
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        padding: 6px 0;
    }

    .logo-image-wrap {
        width: 82px;
        height: 82px;
        min-width: 82px;
    }

    .logo-abbr {
        font-size: 19px;
        letter-spacing: 0.8px;
    }

    .logo-sub-abbr {
        font-size: 14px;
        margin-top: 3px;
    }

    /* TAGLINE — visible on mobile, compact */
    .logo-tagline {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 9.5px;
        letter-spacing: 0.3px;
        margin-top: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 0.78;
        max-width: 220px;
    }

    .tagline-dot {
        width: 4px;
        height: 4px;
        flex-shrink: 0;
    }

    .header-branding-center {
        display: none !important;
    }

    .header-admission {
        display: none !important;
    }

    .navbar-mobile-admission {
        display: block !important;
        margin: 12px 0 8px;
    }

    /* HERO SLIDER — 4:3 ratio */
    .hero-slider-section {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: unset;
        max-height: none;
        overflow: hidden;
    }

    /* Slides: image must fill the 4:3 box fully */
    .hero-slide {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        position: absolute;
        inset: 0;
    }

    /* The slides wrapper must also be absolute-filling */
    .hero-slides-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    /* Row: fill full height, content at bottom */
    .hero-slide .row {
        min-height: unset;
        height: 100%;
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .hero-slide-content {
        padding: 0 0 4px;
        text-align: left;
    }

    .hero-label {
        font-size: 10px;
        padding: 6px 12px;
        letter-spacing: 0.8px;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-desc {
        font-size: 12.5px;
        line-height: 1.6;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        font-size: 12px;
        padding: 9px 14px;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hero-arrow-prev {
        left: 8px;
    }

    .hero-arrow-next {
        right: 8px;
    }

    .hero-dots {
        bottom: 10px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    /* GENERAL */
    .section-title {
        font-size: 26px;
    }

    .counter-box h4 {
        font-size: 26px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large, .bento-wide, .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-bottom-features {
        margin-top: 0;
        padding-top: 28px;
        padding-bottom: 8px;
    }

    .feature-box {
        margin-bottom: 10px;
    }
}

/* ---- 480px extra small ---- */
@media (max-width: 480px) {
    .logo-image-wrap {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .logo-abbr {
        font-size: 24px;
    }

    .logo-sub-abbr {
        font-size: 13px;
    }

    .logo-tagline {
        max-width: 170px;
        font-size: 8.5px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 12px;
    }

    .hero-label {
        font-size: 9px;
        padding: 5px 10px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        font-size: 11px;
        padding: 8px 11px;
        white-space: nowrap;
    }
}

/* ---- 360px minimum ---- */
@media (max-width: 360px) {
    .logo-tagline {
        display: none;
    }

    .hero-title {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        font-size: 10px;
        padding: 7px 9px;
        white-space: nowrap;
        flex: 0 1 auto;
    }
}
