﻿/* ================= CSS VARIABLES ================= */
/* Professional College Theme: Navy Blue (#0A2540), White (#FFFFFF), Light Gold Accent (#D4AF37) */
:root {
    /* Primary Colors - Navy Blue Theme */
    --primary: #0A2540;
    --primary-dark: #061829;
    --primary-light: #143a5e;
    --primary-medium: #0d3251;
    
    /* Accent Colors - Light Gold */
    --accent: #D4AF37;
    --accent-light: #e5c565;
    --accent-dark: #b8962e;
    
    /* Additional Colors */
    --blue: #0077ff;
    --blue-light: #3395ff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --bg: #f4f6f9;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    /* Shadows - Enhanced for depth */
    --shadow-xs: 0 1px 3px rgba(10, 37, 64, 0.08);
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.1);
    --shadow-md: 0 8px 25px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 15px 40px rgba(10, 37, 64, 0.15);
    --shadow-xl: 0 20px 50px rgba(10, 37, 64, 0.18);
    
    /* Gold glow effect */
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Transitions - Smooth 0.3s-0.5s */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ================= HEADER ================= */
header {
    background: var(--white);
    padding: 15px 20px;
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-smooth);
}

header:hover {
    box-shadow: var(--shadow-lg);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.topbar-left,
.topbar-right {
    flex: 1;
}

.topbar-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.topbar-logo {
    width: 70px;
    height: auto;
    transition: transform var(--transition);
}

.topbar-logo:hover {
    transform: scale(1.05);
}

.college-name {
    text-align: center;
    max-width: 800px;
    margin: 10px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(10, 37, 64, 0.1);
}

.college-name p:first-child {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 6px;
    transition: color var(--transition);
}

.college-name p:first-child:hover {
    color: var(--primary);
}

.college-name h1 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
    transition: color var(--transition);
}

.college-name h1:hover {
    color: var(--accent-dark);
}

.college-name h2 {
    font-size: 16px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.college-name h2:hover {
    color: var(--primary);
}

.college-name p:last-child {
    font-size: 12px;
    color: var(--text-light);
}

/* Navbar styles are centralized in assets/css/navbar.css */
/* ================= SECTIONS ================= */
section {
    padding: 50px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

/* ================= ABOUT ================= */
.about-section {
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f4ff 100%);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.about-content {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 37, 64, 0.08);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 26px;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

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

/* SLIDER */
.slider {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border: 4px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slide {
    display: none;
    height: 250px;
    object-fit: cover;
}

.slide.active {
    display: block;
}

/* ================= DEPARTMENTS ================= */
.dept-section {
    background: var(--white);
    text-align: center;
}

.dept-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dept-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.dept-card {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    width: 230px;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.dept-card:hover {
    transform: translateY(-8px);
    background: var(--primary);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.dept-card:hover::before {
    transform: scaleX(1);
}

.dept-card:hover h3 {
    color: var(--white);
}

.dept-card h3 {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    transition: color var(--transition);
    position: relative;
    z-index: 1;
}

/* ================= ADMISSION ================= */
.admission-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.admission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: subtlePulse 8s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.admission-container {
    max-width: 700px;
    background: var(--white);
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.admission-container h2 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.admission-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.admission-container p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 14px;
}

.admission-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    margin-top: 20px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.admission-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.admission-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    box-shadow: var(--shadow-lg), var(--glow-gold);
    border-color: var(--accent-dark);
}

.admission-btn:hover::before {
    left: 100%;
}

/* ================= QUICK LINKS ================= */
.quick-links-scroll {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition);
}

.quick-circle {
    width: 85px;
    height: 85px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.quick-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform var(--transition);
}

.quick-name {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: color var(--transition);
}

.quick-item:hover {
    transform: translateY(-5px);
}

.quick-item:hover .quick-circle {
    background: var(--primary);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

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

.quick-item:hover .quick-name {
    color: var(--accent-dark);
}

/* ================= CONTACT SNAPSHOT ================= */
.contact-snapshot {
    background: #f5f7fa;
    padding: 60px 20px;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(4, 10, 25, 0.08);
}

.contact-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-title-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(10, 37, 64, 0.14);
    background: #fff;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-title-logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.contact-title-logo i {
    color: var(--primary);
    font-size: 20px;
    line-height: 1;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 18px 40px rgba(16, 35, 77, 0.09);
    transition: border-color var(--transition-slow);
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-card.address-strip {
    border-left-color: var(--accent);
}

.contact-card h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card h3 i {
    color: var(--accent);
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-line {
    display: grid;
    gap: 6px;
}

.contact-line span {
    display: block;
}

.contact-label {
    color: var(--primary);
    font-weight: 600;
}

.contact-phone {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.contact-card a {
    color: var(--blue);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--accent-dark);
}

.contact-call-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(10, 37, 64, 0.2);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-call-btn:hover,
.contact-call-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.contact-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(10, 37, 64, 0.2);
    background: transparent;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: border var(--transition), background var(--transition), color var(--transition);
}

.contact-map-btn:hover,
.contact-map-btn:focus-visible {
    border-color: rgba(212, 175, 55, 0.8);
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-dark);
    transform: translateY(-1px);
}

.address-strip {
    max-width: 1100px;
    margin: 18px auto 0;
}

.address-strip p {
    margin: 0;
}

.map-link-row {
    margin-top: 12px !important;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.map-link-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(10, 37, 64, 0.16);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.map-link-icon i {
    color: var(--primary);
    font-size: 12px;
}

.map-link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.map-link:hover .map-link-icon {
    background: var(--primary);
}

.map-link:hover .map-link-icon i {
    color: var(--accent);
}

/* ================= VISION MISSION ================= */
.vision-mission {
    display: flex;
    gap: 30px;
    padding: 60px 5%;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    flex-wrap: wrap;
    justify-content: center;
}

.mission-box, .vision-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: var(--white);
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.mission-box:hover, .vision-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.mission-box h2, .vision-box h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.mission-box h2::after, .vision-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.mission-box p, .vision-box p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ================= RAGGING STRIP ================= */
.ragging-strip {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid var(--accent);
}

.ragging-strip p {
    display: inline-block;
    padding-left: 100%;
    font-size: 14px;
    font-weight: 600;
    animation: raggingMove 28s linear infinite;
}

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

/* ================= PRINCIPAL FLOAT ================= */
.principal-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 1500;
    border: 2px solid transparent;
}

.principal-float:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
    border-color: var(--accent-dark);
}

/* ================= MODAL ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 12050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.7);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 90%;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition), transform var(--transition);
    line-height: 1;
}

.close-btn:hover {
    color: var(--accent-dark);
    transform: rotate(90deg);
}

.principal-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.principal-photo img {
    width: 160px;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition);
}

.principal-photo img:hover {
    border-color: var(--accent);
}

.principal-text h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.principal-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.principal-text h4 {
    color: var(--blue);
    font-weight: 600;
}

/* ================= FOOTER ================= */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #e6e6e6;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    border-top: 3px solid var(--accent);
}

footer p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.developer-credit {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.credit-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.credit-label i {
    color: var(--accent);
}

footer .developer-credit .developer-trigger {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

footer .developer-credit .developer-trigger:hover,
footer .developer-credit .developer-trigger:focus-visible {
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0d78a 100%);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:first-child {
    background: linear-gradient(45deg, #f09433, #dc2743, #cc2366, #bc1888);
}

.social-icons a:nth-child(2) {
    background: #1877f2;
}

.social-icons a:nth-child(3) {
    background: #ff0000;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 12px 15px;
    }

    .topbar {
        padding: 0;
    }

    .topbar-logo {
        width: 55px;
    }

    .college-name {
        margin-top: 10px;
        padding-top: 10px;
    }

    .college-name h1 {
        font-size: 20px;
    }

    .college-name h2 {
        font-size: 13px;
    }

    .college-name p:first-child,
    .college-name p:last-child {
        font-size: 11px;
    }

    /* Navigation */
    nav {
        padding: 12px 15px;
        justify-content: space-between;
    }

    /* Sections */
    section {
        padding: 35px 15px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* About */
    .about-container {
        flex-direction: column;
        gap: 25px;
    }

    .about-image, .about-content {
        min-width: 100%;
    }

    .about-content {
        padding: 25px 18px;
    }

    .about-content h2 {
        font-size: 22px;
    }

    .about-content p {
        font-size: 14px;
    }

    .slider {
        max-width: 100%;
    }

    .slide {
        height: 200px;
    }

    /* Departments */
    .dept-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .dept-card {
        width: 100%;
        max-width: 300px;
    }

    /* Admission */
    .admission-section {
        padding: 50px 15px;
    }

    .admission-container {
        padding: 30px 22px;
    }

    .admission-container h2 {
        font-size: 24px;
    }

    .admission-container p {
        font-size: 14px;
    }

    /* Quick Links */
    .quick-links-scroll {
        gap: 18px;
        padding: 25px 15px;
    }

    .quick-circle {
        width: 70px;
        height: 70px;
    }

    .quick-circle img {
        width: 40px;
        height: 40px;
    }

    /* Contact */
    .contact-snapshot {
        padding: 35px 15px;
    }

    .contact-grid {
        gap: 14px;
    }

    .address-strip {
        margin-top: 14px;
    }

    .contact-card {
        padding: 18px 16px;
    }

    .contact-card h3 {
        font-size: 16px;
    }

    .contact-title {
        gap: 10px;
    }

    .contact-title-logo {
        width: 40px;
        height: 40px;
    }

    .contact-title-logo img {
        width: 24px;
        height: 24px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .contact-line {
        gap: 8px;
    }

    .quick-name {
        font-size: 12px;
    }

    /* Vision Mission */
    .vision-mission {
        flex-direction: column;
        padding: 35px 15px;
        gap: 25px;
    }

    .mission-box, .vision-box {
        min-width: 100%;
        padding: 25px;
    }

    .mission-box h2, .vision-box h2 {
        font-size: 22px;
    }

    .mission-box p, .vision-box p {
        font-size: 14px;
    }

    /* Modal */
    .modal-content {
        padding: 25px 18px;
        width: 95%;
    }

    .principal-layout {
        flex-direction: column;
        text-align: center;
    }

    .principal-photo img {
        width: 130px;
        height: 160px;
        margin: 0 auto;
    }

    /* Principal Float */
    .principal-float {
        bottom: 18px;
        right: 18px;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Footer */
    footer {
        padding: 25px 15px;
    }

    footer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .college-name h1 {
        font-size: 18px;
    }

    .college-name h2 {
        font-size: 12px;
    }

    .admission-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ================= SKIP LINK ================= */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ================= SWIPER CONTAINER STYLES ================= */
.about-section .about-image { 
    position: relative; 
    width: 100%; 
    height: 350px; 
    min-height: 300px; 
    overflow: hidden; 
}

.about-image .swiper { 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
}

.about-image .swiper-wrapper { 
    height: 100%; 
}

.about-image .swiper-slide { 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.about-image .swiper-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block; 
    position: absolute; 
    top: 0; 
    left: 0; 
}

.about-image .swiper-button-next, 
.about-image .swiper-button-prev { 
    color: #fff; 
    background: rgba(10, 37, 64, 0.5); 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    transition: background var(--transition);
}

.about-image .swiper-button-next:hover, 
.about-image .swiper-button-prev:hover { 
    background: var(--accent);
}

.about-image .swiper-button-next:after, 
.about-image .swiper-button-prev:after { 
    font-size: 20px; 
    font-weight: bold; 
}
