/* ============================================================
   BODHON CULTURAL ACADEMY — Main Stylesheet
   Design: Luxury Bengali Cultural Aesthetic
   Fonts: Cormorant Garamond (display) + Outfit (body) + Hind Siliguri (Bengali)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: #FDFAF6;
  color: #1C0A35;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === DESIGN TOKENS === */
:root {
  --clr-primary:     #3B0F6E;
  --clr-primary-d:   #20063D;
  --clr-primary-l:   #6B21A8;
  --clr-accent:      #D97706;
  --clr-accent-l:    #F59E0B;
  --clr-orange:      #EA580C;
  --clr-gold:        #CA8A04;
  --clr-gold-l:      #FDE68A;
  --clr-cream:       #FDFAF6;
  --clr-cream-d:     #F5EFE6;
  --clr-white:       #FFFFFF;
  --clr-text:        #1C0A35;
  --clr-text-mid:    #4B2D6B;
  --clr-text-light:  #7C6B8A;
  --clr-border:      #E5D5F5;
  --clr-success:     #059669;
  --clr-error:       #DC2626;
  --clr-warning:     #D97706;
  --clr-info:        #0369A1;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --font-bengali: 'Hind Siliguri', sans-serif;

  --shadow-sm:  0 1px 4px rgba(59,15,110,0.08);
  --shadow-md:  0 4px 16px rgba(59,15,110,0.12);
  --shadow-lg:  0 8px 32px rgba(59,15,110,0.16);
  --shadow-xl:  0 16px 64px rgba(59,15,110,0.22);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --nav-h: 72px;
  --ann-h: 38px;
  --header-total: calc(var(--nav-h) + var(--ann-h));
}

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background: var(--clr-primary);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--ann-h);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.ann-dot {
  width: 7px; height: 7px;
  background: #FDE68A;
  border-radius: 50%;
  animation: blink 2s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.ann-link {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full);
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
.ann-link:hover { background: rgba(255,255,255,.3); }

/* === NAVIGATION === */
.site-header {
  position: fixed;
  top: var(--ann-h);
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(253,250,246,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  height: var(--nav-h);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform .3s;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }
.logo-text { display: none; } /* hidden — logo image has text already */
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-gold) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(234,88,12,.35);
}
.logo-bn {
  font-family: var(--font-bengali);
  font-size: 20px; font-weight: 700;
  color: #fff;
}
.logo-name-bn {
  font-family: var(--font-bengali);
  font-size: 16px; font-weight: 700;
  color: var(--clr-primary);
  display: block; line-height: 1.2;
}
.logo-subtitle {
  font-size: 10px; font-weight: 500;
  color: var(--clr-text-light);
  letter-spacing: .5px;
  display: block;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--clr-text-mid);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-primary);
  background: rgba(107,33,168,.08);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--clr-orange);
  border-radius: 2px;
}
.caret { font-size: 10px; opacity: .6; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--clr-text-mid);
  transition: background .15s;
}
.dropdown-menu li a:hover { background: #F3E8FF; color: var(--clr-primary); }

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-nav-outline {
  font-size: 13px; font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-primary);
  color: var(--clr-primary);
  transition: all .2s;
}
.btn-nav-outline:hover {
  background: var(--clr-primary);
  color: #fff;
}
.btn-nav-primary {
  font-size: 13px; font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-gold));
  color: #fff;
  box-shadow: 0 4px 14px rgba(234,88,12,.3);
  transition: all .25s;
}
.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,88,12,.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 8px; margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
}

/* === PAGE TOP OFFSET === */
.page-top { padding-top: var(--header-total); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(234,88,12,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,88,12,.5); }
.btn-secondary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,15,110,.3);
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--clr-primary-l); }
.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 16px 36px; }
.btn-block { width: 100%; }

/* === SECTION FRAMEWORK === */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-alt { background: var(--clr-cream-d); }
.section-dark { background: var(--clr-primary); color: #fff; }

.section-header { text-align: center; margin-bottom: 52px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--clr-text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p   { color: rgba(255,255,255,.65); }

/* === HERO (HOME) === */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #14032C 0%, #250550 45%, #3B0F6E 75%, #1C1033 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: var(--header-total);
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: .06; }
  90% { opacity: .06; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}
.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.15), transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,88,12,.12), transparent 70%);
  bottom: -100px; left: -50px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 860px;
  animation: fadeInUp .8s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 12px; font-weight: 600;
  color: rgba(253,230,138,.9);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #FDE68A;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
.hero-title-bn {
  font-family: var(--font-bengali);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: rgba(253,230,138,.95);
  line-height: 1;
  margin-bottom: 8px;
  animation: fadeInUp .8s .1s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 600;
  color: rgba(255,255,255,.85);
  font-style: italic;
  margin-bottom: 20px;
  animation: fadeInUp .8s .2s ease both;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.75;
  animation: fadeInUp .8s .3s ease both;
}
.hero-pills {
  display: flex; flex-wrap: wrap;
  gap: 10px; justify-content: center;
  margin-bottom: 40px;
  animation: fadeInUp .8s .4s ease both;
}
.hero-pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 7px;
  transition: background .2s;
}
.hero-pill:hover { background: rgba(255,255,255,.18); }
.hero-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  animation: fadeInUp .8s .5s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeInUp 1s .9s ease both;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scroll-down 1.5s infinite;
}
@keyframes scroll-down {
  0%,100%{ transform:scaleY(1); transform-origin:top; }
  50%{ transform:scaleY(.5); transform-origin:bottom; }
}

/* === STATS BAR === */
.stats-bar {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; height: 70%;
  width: 1px;
  background: var(--clr-border);
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-lbl {
  font-size: 12px; font-weight: 500;
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* === COURSE CARDS === */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.course-card-top {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.course-card-top::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.08));
}
.course-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 6px;
}
.course-card-body p {
  font-size: 13px; color: var(--clr-text-light);
  line-height: 1.55; margin-bottom: 14px; flex: 1;
}
.course-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.tag-purple { background: #F3E8FF; color: #6B21A8; }
.tag-orange { background: #FFF7ED; color: #C2410C; }
.tag-green  { background: #ECFDF5; color: #065F46; }
.tag-blue   { background: #EFF6FF; color: #1E40AF; }

/* === TEACHER CARDS === */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.teacher-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.teacher-avatar-wrap {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 16px;
}
.teacher-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: #fff;
  border: 3px solid var(--clr-white);
  box-shadow: var(--shadow-md);
}
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.teacher-card h3 {
  font-size: 14px; font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 4px;
}
.teacher-subject {
  font-size: 12px; font-weight: 600;
  color: var(--clr-orange);
  margin-bottom: 6px;
}
.teacher-exp { font-size: 12px; color: var(--clr-text-light); }

/* === EVENTS === */
.events-list { display: flex; flex-direction: column; gap: 16px; }
.event-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex; gap: 20px; align-items: center;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.event-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date-box {
  min-width: 60px; height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-l));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.event-date-day {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; line-height: 1;
}
.event-date-mon { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.event-info { flex: 1; }
.event-info h4 { font-size: 15px; font-weight: 700; color: var(--clr-primary); margin-bottom: 4px; }
.event-info p  { font-size: 13px; color: var(--clr-text-light); }
.event-type-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #F3E8FF; color: #6B21A8;
  white-space: nowrap; flex-shrink: 0;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(59,15,110,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-zoom { width: 42px; height: 42px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--clr-primary); }
.gallery-item.span-2c { grid-column: span 2; }
.gallery-item.span-2r { grid-row: span 2; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.15); border: none;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  color: #F3E8FF;
  position: absolute;
  top: 12px; right: 24px;
  line-height: 1;
  user-select: none;
}
.testimonial-text {
  font-size: 15px; color: #374151;
  line-height: 1.75; font-style: italic;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.testimonial-stars {
  color: #F59E0B; font-size: 14px;
  margin-bottom: 14px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.testimonial-author-name { font-size: 14px; font-weight: 700; color: var(--clr-primary); }
.testimonial-author-role { font-size: 12px; color: var(--clr-text-light); }

/* === NOTICE BOARD === */
.notice-board {
  background: linear-gradient(135deg, var(--clr-primary-d), var(--clr-primary));
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden; position: relative;
}
.notice-board-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.notice-board-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; color: #fff;
}
.notice-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FDE68A; margin-top: 6px; flex-shrink: 0;
}
.notice-item h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.notice-item p  { font-size: 12px; color: rgba(255,255,255,.5); }
.notice-urgent .notice-dot { background: #FCA5A5; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary-d) 0%, var(--clr-primary) 60%, #4C1D95 100%);
  padding: 90px 0 70px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.page-hero .breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb span { opacity: .5; }
.page-hero-desc { font-size: 16px; color: rgba(255,255,255,.7); max-width: 500px; margin: 10px auto 0; }

/* === FORMS === */
.form-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}
.form-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--clr-primary);
  padding-bottom: 10px;
  border-bottom: 2px solid #F3E8FF;
  margin-bottom: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.form-label .req { color: var(--clr-error); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--clr-primary-l);
  box-shadow: 0 0 0 3px rgba(107,33,168,.1);
}
.form-control::placeholder { color: #B0A0C0; }
.form-control.error { border-color: var(--clr-error); }
.form-hint { font-size: 12px; color: var(--clr-text-light); margin-top: 4px; }
.form-error-msg { font-size: 12px; color: var(--clr-error); margin-top: 4px; }

/* === ALERT / FLASH === */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.alert-success { background: #ECFDF5; color: #065F46; border-color: var(--clr-success); }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: var(--clr-error); }
.alert-warning { background: #FFFBEB; color: #92400E; border-color: var(--clr-warning); }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-color: var(--clr-info); }

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.badge-active   { background: #ECFDF5; color: #065F46; }
.badge-pending  { background: #FEF3C7; color: #92400E; }
.badge-inactive { background: #F3F4F6; color: #4B5563; }

/* === CONTACT PAGE === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.contact-info-card {
  background: linear-gradient(145deg, var(--clr-primary-d), var(--clr-primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; margin-bottom: 10px;
}
.contact-info-card > p { font-size: 14px; opacity: .65; margin-bottom: 32px; line-height: 1.7; }
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-detail h5 { font-size: 12px; font-weight: 700; margin-bottom: 3px; opacity: .6; letter-spacing: .5px; text-transform: uppercase; }
.contact-detail p, .contact-detail a { font-size: 14px; opacity: .85; color: #fff; }

/* === FOOTER === */
.site-footer { background: var(--clr-primary-d); color: rgba(255,255,255,.7); margin-top: 0; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; display: block; }
.footer-body { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.footer-logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-bengali);
  font-size: 20px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.footer-logo-name {
  font-family: var(--font-bengali);
  font-size: 18px; font-weight: 700; color: #fff;
  display: block;
}
.footer-logo-tagline { font-size: 11px; opacity: .5; }
.footer-desc { font-size: 13px; line-height: 1.75; margin-bottom: 10px; }
.footer-tagline-bn {
  font-family: var(--font-bengali);
  font-size: 14px; color: rgba(253,230,138,.7);
  margin-bottom: 20px;
}
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.social-btn:hover { background: rgba(168,85,247,.4); color: #fff; }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(253,230,138,.8);
  margin-bottom: 16px;
}
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; margin-bottom: 12px;
  color: rgba(255,255,255,.55);
}
.footer-contact-item span:first-child { flex-shrink: 0; font-size: 14px; }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; opacity: .4; }
.footer-bottom p a { opacity: 1; color: rgba(255,255,255,.4); }
.footer-bottom p a:hover { color: rgba(255,255,255,.8); }

/* === BREADCRUMB === */
.breadcrumb-bar {
  background: #F5EFE6;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
}
.breadcrumb-nav {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--clr-text-light);
}
.breadcrumb-nav a { color: var(--clr-primary); }
.breadcrumb-nav span.sep { opacity: .4; }

/* === ABOUT PAGE === */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #F3E8FF, #FFF7ED);
  height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  position: relative; overflow: hidden;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--clr-border);
  border-top: 3px solid;
  box-shadow: var(--shadow-sm);
}
.value-card-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--clr-primary); margin-bottom: 8px;
}
.value-card p { font-size: 13px; color: var(--clr-text-light); line-height: 1.65; }

/* === ADMISSION SUCCESS === */
.success-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 540px; margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}
.success-icon { font-size: 4.5rem; margin-bottom: 20px; }
.success-card h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--clr-success); margin-bottom: 12px;
}
.success-card p { font-size: 15px; color: var(--clr-text-light); line-height: 1.7; }

/* === PAGINATION === */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 40px;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  font-size: 14px; font-weight: 600;
  color: var(--clr-text-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--clr-primary);
  color: #fff; border-color: var(--clr-primary);
}

/* === LOADING SPINNER === */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid #F3E8FF;
  border-top-color: var(--clr-primary-l);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .announcement-bar { font-size: 11px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.span-2c { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-desc { font-size: 15px; }
}

@media (max-width: 480px) {
  .btn-lg { font-size: 15px; padding: 13px 24px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .courses-grid { grid-template-columns: 1fr; }
}

/* === NAV MOBILE OPEN === */
@media (max-width: 1024px) {
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-total); left: 0; right: 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    align-items: flex-start;
  }
  .nav-menu.open .nav-link { display: block; width: 100%; padding: 12px 16px; }
  .nav-menu.open .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F9F4FF;
    margin-top: 4px; padding: 4px;
  }
  .nav-actions.open {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-border);
    padding: 16px;
    justify-content: stretch;
    gap: 12px;
    z-index: 999;
  }
  .nav-actions.open .btn-nav-outline,
  .nav-actions.open .btn-nav-primary {
    flex: 1; text-align: center; justify-content: center;
    display: flex;
  }
  .mobile-overlay.open { display: block; }
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
