/* ========== ROOT VARIABLES & RESET ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
    --primary: #0a1e3d;
    --primary-dark: #061428;
    --primary-light: #1a3a6b;
    --accent: #c8a23c;
    --accent-light: #e0c060;
    --accent-dark: #9a7b20;
    --maroon: #7b1f2e;
    --maroon-light: #9e3040;
    --white: #ffffff;
    --off-white: #f5f5f0;
    --gray-light: #eaeaea;
    --gray: #999;
    --text-dark: #222;
    --text-medium: #555;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    overflow-x: hidden;
    line-height: 1.7;
}

.hindi-text {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

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

.top-bar-right {
    display: flex;
    gap: 10px;
}

.top-btn {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* ========== HEADER ========== */
.main-header {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-area {
    flex-shrink: 0;
}

.college-logo {
    width: 90px;
    height: 90px;
}

.college-info {
    flex: 1;
    text-align: center;
}

.college-info .affiliation {
    font-size: 1rem;
    color: var(--maroon);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.college-info .college-name-hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.college-info .college-name-eng {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
}

.college-info .tagline {
    font-size: 0.75rem;
    color: #222;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: sticky;
    top: 0;
    z-index: 1002;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--white);
    padding: 14px 16px;
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.mobile-menu-header {
    display: none;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-menu > li:hover > a,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.1);
}

.nav-menu > li:hover > a::after,
.nav-menu > li > a.active::after {
    width: 60%;
}

.nav-menu > li.has-submenu > a::before {
    content: '▾';
    margin-left: 4px;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-top: 3px solid var(--accent);
}

.nav-menu > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.submenu li a:hover {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    padding-left: 28px;
}

.submenu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* ========== NEWS TICKER ========== */
.news-ticker {
    background: linear-gradient(90deg, var(--maroon), var(--maroon-light));
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.news-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0 18px;
    display: flex;
    align-items: center;
    z-index: 2;
    letter-spacing: 0.5px;
}

.news-ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    border-style: solid;
    border-width: 17px 12px 17px 0;
    border-color: transparent transparent transparent var(--accent);
}

.news-ticker-content {
    display: flex;
    animation: ticker 25s linear infinite;
    padding-left: 140px;
    white-space: nowrap;
}

.news-ticker-content:hover {
    animation-play-state: paused;
}

.news-ticker-content span {
    color: var(--white);
    font-size: 0.85rem;
    padding: 0 60px;
    font-weight: 400;
}

.news-ticker-content span::before {
    content: '⭐';
    margin-right: 8px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,30,61,0.7), rgba(123,31,46,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.4);
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease;
}

.slide-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.6);
}

.slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

@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); }
}

/* ========== SECTION STYLES ========== */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--maroon));
    transform: translateX(-50%);
    border-radius: 4px;
}

.section-title .hindi-subtitle {
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: var(--maroon);
    font-size: 1.1rem;
    margin-top: 8px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--off-white);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.about-feature-item:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.about-feature-item i {
    font-size: 1.2rem;
    color: var(--accent-dark);
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(10,30,61,0.3));
    pointer-events: none;
}

/* ========== NEWS & CHANCELLOR ROW ========== */
.news-chancellor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 0;
}

/* Latest News Vertical Slider */
.latest-news-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.news-box-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-slider-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.news-slider-track {
    animation: newsSlide 12s linear infinite;
}

.news-slider-track:hover {
    animation-play-state: paused;
}

.news-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
}

.news-item:hover {
    background: rgba(200,162,60,0.08);
    padding-left: 25px;
}

.news-item .news-date {
    font-size: 0.75rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.news-item .news-title {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.news-item .news-badge {
    display: inline-block;
    background: var(--maroon);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes newsSlide {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-25%); }
    50%, 70% { transform: translateY(-50%); }
    75%, 95% { transform: translateY(-75%); }
    100% { transform: translateY(0); }
}

/* Chancellor Section */
.chancellor-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chancellor-box-header {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chancellor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.chancellor-card {
    padding: 25px 20px;
    text-align: center;
    border-right: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.chancellor-card:hover {
    background: rgba(200,162,60,0.05);
}

.chancellor-card:nth-child(2) {
    border-right: none;
}

.chancellor-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    margin-bottom: 12px;
    transition: var(--transition);
}

.chancellor-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(200,162,60,0.3);
}

.chancellor-card h4 {
    font-size: 0.92rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.chancellor-card p {
    font-size: 0.78rem;
    color: var(--maroon);
    font-weight: 500;
}

/* ========== LEADERSHIP SECTION ========== */
.leadership-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.leadership-section .section-title h2 {
    color: var(--white);
}

.leadership-section .section-title h2::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.leadership-section .section-title .hindi-subtitle {
    color: var(--accent-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.leader-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--maroon));
}

.leader-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.leader-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    margin-bottom: 18px;
    transition: var(--transition);
}

.leader-card:hover img {
    border-color: var(--accent-light);
    box-shadow: 0 0 30px rgba(200,162,60,0.3);
}

.leader-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--white);
}

.leader-card .designation {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.leader-card p.desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ========== COURSES SECTION ========== */
.courses-section {
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 25px;
}

.course-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-left: 5px solid var(--accent);
}

.course-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.course-card .course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.course-card .course-duration {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.course-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    background: var(--off-white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(10,30,61,0.8));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

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

.gallery-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-overlay .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--accent);
    color: var(--primary-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.gallery-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: none;
}

.lightbox-close:hover {
    background: var(--maroon);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.8;
}

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

.footer-links li a {
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links li a::before {
    content: '›';
    font-size: 1.2rem;
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .nav-menu > li > a {
        padding: 14px 10px;
        font-size: 0.82rem;
    }

    .college-info .college-name-hindi {
        font-size: 1.4rem;
    }

    .college-info .college-name-eng {
        font-size: 0.9rem;
    }

    .hero-slider { height: 400px; }

    .slide-content h2 { font-size: 2rem; }

    .about-grid { gap: 30px; }

    .leadership-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

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

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

/* Mobile */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left { justify-content: center; }
    .top-bar-right { justify-content: center; flex-wrap: wrap; }

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-inner .logo-area:last-child {
        display: none;
    }

    .college-logo { width: 70px; height: 70px; }

    .college-info .college-name-hindi { font-size: 1.6rem; font-weight: 800; margin-top: 5px; }
    .college-info .college-name-eng { font-size: 0.95rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }

    .navbar .container { justify-content: flex-end; }

    /* Mobile Hamburger Menu */
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 0 0 30px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        box-shadow: 5px 0 30px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: rgba(0,0,0,0.2);
    }

    .mobile-menu-header .menu-title {
        color: var(--accent);
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .close-menu {
        color: var(--white);
        font-size: 2.2rem;
        cursor: pointer;
        line-height: 1;
        transition: var(--transition);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .close-menu:hover {
        color: var(--maroon);
        transform: scale(1.1) rotate(90deg);
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 12px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 0.9rem;
    }

    .nav-menu > li > a::after { display: none; }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu.mobile-open {
        display: block;
        max-height: 500px;
    }

    .submenu li a {
        padding: 10px 40px;
        color: rgba(255,255,255,0.8);
        font-size: 0.82rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .submenu li a:hover {
        background: rgba(200,162,60,0.2);
        color: var(--accent);
        padding-left: 48px;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

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

    /* Sections */
    .hero-slider { height: 280px; }

    .slide-content h2 { font-size: 1.4rem; }
    .slide-content p { font-size: 0.9rem; }

    .section { padding: 40px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 1.5rem; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-image img { height: 250px; }

    .news-chancellor-row { grid-template-columns: 1fr; }

    .leadership-grid { grid-template-columns: 1fr; gap: 20px; }

    .leader-card { padding: 25px 20px; }
    .leader-card img { width: 100px; height: 100px; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 25px; }

    .course-card { padding: 25px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-btn { font-size: 0.7rem; padding: 4px 10px; }

    .college-info .college-name-hindi { font-size: 1rem; }
    .college-info .college-name-eng { font-size: 0.7rem; }

    .hero-slider { height: 220px; }
    .slide-content h2 { font-size: 1.1rem; }
    .slide-content p { font-size: 0.75rem; }

    .chancellor-grid { grid-template-columns: 1fr; }
    .chancellor-card { border-right: none; }

    .section-title h2 { font-size: 1.3rem; }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
