
/* ─── DESIGN TOKENS ─── */
:root {
  --saffron:      #F97316;
  --deep-saffron: #C2410C;
  --gold:         #D97706;
  --gold-light:   #FCD34D;
  --gold-pale:    #FEF3C7;
  --cream:        #FFFBF5;
  --maroon:       #9F1239;
  --deep-maroon:  #500724;
  --white:        #FFFFFF;
  --text-dark:    #1C0A02;
  --text-mid:     #78350F;
  --text-light:   #92400E;
  --card-bg:      rgba(255,255,255,0.97);
  --border:       rgba(217,119,6,0.15);
  --shadow-sm:    0 2px 8px rgba(159,18,57,0.08);
  --shadow:       0 8px 32px rgba(159,18,57,0.12);
  --shadow-lg:    0 20px 60px rgba(159,18,57,0.18);
  --radius-sm:    10px;
  --radius:       18px;
  --radius-lg:    28px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(80,7,36,0.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217,119,6,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--gold); object-fit: cover; flex-shrink: 0;
}
.nav-title {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold-light); font-size: 0.78rem; line-height: 1.3;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold-light);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold-light); border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(80,7,36,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217,119,6,0.2);
  padding: 1.5rem 2rem; flex-direction: column; gap: 0.25rem; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 1rem; font-weight: 500; padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold-light); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(159,18,57,0.22) 0%, transparent 45%),
    linear-gradient(150deg, #2D0317 0%, #500724 30%, #9F1239 65%, #C2410C 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  padding: 8rem 5rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(252,211,77,0.055) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-text { color: var(--white); position: relative; z-index: 1; }
.hero-om {
  font-size: 3.8rem; color: var(--gold-light);
  text-shadow: 0 0 40px rgba(252,211,77,0.5);
  margin-bottom: 0.75rem; display: inline-block;
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
  0%,100% { text-shadow: 0 0 20px rgba(252,211,77,0.4); }
  50%      { text-shadow: 0 0 60px rgba(252,211,77,0.8), 0 0 100px rgba(249,115,22,0.3); }
}
.hero-badge-top {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(252,211,77,0.12); border: 1px solid rgba(252,211,77,0.3);
  color: var(--gold-light); padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2; margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-title .accent { color: var(--gold-light); }
.hero-subtitle {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1rem; color: rgba(252,211,77,0.8);
  margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.hero-divider {
  width: 60px; height: 3px; border-radius: 2px; margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}
.hero-welcome { font-size: 1rem; line-height: 1.85; opacity: 0.88; margin-bottom: 1.75rem; }
.hero-quote {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--gold-light);
  padding: 1rem 1.25rem; border-radius: 0 12px 12px 0;
  font-style: italic; font-size: 0.9rem; margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}
.hero-quote strong { color: var(--gold-light); font-style: normal; display: block; margin-top: 0.5rem; font-size: 0.85rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--white); padding: 0.8rem 2.2rem; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
  transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(249,115,22,0.5); }
.btn-outline {
  border: 2px solid rgba(252,211,77,0.5); color: var(--white);
  padding: 0.8rem 2.2rem; border-radius: 50px; text-decoration: none;
  font-weight: 500; font-size: 0.9rem; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: rgba(252,211,77,0.1); border-color: var(--gold-light); color: var(--gold-light); }
.hero-visual {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1; width: 100%;
}
/* Frame that holds Chitragupta image + logo badge overlay */
.hero-img-frame {
  position: relative; width: 100%; max-width: 360px;
}
.hero-chitragupta {
  width: 100%; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 3px solid rgba(217,119,6,0.5);
}
.hero-chitragupta img { width: 100%; display: block; }
/* Logo badge overlaid at bottom-right corner of Chitragupta image */
.hero-logo-badge {
  position: absolute; bottom: -18px; right: -18px; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(217,119,6,0.2), 0 6px 24px rgba(0,0,0,0.45);
  overflow: hidden; background: var(--white);
}
.hero-logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.hero-stat {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(252,211,77,0.22);
  border-radius: var(--radius-sm); padding: 0.75rem 1.2rem; text-align: center;
}
.hero-stat .num { font-size: 1.5rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.hero-stat .lbl { font-size: 0.68rem; color: rgba(255,255,255,0.62); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── SECTION COMMON ─── */
section { padding: 6rem 5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 0.35rem 1.1rem; border-radius: 50px;
  margin-bottom: 1rem; font-weight: 700;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--deep-maroon); margin-bottom: 1rem; line-height: 1.25;
}
.section-desc { color: var(--text-mid); max-width: 560px; margin: 0 auto; line-height: 1.85; }
.ornament { color: var(--gold); margin: 0 0.4rem; }

/* ─── ABOUT ─── */
.about-bg {
  background: linear-gradient(160deg, var(--cream) 0%, #FEF3C7 60%, #FDE68A 100%);
  position: relative; overflow: hidden;
}
.about-bg::after {
  content: '॥ श्री चित्रगुप्ताय नमः ॥';
  position: absolute; bottom: 2rem; right: 3rem;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1rem; color: rgba(217,119,6,0.18);
  white-space: nowrap; pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); border-top: 4px solid var(--saffron);
}
.about-card h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem; color: var(--maroon); margin-bottom: 1.25rem;
}
.about-card p { line-height: 1.9; color: var(--text-mid); margin-bottom: 1rem; font-size: 0.95rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-card h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--maroon);
  margin: 1.25rem 0 0.5rem; display: flex; align-items: center; gap: 6px;
}
.about-card ul { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.about-card ul li {
  padding: 0.28rem 0 0.28rem 1.4rem; position: relative;
  font-size: 0.9rem; line-height: 1.65; color: var(--text-mid);
}
.about-card ul li::before {
  content: '✦'; position: absolute; left: 0; top: 0.28rem;
  color: var(--saffron); font-size: 0.6rem; line-height: 1.65;
}
.about-family-stat {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  border-radius: 14px; padding: 1rem 1.25rem; margin: 1rem 0 1.25rem;
  box-shadow: 0 4px 16px rgba(159,18,57,0.2);
}
.about-family-stat .stat-num {
  font-size: 2.2rem; font-weight: 900; color: var(--gold-light);
  line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.2); flex-shrink: 0;
}
.about-family-stat .stat-text { color: #fff; }
.about-family-stat .stat-text strong { display: block; font-size: 0.95rem; font-weight: 700; }
.about-family-stat .stat-text span { font-size: 0.78rem; opacity: 0.85; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.highlight-item {
  border-radius: 14px; padding: 1.4rem 1.2rem;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.highlight-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.highlight-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 14px 36px rgba(0,0,0,0.25); }
.highlight-item .highlight-icon { font-size: 2rem; margin-bottom: 0.55rem; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3)); }
.highlight-item h3 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; text-shadow: 0 1px 6px rgba(0,0,0,0.3); line-height: 1.3; }
.highlight-item p { font-size: 0.74rem; color: rgba(255,255,255,0.88); margin: 0; line-height: 1.55; }

/* ─── EVENTS ─── */
.events-bg {
  background: linear-gradient(150deg, #0D0620 0%, #1A0A38 40%, #2D1060 70%, #3D1A00 100%);
  position: relative; overflow: hidden;
}
.events-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(249,115,22,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(circle, rgba(252,211,77,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px;
}
.events-bg .section-title { color: var(--gold-light); text-shadow: 0 0 40px rgba(252,211,77,0.3); }
.events-bg .section-desc { color: rgba(255,255,255,0.7); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.event-card {
  border-radius: 20px; padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.event-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.event-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.event-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.1rem;
}
.event-emoji { font-size: 2.8rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.event-badge {
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff; padding: 0.3rem 0.9rem; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap;
}
.event-card h3 {
  color: #fff; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.65rem; line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.event-card p {
  color: rgba(255,255,255,0.82); font-size: 0.84rem;
  line-height: 1.75; margin-bottom: 1.1rem; flex: 1;
}
.event-label {
  display: inline-block;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95); padding: 0.28rem 0.85rem; border-radius: 50px;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.04em; margin-top: auto;
}

/* ─── MAGAZINE ─── */
.magazine-bg { background: var(--cream); }
/* ─── MAGAZINE (portrait thumbnail grid) ─── */
.magazine-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; padding: 0.5rem 0; }
.magazine-card {
  width: 190px; text-align: center; cursor: pointer;
  transition: transform 0.3s ease;
}
.magazine-card:hover { transform: translateY(-10px); }
.magazine-card.no-pdf { cursor: default; }
.magazine-card.no-pdf:hover { transform: none; }
.mag-cover {
  width: 155px; height: 215px;
  border-radius: 5px 12px 12px 5px;
  overflow: hidden; margin: 0 auto 1rem;
  box-shadow: 6px 6px 22px rgba(0,0,0,0.28), -2px 0 6px rgba(0,0,0,0.12);
  position: relative;
}
.mag-cover::before {
  content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.28), transparent);
  z-index: 2; pointer-events: none;
}
.mag-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-cover-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem; color: #fff; position: relative; overflow: hidden;
}
.mag-cover-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 14px 14px;
}
.mag-cover-emoji { font-size: 2.8rem; margin-bottom: 0.2rem; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4)); position: relative; }
.mag-cover-year {
  font-family: 'Cinzel Decorative', serif; font-size: 1.7rem; font-weight: 900;
  color: var(--gold-light); text-shadow: 0 2px 8px rgba(0,0,0,0.5); line-height: 1; position: relative;
}
.mag-cover-name { font-size: 0.56rem; opacity: 0.82; margin-top: 0.4rem; line-height: 1.4; position: relative; text-transform: uppercase; letter-spacing: 0.07em; }
.mag-info-below { padding: 0 0.25rem; }
.mag-year-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  color: #fff; padding: 0.18rem 0.75rem; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; margin-bottom: 0.45rem;
}
.mag-info-below h3 { font-size: 0.82rem; color: var(--maroon); font-weight: 700; margin-bottom: 0.2rem; line-height: 1.35; }
.mag-info-below .mag-pages-info { font-size: 0.68rem; color: #aaa; display: block; margin-bottom: 0.65rem; }
.btn-read-mag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  color: #fff; padding: 0.42rem 1rem; border-radius: 50px;
  font-size: 0.74rem; font-weight: 700; border: none; cursor: pointer;
  box-shadow: 0 3px 10px rgba(159,18,57,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-read-mag:hover { transform: scale(1.05); box-shadow: 0 5px 18px rgba(159,18,57,0.42); }
.btn-read-mag.disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }

/* ─── MEDIA ─── */
.media-bg { background: linear-gradient(180deg, #FEF3C7 0%, var(--cream) 100%); }
.media-tabs { display: flex; gap: 0.6rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.5rem 1.4rem; border: 2px solid var(--saffron); border-radius: 50px;
  background: transparent; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--saffron); transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--saffron); color: var(--white); }
.media-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.media-item {
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
  position: relative; background: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.media-item:hover { transform: scale(1.04); box-shadow: var(--shadow); }
.media-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 0.9rem;
  opacity: 0; transition: opacity 0.3s;
}
.media-item:hover .overlay { opacity: 1; }
.media-item .overlay span { color: var(--white); font-size: 0.75rem; font-weight: 600; }

/* ─── TEAM ─── */
.team-bg { background: linear-gradient(150deg, var(--maroon) 0%, var(--deep-maroon) 100%); }
.team-bg .section-title { color: var(--gold-light); }
.team-bg .section-desc { color: rgba(255,255,255,0.6); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.team-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(252,211,77,0.18);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.11); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); font-weight: 800;
  border: 3px solid rgba(252,211,77,0.3); box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.team-card h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.3rem; font-weight: 600; }
.team-card .role { color: var(--gold-light); font-size: 0.78rem; font-weight: 600; }
.team-card .society { color: rgba(255,255,255,0.42); font-size: 0.72rem; margin-top: 0.3rem; }

/* ─── CONTACT ─── */
.contact-bg { background: linear-gradient(135deg, var(--cream) 0%, #FEF3C7 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info-title { font-family: 'Cinzel Decorative', serif; color: var(--maroon); font-size: 1.1rem; margin-bottom: 1.75rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(249,115,22,0.2);
}
.contact-item div p { color: var(--text-mid); font-size: 0.87rem; line-height: 1.65; }
.contact-item div strong { color: var(--maroon); display: block; margin-bottom: 0.2rem; font-weight: 600; }
.contact-item div a { color: var(--saffron); text-decoration: none; }
.contact-item div a:hover { text-decoration: underline; }
.contact-mantra {
  margin-top: 2rem; padding: 1.5rem;
  background: linear-gradient(135deg, rgba(249,115,22,0.07), rgba(159,18,57,0.07));
  border-radius: var(--radius); border: 1px solid rgba(249,115,22,0.15); text-align: center;
}
.contact-mantra p { font-family: 'Noto Serif Devanagari', serif; font-size: 1rem; color: var(--maroon); line-height: 1.8; }
.contact-mantra small { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--text-mid); }
.contact-form {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); border-top: 4px solid var(--saffron);
}
.contact-form-title { font-family: 'Cinzel Decorative', serif; color: var(--maroon); font-size: 1rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--text-mid); margin-bottom: 0.45rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(217,119,6,0.2); background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 0.9rem; border-radius: 50px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  color: var(--white); font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.btn-submit:hover { opacity: 0.92; transform: translateY(-1px); }
#form-success {
  display: none; text-align: center; margin-top: 1.25rem;
  color: #15803d; font-weight: 600; font-size: 0.92rem;
  padding: 1rem 1.25rem; background: rgba(21,128,61,0.07);
  border-radius: var(--radius-sm); border: 1px solid rgba(21,128,61,0.25);
  line-height: 1.6;
}
#form-error {
  display: none; text-align: center; margin-top: 1.25rem;
  color: #b91c1c; font-weight: 600; font-size: 0.92rem;
  padding: 1rem 1.25rem; background: rgba(185,28,28,0.06);
  border-radius: var(--radius-sm); border: 1px solid rgba(185,28,28,0.2);
  line-height: 1.6;
}
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ─── SLIDER ─── */
.slider-section {
  padding: 5rem 0 0;
  background: linear-gradient(180deg, var(--deep-maroon) 0%, var(--maroon) 100%);
  overflow: hidden;
}
.slider-header { text-align: center; padding: 0 2rem 3rem; }
.slider-header .section-tag { background: linear-gradient(135deg, var(--saffron), var(--gold)); }
.slider-header .section-title { color: var(--gold-light); }
.slider-header .section-desc  { color: rgba(255,255,255,0.65); }
.slider-wrapper {
  position: relative; width: 100%; overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  min-width: 100%; height: 480px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.slide-emoji {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  font-size: 7rem; opacity: 0.3; z-index: 1; pointer-events: none;
  transition: transform 0.6s ease;
}
.slide.active .slide-emoji { transform: translate(-50%, -62%) scale(1.06); }
.slide-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 3rem; z-index: 2; color: var(--white);
}
.slide-content h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold-light); margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.slide-content p {
  font-size: 0.92rem; color: rgba(255,255,255,0.8); line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5); max-width: 600px;
}
.slide-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--white); font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.85rem; border-radius: 50px;
  margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em;
}
/* Arrow buttons */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); border: 1px solid rgba(252,211,77,0.3);
  color: var(--gold-light); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: rgba(252,211,77,0.2); transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: 1.25rem; }
.slider-btn.next { right: 1.25rem; }
/* Dot indicators */
.slider-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 1.25rem 0 1.5rem;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer;
  transition: background 0.3s, width 0.3s; padding: 0;
}
.slider-dot.active { background: var(--gold-light); width: 24px; border-radius: 4px; }
@media (max-width: 900px) {
  .slide { height: 340px; }
  .slide-emoji { font-size: 5rem; }
  .slide-content { padding: 1.5rem; }
  .slider-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .slide { height: 280px; }
  .slide-emoji { font-size: 3.5rem; }
  .slider-section { padding: 3.5rem 0 0; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--deep-maroon);
  padding: 4rem 5rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 2rem;
}
.footer-brand .footer-logo {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.75rem;
}
.footer-brand .footer-mantra {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 0.95rem; color: rgba(252,211,77,0.65); margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-col h4 {
  color: var(--gold-light); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 1.25rem; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.83rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  section { padding: 5rem 3rem; }
  footer { padding: 3rem 3rem 2rem; }
  .hero { padding: 8rem 3rem 5rem; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 4rem 2rem; }
  .hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; text-align: center; gap: 3rem; }
  .hero-divider { margin: 0 auto 1.5rem; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 3rem 2rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .hero-logo-badge { width: 72px; height: 72px; bottom: -12px; right: -12px; }
  .hero-img-frame { max-width: 280px; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 0.75rem; }
  section { padding: 3.5rem 1.5rem; }
}

/* ── Magazine Download Modal ── */
.mag-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,6,30,0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.mag-modal {
  background: #fff; border-radius: 22px; padding: 2rem 1.75rem;
  width: 100%; max-width: 420px; position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  animation: magModalIn 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes magModalIn { from { transform: scale(0.88) translateY(20px); opacity:0; } to { transform: scale(1) translateY(0); opacity:1; } }
.mag-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: #f3f4f6; border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center; color: #555;
  transition: background .15s;
}
.mag-modal-close:hover { background: #e5e7eb; }
.mag-modal-header { text-align: center; margin-bottom: 1rem; }
.mag-modal-icon { font-size: 2.4rem; display: block; margin-bottom: 0.4rem; }
.mag-modal h2 { font-size: 1.15rem; color: var(--maroon); margin-bottom: 0.2rem; font-family: 'Cinzel Decorative',serif; }
.mag-modal-mag-title { font-size: 0.82rem; color: #888; font-style: italic; }
.mag-modal-note {
  background: linear-gradient(135deg,rgba(159,18,57,0.06),rgba(249,115,22,0.06));
  border: 1px solid rgba(249,115,22,0.22); border-radius: 10px;
  padding: 0.6rem 0.9rem; font-size: 0.78rem; color: var(--text-mid);
  margin-bottom: 1.1rem; text-align: center; line-height: 1.55;
}
.mag-field { margin-bottom: 0.85rem; }
.mag-field label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--maroon); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mag-field input {
  width: 100%; padding: 0.7rem 1rem; border: 1.5px solid #e5e7eb;
  border-radius: 10px; font-size: 0.88rem; font-family: inherit; outline: none;
  transition: border-color .2s; background: #fafafa; color: #111;
}
.mag-field input:focus { border-color: var(--maroon); background: #fff; }
.mag-field input[readonly] { background: #f4f4f5; color: #6b7280; cursor: default; font-size: 0.82rem; }
.mag-geo-hint { font-size: 0.68rem; color: #aaa; margin-top: 0.2rem; }
.mag-modal-actions { display: flex; gap: 0.65rem; margin-top: 1.35rem; }
.btn-mag-read {
  flex: 1; padding: 0.72rem; border: 1.5px solid var(--border); border-radius: 11px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  background: #fdf9f3; color: var(--maroon); transition: background .2s;
}
.btn-mag-read:hover { background: #fde8cc; }
.btn-mag-dl {
  flex: 1; padding: 0.72rem; border: none; border-radius: 11px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg,var(--maroon),var(--saffron));
  color: #fff; box-shadow: 0 4px 14px rgba(159,18,57,0.28);
  transition: opacity .2s, transform .2s;
}
.btn-mag-dl:hover { opacity:.9; transform: scale(1.02); }
.mag-modal-legal { font-size: 0.65rem; color: #bbb; text-align: center; margin-top: 0.9rem; line-height: 1.5; }

/* ─── VISITOR COUNTER BADGE (added for dynamic CMS version) ─── */
.visitor-counter-badge {
  position: fixed;
  top: 78px;
  right: 16px;
  z-index: 998;
  background: rgba(80,7,36,0.92);
  backdrop-filter: blur(10px);
  color: var(--gold-light, #FCD34D);
  border: 1px solid rgba(217,119,6,0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.visitor-counter-badge span { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
  .visitor-counter-badge { top: 74px; right: 10px; font-size: 0.68rem; padding: 0.32rem 0.7rem; }
}
