@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
    --primary: #1a3a8f;
    --primary-dark: #0f2460;
    --primary-light: #2d56c8;
    --gold: #c9a227;
    --gold-light: #f0c040;
    --gold-dark: #a07d10;
    --white: #ffffff;
    --light-bg: #f4f7fe;
    --gray: #6b7280;
    --dark: #1a1a2e;
    --text: #2d3748;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(26, 58, 143, 0.10);
    --shadow-lg: 0 8px 40px rgba(26, 58, 143, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--gold);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold-light);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--gold-light);
}

/* ===== NEWS TICKER ===== */
.news-ticker {
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--primary);
    color: var(--white);
    padding: 0 18px;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.5px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    display: inline-flex;
    animation: ticker-scroll 35s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    padding: 0 40px;
}

.ticker-content span::before {
    content: "◆ ";
    color: var(--primary);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== HEADER / NAVBAR ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(26, 58, 143, 0.10);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.college-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    border: 3px solid var(--gold);
    flex-shrink: 0;
}

.college-name h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.college-name span {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
    display: block;
}

.college-name .naac-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* NAVBAR */
nav {
    background: var(--primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 14px 16px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu>li:hover>.dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 3px solid var(--gold);
    z-index: 999;
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.85rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--light-bg);
    color: var(--primary);
    padding-left: 26px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SECTIONS ===== */
section {
    padding: 72px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.section-header h2 span {
    color: var(--gold);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
    margin: 0 auto 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 58, 143, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 143, 0.45);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.82rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4fc2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-banner.png') center/cover no-repeat;
    opacity: 0.18;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 80, 0.92) 0%, rgba(26, 58, 143, 0.75) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-60px) translateX(20px);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 58%;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-badge i {
    color: var(--gold-light);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--gold-light);
    display: block;
}

.hero-marathi {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Noto Sans Devanagari', sans-serif;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    display: block;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.hero-image-col {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.hero-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(201, 162, 39, 0.4);
    width: 90%;
    max-width: 460px;
    animation: heroImgFloat 4s ease-in-out infinite;
}

@keyframes heroImgFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-img-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--primary);
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

.stat-item:hover::before {
    width: 100%;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ===== COURSES GRID ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.course-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.course-icon {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.course-body {
    padding: 20px;
}

.course-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.course-body p {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 14px;
    line-height: 1.6;
}

.course-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--primary-light);
    color: var(--primary);
}

/* ===== ANNOUNCEMENTS ===== */
.announcements-section {
    background: var(--light-bg);
}

.announcements-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.notice-item:hover {
    border-left-color: var(--gold);
    transform: translateX(4px);
}

.notice-date {
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 50px;
    flex-shrink: 0;
}

.notice-date .day {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.notice-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.notice-text p {
    font-size: 0.78rem;
    color: var(--gray);
}

.notice-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: #d1fae5;
    color: #065f46;
}

.badge-exam {
    background: #fee2e2;
    color: #991b1b;
}

.badge-event {
    background: #dbeafe;
    color: #1e40af;
}



.event-card-mini {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
    transition: var(--transition);
}

.event-card-mini:hover {
    box-shadow: var(--shadow-lg);
}

.event-date-mini {
    background: var(--gold);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    min-width: 44px;
    flex-shrink: 0;
}

.event-date-mini .day {
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.event-date-mini .month {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.event-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.event-info p {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== PRINCIPAL MESSAGE ===== */
.principal-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.principal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 52px;
    align-items: center;
}

.principal-img-wrap {
    text-align: center;
}

.principal-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid var(--gold);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    object-fit: cover;
}

.principal-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 16px;
}

.principal-title {
    color: var(--gold-light);
    font-size: 0.82rem;
}

.principal-content .quote-mark {
    font-size: 5rem;
    line-height: 0.5;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 16px;
}

.principal-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.principal-content .section-tag {
    margin-bottom: 20px;
}

/* ===== ACHIEVEMENTS ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.achievement-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.achievement-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.achievement-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== QUICK LINKS ===== */
.quick-links-section {
    background: var(--light-bg);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.quick-link-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.quick-link-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.quick-link-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    transition: var(--transition);
}

.quick-link-card:hover i {
    color: var(--gold);
    transform: scale(1.1);
}

.quick-link-card span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    display: block;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 143, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .college-logo {
    margin-bottom: 16px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--gold);
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.contact-info li i {
    color: var(--gold-light);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom span {
    color: var(--gold-light);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/campus.png') center/cover no-repeat;
    opacity: 0.08;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
    color: var(--gold-light);
}

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== ABOUT PAGE ===== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-float span {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-badge-float small {
    font-size: 0.72rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0 26px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1rem;
}

/* Vision Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vm-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.vm-card.vision {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.vm-card.mission {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary-dark);
}

.vm-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.vm-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.vm-card ul li {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    opacity: 0.9;
}

.vm-card ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    font-size: 0.6rem;
    top: 5px;
}

/* ===== FACULTY CARDS ===== */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.faculty-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.faculty-avatar {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.faculty-info {
    padding: 16px;
}

.faculty-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.faculty-info .designation {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.faculty-info .qualification {
    font-size: 0.73rem;
    color: var(--gray);
}

/* ===== FACILITIES ===== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.facility-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.facility-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.facility-card:hover .facility-img img {
    transform: scale(1.06);
}

.facility-body {
    padding: 20px;
    background: var(--white);
}

.facility-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.facility-body p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== ADMISSION FORM ===== */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 4px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    color: var(--gold-light);
}

.contact-detail-text h4 {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 3px;
}

.contact-detail-text p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.map-placeholder {
    background: var(--light-bg);
    border-radius: var(--radius);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    border: 2px dashed var(--border);
    flex-direction: column;
    gap: 8px;
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--primary);
}

/* ===== NOTICE BOARD (full page) ===== */
.notices-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.notice-full {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.notice-full-header {
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.notice-full-list {
    padding: 20px;
}

.notice-row {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.notice-row:last-child {
    border-bottom: none;
}

.notice-row .type-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notice-row .notice-meta {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 4px;
}

.notice-row h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.download-link {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.download-link:hover {
    color: var(--gold-dark);
}

/* ===== ADMISSIONS page ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 16px rgba(26, 58, 143, 0.3);
    border: 3px solid var(--white);
}

.step-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-gold {
    color: var(--gold);
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}

.bg-light {
    background: var(--light-bg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
    }

    .hero-image-col {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .principal-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .principal-img-wrap {
        margin-bottom: 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-badge-float {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 48px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 4px;
        font-size: 0.72rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu>li>a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: rgba(0, 0, 0, 0.2);
    }

    .dropdown li a {
        color: rgba(255, 255, 255, 0.8);
        padding-left: 32px;
    }

    .dropdown li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--gold-light);
    }

    nav .container {
        position: relative;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .notices-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
    }

    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .form-card {
        padding: 24px 16px;
    }
}

/* ===== STUDENT LOGIN ===== */
.login-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 24px rgba(26, 58, 143, 0.4);
    transition: var(--transition);
    z-index: 999;
    font-family: inherit;
}

.login-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(26, 58, 143, 0.5);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s;
    position: relative;
}

.modal-overlay.open .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.modal .modal-sub {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.modal .logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}