:root {
  --primary: #2f0b59;
  --primary-dark: #1b062f;
  --secondary: #d4b15a;
  --secondary-soft: #f1df9a;
  --accent: #8a6bb8;
  --bg: #f8f5ef;
  --bg-dark: #0d0d0d;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --line: rgba(47, 11, 89, 0.12);
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 245, 239, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 55px;
  width: auto;
  display: block;
}

/* =========================
   NAVIGATION
========================= */

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--text);
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--secondary);
}

/* =========================
   PROGRAM DROPDOWN FIX
========================= */

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;

  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  padding: 0 !important;
  margin: 0 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);

  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 42px;

  border-radius: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus,
.dropdown-toggle:active {
  color: var(--primary);
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.dropdown-toggle::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.78rem;
  margin-left: 6px;
  transform: translateY(-1px);
  color: inherit;
}

.dropdown-toggle.active {
  color: var(--primary);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 270px;
  background: var(--white);
  list-style: none;
  padding: 0.6rem 0;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(47, 11, 89, 0.1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  z-index: 9999;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  display: block;
  height: auto;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu a:hover {
  background: rgba(212, 177, 90, 0.12);
  color: var(--primary);
}

.dropdown-menu a.active::after {
  display: none;
}

/* =========================
   NAV BUTTON
========================= */

.btn {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn.btn-nav {
  padding: 0.95rem 1.45rem;
  height: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #4b1f86);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(47, 11, 89, 0.15);
}

.btn.btn-nav:hover {
  background: linear-gradient(135deg, #24103f, var(--primary));
  color: var(--white);
}

.btn-primary,
.btn-nav {
  background: linear-gradient(135deg, var(--primary), #4b1f86);
  color: var(--white);
}

.btn-primary:hover,
.btn-nav:hover {
  background: linear-gradient(135deg, #24103f, var(--primary));
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 177, 90, 0.12);
}

.btn-light {
  background: linear-gradient(135deg, #cda84f, #f1df9a);
  color: #24103f;
}

.btn-light:hover {
  background: linear-gradient(135deg, #b78d2d, #ebd37a);
}

/* =========================
   HERO
========================= */

.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(212, 177, 90, 0.22), transparent 28%),
    radial-gradient(circle at right bottom, rgba(47, 11, 89, 0.22), transparent 24%),
    linear-gradient(135deg, #12051f, #2f0b59, #14071f);
}

.page-hero {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(212, 177, 90, 0.16);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.section-tag.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  color: var(--secondary-soft);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--secondary);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 650px;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* =========================
   CARDS
========================= */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card,
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 11, 89, 0.1);
}

.stat-card h3 {
  color: var(--primary);
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
}

.stat-card p,
.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.hero-panel {
  background: linear-gradient(155deg, #1b062f, #2f0b59, #0d0d0d);
  color: var(--white);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(212, 177, 90, 0.35);
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.panel-label {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.anniversary-display {
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--secondary-soft);
  margin-bottom: 1rem;
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.panel-list {
  display: grid;
  gap: 0.8rem;
}

.panel-list div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 5rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(47, 11, 89, 0.04), rgba(212, 177, 90, 0.08));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 2.15rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.section-heading p {
  color: var(--muted);
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.three-cols,
.contact-grid,
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* =========================
   TIMELINE
========================= */

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(47, 11, 89, 0.1);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.35rem;
}

/* =========================
   GALLERY
========================= */

.gallery-card {
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(27, 6, 47, 0.92), rgba(47, 11, 89, 0.32)),
    linear-gradient(135deg, #2b183d, #100714);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
}

.gallery-overlay {
  width: 100%;
  padding: 1.4rem;
  color: var(--white);
}

.gallery-overlay h3 {
  margin-bottom: 0.45rem;
}

/* =========================
   CTA
========================= */

.cta-box {
  background: linear-gradient(135deg, #1b062f, #2f0b59, #0d0d0d);
  color: var(--white);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cta-box h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

/* =========================
   BREADCRUMB / BACK BUTTON
========================= */

.back-button-container {
  margin-top: 25px;
  margin-bottom: -10px;
}

.back-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(212, 177, 90, 0.15);
  transition: 0.3s ease;
}

.back-button:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

.breadcrumb {
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 6px;
}

/* =========================
   PROGRAM SECTION
========================= */

.program-section {
  position: relative;
}

.center-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.center-heading p {
  margin-left: auto;
  margin-right: auto;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.program-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fcfaf6);
  border: 1px solid rgba(47, 11, 89, 0.1);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 177, 90, 0.35);
}

.program-badge {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(212, 177, 90, 0.15);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.program-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(47, 11, 89, 0.08), rgba(212, 177, 90, 0.18));
}

.program-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.program-card p {
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.program-link:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

/* =========================
   PROGRAM WEBSITE SECTION
========================= */

.program-website-section {
  margin-top: 60px;
}

.program-website-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-website-card h3 {
  font-size: 28px;
  margin-bottom: 18px;
  color: #2a0b57;
}

.program-website-card p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 28px;
  color: #555;
  max-width: 800px;
}

.program-website-card .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   PROGRAM BANNER
========================= */

.program-banner-section {
  margin-top: -40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.program-banner-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 177, 90, 0.18);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.program-banner-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FLOATING SOCIAL
========================= */

.floating-social {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, background 0.25s ease;
}

.floating-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: scale(1.08);
}

/* =========================
   SCROLL TO TOP
========================= */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--primary);
  color: white;
  border: none;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: linear-gradient(135deg, #050505, #1b062f, #2f0b59);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3,
.footer-about h3,
.footer-social h3 {
  color: var(--secondary-soft);
  margin-bottom: 0.6rem;
}

.footer-about p,
.footer-social a,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin-bottom: 0.5rem;
}

.social-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero-grid,
  .cta-box,
  .footer-wrap,
  .two-cols,
  .three-cols,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav > ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .main-nav a,
  .dropdown-toggle {
    height: auto;
  }

  .dropdown-menu {
    left: 0;
    transform: none;
    min-width: 240px;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .floating-social {
    right: 12px;
    gap: 10px;
  }

  .floating-social a {
    width: 42px;
    height: 42px;
    font-size: 0.75rem;
  }

  .footer-bottom {
    text-align: left;
  }
}


/* ===== REMOVE PROGRAM BUTTON BORDER (FINAL FIX) ===== */

.dropdown-toggle {
  all: unset;                 /* 🔥 remove ALL default styles */
  cursor: pointer;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* arrow */
.dropdown-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 6px;
}

/* remove ANY focus/active border (iPhone fix) */
.dropdown-toggle:focus,
.dropdown-toggle:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
}

/* remove tap highlight (iOS) */
.dropdown-toggle {
  -webkit-tap-highlight-color: transparent;
}

.dropdown-toggle {
  all: unset;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle,
.dropdown-toggle * {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}


.dropdown-toggle {
  all: unset !important;
  font: inherit !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 6px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus,
.dropdown-toggle:active {
  color: var(--primary) !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
  display: block;
}