/* ===== Base ===== */
:root {
  --color-saffron: #e8a43a;
  --color-maroon: #7a1e1e;
  --color-navy: #1f2a44;
  --color-cream: #fff8ee;
  --color-charcoal: #333333;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lora", serif;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  background: linear-gradient(135deg, var(--color-saffron), var(--color-maroon));
  color: #fff;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav {
  position: relative;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 120%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  min-width: 180px;
}

.nav-links.nav-open {
  display: flex;
}

.nav-links li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .nav-links li {
    border: none;
  }
  .nav-links a {
    padding: 0.4rem 0.8rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(135deg, var(--color-saffron), var(--color-maroon));
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.18), transparent 55%);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  text-align: left;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-mandala {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  right: -60px;
  bottom: -80px;
  opacity: 0.6;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.btn-primary {
  background: #fff;
  color: var(--color-maroon);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border: 1px solid var(--color-maroon);
  color: var(--color-maroon);
  background: #fff;
}

.btn-outline:hover {
  background: var(--color-maroon);
  color: #fff;
}

.btn-link {
  background: none;
  border: none;
  color: var(--color-navy);
  padding: 0;
  font-size: 0.85rem;
}

.btn-link:hover {
  text-decoration: underline;
}

.full-width {
  width: 100%;
}

/* ===== Sections ===== */
.section {
  padding: 3rem 0;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* ===== About ===== */
.about {
  background: linear-gradient(to right, #fff, rgba(232, 164, 58, 0.08));
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-top: 0;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-saffron);
}

.stat-icon {
  font-size: 1.4rem;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
}

/* Desktop about */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }
}

/* ===== Events ===== */
.events {
  background: #fff;
}

.event-list {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 30, 30, 0.12);
}

.event-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--color-saffron);
  border-bottom-left-radius: 40px;
  opacity: 0.8;
}

.event-icon {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  font-size: 1.1rem;
  color: #fff;
}

.event-card h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0 0 0.4rem;
}

.event-meta {
  font-size: 0.85rem;
  margin: 0.1rem 0;
}

.event-desc {
  font-size: 0.9rem;
  margin: 0.7rem 0 0.9rem;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Desktop events */
@media (min-width: 768px) {
  .event-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Gallery ===== */
.gallery {
  background: linear-gradient(to bottom, rgba(31, 42, 68, 0.04), transparent);
}

.gallery-grid {
  display: grid;
  gap: 0.8rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  height: 140px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Placeholder backgrounds – replace with real images */
.gallery-item-1 {
  background-image: linear-gradient(135deg, #f9d976, #f39f86);
}
.gallery-item-2 {
  background-image: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}
.gallery-item-3 {
  background-image: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}
.gallery-item-4 {
  background-image: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

.gallery-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  z-index: 1;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
}

.gallery-actions {
  margin-top: 1.2rem;
}

/* Desktop gallery */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ===== Membership ===== */
.membership {
  background: var(--color-saffron);
  color: #fff;
  position: relative;
}

.membership::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.7) 0,
    rgba(255, 255, 255, 0.7) 12px,
    transparent 12px,
    transparent 24px
  );
}

.membership-inner {
  display: grid;
  gap: 2rem;
}

.membership-text h2 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
}

.membership-benefits {
  padding-left: 1.1rem;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.membership-form-card {
  background: #fff;
  color: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.membership-form-card h3 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
}

.membership-form-card form {
  display: grid;
  gap: 0.7rem;
}

.membership-form-card label {
  display: block;
  font-size: 0.85rem;
}

.membership-form-card input {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-family: inherit;
  font-size: 0.9rem;
}

/* Desktop membership */
@media (min-width: 768px) {
  .membership-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

/* ===== Contact ===== */
.contact {
  background: var(--color-navy);
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info h2 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.contact-list a {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.contact-map .map-placeholder {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Desktop contact */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-border {
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    #e8a43a 0,
    #e8a43a 16px,
    #7a1e1e 16px,
    #7a1e1e 32px
  );
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  padding: 1.8rem 1.25rem 1.2rem;
}

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.3rem;
}

.footer-col a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 0.8rem 1.25rem 1.2rem;
  color: #9ca3af;
}

/* Desktop footer */
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.logo-img {
  height: 120px;          /* Adjust size as needed */
  width: auto;
  border-radius: 70%;    /* Keeps the circular shape crisp */
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 120px;
  }
}

/* ===== Board of Directors ===== */
.board {
  background: linear-gradient(to bottom, rgba(232, 164, 58, 0.08), transparent);
}

.board-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 1.5rem;
}

.board-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-maroon);
}

.board-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 3px solid var(--color-saffron);
}

.board-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin: 0.3rem 0;
  font-weight: 600;
}

.board-role {
  font-size: 0.85rem;
  color: var(--color-maroon);
}

/* ============================================================
   HOLI 2026 – EVENT PAGE STYLES
   Matches BJSC Website Design System
   Style 1 Header (Saffron → Pink Gradient)
   ============================================================ */

/* ---------- HEADER (STYLE 1) ---------- */
.holi-header {
  background: linear-gradient(135deg, #e8a43a, #e85a8b);
  padding: 1rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.holi-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.holi-logo {
  height: 60px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
}

.holi-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* ---------- HERO IMAGE ---------- */
.holi-hero {
  width: 100%;
  overflow: hidden;
}

.holi-hero-img {
  width: 80%;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: var(--shadow-soft);
}

/* ---------- EVENT DETAILS ---------- */
.holi-details p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.holi-info-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.holi-info-card {
  display: flex;
  gap: 0.8rem;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-saffron);
}

.holi-info-icon {
  font-size: 1.6rem;
}

.holi-info-card h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.holi-info-card a {
  color: var(--color-navy);
  text-decoration: underline;
  font-size: 0.9rem;
}

/* ---------- IMPORTANT NOTE ---------- */
.holi-note {
  background: rgba(232, 164, 58, 0.15);
  border-left: 4px solid var(--color-saffron);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

/* ---------- SCHEDULE ---------- */
.holi-schedule-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.holi-schedule-list li {
  margin-bottom: 0.5rem;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (min-width: 768px) {
  .holi-header-inner {
    padding: 0.5rem 0;
  }

  .holi-title {
    font-size: 2.2rem;
  }

  .holi-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .holi-hero-img {
    border-radius: var(--radius-lg);
  }
}

/* ============================================================
   SPONSORS SECTION — BJSC DESIGN SYSTEM
   ============================================================ */

.sponsors-section {
  padding: 3rem 0;
  background: #faf7f2; /* soft warm tone matching BJSC aesthetic */
}

.sponsors-section .section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.sponsors-section .section-subtitle {
  text-align: center;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #444;
}

.sponsors-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}

.sponsor-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.sponsor-logo {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  filter: saturate(1.1);
}


/* bjsc-style sponsor grid */

.bjsc-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.bjsc-sponsor-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px; /* bjsc card height */
}

.bjsc-sponsor-card img {
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.page-content {
  padding: 1rem 0 2rem;
}

.pdf-viewer-section {
  width: 100%;
}

.pdf-frame {
  width: 100%;
  min-height: 80vh;
  border: none;
  background: #fff;
}

.pdf-fallback {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #5f6a78;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #1f1f1f;
}

.holi-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #5f6a78;
}

.page-heading {
  text-align: right;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8c1f2f;
  font-weight: 700;
}

.holi-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-heading {
    text-align: left;
  }
}