/* ============================================================
   WKBSM College - Main Stylesheet
   Domain: wkbsmwomencollegedhule.org
   Colors: Deep Green #0D4A35, Purple #6A3FA0, Gold #C8A020
   ============================================================ */

:root {
    --green:      #0D4A35;
    --green-dark: #082E21;
    --green-mid:  #1A7A55;
    --green-light:#E8F5EE;
    --purple:     #6A3FA0;
    --purple-light:#EEE8F8;
    --gold:       #C8A020;
    --gold-light: #FFF8E1;
    --white:      #FFFFFF;
    --off-white:  #F8F9FA;
    --text:       #1A1A2E;
    --text-muted: #6B7280;
    --border:     #E5E7EB;
    --shadow:     0 2px 16px rgba(0,0,0,0.10);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
    --radius:     8px;
    --radius-lg:  14px;
    --transition: 0.22s ease;
    --font-body:  'Inter', sans-serif;
    --font-display:'Playfair Display', serif;
    --font-mr:    'Noto Serif Devanagari', serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-left i { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.badge-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.naac-badge { background: var(--gold); color: #1a1a1a; }
.iso-badge  { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.lang-toggle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: all var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.lang-toggle .active { color: var(--gold); }
.social-icon { color: rgba(255,255,255,0.7); font-size: 13px; transition: color var(--transition); }
.social-icon:hover { color: var(--gold); }

/* ── NEWS TICKER ─────────────────────────────────────────── */
.news-ticker {
    background: var(--gold);
    color: #1a1a1a;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 34px;
    font-size: 13px;
    font-weight: 500;
}
.ticker-label {
    background: var(--green);
    color: var(--white);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.ticker-wrap { flex: 1; overflow: hidden; position: relative; }
.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    align-items: center;
    height: 34px;
}
.ticker-item { padding: 0 12px; }
.ticker-item a { color: #1a1a1a; font-weight: 600; }
.ticker-item a:hover { color: var(--green-dark); text-decoration: underline; }
@keyframes tickerScroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--green-mid) 100%);
    color: var(--white);
    padding: 14px 0;
    position: relative;
    overflow: hidden;
}
.site-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.header-logo { display: flex; align-items: center; gap: 16px; flex: 1; }
.header-logo img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.header-tagline { font-size: 12px; color: var(--gold); font-style: italic; margin-bottom: 2px; }
.header-mandal { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 2px; }
.header-college-name {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-courses { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 2px; }
.header-address { font-size: 11.5px; color: rgba(255,255,255,0.6); }

.header-accred { display: flex; gap: 10px; flex-shrink: 0; }
.accred-box {
    text-align: center;
    padding: 10px 14px;
    border-radius: var(--radius);
    min-width: 70px;
}
.accred-box.naac { background: var(--gold); color: #1a1a1a; }
.accred-box.iso { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.accred-grade { font-size: 28px; font-weight: 800; line-height: 1; font-family: var(--font-display); }
.accred-label { font-size: 10px; font-weight: 700; line-height: 1.3; margin-top: 3px; letter-spacing: 0.5px; }
.accred-box.iso i { font-size: 22px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.main-nav {
    background: var(--green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
.nav-inner { display: flex; align-items: stretch; }
.nav-list { display: flex; align-items: stretch; flex-wrap: nowrap; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.88);
    padding: 14px 13px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--white); background: rgba(255,255,255,0.1); border-bottom-color: var(--gold); }
.nav-list > li.has-dropdown:hover > a { background: rgba(255,255,255,0.1); }

/* Nav CTA */
.nav-list > li > a.nav-cta {
    background: var(--gold);
    color: #1a1a1a;
    font-weight: 700;
    margin: 8px 8px 8px 4px;
    padding: 6px 14px;
    border-radius: 4px;
    border-bottom: none;
}
.nav-list > li > a.nav-cta:hover { background: #e0b820; }

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--green-dark);
    min-width: 240px;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-radius: 0 0 var(--radius) var(--radius);
    animation: dropIn 0.18s ease;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition);
}
.dropdown li a:hover { background: rgba(255,255,255,0.08); color: var(--gold); padding-left: 24px; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 14px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
.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); }

/* ── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; }
.swiper-slide img { width: 100%; height: 520px; object-fit: cover; }
.slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    /* Stronger gradient so caption area is always dark enough */
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.82) 100%);
    padding: 70px 40px 36px;
    color: var(--white);
}
/* Frosted-glass pill behind the text block — base */
.slide-caption-inner {
    display: inline-block;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 4px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 18px 28px 18px 22px;
    margin-bottom: 16px;
    max-width: 620px;
}

/* ── Slide 1 — Deep Green (college color) */
.swiper-slide:nth-child(1) .slide-caption-inner {
    background: rgba(13, 74, 53, 0.72);
    border-left-color: var(--gold);
}
.swiper-slide:nth-child(1) .slide-caption-icon { color: var(--gold); }
.swiper-slide:nth-child(1) .slide-caption-icon i { background: var(--gold); color: #1a1a1a; }

/* ── Slide 2 — Deep Purple */
.swiper-slide:nth-child(2) .slide-caption-inner {
    background: rgba(75, 29, 120, 0.72);
    border-left-color: #e0b0ff;
}
.swiper-slide:nth-child(2) .slide-caption-icon { color: #e0b0ff; }
.swiper-slide:nth-child(2) .slide-caption-icon i { background: #9b59d6; color: #fff; }

/* ── Slide 3 — Deep Maroon / Red */
.swiper-slide:nth-child(3) .slide-caption-inner {
    background: rgba(120, 20, 20, 0.72);
    border-left-color: #ffb3b3;
}
.swiper-slide:nth-child(3) .slide-caption-icon { color: #ffb3b3; }
.swiper-slide:nth-child(3) .slide-caption-icon i { background: #c0392b; color: #fff; }

/* ── Slide 4 — Deep Navy Blue */
.swiper-slide:nth-child(4) .slide-caption-inner {
    background: rgba(15, 40, 100, 0.72);
    border-left-color: #90caf9;
}
.swiper-slide:nth-child(4) .slide-caption-icon { color: #90caf9; }
.swiper-slide:nth-child(4) .slide-caption-icon i { background: #1565c0; color: #fff; }
.slide-caption-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.slide-caption-icon i {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.slide-caption h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.2vw, 34px);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.slide-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.slide-caption .btn { display: inline-flex; align-items: center; gap: 6px; }
.swiper-button-next, .swiper-button-prev { color: var(--white) !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* ── SECTION COMMON ──────────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    padding: 4px 12px;
    border: 1px solid var(--gold);
    border-radius: 20px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green-mid));
    margin: 0 auto 16px;
    border-radius: 2px;
}
.section-subtitle { color: var(--text-muted); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
    background: var(--green);
    padding: 28px 0;
    box-shadow: 0 4px 20px rgba(13,74,53,0.3);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.stat-item {
    text-align: center;
    padding: 16px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-item i { font-size: 22px; color: var(--gold); margin-bottom: 8px; display: block; }
.stat-value { font-size: 28px; font-weight: 800; font-family: var(--font-display); color: var(--white); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.72); margin-top: 4px; font-weight: 500; }

/* ── ABOUT SNAPSHOT ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 360px; object-fit: cover; }
.about-badge {
    position: absolute; bottom: 16px; left: 16px;
    background: var(--gold); color: #1a1a1a;
    padding: 8px 16px; border-radius: var(--radius);
    font-weight: 700; font-size: 13px;
}
.about-content h2 { font-family: var(--font-display); font-size: 28px; color: var(--green-dark); margin-bottom: 14px; }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.about-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 500; color: var(--text);
}
.about-feature i { color: var(--green-mid); width: 20px; }

/* ── COURSES GRID ────────────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.course-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transform: scaleX(0);
    transition: transform var(--transition);
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-mid); }
.course-icon {
    width: 60px; height: 60px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--green);
    transition: all var(--transition);
}
.course-card:hover .course-icon { background: var(--green); color: var(--white); }
.course-level { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.course-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.course-duration { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.course-seats { font-size: 12px; color: var(--green-mid); font-weight: 600; }

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    transition: all var(--transition);
}
.why-card:hover { border-left-color: var(--gold); transform: translateX(4px); }
.why-icon { font-size: 32px; color: var(--green); margin-bottom: 12px; }
.why-title { font-weight: 700; font-size: 15px; color: var(--green-dark); margin-bottom: 6px; }
.why-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── ANNOUNCEMENTS PANEL ─────────────────────────────────── */
.announcements-panel { display: flex; gap: 30px; align-items: flex-start; }
.ann-main { flex: 1; }
.ann-sidebar { width: 340px; flex-shrink: 0; }
.ann-list { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ann-header-bar {
    background: var(--green);
    color: var(--white);
    padding: 14px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex; align-items: center; gap: 8px;
}
.ann-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.ann-item:hover { background: var(--green-light); }
.ann-item:last-child { border-bottom: none; }
.ann-icon { color: var(--gold); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.ann-urgent .ann-icon { color: #dc2626; }
.ann-body { flex: 1; }
.ann-title { font-size: 13.5px; font-weight: 500; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.ann-title a { color: inherit; }
.ann-title a:hover { color: var(--green); }
.ann-meta { font-size: 11.5px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.ann-cat {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cat-admission { background: #dcfce7; color: #166534; }
.cat-exam { background: #fee2e2; color: #991b1b; }
.cat-event { background: #e0e7ff; color: #3730a3; }
.cat-notice { background: #fef3c7; color: #92400e; }
.cat-result { background: #f3e8ff; color: #6b21a8; }
.cat-general { background: var(--border); color: var(--text-muted); }
.urgent-badge { background: #dc2626; color: white; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 10px;
    border-top: 4px solid var(--green);
}
.testi-quote { font-size: 36px; color: var(--gold); line-height: 1; margin-bottom: 10px; font-family: serif; }
.testi-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--green); }
.testi-name { font-weight: 700; color: var(--green-dark); font-size: 15px; }
.testi-role { font-size: 12.5px; color: var(--text-muted); }

/* ── EVENTS PREVIEW ──────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-img { height: 190px; overflow: hidden; position: relative; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.event-card:hover .event-img img { transform: scale(1.06); }
.event-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--green); color: var(--white);
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 12px; text-transform: uppercase;
}
.event-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.event-date { font-size: 12.5px; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.event-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; line-height: 1.3; }
.event-venue { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(13,74,53,0.3); }
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-gold:hover { background: #dba918; color: #1a1a1a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-white:hover { background: var(--gold); color: #1a1a1a; }

/* ── ADMISSION CTA BANNER ────────────────────────────────── */
.admission-banner {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--purple) 100%);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.admission-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3C/svg%3E");
}
.admission-banner > * { position: relative; z-index: 1; }
.admission-banner h2 { font-family: var(--font-display); font-size: clamp(22px,4vw,36px); margin-bottom: 10px; }
.admission-banner p { font-size: 15px; color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.admission-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── GALLERY PREVIEW ─────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-thumb { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-thumb:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(13,74,53,0.5); opacity: 0; display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; transition: opacity var(--transition); }
.gallery-thumb:hover .gallery-overlay { opacity: 1; }

/* ── STAFF CARDS ─────────────────────────────────────────── */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.staff-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: all var(--transition); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.staff-photo { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.staff-body { padding: 16px 14px; }
.staff-name { font-weight: 700; font-size: 15px; color: var(--green-dark); margin-bottom: 4px; }
.staff-desig { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }
.staff-qual { font-size: 12px; color: var(--green-mid); font-weight: 500; }

/* ── INNER PAGE LAYOUT ───────────────────────────────────── */
.inner-page { padding: 50px 0; }
.inner-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;   /* sidebar and content both start from top */
}
/* Content area transition for AJAX swap */
.inner-content { transition: opacity 0.18s ease; min-height: 300px; }
.inner-content { min-width: 0; }
.inner-sidebar {
    position: sticky;
    top: 64px;           /* height of sticky nav */
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    scroll-behavior: smooth;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--green-mid) transparent;
}
.inner-sidebar::-webkit-scrollbar { width: 4px; }
.inner-sidebar::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 2px; }

/* Breadcrumb */
.breadcrumb-bar { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--green); }
.breadcrumb-sep { color: var(--border); }

/* Page title section */
.page-title-section {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    padding: 36px 0;
    color: var(--white);
}
.page-title-section h1 { font-family: var(--font-display); font-size: clamp(22px,4vw,34px); }
.page-title-section p { color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 6px; }

/* Sidebar widgets */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.sw-header {
    background: var(--green);
    color: var(--white);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 14px;
    display: flex; align-items: center; gap: 8px;
}
.sw-body { padding: 16px; }
.sw-links a {
    display: block;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: all var(--transition);
}
.sw-links a:last-child { border-bottom: none; }
.sw-links a:hover, .sw-links a.active { background: var(--green-light); border-left-color: var(--green); color: var(--green-dark); padding-left: 16px; }

/* Document list */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.doc-item:hover { background: var(--green-light); border-color: var(--green-mid); }
.doc-icon { font-size: 22px; color: #dc2626; flex-shrink: 0; }
.doc-name { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--text); }
.doc-download { font-size: 13px; color: var(--green); font-weight: 600; }

/* Content area typography */
.content-body h2 { font-family: var(--font-display); font-size: 22px; color: var(--green-dark); margin: 28px 0 12px; border-left: 4px solid var(--gold); padding-left: 14px; }
.content-body h3 { font-size: 18px; color: var(--green-dark); margin: 20px 0 10px; }
.content-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.content-body ul { padding-left: 20px; margin-bottom: 14px; }
.content-body ul li { color: var(--text-muted); margin-bottom: 6px; line-height: 1.6; list-style: disc; }
.content-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-body th { background: var(--green); color: var(--white); padding: 12px 14px; text-align: left; font-size: 13.5px; }
.content-body td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.content-body tr:nth-child(even) td { background: var(--off-white); }
.content-body tr:hover td { background: var(--green-light); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(26,122,85,0.12); }
.form-control::placeholder { color: #b0b0b0; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-success { background: #d1fae5; color: #065f46; padding: 14px 18px; border-radius: var(--radius); border: 1px solid #6ee7b7; margin-bottom: 16px; }
.form-error { background: #fee2e2; color: #991b1b; padding: 14px 18px; border-radius: var(--radius); border: 1px solid #fca5a5; margin-bottom: 16px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.8); margin-top: auto; }
.footer-top { padding: 52px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo-wrap { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer-logo-wrap img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.footer-college-name { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.footer-college-name.bold { font-weight: 700; color: var(--white); font-size: 14px; }
.footer-tagline { font-size: 12.5px; color: var(--gold); font-style: italic; margin-bottom: 14px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.footer-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; gap: 4px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); color: #1a1a1a; }
.footer-heading { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; gap: 8px; }
.footer-heading::before { content: ''; width: 3px; height: 16px; background: var(--gold); display: block; border-radius: 2px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.68); font-size: 13px; transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: 8px; color: var(--gold); }
.footer-notices li { margin-bottom: 10px; }
.footer-notices a { color: rgba(255,255,255,0.68); font-size: 12.5px; display: block; line-height: 1.4; }
.footer-notices a:hover { color: var(--gold); }
.footer-notices small { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer-notices i { color: var(--gold); margin-right: 5px; }
.fc-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; }
.fc-item i { color: var(--gold); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-map { margin-top: 12px; }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-made-by { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.5); }
.boston-credit { display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 13px; }
.boston-credit img { height: 22px; width: auto; border-radius: 3px; }
.boston-credit span { color: rgba(255,255,255,0.7); font-weight: 500; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--green);
    color: var(--white);
    border: none; border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: #1a1a1a; transform: translateY(-3px); }

/* ── ALUMNI ──────────────────────────────────────────────── */
.alumni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.alumni-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding: 24px 18px; transition: all var(--transition); }
.alumni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.alumni-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto 12px; border: 3px solid var(--green); }
.alumni-name { font-weight: 700; font-size: 15px; color: var(--green-dark); margin-bottom: 4px; }
.alumni-batch { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.alumni-role { font-size: 13px; color: var(--text-muted); }

/* ── NAAC CRITERIA ───────────────────────────────────────── */
.criteria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.criteria-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); border-left: 4px solid var(--green); transition: all var(--transition); }
.criteria-card:hover { box-shadow: var(--shadow-lg); transform: translateX(3px); }
.criteria-num { font-size: 28px; font-weight: 800; color: var(--green-light); font-family: var(--font-display); line-height: 1; }
.criteria-title { font-weight: 700; font-size: 14px; color: var(--green-dark); margin: 6px 0 10px; }

/* ── ENQUIRY MODAL ───────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: modalIn 0.2s ease; }
@keyframes modalIn { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img img { height: 280px; }
    .inner-grid { grid-template-columns: 1fr; }
    .inner-sidebar { position: static; }
}
@media (max-width: 900px) {
    .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-dark); padding: 8px 0; z-index: 1000; }
    .nav-list.open { display: flex; }
    .hamburger { display: flex; flex-direction: column; }
    .nav-list > li > a { padding: 12px 20px; border-bottom: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .dropdown { position: static; display: none; background: rgba(0,0,0,0.15); box-shadow: none; border-top: none; border-radius: 0; min-width: unset; }
    .has-dropdown.open .dropdown { display: block; }
    .main-nav { position: relative; }
    .nav-inner { position: relative; }
    .nav-list > li > a.nav-cta { margin: 8px 16px; width: auto; }
    .announcements-panel { flex-direction: column; }
    .ann-sidebar { width: 100%; }
}
@media (max-width: 768px) {
    .topbar .container { flex-direction: column; align-items: flex-start; }
    .topbar-left { gap: 10px; }
    .header-inner { flex-direction: column; align-items: center; text-align: center; }
    .header-logo { flex-direction: column; align-items: center; }
    .header-accred { flex-direction: row; }
    .swiper-slide img { height: 280px; }
    .slide-caption { padding: 30px 20px 20px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .courses-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 44px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .courses-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .btn { padding: 9px 18px; font-size: 13px; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
    .main-nav, .topbar, .news-ticker, .back-to-top, .footer-bottom { display: none !important; }
}
