/* ============================================================
   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.html') format('woff2');
    font-weight: 700;
}

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

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

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

@font-face {
    font-family: 'Cormorant';
    src: url('Assets/fonts/CormorantGaramond-Regular.html') 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: 27px;
    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: #fff;
        }

.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: #fff;
    }

/* Main Header */
.main-header {
    background: var(--white);
    padding: 5px 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: 400px;
    height: auto;
    min-width: 70px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Actual Image */
.college-logo-img {
    width: 100%;
    height: 100%;
}


/* 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: end;
    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: 45px;
    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: 465px;
    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: auto;
    min-width: 72px;
    background: rgba(255,255,255,0.12);
    border-radius: 15px;
    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%;
}

/* 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: 21px;
    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: 19px;
    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;
    }

.footer-contact-list li {
    display: flex;
    column-gap: 15px;
    align-items: baseline;
}


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

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

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

.footer-links {
    list-style: none;
    padding-left:0;
}

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

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

        .footer-links a:hover {
            color: #fff;
            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;
}

/* =========================================
   PAGE LOADER
========================================= */

.page-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ffffff 0%, #edf4ff 45%, #dceaff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}


    /* Background animated glow */

    .page-loader:before,
    .page-loader:after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(0, 123, 255, 0.08);
        filter: blur(40px);
        animation: floatGlow 4s infinite alternate ease-in-out;
    }

    .page-loader:before {
        top: -100px;
        left: -100px;
    }

    .page-loader:after {
        bottom: -100px;
        right: -100px;
        animation-delay: 1s;
    }


@keyframes floatGlow {

    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(40px, 40px) scale(1.2);
    }
}


/* Loader main box */

.loader-box {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: loaderEntrance 0.8s ease;
}


@keyframes loaderEntrance {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================
   CIRCULAR LOADER
========================================= */

.loader-circle {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.progress-ring {
    position: absolute;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.35));
}


.progress-ring-bg {
    fill: none;
    stroke: #d8e5f7;
    stroke-width: 8;
}


.progress-ring-progress {
    fill: none;
    stroke: #0d366e;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 597;
    stroke-dashoffset: 597;
    transition: stroke-dashoffset 0.05s linear;
}


/* Logo center */

.loader-logo-box {
    width: 165px;
    height: 165px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12), inset 0 0 20px rgba(22,119,255,0.05);
}


.loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: logoPulse 2s infinite ease-in-out;
    border-radius: 50%;
}


@keyframes logoPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}


/* Percentage */

.loader-percent {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 700;
    color: #0d366e;
    font-family: Arial, sans-serif;
}


/* Loading text */

.loader-text {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}


/* Animated dots */

.loading-dots {
    display: flex;
    gap: 4px;
}


    .loading-dots i {
        width: 6px;
        height: 6px;
        background: #0d366e;
        border-radius: 50%;
        animation: dotBounce 1.2s infinite ease-in-out;
    }


        .loading-dots i:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-dots i:nth-child(3) {
            animation-delay: 0.4s;
        }


@keyframes dotBounce {

    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-7px);
        opacity: 1;
    }
}


/* Hide loader */

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================
   POPUP
========================================= */

.overlay-main {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}


.overlay-main-content {
    position: relative;
    z-index: 999;
    animation: popupZoom 0.6s ease;
}


@keyframes popupZoom {

    from {
        opacity: 0;
        transform: scale(0.7) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Close Button */

.close-button {
    text-align: right;
    position: absolute;
    z-index: 10;
    margin-bottom: 5px;
    top: 50px;
    right: 0;
}


    .close-button i {
        color: #fff;
        background: #e53935;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 16px;
        line-height: 28px;
        text-align: center;
        border: 2px solid #fff;
        cursor: pointer;
        transition: 0.3s;
    }





/* Popup Image */

.img-and-content {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    box-shadow: 0px 10px 40px rgba(0,0,0,0.35);
    text-decoration: none !important;
    transition: 0.4s;
    width: 400px;
    margin: 50px auto 0;
}





    .img-and-content img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }


/* Mobile */

@media screen and (max-width: 767px) {

    .loader-circle {
        width: 190px;
        height: 190px;
    }


    .progress-ring {
        width: 190px;
        height: 190px;
    }


    .loader-logo-box {
        width: 140px;
        height: 140px;
    }


    .loader-logo {
        width: 80px;
        height: 80px;
    }


    .img-and-content img {
        width: 180px;
        height: 180px;
    }
}

/*============== end of popup ==================*/

/* =========================================
   ATTRACTIVE ANNOUNCEMENT / NOTICE BOARD
========================================= */

.header-mid {
    position: relative;
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(135deg, #0b2b5e, #123f85, #0b2b5e);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

    /* Animated background shine */
    .header-mid::before {
        content: "";
        position: absolute;
        top: 0;
        left: -30%;
        width: 30%;
        height: 100%;
        background: rgba(255, 255, 255, 0.08);
        transform: skewX(-25deg);
        animation: announcementShine 4s infinite linear;
    }

@keyframes announcementShine {
    0% {
        left: -30%;
    }

    100% {
        left: 120%;
    }
}

.notice-board {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 42px;
    overflow: hidden;
}

    /* Announcement Label */
    .notice-board strong {
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        color: #fff;
        background: linear-gradient(135deg, #df1f06, #C62828);
        padding: 9px 20px;
        margin-right: 15px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

        /* Red notification dot */
        .notice-board strong::before {
            content: "";
            width: 8px;
            height: 8px;
            background: #fff;
            border-radius: 50%;
            margin-right: 8px;
            animation: noticePulse 1.5s infinite;
        }

@keyframes noticePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Marquee Area */
.notice-board marquee {
    flex: 1;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

    /* Notice Link */
    .notice-board marquee a {
        position: relative;
        color: #fff !important;
        text-decoration: none !important;
        transition: 0.3s ease;
    }

        /* Hover effect */
        .notice-board marquee a:hover {
            color: #ffd166 !important;
        }

    /* Notice text */
    .notice-board marquee span {
        display: inline-block;
        padding: 2px 10px;
    }


.filter-button {
    width: 195px;
    font-size: 18px;
    border: 2px solid #0d366e;
    padding: 5px 10px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    background: transparent;
    display: inline-block;
    background-color: #0d366e;
    cursor: pointer;
}

    .filter-button:hover,
    .filter-button:focus,
    .filter-button.active {
        background-color: #b32424;
    }

.leader_b {
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(34, 34, 34, 0.2);
    transition: all 0.3s ease 0s;
    overflow: hidden;
    margin-bottom: 15px;
}


    .leader_b iframe {
        width: 100%;
        height: 250px;
    }

.download-img {
    height: 32px;
}

.table-content {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.08);
    background: #fff;
}

    .table-content table, th, td {
        border: 1px solid #000;
    }

        .table-content table th {
            background: #0d366e !important;
            color: #fff !important;
        }


.faculty-single {
    padding: 20px;
    background: #0d366e;
    text-align: center;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    transition: .5s;
}

    .faculty-single:hover {
        background: #C00415;
    }

    .faculty-single figure {
        width: 160px;
        height: 160px;
        margin: 0 auto 20px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid #C00415;
        transition: .7s;
        background: #bbb;
    }

    .faculty-single:hover figure {
        width: 70px;
        height: 70px;
        border: 2px solid #fff;
    }

    .faculty-single figure img {
        width: 100%;
    }

.faculty-details div {
    opacity: 0;
    transition: 1s;
    margin-bottom: -30%;
    padding-top: 10px;
}

.faculty-single:hover div {
    opacity: 1;
    margin-bottom: -0%;
}

.faculty-single h3 {
    font-size: 22px;
    color: #fff;
    line-height: normal;
    font-weight: 600;
    transition: .7s;
}

    .faculty-single h3 small {
        font-weight: 500;
        display: block;
        line-height: 16px;
        margin: 0 0 10px 0;
        font-size: 15px;
        transition: .7s;
        color: #fff;
    }

.faculty-single:hover h3, .faculty-single:hover h3 small, .faculty-single:hover p {
    color: #fff;
}

.faculty-single p {
    font-size: 15px;
    line-height: normal;
    transition: .7s;
}


.topper-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

    .topper-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    }


/* =====================================
   IMAGE
===================================== */

.topper-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #eee;
}

    .topper-image img {
        width: 100%;
        height: 100%;
        transition: transform 0.6s ease;
    }

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(15, 32, 55, 0.35), transparent 60% );
}


/* =====================================
   RANK BADGE
===================================== */

.rank-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #a67c00);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

    .rank-badge span {
        font-size: 20px;
        font-weight: 800;
        line-height: 20px;
    }

    .rank-badge small {
        font-size: 9px;
        letter-spacing: 1px;
    }


/* Rank 2 */

.rank-two {
    background: linear-gradient(135deg, #9fa7ad, #5d646a);
}


/* Rank 3 */

.rank-three {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
}


/* =====================================
   DETAILS
===================================== */

.topper-details {
    padding: 25px 25px 0;
    text-align: center;
}

    .topper-details h3 {
        color: #172238;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 5px;
    }

.course-name {
    color: #b00000;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}


/* =====================================
   PERCENTAGE
===================================== */

.percentage-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: #f7f9fc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.percentage {
    font-size: 34px;
    font-weight: 800;
    color: #b00000;
    line-height: 1;
}

    .percentage small {
        font-size: 18px;
    }

.achievement-text {
    text-align: left;
    font-size: 12px;
    color: #777;
    line-height: 18px;
}


/* =====================================
   SESSION / RESULT
===================================== */

.topper-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #999;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item strong {
    color: #26364f;
    font-size: 13px;
}

.info-divider {
    width: 1px;
    height: 35px;
    background: #ddd;
}

.object-position-bottom {
    object-position: bottom;
}

.contact-us-page-sec {
    padding: 50px 0px;
}

.bjpa-ami {
    font-size: 27px;
    font-weight: 500;
}

.dhvhsa-ami {
    line-height: 25px;
}

.djbda-ami {
    background: linear-gradient(#2361a31a, #ffffff, #2361a31a);
    text-align: center;
    color: black;
    padding: 20px;
    border-radius: 20px;
    height: 100%;
}

.dubdaami {
    color: #4f4646;
    margin-bottom: 0px;
    font-style: italic;
    font-weight: 600;
}

.ddia-ami {
    font-size: 18px;
    margin: 7px 0px 5px 0px;
    font-weight: 600;
}

.background-1 {
    background: #ff00000f;
}

.background-2 {
    background: #00800029;
}

.background-3 {
    background: #ecae0626;
}

.background-4 {
    background: #b1daff61;
}

.background-5 {
    background: #996d0c42;
}

.dubdaami {
    line-height: 20px;
    font-size: 14px;
}

.contact-left-bg {
    background: url(../images/contact-left-bg.png) left 30px no-repeat;
    width: 100%;
    clear: both;
    padding: 20px 0 60px;
}

.contact-area {
    width: 100%;
    clear: both;
    margin: 30px 0 0;
    padding: 30px;
    background: #082b61;
    border-radius: 15px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .15);
    position: relative;
}

    .contact-area .contact-form-box {
        width: 450px;
        /* padding: 30px; */
        background: #f1f1f1;
        border-radius: 20px;
        box-shadow: 7px 7px 15px rgba(0, 0, 0, .2);
        color: #9b9b9b;
        position: absolute;
        left: -200px;
        top: 30px;
    }

    .contact-area .contact-form-box {
        top: 80px;
    }

        .contact-area .contact-form-box h3 {
            font-size: 30px;
            color: #313131;
            margin: 0 0 6px;
            text-align: left;
            font-weight: 400;
        }

        .contact-area .contact-form-box p {
            font-style: italic;
        }

    .contact-area .contact-form-row {
        margin-top: 20px;
    }

        .contact-area .contact-form-row .inp-box, .image-upload {
            width: 100%;
            position: relative;
            margin-top: 15px;
        }

        .contact-area .contact-form-row input {
            border: none;
            width: 100%;
            color: #8c8c8c;
            border-bottom: 2px solid #d9d9d9;
            height: 40px;
            background: 0 0;
            border-radius: 0;
            padding-left: 40px;
        }

        .contact-area .contact-form-row .intl-tel-input, .icici-business-credit .intl-tel-input, .round-tabs .nav-tabs li a .icon, .why-choose-opt .modal-header h4 {
            margin-bottom: 0;
        }

    .contact-area .valMsg {
        font-size: 13px;
        position: absolute;
        right: 0;
        top: 12px;
    }

    .contact-area .contact-details h3 {
        text-align: left;
        color: #fff;
        font-size: 25px;
        position: relative;
    }

        .contact-area .contact-details h3:after {
            width: 70px;
            height: 3px;
            position: absolute;
            content: "";
            left: 0;
            bottom: -17px;
            background: #fff;
        }

    .contact-area .contact-details .support-detail, .contact-area .contact-form-row, .packageSec .planBox .mt-20 {
        margin-top: 27px;
        width: 100%;
    }

        .contact-area .contact-details .support-detail .dsk_view {
            font-weight: 500;
            font-size: 16px;
        }

.col-md-offset-3 {
    margin-left: 20%;
}

.contact-area .contact-details {
    padding: 5px 0 0 265px;
    color: #fff;
    font-size: 16px;
}

.contact-us-img-ami {
    height: 369px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    object-position: top;
}

.dbjbd-ami-new {
    position: relative;
}

    .dbjbd-ami-new:before {
        position: absolute;
        background: linear-gradient(to right, rgb(0 0 0), #00000033);
        top: 0;
        bottom: 0;
        left: 0;
        border-radius: 20px;
        right: 0;
        content: '';
    }

.contact-img-cont {
    position: absolute;
    font-style: italic;
    top: 17%;
    padding: 38px;
}

    .contact-img-cont h4 {
        font-size: 26px;
        font-weight: 700;
    }

.jdguaoa-ami {
    font-size: 13px;
    border-radius: 2px;
    background: transparent;
    color: white;
    padding-left: 13px;
    margin-top: 10px;
    border: 0px;
    border-bottom: 1px solid transparent;
}

    .jdguaoa-ami:focus {
        background-color: transparent;
        color: white;
        border-color: transparent;
        box-shadow: none;
    }

    .jdguaoa-ami::placeholder {
        color: #fff;
        opacity: 1;
    }

.jdvdk-ami {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #ffffffab;
}

.clr-mandatory {
    color: #fb9292;
}

.jdguaoa-ami option {
    color: black;
}

.w-ami-50 {
    width: 50% !important;
}

.djbdkbd-ami {
    display: flex;
    flex-wrap: wrap;
}

.dhvhd-amidg {
    padding-left: 20px;
}

.cont-img i {
    font-size: 24px;
    color: #082b61;
}

.jdvdk-ami i {
    opacity: .8;
}

.btn-color {
    border-radius: 30px;
    padding: 6px 35px;
    color: #fff;
    background: #8b0000;
    outline: none;
    border: none;
}

/* =========================================
   AWARDS & ACHIEVEMENTS SECTION
========================================= */

.awards-achievement-section {
    position: relative;
    padding: 100px 0;
    background: #f7f9fc;
    overflow: hidden;
}

    /* Background Decorative Shapes */

    .awards-achievement-section:before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(255, 193, 7, 0.08);
        top: -150px;
        left: -100px;
    }

    .awards-achievement-section:after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(0, 123, 255, 0.05);
        bottom: -150px;
        right: -100px;
    }



/* =========================================
   IMAGE SECTION
========================================= */

.awards-image-box {
    position: relative;
    padding: 12px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

    .awards-image-box img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 18px;
        display: block;
    }


/* Achievement Badge */

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #d69e00;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

    .experience-badge strong {
        font-size: 38px;
        font-weight: 700;
        line-height: 1;
    }

    .experience-badge span {
        font-size: 13px;
        margin-top: 7px;
    }


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

.achievement-content {
    position: relative;
    z-index: 1;
}

    .achievement-content h3 {
        font-size: 34px;
        font-weight: 700;
        line-height: 1.3;
        color: #1d2b3a;
        margin-bottom: 20px;
    }

    .achievement-content > p {
        color: #6c757d;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 15px;
    }


/* =========================================
   ACHIEVEMENT LIST
========================================= */

.achievement-list {
    margin-top: 30px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

    .achievement-item:hover {
        transform: translateX(8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.10);
    }


/* Icon */

.achievement-icon {
    min-width: 58px;
    height: 58px;
    border-radius: 15px;
    background: linear-gradient(135deg, #d69e00, #f5c542);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 18px;
}


/* Text */

.achievement-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1d2b3a;
    margin-bottom: 7px;
}

.achievement-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   BUTTON
========================================= */

.awards-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    margin-top: 20px;
    background: #1d2b3a;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .awards-btn:hover {
        background: #d69e00;
        color: #fff;
        transform: translateY(-3px);
    }

    .awards-btn i {
        transition: 0.3s;
    }

    .awards-btn:hover i {
        transform: translateX(5px);
    }


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

@media (max-width: 991px) {

    .awards-achievement-section {
        padding: 70px 0;
    }

    .awards-heading {
        margin-bottom: 45px;
    }

        .awards-heading h2 {
            font-size: 34px;
        }

    .achievement-content {
        margin-top: 30px;
    }

    .awards-image-box img {
        height: auto;
        min-height: 400px;
    }
}


@media (max-width: 576px) {

    .awards-heading h2 {
        font-size: 28px;
    }

    .achievement-content h3 {
        font-size: 26px;
    }

    .achievement-item {
        padding: 15px;
    }

    .achievement-icon {
        min-width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 12px;
    }

    .experience-badge {
        width: 110px;
        height: 110px;
        bottom: -20px;
        right: 0;
    }

        .experience-badge strong {
            font-size: 28px;
        }

        .experience-badge span {
            font-size: 11px;
        }
}

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

    .header-mid {
        padding: 5px 0;
    }

    .notice-board {
        min-height: 38px;
    }

        .notice-board strong {
            font-size: 11px;
            padding: 8px 10px;
            margin-right: 8px;
            white-space: nowrap;
        }

            .notice-board strong::before {
                width: 6px;
                height: 6px;
                margin-right: 5px;
            }

        .notice-board marquee {
            font-size: 12px;
        }
}



/* ==============================
   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: 0px;
    }

    .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;
    }
    .footer-text {
        text-align:justify;
        font-size: 14px;
    }
}
.custom-text-center{
    text-align:end;
}
/* ---- 767px mobile ---- */
@media (max-width: 767px) {
    html, body {
        width:100%;
        overflow-x:hidden;
    }
    

    /* 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: 100%;
        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: 200px;
        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: 25px;
    }

    .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;
    }
    .main-navbar {
        padding: 5px;
        justify-content: start;
    }

    .section-padding {
        padding:40px 0;
    }

    .admission-cta-strip h2 {
        font-size: 29px;
    }
    .admission-cta-strip p {
        font-size: 15px;
    }

    .site-footer {
        padding-top:30px;
    }

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

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

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

    .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;
    }
}
