/* ============================================================
   মুহিউস্ সুন্নাহ ইসলামিক স্কুল — কাস্টম থিম
   ============================================================ */

:root{
  --navy: #0b3d63;
  --navy-deep: #062641;
  --blue: #1f6fd6;
  --gold: #c99a3c;
  --gold-light: #f4e6c4;
  --cream: #f8f5ee;
  --ink: #1c2430;
  --muted: #5b6773;
  --radius: 10px;
}

*{ box-sizing: border-box; }

body{
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
}

h1,h2,h3,h4,h5{
  font-family: 'Noto Serif Bengali', 'Hind Siliguri', serif;
  font-weight: 700;
  color: var(--navy-deep);
}

a{ text-decoration:none; }

/* ---------- geometric divider (signature element) ---------- */
.motif-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin: 10px 0 28px;
}
.motif-divider span{
  width:8px;height:8px;border-radius:50%;
  background: var(--gold);
  display:inline-block;
  transform: rotate(45deg);
}
.motif-divider::before,
.motif-divider::after{
  content:"";
  height:2px;width:46px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.motif-divider::after{ background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- topbar ---------- */
.topbar{
  background: var(--navy-deep);
  color: #cfe0f3;
  font-size: .9rem;
  padding: 7px 0;
}
.topbar a{ color:#cfe0f3; }
.topbar .sep{ opacity:.4; margin:0 10px; }

/* ---------- navbar ---------- */
.navbar-school{
  background: #fff;
  box-shadow: 0 2px 14px rgba(11,61,99,.08);
  padding: 10px 0;
}
.navbar-school .navbar-brand{
  display:flex; align-items:center; gap:12px;
}
.navbar-school .navbar-brand img{
  height: 56px; width:56px; object-fit:cover; border-radius:50%;
  border: 2px solid var(--gold);
}
.navbar-school .brand-text .school-name{
  font-family:'Noto Serif Bengali', serif;
  font-weight:700; color:var(--navy-deep); font-size:1.15rem; line-height:1.2;
  display:block;
}
.navbar-school .brand-text .school-sub{
  font-size:.8rem; color: var(--muted);
}
.navbar-school .nav-link{
  color: var(--navy-deep) !important;
  font-weight: 600;
  padding: 8px 14px !important;
}
.navbar-school .nav-link.active,
.navbar-school .nav-link:hover{
  color: var(--gold) !important;
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 130%);
  color:#fff;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(201,154,60,.16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity:.6;
}
.hero .hero-inner{ position:relative; z-index:2; padding: 70px 0; }
.hero .eyebrow{
  display:inline-block; letter-spacing:.04em;
  background: rgba(201,154,60,.18); border:1px solid rgba(201,154,60,.5);
  color: var(--gold-light);
  padding: 6px 16px; border-radius: 999px; font-size:.9rem; margin-bottom:18px;
}
.hero h1{ color:#fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom:16px; }
.hero p.lead{ color:#dce7f5; max-width:640px; }
.hero .hero-img{
  border-radius: var(--radius);
  border: 4px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* ---------- page banner (inner pages) ---------- */
.page-banner{
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color:#fff; padding: 46px 0; text-align:center;
}
.page-banner h1{ color:#fff; margin-bottom:6px; }
.page-banner .crumbs{ color:#bcd0e8; font-size:.95rem; }
.page-banner .crumbs a{ color:#fff; }

/* ---------- buttons ---------- */
.btn-gold{
  background: var(--gold); border-color: var(--gold); color:#2a1e00; font-weight:700;
}
.btn-gold:hover{ background:#b7872b; border-color:#b7872b; color:#fff; }
.btn-outline-navy{
  border:2px solid #fff; color:#fff; font-weight:700; background:transparent;
}
.btn-outline-navy:hover{ background:#fff; color: var(--navy-deep); }
.btn-navy{
  background: var(--navy); border-color: var(--navy); color:#fff; font-weight:700;
}
.btn-navy:hover{ background: var(--navy-deep); border-color: var(--navy-deep); color:#fff; }

/* ---------- sections ---------- */
section{ padding: 62px 0; }
.section-title{ text-align:center; margin-bottom: 8px; }
.section-sub{ text-align:center; color: var(--muted); max-width:640px; margin: 0 auto 8px; }
.bg-alt{ background:#fff; }

/* ---------- cards ---------- */
.card-soft{
  background:#fff; border-radius: var(--radius); border:1px solid #edeadf;
  box-shadow: 0 6px 24px rgba(11,61,99,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-soft:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,61,99,.12); }

.icon-badge{
  width:56px;height:56px; border-radius:14px;
  background: var(--gold-light); color: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:14px;
}

.notice-item{
  display:flex; gap:16px; align-items:flex-start;
  padding:18px; border-bottom:1px dashed #e3ddc9;
}
.notice-date{
  background: var(--navy-deep); color:#fff; border-radius:10px;
  min-width:64px; text-align:center; padding:8px 6px; font-weight:700;
}
.notice-date small{ display:block; font-weight:400; font-size:.72rem; color:var(--gold-light); }

.teacher-photo{
  width:100%; aspect-ratio: 1/1; object-fit:cover; border-radius: var(--radius);
  border: 4px solid var(--gold-light);
}

.gallery-thumb{
  aspect-ratio: 4/3; object-fit:cover; border-radius: 8px; width:100%;
  transition: transform .3s ease;
}
.gallery-thumb-wrap{ overflow:hidden; border-radius:8px; }
.gallery-thumb-wrap:hover .gallery-thumb{ transform: scale(1.08); }

.faq-accordion .accordion-button{ font-weight:700; color: var(--navy-deep); }
.faq-accordion .accordion-button:not(.collapsed){ background: var(--gold-light); color:var(--navy-deep); }

/* ---------- footer ---------- */
footer.site-footer{
  background: var(--navy-deep); color:#c7d6e8; padding-top:56px;
}
footer.site-footer h5{ color:#fff; margin-bottom:18px; }
footer.site-footer a{ color:#c7d6e8; }
footer.site-footer a:hover{ color: var(--gold); }
footer.site-footer .foot-brand img{ height:52px; border-radius:50%; border:2px solid var(--gold); }
footer.site-footer .bottom-bar{
  border-top:1px solid rgba(255,255,255,.1); margin-top:36px; padding:16px 0; font-size:.88rem;
}

.stat-box{ text-align:center; padding:18px; }
.stat-box .num{ font-family:'Noto Serif Bengali',serif; font-size:2.1rem; font-weight:700; color: var(--gold); }

@media (max-width: 767px){
  .hero .hero-inner{ padding: 46px 0; }
  section{ padding: 42px 0; }
}
