/* ============================================
   GURU NANAK COLLEGE MOGA - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;0,6..72,700;0,6..72,800;1,6..72,500&family=Work+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary:         #003366;
  --primary-dark:    #001f44;
  --primary-light:   #0a4a8a;
  --accent:          #C9930C;
  --accent-light:    #F5B942;
  --accent-hover:    #a87608;
  --white:           #ffffff;
  --off-white:       #f8f9fc;
  --light-gray:      #eef1f6;
  --mid-gray:        #8a94a6;
  --dark-gray:       #4a5568;
  --charcoal:        #1a202c;
  --success:         #27ae60;
  --font-heading:    'Newsreader', Georgia, serif;
  --font-body:       'Work Sans', sans-serif;
  --font-ui:         'Work Sans', sans-serif;
  --section-py:      80px;
  --container-max:   1200px;
  --shadow-sm:       0 2px 8px rgba(0,0,0,.08);
  --shadow-md:       0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:       0 16px 48px rgba(0,0,0,.16);
  --shadow-gold:     0 8px 32px rgba(201,147,12,.25);
  --transition:      all 0.3s cubic-bezier(0.4,0,0.2,1);
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --radius-xl:       30px;

  --tb-bg:        #fff8e7;
  --tb-text:      #5a3e00;
  --tb-link:      #7a4f00;
  --tb-hover:     #003366;
  --tb-div:       rgba(168,118,8,.18);
  --tb-hover-bg:  rgba(201,147,12,.10);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--font-body); color:var(--charcoal); background:var(--white); overflow-x:hidden; line-height:1.6; }
img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
.container { width:100%; max-width:var(--container-max); margin:0 auto; padding:0 20px; }

/* ══ TOP BAR ══ */
.top-bar {
  background: var(--tb-bg);
  border-bottom: 2px solid var(--accent);
  border-top: 3px solid var(--accent-hover);
  font-family: var(--font-ui);
  font-size: 12px;
}
.top-bar .container {
  display: flex;
  align-items: stretch;
  min-height: 38px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px 0 0;
  flex-shrink: 0;
  border-right: 1px solid var(--tb-div);
}
.top-bar-item { display:flex; align-items:center; gap:5px; white-space:nowrap; color:var(--tb-text); transition:var(--transition); }
.top-bar-item:hover { color:var(--tb-hover); }
.top-bar-item i { color:var(--accent-hover); font-size:11px; }
.top-bar-item a { color:inherit; }
.top-bar-quicklinks {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: space-evenly;
}
.top-bar-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tb-link);
  white-space: nowrap;
  border-right: 1px solid var(--tb-div);
  transition: var(--transition);
  letter-spacing: 0.2px;
}
.top-bar-quicklinks a:first-child { border-left: 1px solid var(--tb-div); }
.top-bar-quicklinks a:hover { background: var(--tb-hover-bg); color: var(--tb-hover); }
.top-bar-quicklinks a i { font-size: 8px; color: var(--accent-hover); flex-shrink: 0; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 12px;
  flex-shrink: 0;
  border-left: 1px solid var(--tb-div);
}
.social-icons { display:flex; align-items:center; gap:6px; }
.social-icons a { width:26px; height:26px; background:rgba(168,118,8,.12); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--tb-link); transition:var(--transition); border:1px solid var(--tb-div); }
.social-icons a:hover { background:var(--accent); color:var(--white); border-color:var(--accent); }
.tb-hide-md { display:flex; }

/* ══ MAIN HEADER ══ */
.main-header { background:var(--white); box-shadow:var(--shadow-sm); position:sticky; top:0; z-index:1000; transition:var(--transition); }
.main-header.scrolled { box-shadow:var(--shadow-md); }

/* Logo + contact info row */
.header-info-row { background:var(--white); border-bottom:1px solid var(--light-gray); }
.header-info-inner { display:flex; align-items:center; gap:24px; padding:24px 0; }
.header-info-contacts { display:flex; align-items:center; gap:30px; margin-left:auto; }
.header-info-item { display:flex; align-items:center; gap:12px; }
.header-info-icon { width:38px; height:38px; border-radius:50%; background:rgba(201,147,12,.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.header-info-icon i { font-size:15px; color:var(--accent); }
.header-info-text { display:flex; flex-direction:column; line-height:1.3; }
.header-info-label { font-size:10.5px; font-weight:600; color:var(--mid-gray); text-transform:uppercase; letter-spacing:.5px; }
.header-info-value { font-size:13.5px; font-weight:700; color:var(--primary); transition:var(--transition); }
.header-info-value:hover { color:var(--accent); }
.header-info-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

/* Primary nav bar — dedicated row below logo, gives room for many links */
.primary-nav-bar { background:var(--accent); }
.primary-nav-bar .main-nav { display:flex; align-items:center; justify-content:center; gap:2px; flex-wrap:wrap; padding:6px 0; }
.primary-nav-bar .nav-link { color:var(--white); font-size:14.5px; font-weight:700; letter-spacing:.3px; padding:14px 18px; }
.primary-nav-bar .nav-link:hover, .primary-nav-bar .nav-link.active { color:var(--white); background:rgba(0,0,0,.12); }
.primary-nav-bar .nav-link .arrow { color:rgba(255,255,255,.85); font-size:9px; }
.primary-nav-bar .nav-item:hover .nav-link .arrow { color:var(--white); }
.site-logo { display:flex; align-items:center; gap:10px; flex-shrink:0; text-decoration:none; }
.logo-emblem { width:84px; height:84px; border-radius:50%; object-fit:cover; border:3px solid var(--accent); box-shadow:var(--shadow-gold); transition:var(--transition); flex-shrink:0; }
.site-logo:hover .logo-emblem { transform:scale(1.05); }
.logo-text { line-height:1.15; }
.logo-name { font-family:var(--font-heading); font-size:26px; font-weight:700; color:var(--primary); display:block; white-space:nowrap; }
.logo-sub  { font-size:14px; color:var(--accent); font-weight:600; letter-spacing:1.5px; text-transform:uppercase; display:block; }
.logo-naac { font-size:12.5px; color:var(--mid-gray); display:block; margin-top:1px; white-space:nowrap; }
.main-nav { display:flex; align-items:center; gap:0; flex:1; justify-content:center; }
.nav-item { position:relative; }
.nav-link { display:flex; align-items:center; gap:3px; padding:8px 10px; font-size:12.5px; font-weight:500; color:var(--charcoal); border-radius:var(--radius-sm); transition:var(--transition); white-space:nowrap; }
.nav-link:hover,.nav-link.active { color:var(--primary); background:var(--light-gray); }
.nav-link .arrow { font-size:8px; transition:transform 0.3s; }
.nav-item:hover .nav-link .arrow { transform:rotate(180deg); }
.dropdown { position:absolute; top:calc(100% + 4px); left:0; background:var(--white); border:1px solid var(--light-gray); border-top:3px solid var(--accent); border-radius:0 0 var(--radius-md) var(--radius-md); box-shadow:var(--shadow-lg); min-width:210px; opacity:0; visibility:hidden; transform:translateY(-8px); transition:var(--transition); z-index:100; }
.nav-item:hover .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a { display:block; padding:9px 16px; font-size:13px; color:var(--dark-gray); transition:var(--transition); border-bottom:1px solid var(--light-gray); }
.dropdown a:last-child { border-bottom:none; }
.dropdown a:hover { background:var(--off-white); color:var(--primary); padding-left:22px; }
.header-apply-btn { display:inline-flex; align-items:center; gap:6px; padding:9px 20px; background:var(--accent); color:var(--white); font-family:var(--font-body); font-size:13px; font-weight:700; border-radius:var(--radius-xl); box-shadow:var(--shadow-gold); white-space:nowrap; flex-shrink:0; transition:var(--transition); text-decoration:none; }
.header-apply-btn:hover { background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 12px 28px rgba(201,147,12,.4); }
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; padding:8px; border:none; background:none; flex-shrink:0; }
.hamburger span { display:block; width:22px; height:2px; background:var(--primary); border-radius:2px; transition:var(--transition); }
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ══ HERO SLIDER ══ */
.hero-slider { position:relative; width:100%; height:clamp(500px,82vh,750px); overflow:hidden; background:var(--primary-dark); }
.hero-slide { position:absolute; inset:0; width:100%; opacity:0; transition:opacity 1.2s ease; }
.hero-slide.active { opacity:1; }
.hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center center; transform:scale(1.02); transition:transform 8s ease; display:block; }
.hero-slide.active .hero-bg { transform:scale(1); }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(160deg, rgba(0,19,55,.72) 0%, rgba(0,51,102,.45) 55%, rgba(0,30,70,.60) 100%); }
.hero-caption { position:absolute; bottom:68px; left:0; right:0; z-index:4; text-align:center; padding:8px 20px; background:rgba(0,0,0,.50); backdrop-filter:blur(6px); color:var(--white); font-size:12.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; border-top:2px solid var(--accent); border-bottom:2px solid var(--accent); }
.hero-content { position:absolute; top:0; left:0; right:0; bottom:160px; display:flex; align-items:center; z-index:2; }
.hero-text { max-width:640px; width:100%; box-sizing:border-box; opacity:0; transform:translateY(30px); transition:none; }
.hero-text.text-in  { animation:textSlideIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s forwards; }
.hero-text.text-out { animation:textSlideOut 0.6s ease-in forwards; }
.hero-text.text-in .hero-heading { animation:textSlideIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
.hero-text.text-in .hero-actions { animation:textSlideIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.65s both; }
.hero-badge { display:none; }
.hero-desc  { display:none; }
.hero-heading { font-family:var(--font-heading); font-size:clamp(2rem,4.2vw,3.6rem); font-weight:800; color:var(--white); line-height:1.15; margin-bottom:28px; text-shadow:0 2px 20px rgba(0,0,0,.5); }
.hero-heading span { color:var(--accent-light); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:13px 28px; font-family:var(--font-body); font-size:14px; font-weight:600; border-radius:var(--radius-xl); transition:var(--transition); cursor:pointer; border:none; text-decoration:none; white-space:nowrap; }
.btn-primary { background:var(--accent); color:var(--white); box-shadow:var(--shadow-gold); }
.btn-primary:hover { background:var(--accent-hover); transform:translateY(-3px); box-shadow:0 16px 40px rgba(201,147,12,.4); }
.btn-outline { background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.75); }
.btn-outline:hover { background:rgba(255,255,255,.15); border-color:var(--white); transform:translateY(-3px); }
.hero-stats { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,.62); backdrop-filter:blur(14px); z-index:5; border-top:1px solid rgba(255,255,255,.12); }
.hero-stats-inner { display:flex; justify-content:space-around; align-items:center; padding:15px 0; flex-wrap:wrap; gap:6px; }
.stat-item  { text-align:center; color:var(--white); padding:0 12px; min-width:80px; }
.stat-num   { font-family:var(--font-heading); font-size:clamp(1.3rem,2vw,2rem); font-weight:700; color:var(--accent-light); line-height:1; display:block; }
.stat-label { font-size:clamp(10px,1vw,12px); color:rgba(255,255,255,.8); margin-top:4px; display:block; }
.slider-controls { position:absolute; right:16px; top:50%; transform:translateY(-50%); z-index:6; display:flex; flex-direction:column; gap:8px; }
.slider-dot { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; transition:var(--transition); border:2px solid transparent; flex-shrink:0; }
.slider-dot.active { background:var(--accent); border-color:var(--white); width:11px; height:11px; }
.hero-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:6; background:rgba(255,255,255,.15); border:2px solid rgba(255,255,255,.35); color:var(--white); width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:16px; transition:var(--transition); }
.hero-arrow:hover { background:var(--accent); border-color:var(--accent); }
.hero-arrow.prev { left:16px; }
.hero-arrow.next { right:44px; }

/* NOTICE */
.notice-bar { background:var(--primary); padding:10px 0; overflow:hidden; }
.notice-inner { display:flex; align-items:center; }
.notice-tag { background:var(--accent); color:var(--white); padding:4px 18px; font-size:13px; font-weight:700; white-space:nowrap; letter-spacing:1px; text-transform:uppercase; flex-shrink:0; margin-right:20px; clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%); }
.notice-track { overflow:hidden; flex:1; }
.notice-text { color:rgba(255,255,255,.9); font-size:13.5px; white-space:nowrap; animation:marquee 30s linear infinite; display:inline-block; }
.notice-text a { color:var(--accent-light); margin-right:60px; transition:var(--transition); }
.notice-text a:hover { text-decoration:underline; color:var(--white); }

/* MESSAGES */
.messages-section { padding:var(--section-py) 0; background:var(--off-white); }
.messages-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.msg-card { background:var(--white); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--light-gray); transition:var(--transition); display:flex; flex-direction:column; }
.msg-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.msg-photo-wrap { position:relative; width:100%; height:220px; overflow:hidden; background:var(--primary-dark); flex-shrink:0; }
.msg-photo { width:100%; height:100%; object-fit:contain; object-position:center top; transition:transform 0.5s ease; display:block; background:var(--primary-dark); }
.msg-card:hover .msg-photo { transform:scale(1.04); }
.msg-badge { position:absolute; bottom:-16px; right:16px; width:36px; height:36px; background:var(--accent); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--white); font-size:14px; border:3px solid var(--white); box-shadow:var(--shadow-gold); z-index:2; }
.msg-body { padding:26px 20px 20px; display:flex; flex-direction:column; flex:1; }
.msg-role { display:block; font-size:10.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); margin-bottom:5px; }
.msg-name { font-family:var(--font-heading); font-size:1rem; font-weight:700; color:var(--primary); margin-bottom:12px; line-height:1.3; }
.msg-excerpt { font-size:13px; color:var(--dark-gray); line-height:1.7; font-style:italic; flex:1; position:relative; padding-left:16px; }
.msg-excerpt::before { content:'\201C'; position:absolute; left:0; top:-4px; font-size:28px; color:var(--accent); line-height:1; font-family:Georgia,serif; opacity:.6; }
.msg-readmore { display:inline-flex; align-items:center; gap:5px; margin-top:14px; font-size:13px; font-weight:700; color:var(--accent); transition:var(--transition); align-self:flex-start; border-bottom:2px solid transparent; padding-bottom:2px; }
.msg-readmore:hover { gap:9px; color:var(--primary); border-color:var(--primary); }

/* SECTION HEADERS */
.section-header { text-align:center; margin-bottom:60px; }
.section-eyebrow { display:inline-block; font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--accent); margin-bottom:12px; position:relative; }
.section-eyebrow::before,.section-eyebrow::after { content:''; display:inline-block; width:30px; height:2px; background:var(--accent); vertical-align:middle; margin:0 10px; }
.section-title { font-family:var(--font-heading); font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; color:var(--primary); line-height:1.25; margin-bottom:16px; }
.section-desc { font-size:16px; color:var(--mid-gray); max-width:600px; margin:0 auto; line-height:1.7; }

/* ABOUT SECTION (homepage) */
.about-section { padding:var(--section-py) 0; background:var(--white); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.about-img-wrap { position:relative; }
.about-img-main { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); display:block; aspect-ratio:4/3; object-fit:cover; }
.about-img-badge { position:absolute; bottom:-24px; right:-24px; background:var(--accent); color:var(--white); width:120px; height:120px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; box-shadow:var(--shadow-gold); border:4px solid var(--white); }
.about-img-badge .badge-num { font-family:var(--font-heading); font-size:2rem; font-weight:800; line-height:1; }
.about-img-badge .badge-text { font-size:10px; font-weight:600; letter-spacing:0.5px; line-height:1.3; }
.about-content { padding-left:20px; }
.about-content .section-header { text-align:left; margin-bottom:24px; }
.about-content .section-header .section-eyebrow::before { display:none; }
.about-para { font-size:15.5px; color:var(--dark-gray); line-height:1.8; margin-bottom:16px; }
.about-highlights { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:28px 0; }
.highlight-item { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:500; color:var(--dark-gray); }
.highlight-item i { color:var(--success); font-size:15px; flex-shrink:0; }

/* COURSES */
.courses-section { padding:var(--section-py) 0; background:var(--off-white); }
.courses-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:26px; }
.course-card { background:var(--white); border-radius:var(--radius-md); padding:32px 28px; box-shadow:var(--shadow-sm); transition:var(--transition); border:1px solid var(--light-gray); position:relative; overflow:hidden; }
.course-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--primary),var(--accent)); transform:scaleX(0); transform-origin:left; transition:var(--transition); }
.course-card:hover::before { transform:scaleX(1); }
.course-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.course-icon { width:64px; height:64px; border-radius:var(--radius-md); background:linear-gradient(135deg,var(--primary),var(--primary-light)); display:flex; align-items:center; justify-content:center; margin-bottom:22px; transition:var(--transition); }
.course-icon i { font-size:26px; color:var(--white); }
.course-card:hover .course-icon { background:linear-gradient(135deg,var(--accent),var(--accent-hover)); transform:scale(1.1) rotate(5deg); }
.course-name { font-family:var(--font-heading); font-size:1.2rem; font-weight:700; color:var(--primary); margin-bottom:10px; }
.course-desc { font-size:13.5px; color:var(--mid-gray); line-height:1.65; margin-bottom:20px; }
.course-link { font-size:13.5px; font-weight:600; color:var(--accent); display:flex; align-items:center; gap:6px; transition:var(--transition); }
.course-link:hover { gap:10px; color:var(--primary); }

/* WHY */
.why-section { padding:var(--section-py) 0; background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); position:relative; overflow:hidden; }
.why-section::before { content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px; border-radius:50%; background:rgba(201,147,12,.08); }
.why-section::after  { content:''; position:absolute; bottom:-80px; left:-80px; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.04); }
.why-section .section-title { color:var(--white); }
.why-section .section-desc  { color:rgba(255,255,255,.75); }
.why-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:28px; position:relative; z-index:1; }
.why-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius-md); padding:32px 26px; text-align:center; transition:var(--transition); backdrop-filter:blur(6px); }
.why-card:hover { background:rgba(255,255,255,.13); transform:translateY(-8px); border-color:rgba(201,147,12,.4); }
.why-card-icon { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent-hover)); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; box-shadow:var(--shadow-gold); }
.why-card-icon i { font-size:28px; color:var(--white); }
.why-card-title { font-size:17px; font-weight:700; color:var(--white); margin-bottom:10px; }
.why-card-desc  { font-size:13.5px; color:rgba(255,255,255,.72); line-height:1.65; }

/* FACILITIES */
.facilities-section { padding:var(--section-py) 0; background:var(--light-gray); }
.facilities-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:20px; }
.facility-item { background:var(--white); border-radius:var(--radius-md); padding:28px 20px; text-align:center; transition:var(--transition); box-shadow:var(--shadow-sm); }
.facility-item:hover { background:var(--primary); transform:translateY(-6px); box-shadow:var(--shadow-md); }
.facility-item:hover .facility-icon i,.facility-item:hover .facility-name { color:var(--white); }
.facility-icon { margin-bottom:14px; }
.facility-icon i { font-size:34px; color:var(--primary); transition:var(--transition); }
.facility-name { font-size:13.5px; font-weight:600; color:var(--dark-gray); transition:var(--transition); }

/* GALLERY */
.gallery-section { padding:var(--section-py) 0; background:var(--off-white); }
.gallery-videos-row { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:1000px; margin:0 auto 40px; }
.gallery-video-wrap { position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid var(--light-gray); }
.gallery-video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:none; display:block; }
@media (max-width:768px) { .gallery-videos-row { grid-template-columns:1fr; } }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:auto auto; gap:16px; }
.gallery-item { overflow:hidden; border-radius:var(--radius-md); position:relative; cursor:pointer; }
.gallery-item:first-child { grid-column:span 2; grid-row:span 2; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; min-height:160px; }
.gallery-item:first-child img { min-height:320px; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-overlay { position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,51,102,.6) 0%,transparent 60%); opacity:0; transition:var(--transition); display:flex; align-items:flex-end; padding:16px; }
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-overlay span { color:var(--white); font-size:13px; font-weight:600; }

/* NEWS */
.news-section { padding:var(--section-py) 0; background:var(--white); }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.news-card { background:var(--white); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--light-gray); transition:var(--transition); }
.news-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.news-img { width:100%; height:200px; object-fit:cover; }
.news-body { padding:24px; }
.news-meta { display:flex; gap:12px; margin-bottom:12px; }
.news-cat { font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--accent); background:rgba(201,147,12,.1); padding:3px 10px; border-radius:var(--radius-xl); }
.news-date { font-size:12.5px; color:var(--mid-gray); display:flex; align-items:center; gap:5px; }
.news-title { font-family:var(--font-heading); font-size:1.05rem; font-weight:700; color:var(--primary); margin-bottom:10px; line-height:1.4; }
.news-excerpt { font-size:13.5px; color:var(--mid-gray); line-height:1.65; }
.news-readmore { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; color:var(--accent); margin-top:16px; transition:var(--transition); }
.news-readmore:hover { gap:9px; }

/* CTA BANNER */
.cta-banner { background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); padding:60px 0; text-align:center; }
.cta-title { font-family:var(--font-heading); font-size:clamp(1.6rem,3vw,2.2rem); font-weight:700; color:var(--white); margin-bottom:14px; }
.cta-desc  { font-size:16px; color:rgba(255,255,255,.8); max-width:580px; margin:0 auto 32px; line-height:1.7; }
.btn-white { background:var(--white); color:var(--primary); font-weight:700; }
.btn-white:hover { background:var(--accent-light); color:var(--primary-dark); transform:translateY(-3px); }
.btn-ghost-white { background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.6); }
.btn-ghost-white:hover { background:rgba(255,255,255,.12); border-color:var(--white); transform:translateY(-3px); }

/* FOOTER */
.main-footer { background:var(--primary-dark); color:rgba(255,255,255,.8); padding-top:70px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:50px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .logo-name { color:var(--white); font-size:22px; }
.footer-brand .logo-sub  { color:var(--accent-light); }
.footer-brand-desc { font-size:14px; line-height:1.75; margin:18px 0 24px; color:rgba(255,255,255,.65); }
.footer-contact-item { display:flex; align-items:flex-start; gap:10px; font-size:13.5px; margin-bottom:10px; color:rgba(255,255,255,.72); }
.footer-contact-item i { color:var(--accent); flex-shrink:0; margin-top:3px; }
.footer-heading { font-size:16px; font-weight:700; color:var(--white); margin-bottom:20px; position:relative; padding-bottom:12px; }
.footer-heading::after { content:''; position:absolute; bottom:0; left:0; width:36px; height:2px; background:var(--accent); }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:13.5px; color:rgba(255,255,255,.65); display:flex; align-items:center; gap:7px; transition:var(--transition); }
.footer-links a::before { content:'\203A'; color:var(--accent); font-size:16px; }
.footer-links a:hover { color:var(--accent-light); padding-left:4px; }
.footer-newsletter input { width:100%; padding:12px 16px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:var(--radius-sm); color:var(--white); font-size:13.5px; margin-bottom:10px; font-family:var(--font-body); outline:none; transition:var(--transition); }
.footer-newsletter input::placeholder { color:rgba(255,255,255,.4); }
.footer-newsletter input:focus { border-color:var(--accent); }
.footer-newsletter .btn { width:100%; justify-content:center; padding:12px; background:var(--accent); color:var(--white); font-size:13.5px; }
.footer-newsletter .btn:hover { background:var(--accent-hover); }
.footer-socials { display:flex; gap:10px; margin-top:20px; }
.footer-social-link { width:36px; height:36px; background:rgba(255,255,255,.08); border-radius:50%; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); font-size:14px; transition:var(--transition); }
.footer-social-link:hover { background:var(--accent); color:var(--white); transform:translateY(-3px); }
.footer-bottom { padding:20px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:13px; color:rgba(255,255,255,.5); }
.footer-copy a { color:var(--accent-light); }
.footer-bottom-links { display:flex; gap:20px; }
.footer-bottom-links a { font-size:12.5px; color:rgba(255,255,255,.5); transition:var(--transition); }
.footer-bottom-links a:hover { color:var(--accent-light); }

/* SCROLL TOP */
.scroll-top { position:fixed; bottom:28px; right:28px; width:48px; height:48px; background:var(--accent); color:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; box-shadow:var(--shadow-gold); opacity:0; visibility:hidden; transform:translateY(10px); transition:var(--transition); z-index:999; border:none; }
.scroll-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top:hover { background:var(--primary); transform:translateY(-3px); }

/* MOBILE NAV */
.mobile-nav { position:fixed; top:0; right:0; bottom:0; width:300px; background:var(--white); box-shadow:var(--shadow-lg); z-index:2000; transform:translateX(100%); transition:transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y:auto; }
.mobile-nav.open { transform:translateX(0); }
.mobile-nav-header { background:var(--primary); padding:20px; display:flex; align-items:center; justify-content:space-between; }
.mobile-nav-header .logo-name { color:var(--white); }
.mobile-nav-header .logo-sub  { color:var(--accent-light); }
.mobile-close { background:rgba(255,255,255,.15); border:none; color:var(--white); width:34px; height:34px; border-radius:50%; cursor:pointer; font-size:18px; display:flex; align-items:center; justify-content:center; }
.mobile-nav-links { padding:16px 0; }
.mobile-nav-links a,.mobile-nav-links summary { display:block; padding:13px 24px; font-size:14.5px; font-weight:500; color:var(--charcoal); border-bottom:1px solid var(--light-gray); cursor:pointer; list-style:none; transition:var(--transition); font-family:var(--font-body); text-decoration:none; }
.mobile-nav-links a:hover,.mobile-nav-links summary:hover { color:var(--primary); background:var(--off-white); }
.mobile-sub-links { background:var(--off-white); }
.mobile-sub-links a { padding-left:38px; font-size:13.5px; color:var(--dark-gray); }
.nav-overlay { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1999; opacity:0; visibility:hidden; transition:var(--transition); }
.nav-overlay.open { opacity:1; visibility:visible; }

/* ══════════════════════════════════════════════
   INNER PAGES — shared across all non-home pages
   ══════════════════════════════════════════════ */

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201,147,12,.08);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.breadcrumb a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.breadcrumb .current {
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 600;
}

/* Inner page body wrapper */
.inner-page { padding: 60px 0 80px; background: var(--off-white); }

/* ── MESSAGE PAGE layout (president / secretary / principal / lmc) ── */
.msg-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.msg-page-photo-col { position: sticky; top: 100px; }
.msg-page-photo-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}
.msg-page-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.msg-page-info {
  padding: 20px;
  background: var(--primary);
  text-align: center;
}
.msg-page-role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.msg-page-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.msg-page-content-col { /* right column */ }
.msg-page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.msg-page-opening {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--light-gray);
  position: relative;
}
.msg-page-opening::before {
  content: '\201C';
  font-size: 80px;
  color: var(--accent);
  opacity: .15;
  position: absolute;
  top: -20px; left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}
.msg-page-body p {
  font-size: 15.5px;
  color: var(--dark-gray);
  line-height: 1.9;
  margin-bottom: 18px;
}
.msg-page-body p:last-child { margin-bottom: 0; }
.msg-page-sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 14px;
}
.msg-page-sig-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.msg-page-sig-icon i {
  font-size: 18px;
  color: var(--white);
}
.msg-page-sig-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.msg-page-sig-role {
  font-size: 12px;
  color: var(--mid-gray);
  display: block;
  margin-top: 2px;
}

/* ── ABOUT PAGE ── */
.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about-page-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.about-page-text .section-eyebrow::before { display: none; }
.about-page-text p {
  font-size: 15.5px;
  color: var(--dark-gray);
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0;
}
.about-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--accent);
  transition: var(--transition);
}
.about-stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.about-stat-label {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 500;
  margin-top: 8px;
  display: block;
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.about-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
}
.about-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-info-card h3 i { color: var(--accent); font-size: 18px; }
.about-info-card p {
  font-size: 14.5px;
  color: var(--dark-gray);
  line-height: 1.75;
}
.about-info-card ul {
  list-style: none;
  padding: 0;
}
.about-info-card ul li {
  font-size: 14px;
  color: var(--dark-gray);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-info-card ul li:last-child { border-bottom: none; }
.about-info-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── VISION MISSION PAGE ── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.vm-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vm-icon i { font-size: 26px; color: var(--white); }
.vm-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.vm-card p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.value-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(201,147,12,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.value-icon i { font-size: 22px; color: var(--accent); }
.value-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--mid-gray); line-height: 1.6; }

/* ── MANAGING COMMITTEE ── */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.committee-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  text-align: center;
}
.committee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.committee-photo-wrap {
  background: var(--primary-dark);
  height: 200px;
  overflow: hidden;
}
.committee-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.committee-card:hover .committee-photo { transform: scale(1.06); }
.committee-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.committee-body { padding: 20px 16px; }
.committee-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
  display: block;
}
.committee-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.committee-detail {
  font-size: 12.5px;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}
.contact-info-col { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon i { font-size: 20px; color: var(--white); }
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
  display: block;
}
.contact-info-value {
  font-size: 14.5px;
  color: var(--dark-gray);
  line-height: 1.6;
}
.contact-info-value a { color: var(--primary); transition: var(--transition); }
.contact-info-value a:hover { color: var(--accent); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.contact-form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-form-card p {
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,51,102,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
}

/* ══════════════════════════════════════════════
   SECTION SIDEBAR LAYOUT — clubs, iqac etc.
   ══════════════════════════════════════════════ */
.section-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.section-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.sidebar-heading {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 18px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-gray);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
  text-decoration: none;
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item i { font-size: 14px; color: var(--mid-gray); flex-shrink: 0; transition: var(--transition); }
.sidebar-item:hover { background: var(--off-white); color: var(--primary); border-left-color: var(--accent); padding-left: 22px; }
.sidebar-item:hover i { color: var(--accent); }
.sidebar-item.active { background: rgba(0,51,102,.05); color: var(--primary); border-left-color: var(--accent); font-weight: 600; }
.sidebar-item.active i { color: var(--accent); }
.section-content {
  min-width: 0;
}
/* Club / IQAC content cards */
.section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  margin-bottom: 24px;
}
.section-card:last-child { margin-bottom: 0; }
.section-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-card-title i {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white);
  flex-shrink: 0;
}
.section-card-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-gray);
}
.section-card p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.85;
  margin-bottom: 14px;
}
.section-card p:last-child { margin-bottom: 0; }
/* Club index grid */
.clubs-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.club-overview-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.club-overview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.club-overview-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  transition: var(--transition);
}
.club-overview-card:hover .club-overview-icon { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.club-overview-icon i { font-size: 22px; color: var(--white); }
.club-overview-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.club-overview-incharge {
  font-size: 12px;
  color: var(--mid-gray);
}
/* Department sub-nav tabs (Home / About / Faculty / Activities / Courses / Contact Us) — flat, minimal style */
.dept-tabnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
  border-bottom: 3px solid var(--accent);
  padding: 4px;
  margin-bottom: 28px;
  position: sticky;
  top: 76px;
  z-index: 50;
}
.dept-tabnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex: 1 1 auto;
  justify-content: center;
  white-space: nowrap;
}
.dept-tabnav a i { font-size: 13px; color: var(--mid-gray); transition: var(--transition); }
.dept-tabnav a:hover { color: var(--primary); background: var(--off-white); }
.dept-tabnav a:hover i { color: var(--accent); }
.dept-tabnav a.tab-active { color: var(--primary); background: var(--light-gray); font-weight: 700; }
.dept-tabnav a.tab-active i { color: var(--accent); }
@media (max-width: 700px) {
  .dept-tabnav { position: static; }
  .dept-tabnav a { padding: 10px 12px; font-size: 12px; flex: 1 1 calc(50% - 4px); }
}

/* Department overview grid (reuses club-overview-card look) */
.dept-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* Department faculty gallery (photo-ready, Khalsa-style card) */
.faculty-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}
.faculty-card {
  position: relative;
  text-align: center;
  padding: 8px 6px 22px;
  transition: var(--transition);
}
.faculty-card:hover { transform: translateY(-5px); }
.faculty-hod-badge {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--accent);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-gold);
  z-index: 2;
  border: 2px solid var(--white);
}
.faculty-photo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  background: var(--off-white);
  transition: var(--transition);
}
.faculty-card:hover .faculty-photo-wrap { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faculty-photo-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--off-white); }
.faculty-initials-fallback {
  width: 100%; height: 100%;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
}
.faculty-body { padding: 0 4px; }
.faculty-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
  line-height: 1.3;
}
.faculty-role {
  display: block;
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 6px;
}
.faculty-qualification {
  font-size: 12.5px;
  color: var(--mid-gray);
  line-height: 1.5;
  margin-bottom: 14px;
}
.faculty-profile-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 6px 18px;
  transition: var(--transition);
  cursor: default;
}
.faculty-card:hover .faculty-profile-btn { background: var(--primary); color: var(--white); }

/* Department activities */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.activity-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); background: var(--white); }
.activity-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.activity-icon i { font-size: 19px; color: var(--white); }
.activity-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.activity-desc { font-size: 13.5px; color: var(--dark-gray); line-height: 1.65; }

/* Department section headings — centered, two-tone, impressive */
.dept-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.dept-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.dept-section-title .accent-word { color: var(--accent); }
.dept-section-subtitle {
  font-size: 14.5px;
  color: var(--mid-gray);
  letter-spacing: .2px;
}

/* Department prose — justified, generous line height */
.dept-prose p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.95;
  text-align: justify;
  margin-bottom: 18px;
}
.dept-prose p:last-child { margin-bottom: 0; }

/* Vision & Mission block */
.dept-vm-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dept-vm-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-align: center;
}
.dept-vm-item h3 i { color: var(--accent); margin-right: 9px; }
.dept-prose-p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.95;
  text-align: justify;
  max-width: 780px;
  margin: 0 auto;
}
.dept-mission-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}
.dept-mission-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--dark-gray);
  line-height: 1.85;
  text-align: justify;
}
.dept-mission-list li i { color: var(--accent); margin-top: 5px; flex-shrink: 0; font-size: 12px; }

/* PSO list — larger, visible circular badges */
.dept-pso-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dept-pso-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dept-pso-badge {
  flex-shrink: 0;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.dept-pso-text {
  font-size: 14.5px;
  color: var(--dark-gray);
  line-height: 1.85;
  text-align: justify;
  padding-top: 4px;
}

/* Department Programmes list (renamed from Courses) — with eligibility/duration/seats meta */
.programme-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.programme-item {
  padding: 22px 24px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.programme-item:hover { border-left-color: var(--accent); box-shadow: var(--shadow-sm); }
.programme-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.programme-name i { color: var(--accent); font-size: 16px; }
.programme-desc {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 14px;
}
.programme-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.programme-meta span {
  font-size: 12.5px;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
}
.programme-meta span strong { color: var(--accent-hover); font-weight: 700; }

/* Programmes sidebar — multiple grouped boxes stacked as ONE grid item */
.section-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}
.section-sidebar-stack .section-sidebar { position: static; }

/* Sidebar layout responsive */
@media (max-width: 900px) {
  .section-layout { grid-template-columns: 1fr; }
  .section-sidebar-stack { position: static; flex-direction: column; gap: 12px; }
  .section-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    overflow-x: auto;
  }
  .sidebar-heading { width: 100%; }
  .sidebar-item {
    border-bottom: none;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .sidebar-item:hover, .sidebar-item.active {
    border-left: none;
    border-bottom-color: var(--accent);
    padding-left: 14px;
  }
  .section-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .clubs-overview-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .msg-page-grid { grid-template-columns: 240px 1fr; gap: 28px; }
  .about-page-intro { grid-template-columns: 1fr; gap: 36px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .msg-page-grid { grid-template-columns: 1fr; }
  .msg-page-photo-col { position: static; }
  .msg-page-photo-wrap { display: flex; }
  .msg-page-photo { width: 160px; flex-shrink: 0; height: 180px; }
  .msg-page-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .msg-page-card { padding: 24px 20px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-info-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }
  .page-hero { padding: 36px 0 28px; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   NOTICE BOARD PAGE
   ══════════════════════════════════════════════ */
.notice-board-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.notice-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.notice-filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}
.notice-filter-btn:hover { border-color: var(--accent); color: var(--primary); }
.notice-filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.notice-list { display: flex; flex-direction: column; gap: 16px; }
.notice-list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: var(--transition);
}
.notice-list-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-left-color: var(--primary); }
.notice-date-badge {
  flex-shrink: 0;
  width: 62px;
  text-align: center;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
}
.notice-date-day { display: block; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--primary); line-height: 1; }
.notice-date-mon { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-hover); margin-top: 3px; }
.notice-item-body { flex: 1; min-width: 0; }
.notice-item-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(201,147,12,.1);
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 8px;
}
.notice-item-title { font-size: 15.5px; font-weight: 700; color: var(--primary); line-height: 1.45; margin-bottom: 6px; }
.notice-item-ref { font-size: 12.5px; color: var(--mid-gray); }
.notice-item-action { flex-shrink: 0; align-self: center; }
.notice-view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--white);
  background: var(--primary); padding: 9px 18px; border-radius: var(--radius-xl);
  transition: var(--transition); white-space: nowrap;
}
.notice-view-btn:hover { background: var(--accent); transform: translateY(-2px); }

/* Notice sidebar */
.notice-side-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-md); padding: 26px 22px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.notice-side-heading {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--primary); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray); display: flex; align-items: center; gap: 8px;
}
.notice-side-heading i { color: var(--accent); }
.notice-side-card .footer-links a { color: var(--dark-gray); }

/* ── "Our Notices Speak" style arrow-carousel (modeled after PU's testimonial slider) ── */
.notice-slider-section { padding: var(--section-py) 0; background: var(--off-white); }
.notice-slider-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.notice-slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.notice-slider-track::-webkit-scrollbar { display: none; }
.notice-slide-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.notice-slide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.notice-slide-img-wrap { width: 100%; height: 190px; overflow: hidden; background: var(--primary-dark); }
.notice-slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.notice-slide-card:hover .notice-slide-img-wrap img { transform: scale(1.07); }
.notice-slide-body { padding: 18px 18px 20px; }
.notice-slide-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-hover); }
.notice-slide-title { font-size: 13.5px; font-weight: 700; color: var(--primary); line-height: 1.5; margin-top: 6px; }
.notice-slider-arrows { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
.notice-slider-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--light-gray);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; transition: var(--transition);
}
.notice-slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

@media (max-width: 900px) {
  .notice-board-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .notice-list-item { flex-direction: column; }
  .notice-item-action { align-self: flex-start; }
  .notice-slide-card { width: 230px; }
}

.notice-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.notice-page-btn {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--light-gray); color: var(--dark-gray);
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.notice-page-btn:hover { border-color: var(--accent); color: var(--primary); }
.notice-page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.notice-page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── NOTICE VIEWER MODAL ── */
.notice-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,15,35,.72); backdrop-filter: blur(4px);
  z-index: 3000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  padding: 24px;
}
.notice-modal-overlay.open { opacity: 1; visibility: visible; }
.notice-modal-box {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 820px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px); transition: transform .25s ease;
}
.notice-modal-overlay.open .notice-modal-box { transform: translateY(0); }
.notice-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--light-gray); background: var(--off-white); flex-shrink: 0;
}
.notice-modal-head h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--primary); padding-right: 16px; }
.notice-modal-close {
  width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--light-gray); color: var(--dark-gray);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: var(--transition); font-size: 15px;
}
.notice-modal-close:hover { background: var(--accent); color: var(--white); }
.notice-modal-body { flex: 1; overflow: auto; background: #525659; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.notice-modal-pdf { width: 100%; height: 78vh; border: none; display: block; }
.notice-modal-img { max-width: 100%; max-height: 78vh; display: block; margin: 0 auto; }
@media (max-width: 600px) {
  .notice-modal-box { max-height: 92vh; }
  .notice-modal-pdf { height: 70vh; }
}

/* ANIMATIONS */
@keyframes heroFadeUp  { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes marquee     { from{transform:translateX(100%)} to{transform:translateX(-100%)} }
@keyframes fadeInUp    { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes textSlideIn { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes textSlideOut{ from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(-20px)} }

.animate-on-scroll { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease,transform 0.6s ease; }
.animate-on-scroll.visible { opacity:1; transform:translateY(0); }
.delay-1{transition-delay:0.1s!important} .delay-2{transition-delay:0.2s!important}
.delay-3{transition-delay:0.3s!important} .delay-4{transition-delay:0.4s!important}
.delay-5{transition-delay:0.5s!important}

/* TABLET <=1024px */
@media (max-width:1024px) {
  .about-grid    { grid-template-columns:1fr; gap:40px; }
  .about-content { padding-left:0; }
  .about-img-badge { right:16px; bottom:-16px; }
  .footer-grid   { grid-template-columns:1fr 1fr; }
  .news-grid     { grid-template-columns:1fr 1fr; }
  .messages-grid { grid-template-columns:1fr 1fr; gap:20px; }
  .top-bar-quicklinks a { font-size:11px; }
}

/* MOBILE <=768px */
@media (max-width:768px) {
  :root { --section-py:52px; }
  .top-bar-left  { display:none; }
  .tb-hide-md    { display:none; }
  .top-bar-right { border-left:none; padding-left:8px; }
  .top-bar-quicklinks { justify-content:flex-start; overflow-x:auto; }
  .top-bar-quicklinks a { flex:none; padding:0 12px; font-size:11px; }
  .main-nav { display:none; }
  .primary-nav-bar { display:none; }
  .header-apply-btn { display:none; }
  .header-info-contacts { display:none; }
  .hamburger { display:flex; }
  .header-info-inner { padding:8px 0; gap:10px; }
  .logo-emblem { width:42px; height:42px; }
  .logo-name   { font-size:13px; }
  .logo-naac   { display:none; }
  .hero-slider { height:56vw; min-height:260px; max-height:420px; }
  .hero-overlay { background:linear-gradient(to top,rgba(0,10,35,.88) 0%,rgba(0,30,70,.45) 45%,rgba(0,10,35,.10) 100%); }
  .hero-content { top:auto; left:0; right:0; bottom:0; height:auto; padding-bottom:68px; align-items:flex-end; }
  .hero-text { max-width:100%; padding:0 16px; }
  .hero-heading { font-size:clamp(1.15rem,4.5vw,1.55rem); margin-bottom:10px; line-height:1.2; text-shadow:0 1px 10px rgba(0,0,0,.7); }
  .hero-actions { gap:8px; }
  .hero-actions .btn { padding:8px 16px; font-size:12px; }
  .hero-actions .btn-outline { display:none; }
  .hero-caption { bottom:60px; font-size:9px; letter-spacing:1px; padding:5px 8px; }
  .hero-stats-inner { padding:8px 4px; gap:2px 0; }
  .stat-item  { padding:0 4px; min-width:50px; }
  .stat-num   { font-size:1rem; }
  .stat-label { font-size:8px; }
  .slider-controls { position:absolute; right:auto; left:50%; top:auto; bottom:90px; transform:translateX(-50%); flex-direction:row; gap:6px; }
  .slider-dot        { width:6px; height:6px; }
  .slider-dot.active { width:8px; height:8px; }
  .hero-arrow        { width:32px; height:32px; font-size:12px; }
  .hero-arrow.prev   { left:6px; }
  .hero-arrow.next   { right:6px; }
  .messages-grid { grid-template-columns:1fr; }
  .msg-photo-wrap { height:180px; }
  .courses-grid    { grid-template-columns:1fr; }
  .why-grid        { grid-template-columns:1fr 1fr; }
  .gallery-grid    { grid-template-columns:1fr 1fr; }
  .gallery-item:first-child { grid-column:span 2; }
  .news-grid       { grid-template-columns:1fr; }
  .footer-grid     { grid-template-columns:1fr; gap:32px; }
  .footer-bottom   { flex-direction:column; text-align:center; }
  .about-highlights { grid-template-columns:1fr; }
  .facilities-grid { grid-template-columns:repeat(2,1fr); }
}

/* SMALL MOBILE <=480px */
@media (max-width:480px) {
  .hero-slider  { height:60vw; min-height:240px; max-height:360px; }
  .hero-heading { font-size:clamp(1rem,4.2vw,1.35rem); }
  .why-grid     { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr; }
  .gallery-item:first-child { grid-column:span 1; }
  .facilities-grid { grid-template-columns:repeat(2,1fr); }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:0.01ms!important; transition-duration:0.01ms!important; }
}

/* ══════════════════════════════════════════════
   MOBILE BREATHING ROOM — department/club/programme/IQAC pages
   These pages felt dense on mobile (justified text, tight cards,
   2-up tab buttons). This gives them room to breathe below 768px.
   ══════════════════════════════════════════════ */
@media (max-width:768px) {
  /* More air between stacked sidebar and content, and between cards */
  .section-layout { gap:20px; }
  .section-card { padding:22px 18px; margin-bottom:18px; }
  .section-card-title { font-size:1.25rem; gap:10px; margin-bottom:4px; }
  .section-card-title i { width:36px; height:36px; font-size:15px; }
  .section-card-role { font-size:11px; margin-bottom:16px; padding-bottom:14px; }
  .section-card p { font-size:14.5px; line-height:1.75; margin-bottom:12px; }

  /* Left-align on narrow screens — justified text creates uneven, cramped-looking gaps */
  .dept-prose p, .dept-prose-p, .dept-mission-list li, .dept-pso-text, .programme-desc {
    text-align:left;
  }
  .dept-prose p { line-height:1.8; margin-bottom:14px; }
  .dept-section-head { margin-bottom:20px; }
  .dept-section-title { font-size:1.35rem; margin-bottom:6px; }
  .dept-section-subtitle { font-size:13px; }

  /* Tab nav — full-width stacked list instead of cramped 2-up buttons */
  .dept-tabnav { flex-direction:column; gap:2px; padding:6px; margin-bottom:20px; }
  .dept-tabnav a { flex:1 1 100%; justify-content:flex-start; padding:12px 14px; font-size:13px; }

  /* Faculty gallery — single column, more breathing room per card */
  .faculty-gallery-grid { grid-template-columns:1fr; gap:28px; }
  .faculty-card { padding:10px 10px 26px; border-bottom:1px solid var(--light-gray); }
  .faculty-card:last-child { border-bottom:none; }

  /* Vision/Mission block spacing */
  .dept-vm-block { gap:24px; margin-top:24px; padding-top:22px; }

  /* Programme list — more room between items, less cramped meta pills */
  .programme-list { gap:16px; }
  .programme-item { padding:18px 18px; }
  .programme-name { font-size:1rem; margin-bottom:8px; }
  .programme-meta { gap:8px; }
  .programme-meta span { font-size:11.5px; padding:5px 12px; }

  /* PSO list */
  .dept-pso-list { gap:16px; }
  .dept-pso-text { font-size:14px; line-height:1.75; }

  /* Activities grid — single column */
  .activity-grid { grid-template-columns:1fr; gap:14px; }
  .activity-card { padding:20px 18px; }

  /* Club/department overview grids — 1 column instead of tight 2-up squeeze on very small text */
  .dept-overview-grid, .clubs-overview-grid { grid-template-columns:1fr 1fr; gap:14px; }
  .club-overview-card { padding:18px 14px; }

  /* Sidebar tab strip — a bit more breathing room per pill */
  .sidebar-item { padding:11px 16px; font-size:12.5px; }
}

@media (max-width:480px) {
  .dept-overview-grid, .clubs-overview-grid { grid-template-columns:1fr; }
  .section-card { padding:18px 14px; }
  .faculty-photo-wrap { width:110px; height:110px; }
}

