/* ============================================
   RCCG TLC Manchester – Design System
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-gold: #ECCE68;
  --color-gold-dark: #d4b84e;
  --color-blue: #87A7F0;
  --color-blue-dark: #6b8fd9;
  --color-green: #6aa42f;
  --color-green-dark: #5a8c28;
  --color-text: #666B68;
  --color-heading: #0F0F0F;
  --color-white: #ffffff;
  --color-dark: #1a1a2e;
  --color-dark-lighter: #222240;
  --color-bg: #fafafa;
  --color-border: #e5e5e5;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section--alt {
  background-color: var(--color-bg);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-blue { color: var(--color-blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}

.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-heading);
}

.btn--gold:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--green {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--green:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-heading);
  transform: translateY(-2px);
}

.btn--blue {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.btn--blue:hover {
  background-color: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-dark);
  padding: 0.75rem 0;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

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

.header-logo img {
  height: 55px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.header-logo:hover img { opacity: 0.85; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a.active {
  color: var(--color-gold);
}

.give-btn {
  background: var(--color-green) !important;
  color: var(--color-white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600;
  transition: all var(--transition-base);
}

.give-btn::after { display: none !important; }

.give-btn:hover {
  background: var(--color-green-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-dark);
  padding: 5rem 2rem 2rem;
  transition: right var(--transition-slow);
  z-index: 1000;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-xl);
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile a {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
  transition: color var(--transition-fast), padding-left var(--transition-base);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-gold);
  padding-left: 0.5rem;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.visible {
  opacity: 1;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,.85) 0%,
    rgba(26,26,46,.6) 50%,
    rgba(26,26,46,.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,.7), rgba(26,26,46,.85));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  opacity: 1;
  color: var(--color-gold);
}

.breadcrumb a:hover { text-decoration: underline; }

/* ---------- WELCOME / ABOUT SECTION ---------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--color-gold) 20%, #fffbe6 45%, var(--color-gold) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-sweep 3s linear infinite;
}

.welcome-text h2 {
  margin-bottom: 1rem;
}

.welcome-text p {
  margin-bottom: 1.5rem;
}

.welcome-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.welcome-image:hover img {
  transform: scale(1.03);
}

/* ---------- SERVICE TIMES ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-card p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* ---------- LIVE STREAM SECTION ---------- */
.live-stream-wrapper {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-lighter) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.live-stream-wrapper h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.live-stream-wrapper > p {
  opacity: 0.7;
  margin-bottom: var(--space-lg);
}

.stream-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.stream-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- SERMONS VIDEO GRID ---------- */
.sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.sermon-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  background: var(--color-white);
}

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

.sermon-card .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

.sermon-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- TEAM / PASTORS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.team-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 25%;
}

.team-card-body {
  padding: var(--space-md);
}

.team-card h3 { margin-bottom: 0.25rem; }

.team-card .role {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- FAQ / ACCORDION ---------- */
.accordion {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
  text-align: left;
  transition: color var(--transition-fast);
}

.accordion-header:hover { color: var(--color-gold); }

.accordion-header .icon-toggle {
  font-size: 1.5rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.open .accordion-header .icon-toggle {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-body-inner {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.5rem; }
.contact-info > p { margin-bottom: var(--space-md); }

.contact-detail {
  margin-bottom: var(--space-md);
}

.contact-detail h6 {
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ---------- CONTACT FORM ---------- */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.form-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 600px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-form h2 { margin-bottom: 0.5rem; }
.contact-form > p { margin-bottom: var(--space-sm); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-heading);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(236,206,104,.2);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.8);
  padding: var(--space-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-gold);
  transform: scale(1.1);
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .welcome-grid,
  .contact-grid,
  .form-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --space-2xl: 3.5rem;
  }

  .hero { min-height: 80vh; }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form-row { grid-template-columns: 1fr; }

  .sermons-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 280px;
    padding-bottom: var(--space-lg);
  }
}


/* ============================================================
   GREATER LIGHT EVENT PAGE
   ============================================================ */

/* ---------- Flyer Header ---------- */
.event-flyer-header {
  padding-top: 72px; /* clear fixed nav */
  background: #0d0820;
}

.event-flyer-img-wrap {
  width: 100%;
  line-height: 0; /* collapse whitespace under image */
}

.event-flyer-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 90vh;
  object-fit: contain;
  object-position: top center;
}

.event-flyer-cta-bar {
  background: linear-gradient(135deg, #0d0820 0%, #1a0a3e 100%);
  border-top: 1px solid rgba(236,206,104,.2);
  padding: 1.25rem 0;
}

.event-flyer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.event-flyer-cta-label {
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.event-flyer-cta-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.event-cta-btn {
  box-shadow: 0 0 24px rgba(236,206,104,.25);
}

.event-cta-btn:hover {
  box-shadow: 0 0 40px rgba(236,206,104,.45);
}


/* ---------- Countdown ---------- */
.countdown-section {
  padding: var(--space-lg) 0;
}

.countdown-label {
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.countdown-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.45);
  margin-top: 0.3rem;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  color: rgba(236,206,104,.35);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.countdown-cta { text-align: center; }


/* ---------- About Section ---------- */
.event-about-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.event-about-content .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.event-about-content h2 { margin-bottom: 1rem; }
.event-about-content p  { margin-bottom: 1rem; }

.event-detail-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  text-align: left;
}

.event-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.event-detail-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.event-detail-card svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.event-detail-card div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-detail-card strong {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-heading);
}

.event-detail-card span {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.45;
}

.event-detail-card span a {
  color: var(--color-gold);
  font-weight: 600;
}

.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--color-gold) !important;
  margin-top: 0.25rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.venue-map-link:hover { opacity: 0.75; }


/* ---------- Speakers ---------- */
.event-speakers .section-label { color: var(--color-gold); }

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236,206,104,.2), rgba(120,60,200,.35));
  border: 2px solid rgba(236,206,104,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold);
  flex-shrink: 0;
}

.speaker-avatar--lg  { width: 96px; height: 96px; font-size: 1.75rem; border-width: 3px; }
.speaker-avatar--duo { font-size: 1.05rem; }

.speaker-featured {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(236,206,104,.07), rgba(120,60,200,.1));
  border: 1px solid rgba(236,206,104,.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.speaker-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.speaker-featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-gold);
  color: var(--color-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.speaker-featured-info h3 { color: var(--color-white); font-size: 1.7rem; margin-bottom: 0.25rem; }
.speaker-title { color: var(--color-gold); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.75rem; }
.speaker-bio   { color: rgba(255,255,255,.7); font-size: 0.93rem; line-height: 1.7; margin: 0; }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: var(--space-md);
}

.speaker-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.speaker-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236,206,104,.3);
  background: rgba(255,255,255,.07);
}

.speaker-card .speaker-avatar { width: 64px; height: 64px; font-size: 1.05rem; }
.speaker-card h4   { color: var(--color-white); font-size: 0.97rem; margin: 0; }
.speaker-card-body { display: flex; flex-direction: column; gap: 0.2rem; }

.speaker-role {
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.speaker-card--host .speaker-avatar { background: linear-gradient(135deg, rgba(135,167,240,.2), rgba(120,60,200,.3)); border-color: rgba(135,167,240,.45); color: var(--color-blue); }
.speaker-card--host .speaker-role   { color: var(--color-blue); }


/* ---------- Schedule ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.schedule-day {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-day-header {
  background: var(--color-dark);
  padding: 1.2rem 1.4rem;
}

.schedule-day-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.2rem;
}

.schedule-day-header h3 { color: var(--color-white); font-size: 1.05rem; margin: 0; }

.schedule-list {
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.schedule-list li { display: flex; align-items: flex-start; gap: 0.7rem; }

.schedule-time {
  flex-shrink: 0;
  width: 5.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3d2800;
  background: var(--color-gold);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.schedule-item { font-size: 0.88rem; color: var(--color-heading); line-height: 1.5; }

.schedule-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-top: 1.5rem;
  opacity: .75;
}

.schedule-note a { color: var(--color-gold); font-weight: 600; text-decoration: underline; }


/* ---------- Registration Section ---------- */
.register-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.register-intro .section-label { color: var(--color-gold); }

.register-perks {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.register-perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,.8);
  font-size: 0.93rem;
}

.register-perk svg {
  flex-shrink: 0;
  color: var(--color-gold);
  background: rgba(236,206,104,.12);
  border-radius: 50%;
  padding: 2px;
  width: 24px; height: 24px;
}

.register-form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}


/* ---------- Multi-Step Progress Bar ---------- */
.form-progress {
  margin-bottom: 1.75rem;
}

.form-progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.progress-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  transition: all var(--transition-base);
}

.progress-step.active .progress-step-dot {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-heading);
  box-shadow: 0 0 16px rgba(236,206,104,.4);
}

.progress-step.completed .progress-step-dot {
  border-color: var(--color-gold);
  background: rgba(236,206,104,.15);
  color: var(--color-gold);
}

/* checkmark for completed steps */
.progress-step.completed .progress-step-dot span::before {
  content: '✓';
}
.progress-step.completed .progress-step-dot span {
  font-size: 0;
}
.progress-step.completed .progress-step-dot span::before {
  font-size: 0.95rem;
}

.progress-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  transition: color var(--transition-base);
}

.progress-step.active .progress-step-label,
.progress-step.completed .progress-step-label {
  color: var(--color-gold);
}

.progress-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.1);
  margin-bottom: 1.25rem;
  transition: background var(--transition-base);
  min-width: 24px;
}

.progress-step-line.filled {
  background: var(--color-gold);
}


/* ---------- Form Steps ---------- */
.form-step {
  border: none;
  padding: 0;
  margin: 0;
  animation: step-in 0.25s ease;
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .form-step { animation: none; }
}

.form-step-heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
}

.form-step-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.form-step-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.form-step-actions--two {
  justify-content: space-between;
}

.step-next-btn,
.step-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.step-back-btn {
  border-color: rgba(255,255,255,.25) !important;
  color: rgba(255,255,255,.7) !important;
}

.step-back-btn:hover {
  border-color: var(--color-white) !important;
  color: var(--color-white) !important;
  background: transparent !important;
}


/* ---------- Form Fields ---------- */
.event-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255,255,255,.82);
}

.required { color: #ff7070; margin-left: 2px; }

.optional {
  color: rgba(255,255,255,.38);
  font-weight: 400;
  font-size: 0.83em;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.event-form input[type="text"],
.event-form input[type="email"],
.event-form input[type="tel"],
.event-form select,
.event-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.event-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.45)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-color: rgba(255,255,255,.07);
  padding-right: 2.5rem;
  cursor: pointer;
}

.event-form select option { background: #1a0a3e; color: var(--color-white); }

.event-form input::placeholder,
.event-form textarea::placeholder { color: rgba(255,255,255,.3); }

.event-form input:focus,
.event-form select:focus,
.event-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(236,206,104,.18);
}

.event-form input.input--error,
.event-form select.input--error,
.event-form textarea.input--error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,.18);
}

.event-form textarea { resize: vertical; min-height: 88px; }

.radio-group {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.2rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.form-conditional {
  padding: 1rem;
  background: rgba(236,206,104,.05);
  border: 1px solid rgba(236,206,104,.18);
  border-radius: var(--radius-md);
  animation: reveal-down 0.22s ease;
  margin-bottom: 1.1rem;
}

@keyframes reveal-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) { .form-conditional { animation: none; } }

.field-error {
  font-size: 0.8rem;
  color: #ff8585;
  min-height: 1.1em;
}

.field-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

.form-message {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.form-message--success {
  background: rgba(106,164,47,.14);
  border: 1px solid rgba(106,164,47,.38);
  color: #a6d96a;
}

.form-message--error {
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.32);
  color: #ff8585;
}

.event-submit-btn {
  width: 100%;
  font-size: 1rem;
  padding: 1rem 2rem;
  justify-content: center;
  gap: 0.75rem;
}

.event-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner { animation: spin 1s linear infinite; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.form-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,.38);
  text-align: center;
  margin: 0.75rem 0 0;
}


/* ---------- Find Us / Map ---------- */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.find-us-info .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.find-us-info h2 { margin-bottom: 0.75rem; }
.find-us-info > p { margin-bottom: 1.25rem; }

.find-us-address {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-style: normal;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.find-us-address svg { flex-shrink: 0; color: var(--color-gold); margin-top: 3px; }
.find-us-address strong { color: var(--color-heading); font-weight: 700; }

.find-us-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  transition: color var(--transition-fast);
}

.find-us-tel svg { color: var(--color-gold); }
.find-us-tel:hover { color: var(--color-gold); }

.event-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.event-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-heading);
  transition: color var(--transition-fast);
}

.event-social-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.event-social-link:hover { color: var(--color-gold); }

.find-us-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.find-us-map iframe { width: 100%; height: 400px; border: 0; display: block; }


/* ---------- Event Page Responsive ---------- */
@media (max-width: 1100px) {
  .event-detail-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .register-wrapper   { grid-template-columns: 1fr; }
  .find-us-grid       { grid-template-columns: 1fr; }
  .schedule-grid      { grid-template-columns: 1fr; }
  .speaker-featured   { flex-direction: column; text-align: center; }
  .speaker-featured-badge { position: static; align-self: flex-start; margin-bottom: 0.5rem; }
  .event-flyer-cta-inner { justify-content: center; text-align: center; flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  .form-row-two         { grid-template-columns: 1fr; }
  .event-detail-cards   { grid-template-columns: 1fr 1fr; }
  .speakers-grid        { grid-template-columns: repeat(2, 1fr); }
  .register-form-card   { padding: 1.25rem; }
  .form-progress-steps  { gap: 0; }
  .progress-step-label  { display: none; }
  .find-us-map iframe   { height: 280px; }
  .event-flyer-cta-btns { width: 100%; flex-direction: column; }
  .event-flyer-cta-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .event-detail-cards { grid-template-columns: 1fr; }
  .speakers-grid      { grid-template-columns: 1fr; }
  .countdown-unit     { min-width: 58px; }
  .countdown-number   { font-size: clamp(1.9rem, 12vw, 2.8rem); }
}


/* ============================================================
   HOMEPAGE — GREATER LIGHT EVENT PROMO
   ============================================================ */

.hp-event {
  background: linear-gradient(135deg, #0d0820 0%, #1a0a3e 50%, #0f1535 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind content */
.hp-event::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,60,200,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hp-event-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Flyer image */
.hp-event-flyer {
  position: relative;
}

.hp-event-flyer img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(120,60,200,.25);
  display: block;
}

/* Content side */
.hp-event-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hp-event-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hp-event-title-light {
  background: linear-gradient(135deg, #f5e27a 0%, #ecce68 30%, #ffd966 55%, #c9a227 75%, #ecce68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(236,206,104,.35));
}

.hp-event-desc {
  color: rgba(255,255,255,.72);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.hp-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hp-event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}

.hp-event-meta-item svg { flex-shrink: 0; color: var(--color-gold); }

/* Mini countdown */
.hp-countdown {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(236,206,104,.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.75rem;
  width: fit-content;
}

.hp-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.hp-cd-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.hp-cd-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
  margin-top: 0.2rem;
}

.hp-cd-sep {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(236,206,104,.3);
  line-height: 1;
  margin-bottom: 1rem;
  padding: 0 0.1rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hp-event-grid {
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .hp-event-grid {
    grid-template-columns: 1fr;
  }
  .hp-event-flyer {
    max-width: 340px;
    margin: 0 auto;
  }
  .hp-event-content {
    align-items: center;
    text-align: center;
  }
  .hp-event-desc   { max-width: 100%; }
  .hp-event-meta   { align-items: center; }
  .hp-countdown    { margin-left: auto; margin-right: auto; }
  .hp-event-actions { justify-content: center; }
}


/* ============================================================
   ENHANCEMENTS: Animations, Transitions, Interactions
   ============================================================ */

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), #fffbe6);
  z-index: 1002;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(236,206,104,.65);
  pointer-events: none;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(236,206,104,.45);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, background 0.22s ease, opacity 0.3s ease;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--color-gold);
  background: rgba(236,206,104,.06);
}

/* ---------- Page Transition Overlay ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Section Label Shimmer Keyframe ---------- */
@keyframes shimmer-sweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---------- Hero Word Reveal ---------- */
.hero-word {
  display: inline-block;
  animation: word-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
}

@keyframes word-rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

/* ---------- Hero subtitle & actions delayed reveal ---------- */
.hero-sub-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: sub-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0.85s);
}

@keyframes sub-fade {
  to { opacity: 0.9; transform: translateY(0); }
}

.hero-actions-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: sub-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.1s;
}

/* ---------- Typed Text Cursor ---------- */
.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---------- Hero Canvas Particles ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Countdown Digit Roll ---------- */
@keyframes digit-roll {
  from { opacity: 0.2; transform: translateY(-35%); }
  to   { opacity: 1;   transform: translateY(0); }
}

.digit-rolling {
  display: inline-block;
  animation: digit-roll 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  display: block;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 3D Card Tilt Support ---------- */
.service-card,
.team-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Image Hover Zoom (global upgrades) ---------- */
.team-card { overflow: hidden; }

.team-card img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover img {
  transform: scale(1.06);
}


/* ============================================================
   REGISTRATION SUCCESS MODAL
   ============================================================ */

.reg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 30, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modal-fade-in 0.25s ease;
}

.reg-modal-overlay[hidden] {
  display: none;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reg-modal {
  background: linear-gradient(160deg, #1a1040 0%, #0f0a2a 100%);
  border: 1px solid rgba(236, 206, 104, 0.25);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: modal-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.reg-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
}

.reg-modal-icon svg {
  width: 100%;
  height: 100%;
}

.reg-modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.reg-modal-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.reg-modal-body strong {
  color: var(--color-white);
}

.reg-modal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(236, 206, 104, 0.7);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.reg-modal-close {
  min-width: 140px;
}
