/* ================================================
   MANYAVAR KANSHIRAM COLLEGE OF PHARMACY
   Premium Design System — style.css
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0d3b6e;
    --primary-dark: #07254a;
    --primary-light: #1565c0;
    --accent: #e6a817;
    --accent-dark: #c8870a;
    --accent-light: #ffc947;
    --white: #ffffff;
    --off-white: #f5f7fb;
    --light-grey: #e8ecf4;
    --text: #1a2340;
    --text-muted: #5a6683;
    --success: #2e7d32;
    --danger: #c62828;
    --shadow-sm: 0 2px 12px rgba(13, 59, 110, .08);
    --shadow-md: 0 8px 32px rgba(13, 59, 110, .14);
    --shadow-lg: 0 16px 56px rgba(13, 59, 110, .18);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 24px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    overscroll-behavior-y: none;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    overscroll-behavior-y: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section ---------- */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ---------- Admission Ticker ---------- */
.admission-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: .82rem;
    font-weight: 600;
    height: 36px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0;
}

.ticker-icon {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 38s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0 !important;
    margin-top: 0 !important;
    z-index: 1000;
    background: var(--primary-dark);
    box-shadow: 0 2px 12px rgba(13, 59, 110, .12);
    transition: box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    will-change: transform;
    isolation: isolate;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(13, 59, 110, .22);
}

/* Top contact bar */
.nav-topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    padding: 10px 0;
}

.nav-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-topbar-left {
    opacity: .80;
}

.nav-topbar-left i {
    color: var(--accent-light);
    margin-right: 4px;
}

.nav-topbar-right {
    display: flex;
    gap: 16px;
}

.nav-topbar-right a {
    color: rgba(255, 255, 255, .85);
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.nav-topbar-right a:hover {
    color: var(--accent-light);
}

/* Main nav row */
.nav-main {
    background: var(--white);
    margin: 0;
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link i {
    font-size: .72rem;
    color: var(--primary-light);
}

.nav-item.active .nav-link,
.nav-link:hover {
    color: var(--primary);
    background: var(--off-white);
}

.nav-item.active .nav-link {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    border-radius: 0;
    background: transparent;
}

.btn-admission {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important;
    padding: 9px 18px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: .82rem;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(230, 168, 23, .35);
}

.btn-admission:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 168, 23, .5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- HERO SLIDER ---------- */
.hero {
    position: relative;
    height: 88vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slides {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(7, 37, 74, .85) 0%, rgba(7, 37, 74, .45) 55%, rgba(7, 37, 74, .1) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    z-index: 5;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: fadeInDown .8s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    animation: fadeInDown 1s .2s ease both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.hero-title span {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: clamp(.95rem, 1.8vw, 1.2rem);
    opacity: .92;
    margin-bottom: 16px;
    animation: fadeInDown 1s .35s ease both;
    max-width: 550px;
}

.hero-pci {
    display: inline-block;
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 28px;
    animation: fadeInDown 1s .45s ease both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInDown 1s .6s ease both;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 24px rgba(230, 168, 23, .5);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-light);
    box-shadow: 0 10px 30px rgba(230, 168, 23, .6);
}

.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, .7);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .15);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    color: var(--white);
    opacity: .8;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .4);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-nav-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    transition: var(--transition);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    transition: var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(255, 255, 255, .06);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: .82rem;
    font-weight: 500;
    opacity: .85;
    letter-spacing: .5px;
}

/* ---------- DIRECTOR SECTION ---------- */
.director-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.director-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 168, 23, .12), transparent 70%);
    pointer-events: none;
}

.director-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: center;
}

.director-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Decorative background block */
.director-img-bg {
    display: none;
    /* removed - was causing layout shift */
}

.director-img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    display: block;
    background: var(--light-grey);
}

.director-name-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    margin-top: 18px;
    letter-spacing: .5px;
    box-shadow: var(--shadow-sm);
}

.director-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--primary);
    margin-bottom: 6px;
}

.director-info h3 {
    font-size: .95rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.director-quote {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 24px;
    background: rgba(230, 168, 23, .06);
    padding: 18px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.director-highlights {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.d-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.d-highlight i {
    color: var(--accent-dark);
    font-size: 1rem;
}

/* ---------- FACILITIES CARDS ---------- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.facility-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 101, 192, .2);
}

.facility-card:hover::before {
    transform: scaleX(1);
}

.facility-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin: 0 auto 18px;
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    transform: scale(1.08);
}

.facility-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.facility-card p {
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- COURSE HIGHLIGHT ---------- */
.course-highlight-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.course-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.course-hl-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 14px;
    color: var(--white);
}

.course-hl-info h2 span {
    color: var(--accent-light);
}

.course-hl-info p {
    opacity: .88;
    font-size: .98rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.course-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.course-meta-item i {
    color: var(--accent-light);
}

.btn-course {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(230, 168, 23, .4);
}

.btn-course:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(230, 168, 23, .6);
    background: var(--accent-light);
}

.course-hl-subjects {
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .12);
}

.year-tab {
    margin-bottom: 20px;
}

.year-tab-title {
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 12px;
    font-size: .88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subject-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: .83rem;
    opacity: .92;
}

.subject-list li:last-child {
    border-bottom: none;
}

.subject-list li i {
    color: var(--accent);
    font-size: .8rem;
    flex-shrink: 0;
}

/* ---------- GALLERY PREVIEW ---------- */
.gallery-preview {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 37, 74, .75), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-view-all {
    text-align: center;
    margin-top: 32px;
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- AFFILIATION RIBBON ---------- */
.affil-ribbon {
    background: var(--white);
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
}

.affil-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.affil-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
}

.affil-item i {
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.affil-separator {
    width: 1px;
    height: 40px;
    background: var(--light-grey);
}

/* ---------- TESTIMONIAL / VISION  ---------- */
.about-snippet {
    background: var(--white);
}

.about-snap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-snap-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-snap-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
}

.about-snap-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--primary);
    margin-bottom: 14px;
}

.about-snap-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: .96rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.vm-card {
    background: var(--off-white);
    border-radius: var(--radius-sm);
    padding: 18px;
    border-left: 3px solid var(--accent);
}

.vm-card h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vm-card p {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    padding: 40px 0;
    text-align: center;
}

.cta-strip h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    color: var(--white);
    margin-bottom: 8px;
}

.cta-strip p {
    color: rgba(255, 255, 255, .9);
    margin-bottom: 22px;
}

.btn-cta-white {
    background: var(--white);
    color: var(--accent-dark);
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    color: var(--primary);
}

/* ---------- INNER PAGES: PAGE HERO ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0 50px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('gallery/college-front.webp') center/cover no-repeat;
    opacity: .12;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .82rem;
    opacity: .8;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: var(--accent-light);
}

.breadcrumb span i {
    font-size: .6rem;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-hero p {
    opacity: .88;
    max-width: 600px;
    margin: 0 auto;
    font-size: .98rem;
}

/* ---------- ABOUT PAGE ---------- */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.info-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.info-card p {
    font-size: .82rem;
    color: var(--text-muted);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.about-img-stack {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-img-badge .big-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-img-badge small {
    font-size: .72rem;
    display: block;
    opacity: .9;
    margin-top: 3px;
}

/* ---------- COURSES PAGE ---------- */
.course-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
}

.course-overview-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
}

.course-overview-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-overview-card h3 i {
    color: var(--accent-dark);
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: .88rem;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li strong {
    min-width: 110px;
    color: var(--primary);
    font-weight: 600;
}

.detail-list li span {
    color: var(--text-muted);
}

.syllabus-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.syllabus-year {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 28px;
    border-top: 4px solid var(--primary);
}

.syllabus-year.year-two {
    border-top-color: var(--accent);
}

.syllabus-year h3 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    font-size: .95rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.syl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 10px;
    font-size: .85rem;
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.syl-item:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.syl-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.year-two .syl-num {
    background: var(--accent-dark);
}

.eligibility-section {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 36px;
    margin-top: 40px;
}

.eligibility-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.elig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.elig-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    border-left: 3px solid var(--primary);
}

.elig-card h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.elig-card p {
    font-size: .82rem;
    color: var(--text-muted);
}

/* ---------- FACILITIES FULL PAGE ---------- */
.facilities-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.facility-full-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.facility-full-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 101, 192, .2);
}

.facility-full-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 28px 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
}

.facility-full-header i {
    font-size: 2rem;
    color: var(--accent-light);
}

.facility-full-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.facility-full-header p {
    font-size: .78rem;
    opacity: .8;
    margin-top: 3px;
}

.facility-full-body {
    padding: 20px 24px;
}

.facility-features {
    margin-top: 8px;
}

.facility-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: .83rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--light-grey);
}

.facility-features li:last-child {
    border-bottom: none;
}

.facility-features li i {
    color: var(--success);
    font-size: .8rem;
    flex-shrink: 0;
}

/* ---------- GALLERY PAGE ---------- */
.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-full-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-full-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-full-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 37, 74, .8), rgba(7, 37, 74, .2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-full-overlay i {
    font-size: 2rem;
}

.gallery-full-overlay span {
    font-size: .85rem;
    font-weight: 600;
}

.gallery-full-item:hover .gallery-full-overlay {
    opacity: 1;
}

.gallery-full-item:hover img {
    transform: scale(1.08);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    gap: 16px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card-body h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-card-body p,
.contact-card-body a {
    font-size: .83rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.7;
}

.contact-card-body a:hover {
    color: var(--primary);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-grey);
}

.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--light-grey);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .88rem;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 13px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(13, 59, 110, .3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(13, 59, 110, .4);
}

.form-success {
    display: none;
    background: rgba(46, 125, 50, .1);
    border: 1px solid rgba(46, 125, 50, .3);
    border-radius: var(--radius-sm);
    padding: 14px;
    color: var(--success);
    font-size: .88rem;
    text-align: center;
    margin-top: 12px;
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.map-wrap iframe {
    display: block;
    border: none;
    filter: hue-rotate(195deg) saturate(.8);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .82);
}

.footer-top {
    padding: 64px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 36px;
}

/* Footer brand - matches navbar style */
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo-icon {
    height: 46px;
    width: auto;
    max-width: 46px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(1.2);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-main {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-brand-sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--accent-light);
    line-height: 1.2;
}

.footer-brand p {
    font-size: .8rem;
    line-height: 1.8;
    opacity: .78;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, .12);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.footer-col h4 {
    color: var(--white);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: .82rem;
    opacity: .78;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.footer-links a i {
    color: var(--accent);
    font-size: .65rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .8rem;
    align-items: flex-start;
}

.footer-contact-list li i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-list a {
    opacity: .82;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-affil {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.affil-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .07);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.affil-badge i {
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.affil-badge span {
    font-size: .8rem;
    line-height: 1.4;
}

.affil-badge span small {
    opacity: .7;
    font-size: .7rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, .25);
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .78rem;
    opacity: .7;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .director-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .director-img-bg {
        display: none;
    }

    .course-highlight-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-snap-grid {
        grid-template-columns: 1fr;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .course-overview-grid {
        grid-template-columns: 1fr;
    }

    .syllabus-tabs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-topbar-left {
        display: none;
    }

    .nav-topbar-right {
        gap: 10px;
    }

    .nav-topbar-right a {
        font-size: .72rem;
    }

    .admission-ticker {
        font-size: .75rem;
    }

    .ticker-icon {
        padding: 0 10px;
        font-size: .7rem;
        gap: 4px;
    }


    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px 16px 16px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        align-items: stretch;
        border-top: 2px solid var(--accent);
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        padding: 11px 14px;
        border-radius: var(--radius-sm);
        justify-content: flex-start;
    }

    .btn-admission {
        border-radius: var(--radius-sm) !important;
        justify-content: center;
    }

    .hero {
        height: 80vh;
        min-height: 550px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        text-align: center;
        justify-content: center;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .director-highlights {
        gap: 10px;
        justify-content: center;
    }

    .section {
        padding: 56px 0;
    }

    .affil-ribbon-inner {
        gap: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .affil-item {
        justify-content: center;
    }

    .affil-separator {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 85vh;
        min-height: 580px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
    }

    .gallery-full-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-wrap {
        padding: 22px;
    }
}