/* =========================
   GLOBAL RESET & BASE
========================= */

/* CRITICAL: Disable Safari text inflation */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


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

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #fff;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: clamp(12px, 2vh, 20px);
  left: clamp(12px, 2vw, 20px);
  z-index: 1000;
}


.hamburger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1F1F2E;

  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bars span {
  width: 20px;
  height: 2px;
  background: #fff;
}

.menu-text {
  font-size: 14px;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .menu-text {
    display: none;
  }
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown-menu {
  position: absolute;
  top: 55px;
  left: 0;
  background: #2A2A40;
  border-radius: 14px;
  padding: 12px 0;
  min-width: 170px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.25s ease;
}

body.menu-open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
}

.dropdown-menu a:hover::before,
.dropdown-menu a.active::before {
  opacity: 1;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  width: 100%;
  background:
    linear-gradient(
      135deg,
      rgba(200, 0, 120, 0.8),
      rgba(70, 0, 90, 0.9)
    ),
    url("/static/images/background.png") center / cover no-repeat;
}

:root {
  --hero-scale: 1;
}

/* Large desktops (your 24" monitor) */
@media (min-width: 1600px) {
  :root {
    --hero-scale: 1.15;
  }
}

/* Small laptops */
@media (max-width: 1200px) {
  :root {
    --hero-scale: 0.95;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  :root {
    --hero-scale: 0.9;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --hero-scale: 0.85;
  }
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;

  /* Controlled vertical spacing */
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);

  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* =========================
   TYPOGRAPHY
========================= */

.script-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.6vh, 1.8rem);
}

.united {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vh, 4rem);
  letter-spacing: clamp(0.2em, 0.4vw, 0.35em);
  margin: 1rem 0;
}

.presents,
.the {
  font-size: clamp(0.8rem, 1.4vh, 1rem);
  letter-spacing: 0.35em;
}

.the {
  margin-top: clamp(0.5rem, 1.5vh, 1.5rem);

}

.awakening {
  font-weight: 800;
  text-transform: uppercase;

  /* safer scaling */
  font-size: clamp(2.6rem, 6vw, 5rem);

  /* critical fix */
  line-height: 1.15;

  margin: 1.5rem 0;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);

  /* prevent overflow on narrow screens */
  word-break: keep-all;
  overflow-wrap: normal;
}

/* =========================
   MOVEMENT LABEL
========================= */

.movement-box {
  display: inline-block;
  background: #fdf0d5;
  color: #000;
  padding: 0.6rem 1.8rem;
  margin: 1.5rem 0;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  transform: rotate(-1deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* =========================
   SUPPORT SECTION
========================= */

.support-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.support-section button {
  padding: 0.7rem 1.5rem;
  min-height: 44px;
  background: #fff;
  color: #70004a;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-section button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
  background-color: #70004a;;
}

.counter {
  font-size: 1rem;
  font-weight: 600;
  color: #fdf0d5;
}

/* =========================
   EVENT BAR
========================= */

.event-bar {
  margin-top: clamp(1.5vh, 2vh, 2.5vh);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.event-group {
  display: flex;
  gap: 1.5rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.event-item i {
  font-size: 1.8rem;
}

.event-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.6);
}

.location-link {
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.location-link:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  color: #70004a;
}

@media (max-width: 600px) {
  .event-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .event-divider {
    display: none;
  }
}

/* =========================
   MODAL
========================= */

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal {
  background: #fff;
  color: #000;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  position: relative;
}

.modal input,
.modal button {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
}

.modal button {
  background: #70004a;
  color: #fff;
  border: none;
  cursor: pointer;
}
.modal h3 {
  margin-top: 1.5rem;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
}


/* =========================
   HERO ANIMATIONS
========================= */

/* Base animation setup */
.animate {
  opacity: 0;
  animation-duration: 1.8s; /* was 1.6s */
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}


/* Directions */
.fade-top {
  animation-name: fadeTop;
}

.fade-bottom {
  animation-name: fadeBottom;
}

.fade-left {
  animation-name: fadeLeft;
}

.fade-right {
  animation-name: fadeRight;
}

/* Keyframes */
@keyframes fadeTop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   ANIMATION DELAYS
========================= */

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }


/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}




/* Slider here */

/* ===== CURVED CAROUSEL (RADIAL SLIDER) ===== */
.curved-carousel {
  position: relative;
  width: 100%;
  height: 480px;          /* 🖥 Desktop */
  margin: 4rem auto;
  overflow: hidden;
}

.ticket-carousel-section {
  width: 100%;
  display: flex;              /* 🔑 make it a flex column */
  flex-direction: column;
  align-items: center;       /* 🔑 center all children horizontally */
  margin-top: 1rem;
}


.ticket-carousel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #70004a;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  width: 100%;
text-align: center;
}



/* Optional center guide line (like osmo) */
.carousel-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: translateX(-50%);
  z-index: 1;
}

/* Each item placed by JS */
.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  will-change: transform;
}

.carousel-item img {
  width: 220px;              /* 🔑 bigger images */
  border-radius: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* Focused item bigger */
.carousel-item.active img {
  transform: scale(1.15);
}

/* Hover effect */
.carousel-item a:hover img {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */

/* 📲 Tablet (iPad and similar) */
@media (max-width: 1024px) {
  .curved-carousel {
    height: 460px;
  }

  .carousel-item img {
    width: 190px;
  }
}

@media (max-width: 900px) {
  .curved-carousel {
    height: 360px;
  }

  .carousel-item img {
    width: 180px;
  }
}

@media (max-width: 600px) {
  .curved-carousel {
    height: 280px;
  }

  .carousel-item img {
    width: 150px;
  }
}

  /* Hover the items */

  /* ===== FORCE FULL FOCUS ON HOVER (ANY POSITION) ===== */

.carousel-item:hover {
  z-index: 10;                  /* bring to front */
}

.carousel-item:hover img {
  transform: scale(1.2) !important;   /* 🔑 override JS scale */
  opacity: 1 !important;              /* 🔑 full brightness */
  filter: brightness(1.05);
}


/* Donation section */


/* ===============================
   SECTION
================================ */

/* ===============================
   SECTION
================================ */

.mission-section {
  background: #ffffff;
  min-height: 100vh; /* FULL SCREEN FEEL */
  padding: 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
.donation-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #70004a;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

/* ===============================
   GRID
================================ */

.mission-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}

/* ===============================
   LEFT COLUMN
================================ */

.mission-left {
  background: #B6D7B9;
  min-height: 520px;        /* ⬅️ increase from 520px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-image {
  width: 100%;                /* ⬅️ wider */
  max-width: none;            /* ⬅️ remove cap */
  height: auto;               /* keeps aspect ratio */
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  margin-right: -5rem;
}

/* ===============================
   TABLET IMAGE SCALE
================================ */
@media (max-width: 1023px) {
  .mission-left {
    min-height: 480px;
    padding: 3rem 2rem;
  }

  .mission-image {
    width: 110%;          /* still bold */
    margin-right: -4rem; /* softer offset */
  }
}


/* ===============================
   MOBILE IMAGE SCALE
================================ */
@media (max-width: 767px) {
  .mission-left {
    min-height: 420px;
    padding: 2.5rem 1.25rem;
    justify-content: center;
    margin-right: -5rem;
  }

  .mission-image {
    width: 120%;         /* fills frame */
    margin-right: 0;    /* reset offset */
    transform: scale(1.05); /* subtle emphasis */
  }
}


/* ===============================
   RIGHT COLUMN
================================ */

.mission-right {
  max-width: 600px;
}

.mission-right p {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: 'Inter', Arial, sans-serif;
}

/* ===============================
   BUTTON
================================ */

.donate-button-section {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

.donate-button-section button {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  background: #ffffff;
  color: #70004a;
  border: 2px solid #B6D7B9;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.donate-button-section button:hover {
  background-color: #70004a;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(112,0,74,0.35);
}



/* Tablet */

/* ===============================
   TABLET SPACING FIX (iPad etc.)
================================ */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Reduce excessive vertical height */
  .mission-section {
    min-height: auto;        /* 🔑 key fix */
    padding: 0rem 0;         /* smaller than desktop */
  }

  /* Stop vertical centering */
  .mission-grid {
    align-items: flex-start;
  }

  /* Tighten donate spacing */
  .donate-button-section {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}


@media (min-width: 1024px) and (max-width: 1366px) {
  .mission-section {
    min-height: auto;        /* 🔑 key fix */
    padding: 0rem 0;         /* smaller than desktop */
  }

  /* Stop vertical centering */
  .mission-grid {
    align-items: flex-start;
  }
}



/* ===============================
   MOBILE
================================ */

@media (max-width: 767px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-left {
    min-height: auto;
    padding: 2rem;
  }

  .donate-button-section {
    justify-content: center;
  }
}



/* Map Section */

.location-section {
  margin-top: 3rem;
}

/* Section spacing */
.location-section {
  margin-top: 3rem;
}

.map-embed {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Mobile */
@media (max-width: 767px) {
  .map-embed {
    aspect-ratio: 4/ 3;
  }
}


/* Footer Section */

 .site-footer {
  background: #b6d7b9;
  font-family: Arial, sans-serif;
  color: #000;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #70004a;
}

/* CONTACT LIST */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
margin-bottom: 20px; 
display: flex; 
gap: 20px; 
align-items: center; }

.contact-list li i{ 
  font-size: 30px; 
  color: #000;
 }

 .contact-list a { 
  color: #000; 
  text-decoration: none;
}

.contact-list li a:hover { 
  color: #70004a; /* accent color */ 
  transform: translateX(4px); 
}

.contact-list li a:hover i {
   color: #70004a; 
  }

/* Links */
.footer-column {
  text-align: center;
}

.footer-column .footer-links {
  display: inline-block;
  text-align: left; /* keeps list neat while container is centered */
}

.links-column .footer-links {
  display: inline-block;
  text-align: left; /* keeps list neat while container is centered */
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
}

.footer-links a:hover {
  color: #70004a;
}

/* Social */
.social-column .social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-icons a {
  margin-right: 12px;
  font-size: 35px;
  color: #000;
}

.social-icons a:hover {
  color: #70004a;
  transform: translateX(4px); 
}

/* Bottom bar */
.footer-bottom {
  background: #fff;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: #333;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .contact-list li {
    margin-bottom: 10px;
  }
  .contact-list li a{
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    flex-wrap: wrap;
  }

  .footer-column {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {

  /* Footer container spacing */
  .footer-container {
    padding: 30px 16px;
  }

  /* Force all footer columns to align left */
  .footer-column {
    text-align: left;
  }
}


/* ===== NAVBAR ===== */

.youtube-section {
  padding: 80px 0;
  background: #fafafa;
  text-align: center;
}

.youtube-section-title {
 font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #70004a;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 30px;
  margin-top: -30px;
}

.youtube-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.youtube-slider {
  display: grid;
  grid-auto-flow: column;
  gap: 24px;
  transition: transform 0.5s ease;
}

.youtube-card {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.youtube-card iframe {
  width: 100%;
  height: 280px;
  border: none;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.slider-btn.left { left: 10px; }
.slider-btn.right { right: 10px; }

/* -------- RESPONSIVE BREAKPOINTS -------- */

/* Desktop: 3 videos */
@media (min-width: 1024px) {
  .youtube-slider {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}

/* Tablet: 2 videos */
@media (max-width: 1023px) and (min-width: 600px) {
  .youtube-slider {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

/* Mobile: 1 video */
@media (max-width: 599px) {
  .youtube-slider {
    grid-auto-columns: 100%;
  }

  .slider-btn {
    top: 55%;
  }
}



/* New */
/* ===============================
   DONATION SECTION ANIMATIONS
   (SCROLL-BASED, ISOLATED)
================================ */

/* Base hidden state */
.donate-fade-left,
.donate-fade-right,
.donate-fade-bottom {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Directions */
.donate-fade-left {
  transform: translateX(-60px);
}

.donate-fade-right {
  transform: translateX(60px);
}

.donate-fade-bottom {
  transform: translateY(40px);
}

/* Visible state */
.donate-fade-left.visible,
.donate-fade-right.visible,
.donate-fade-bottom.visible {
  opacity: 1;
  transform: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .donate-fade-left,
  .donate-fade-right,
  .donate-fade-bottom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}




























