/* ── DESIGN SYSTEM & COLOR TOKENS ── */
:root {
  --pink-light: #e6c3d4;
  --pink-medium: #d48da9;
  --pink-dark: #b85b85;
  --olive: #4b583a;
  --olive-light: #61744b;
  --olive-dark: #37422b;
  --white: #ffffff;
  --white-trans: rgba(255, 255, 255, 0.15);
  --gold: #e9c5a0;
  --gold-rgb: 233, 197, 160;

  /* Fonts */
  --ff-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --ff-script: 'Great Vibes', cursive;
  --ff-sans: 'Montserrat', system-ui, sans-serif;
}

/* ── RESET & BASE STYLING ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-medium) var(--olive);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--ff-sans);
  background-color: var(--pink-light);
  color: var(--olive);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, textarea, select {
  font-family: var(--ff-sans);
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--olive-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--pink-medium);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pink-dark);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.fade-up {
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── INTERSECTION OBSERVER ANIMATION CLASSES ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for scroll reveals */
.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.45s; }

/* ── SECTION STRUCTURING ── */
section {
  padding: 8rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-pink {
  background-color: var(--pink-light);
  color: var(--olive);
}

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

/* ── CLASSIC FULL-WIDTH NAVBAR ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  transform: none;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0 4rem;
  box-shadow: none;
  border-radius: 0;
  transition: all 0.4s ease;
}

#site-header.scrolled {
  top: 0;
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.85); /* Semi-transparent white background */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(75, 88, 58, 0.08); /* Fine line under header */
  box-shadow: 0 4px 25px rgba(75, 88, 58, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.monogram {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

#site-header.scrolled .monogram {
  color: var(--olive); /* Always olive for contrast on white scrolled bg */
}

.monogram:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
}

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

.nav-btn {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

#site-header.scrolled .nav-btn {
  color: var(--olive); /* Always olive for contrast on white scrolled bg */
}

.nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--olive-light);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

#site-header.scrolled .nav-btn::after {
  background-color: var(--pink-dark);
}

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

.nav-btn:hover, .nav-btn.active {
  color: var(--pink-dark);
}

#site-header.scrolled .nav-btn:hover, 
#site-header.scrolled .nav-btn.active {
  color: var(--pink-dark);
}

/* ── MUSIC CONTROLLER ── */
#music-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(75, 88, 58, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#music-btn:hover {
  transform: scale(1.08) rotate(10deg);
  background: rgba(255, 255, 255, 0.65);
}

.note-icon {
  width: 20px;
  height: 20px;
  fill: var(--olive);
}

#music-btn.playing {
  animation: pulse 2s infinite ease-in-out;
  border-color: var(--pink-medium);
}

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--pink-light); /* Pastel Pink background */
  color: var(--olive);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1rem;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Background floating orbs for loader */
.loader-bg-orbs {
  position: absolute;
  inset: 0;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.loader-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  animation: orbFloat1 25s infinite alternate ease-in-out;
}

.loader-orb-1 {
  width: 300px;
  height: 300px;
  top: -10%;
  left: 10%;
}

.loader-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  right: 10%;
  background: var(--pink-medium);
  animation-name: orbFloat2;
}

/* Centered card container */
.invitation-card-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 380px;
  margin: auto;
  perspective: 1000px;
}

.invitation-card {
  position: relative;
  background-color: var(--white); /* Solid white card background */
  border-radius: 16px; /* Clean rectangular shape with rounded corners (No arches!) */
  padding: 4rem 2.2rem 3rem;
  box-shadow: 
    0 20px 50px rgba(75, 88, 58, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: transform 0.5s ease;
}

/* Double border details (Rectangular) */
.card-border-outer {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(233, 197, 160, 0.85); /* Outer gold border */
  border-radius: 10px;
  pointer-events: none;
}

.card-border-inner {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(75, 88, 58, 0.2); /* Inner dashed green border */
  border-radius: 8px;
  pointer-events: none;
}

/* Card corner decorations */
.card-floral-corner {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.top-left-floral {
  top: 14px;
  left: 14px;
}

.top-right-floral {
  top: 14px;
  right: 14px;
}

.card-inner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-header-ornament {
  margin-bottom: 1.8rem;
}

.arabic-bismillah {
  font-size: 2.8rem;
  font-family: 'Scheherazade New', serif;
  color: var(--pink-dark);
  line-height: 1.1;
  display: block;
}

.bismillah-meaning-loader {
  display: block;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-top: 0.4rem;
  color: var(--olive);
  text-transform: uppercase;
}

.card-wedding-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-names {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--olive);
  line-height: 1.2;
}

.card-divider-star {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem 0;
  width: 100%;
  max-width: 180px;
}

.card-divider-star .div-line {
  flex: 1;
  height: 1px;
}

.card-divider-star .div-line.l {
  background: linear-gradient(to right, transparent, rgba(75, 88, 58, 0.2));
}

.card-divider-star .div-line.r {
  background: linear-gradient(to left, transparent, rgba(75, 88, 58, 0.2));
}

.card-divider-star .gold-star {
  color: var(--pink-medium);
  font-size: 0.7rem;
}

.card-date-line {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--olive-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.card-loc-line {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--olive-light);
  margin-bottom: 2.2rem;
  text-transform: uppercase;
}

/* Card loading bar styles */
.card-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 180px;
}

.card-loader-wrap .loader-text {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--pink-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.loader-bar-container {
  width: 100%;
  height: 2px;
  background: rgba(184, 91, 133, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.loader-bar-container .loader-bar {
  position: absolute;
  left: -100%;
  height: 100%;
  width: 100%;
  background: var(--pink-dark);
  animation: loadingBar 2s infinite ease-in-out;
}

/* Solid styled open invitation button */
.open-inv-btn {
  background: var(--olive);
  border: none;
  color: var(--white);
  padding: 0.95rem 2.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(75, 88, 58, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.open-inv-btn:hover {
  background: var(--pink-dark);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(184, 91, 133, 0.4);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 0.65rem;
  color: var(--white);
  transition: transform 0.3s ease;
}

.open-inv-btn:hover .btn-arrow {
  transform: scale(1.1) rotate(90deg);
}

/* ── DIVIDERS & CORNERS ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem auto 0;
  width: 100%;
  max-width: 320px;
}

.divider-line {
  flex: 1;
  height: 1px;
}

.divider-line.l {
  background: linear-gradient(to right, transparent, var(--olive-light));
}

.divider-line.r {
  background: linear-gradient(to left, transparent, var(--olive-light));
}

.section-green .divider-line.l {
  background: linear-gradient(to right, transparent, var(--pink-medium));
}

.section-green .divider-line.r {
  background: linear-gradient(to left, transparent, var(--pink-medium));
}

.divider-glyph {
  color: var(--olive);
  font-size: 0.8rem;
}

.section-green .divider-glyph {
  color: var(--pink-medium);
}

.bismillah-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.bismillah {
  font-size: 3rem;
  font-family: 'Scheherazade New', serif;
  color: var(--olive);
  display: block;
}

.section-green .bismillah {
  color: var(--pink-light);
}

.bismillah-meaning {
  display: block;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.page-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.page-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.page-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-top: 1.5rem;
  max-width: 580px;
  line-height: 1.8;
}

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  z-index: 10;
}

.hero-names {
  margin: 2.5rem 0;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--olive);
}

.hero-and {
  font-family: var(--ff-script);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--pink-dark);
  margin: 0.5rem 0;
}

.floral-divider-svg {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.hero-tagline {
  font-family: var(--ff-script);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--olive);
  margin-bottom: 3rem;
}

.hero-details {
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  letter-spacing: 0.22em;
  line-height: 2;
  font-weight: 500;
  color: var(--olive);
  max-width: 650px;
  margin: 0 auto;
}

/* ── HERO BANNER IMAGE ── */
#hero-banner {
  padding: 0;
  background-color: var(--pink-light);
}

.banner-img-wrap {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(75, 88, 58, 0.15);
}

.banner-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── COUNTDOWN ── */
.cd-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.countdown-wrap {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.cd-eyebrow {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  opacity: 0.85;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cd-card {
  flex: 1;
  max-width: 110px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(75, 88, 58, 0.12);
  border-radius: 12px;
  padding: 1.2rem 0.5rem;
  box-shadow: 0 4px 15px rgba(75, 88, 58, 0.04);
  backdrop-filter: blur(5px);
}

.cd-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--olive);
}

.cd-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.4rem;
  opacity: 0.75;
  font-weight: 600;
}

.cd-sub {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ── THE COUPLE SECTION ── */
#sec-couple {
  padding-top: 6rem;
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 900px;
  width: 100%;
  margin-top: 2rem;
}

.couple-profile-card {
  position: relative;
  background-color: var(--white); /* White background card */
  border-radius: 16px; /* Rounded corners */
  padding: 3rem 2rem 2.5rem;
  box-shadow: 
    0 15px 45px rgba(75, 88, 58, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.couple-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(75, 88, 58, 0.12);
}

.couple-profile-card .card-border-outer {
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(233, 197, 160, 0.7);
}

.couple-profile-card .card-border-inner {
  inset: 12px;
  border-radius: 8px;
  border: 1px dashed rgba(75, 88, 58, 0.15);
}

.couple-profile-card .top-left-floral {
  top: 12px;
  left: 12px;
}

.couple-profile-card .top-right-floral {
  top: 12px;
  right: 12px;
}

.profile-info {
  margin-top: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.profile-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.profile-name {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--olive);
  margin-bottom: 1rem;
}

.profile-divider-leaf {
  color: var(--pink-medium);
  font-size: 0.65rem;
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.profile-divider-leaf::before, .profile-divider-leaf::after {
  content: '';
  height: 1px;
  width: 30px;
  background: linear-gradient(to right, transparent, rgba(75, 88, 58, 0.15));
}
.profile-divider-leaf::after {
  background: linear-gradient(to left, transparent, rgba(75, 88, 58, 0.15));
}

.origin-grand {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--olive-light);
  margin-top: 0.4rem;
}

.origin-addr {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--olive-dark);
}

.profile-parents {
  border-top: none;
  padding-top: 0;
  max-width: 100%;
  margin: 0 auto;
}

.relation {
  font-family: var(--ff-script);
  font-size: 1.4rem;
  color: var(--pink-dark);
  display: block;
}

.parent-names {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--olive);
  margin: 0.2rem 0 0.5rem;
}

.origin {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ── OUR STORY / "ON ONE FATEFUL DAY..." ── */
#sec-story {
  padding: 8rem 0;
  overflow: hidden;
}

.story-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1000px;
  width: 90%;
  align-items: center;
  margin: 0 auto;
}

.story-text-col {
  padding-right: 2rem;
}

.story-text-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
}

.story-text-only .story-text-col {
  padding-right: 0;
}

.story-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--pink-dark);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-green .story-heading {
  color: var(--pink-light);
}

.story-paragraphs p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  opacity: 0.9;
  font-weight: 300;
}

.story-img-col {
  display: flex;
  justify-content: center;
}

.story-img-frame-container {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.story-img-frame {
  position: relative;
  width: 100%;
  padding-top: 140%; /* Arched vertical ratio */
  border-radius: 160px 160px 20px 20px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(75, 88, 58, 0.15);
  border: 6px solid var(--white); /* Solid premium white frame border */
  z-index: 2;
}

.story-img-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-floral-overlay {
  position: absolute;
  inset: -25px -40px; /* Expanded outward to let flowers peek out more */
  z-index: 1; /* Rendered behind the frame border and couple photo */
  pointer-events: none;
}

.floral-svg-branch {
  position: absolute;
  height: 100%;
  width: auto;
}

.left-branch {
  left: -35px;
  bottom: -20px;
}

.right-branch {
  right: -35px;
  top: -20px;
}

/* ── THE CELEBRATIONS (Event details) ── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards side-by-side */
  gap: 3.5rem;
  max-width: 900px;
  width: 100%;
  margin-top: 3rem;
}

.activity-card {
  position: relative;
  background-color: var(--white); /* White background card */
  border-radius: 16px; /* Rounded corners */
  padding: 3rem 2rem 2.5rem;
  box-shadow: 
    0 15px 45px rgba(75, 88, 58, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(75, 88, 58, 0.12);
}

.activity-card .card-border-outer {
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(233, 197, 160, 0.7);
  pointer-events: none;
}

.activity-card .card-border-inner {
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  border: 1px dashed rgba(75, 88, 58, 0.15);
  pointer-events: none;
}

.activity-card .top-left-floral {
  top: 12px;
  left: 12px;
}

.activity-card .top-right-floral {
  top: 12px;
  right: 12px;
}

.activity-icon-wrap {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.activity-title {
  font-family: var(--ff-script);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--olive);
  margin-bottom: 1.2rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.event-details-box {
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  border-bottom: 1px dashed rgba(75, 88, 58, 0.15);
  padding-bottom: 1.2rem;
}

.event-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.event-detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pink-dark);
  text-transform: uppercase;
}

.detail-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--olive-dark);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.activity-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.85;
  color: var(--olive-light);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.event-map-btn {
  background: var(--olive);
  color: var(--white);
  padding: 0.6rem 1.8rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(75, 88, 58, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.event-map-btn:hover {
  background: var(--pink-dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(184, 91, 133, 0.3);
  transform: translateY(-1px);
}

/* ── WEDDING PROGRAM ── */
.program-wrap {
  max-width: 800px;
  width: 100%;
  text-align: center;
  margin-bottom: 4rem;
}

.program-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.1em;
  font-weight: 300;
  color: var(--pink-light);
  margin-bottom: 0.5rem;
}

.program-sub {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--pink-medium);
  margin-bottom: 4rem;
  font-weight: 600;
}

.program-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.program-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1.2px solid rgba(230, 195, 212, 0.2);
  text-align: left;
}

.program-row:first-child {
  border-top: 1.2px solid rgba(230, 195, 212, 0.2);
}

.program-time {
  width: 120px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pink-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.program-event {
  flex: 1;
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.05em;
  color: var(--white);
}

.program-bottom-flowers {
  width: 100%;
  max-width: 1000px;
  margin-top: 2rem;
  opacity: 0.85;
}

/* ── GUEST FAQS ── */
.faq-container {
  display: grid;
  grid-template-columns: 35% 65%;
  max-width: 1000px;
  width: 100%;
  gap: 4rem;
}

.faq-left-col {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 2rem;
}

.faq-floral-decor {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.faq-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--olive);
  line-height: 1.1;
}

.faq-right-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faq-item {
  border-bottom: 1px solid rgba(75, 88, 58, 0.12);
  padding-bottom: 2rem;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.8;
  font-weight: 400;
}

/* ── RSVP SECTION ── */
.rsvp-container {
  display: grid;
  grid-template-columns: 55% 45%;
  max-width: 1000px;
  width: 100%;
  gap: 4rem;
  align-items: flex-start;
}

.rsvp-centered-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.rsvp-left-col {
  width: 100%;
}

.rsvp-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 3rem;
}

.rsvp-date-accent {
  color: var(--pink-light);
  font-weight: 600;
}

.rsvp-coordinators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.coord-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 195, 212, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.coord-card:hover {
  border-color: rgba(230, 195, 212, 0.35);
}

.coord-role {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-light);
  font-weight: 700;
  display: block;
  margin-bottom: 0.6rem;
}

.coord-name {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.coord-info {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-bottom: 0.8rem;
}

.coord-phone, .coord-email {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Glassmorphic Form wrapper */
.glass-form-wrap {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(230, 195, 212, 0.22);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.field-group {
  margin-bottom: 1.8rem;
  width: 100%;
}

.field-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--pink-light);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 195, 212, 0.25);
  border-radius: 8px;
  padding: 0.95rem 1.2rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--pink-medium);
  box-shadow: 0 0 12px rgba(212, 141, 169, 0.25);
}

.attend-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.attend-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 195, 212, 0.2);
  border-radius: 8px;
  padding: 0.85rem 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.attend-btn:hover {
  border-color: var(--pink-medium);
  background: rgba(255, 255, 255, 0.08);
}

.attend-btn.selected {
  background: var(--pink-medium);
  border-color: var(--pink-medium);
  color: var(--olive-dark);
  box-shadow: 0 5px 15px rgba(212, 141, 169, 0.25);
}

.form-submit {
  width: 100%;
  background: var(--pink-medium);
  border: none;
  border-radius: 8px;
  padding: 1rem 0;
  color: var(--olive-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 141, 169, 0.2);
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--pink-light);
  color: var(--olive-dark);
  box-shadow: 0 8px 30px rgba(230, 195, 212, 0.4);
  transform: translateY(-2px);
}

/* Thank you Message style */
.thankyou {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(230, 195, 212, 0.25);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.8s ease;
}

.thankyou-icon {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}

.thankyou-title {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  color: var(--pink-light);
  margin-bottom: 1rem;
}

.thankyou-msg {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 320px;
  margin-bottom: 2rem;
}

.thankyou-sig {
  font-family: var(--ff-script);
  font-size: 2.2rem;
  color: var(--pink-light);
  margin-top: 1.5rem;
}

/* Right column frame */
.rsvp-right-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.portrait-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 700px;
}

.portrait-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  width: 100%;
}

.portrait-role {
  color: var(--pink-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.portrait-name {
  color: var(--white);
  font-family: var(--ff-serif);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
}

.portrait-item .rose-frame-container {
  max-width: 280px;
  height: 420px;
}

.rose-frame-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 450px;
}

.couple-framed-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

.couple-framed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rose-border-overlay {
  position: absolute;
  inset: -12px;
  z-index: 3;
  pointer-events: none;
}

.rose-svg-border {
  width: 100%;
  height: 100%;
}

/* ── WISHES WALL SECTION ── */
.blessings-input-box {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(75, 88, 58, 0.15);
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  margin: 0 auto 5rem;
  box-shadow: 0 12px 35px rgba(75, 88, 58, 0.05);
}

.blessings-box-title {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  color: var(--olive);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
}

.blessings-input-box .form-input {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(75, 88, 58, 0.2);
  color: var(--olive);
}

.blessings-input-box .form-input::placeholder {
  color: rgba(75, 88, 58, 0.45);
}

.blessings-input-box .form-input:focus {
  background: var(--white);
  border-color: var(--olive);
  box-shadow: 0 0 12px rgba(75, 88, 58, 0.15);
}

.submit-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.submit-wish-btn {
  width: auto;
  padding: 0.95rem 2.5rem;
  background-color: var(--olive);
  color: var(--white);
}

.submit-wish-btn:hover {
  background-color: var(--olive-light);
  color: var(--white);
}

.success-msg {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive-light);
}

.success-msg.show {
  display: inline-block;
  animation: fadeIn 0.4s ease;
}

/* Wish Wall Grid */
#wish-wall {
  width: 90%;
  max-width: 1050px;
  margin: 0 auto;
}

.wishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.wish-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(75, 88, 58, 0.12);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: 0 8px 25px rgba(75, 88, 58, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.wish-card:hover {
  transform: translateY(-4px);
  background-color: var(--white);
  box-shadow: 0 12px 30px rgba(75, 88, 58, 0.08);
}

.wish-quote-icon {
  font-size: 2.5rem;
  color: var(--pink-medium);
  font-family: var(--ff-serif);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.wish-msg {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--olive-dark);
  font-weight: 400;
  flex-grow: 1;
  margin-bottom: 1.8rem;
}

.wish-meta {
  border-top: 1px solid rgba(75, 88, 58, 0.1);
  padding-top: 1rem;
}

.wish-name {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--olive);
}

.wish-date {
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.wishes-empty {
  text-align: center;
  padding: 4rem 0;
  opacity: 0.6;
}

.empty-title {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background-color: var(--olive-dark);
  color: var(--pink-light);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.footer-top-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 3rem;
  width: 100%;
  max-width: 320px;
}

.footer-top-divider .divider-line {
  background: linear-gradient(to right, transparent, var(--pink-medium));
  height: 1px;
}

.footer-top-divider .divider-line.r {
  background: linear-gradient(to left, transparent, var(--pink-medium));
}

.footer-top-divider .divider-glyph {
  color: var(--pink-medium);
}

.footer-compliments {
  margin-bottom: 2.5rem;
}

.compliments-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--pink-medium);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.compliments-names {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.05em;
  font-weight: 300;
}

.footer-name {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-date {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-blessing {
  font-family: var(--ff-script);
  font-size: 2.2rem;
  color: var(--pink-medium);
  margin-top: 1.5rem;
}

/* ── RESPONSIVE DESIGN & MOBILE TWEAKS ── */
@media (max-width: 1024px) {
  section {
    padding: 6rem 1.5rem;
  }
  
  .couple-grid, .story-container, .faq-container, .rsvp-container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  #site-header {
    width: 100%;
    padding: 0 1.5rem;
    top: 0;
  }
  .header-inner {
    height: 60px;
  }
  
  .monogram {
    font-size: 1.3rem;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }
  
  .hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--olive);
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
  }
  
  #menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  #menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(75, 88, 58, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    padding: 2rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-btn {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  section {
    padding: 5rem 1.2rem;
  }
  
  /* Stack grid layouts */
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .story-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .story-text-col {
    padding-right: 0;
    text-align: center;
  }

  .story-text-only {
    max-width: 100%;
  }
  
  .story-img-col {
    order: -1; /* Image on top on mobile story section */
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .program-row {
    padding: 1.5rem 0;
  }
  
  .program-time {
    width: 90px;
    font-size: 0.9rem;
  }
  
  .program-event {
    font-size: 1rem;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .faq-left-col {
    align-items: center;
    text-align: center;
  }
  
  .faq-right-col {
    gap: 2rem;
  }
  
  .rsvp-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .portrait-pair {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 340px;
  }

  .portrait-item .rose-frame-container {
    max-width: 300px;
    height: 450px;
  }
  
  .rsvp-coordinators {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .wishes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .banner-image {
    height: 350px;
  }
  
  .cd-card {
    padding: 0.8rem 0.3rem;
  }
  
  .countdown {
    gap: 0.8rem;
  }
  
  #music-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  #site-header {
    top: 0;
  }
  
  .monogram {
    font-size: 1.2rem;
  }
  
  .couple-profile-card, .activity-card {
    padding: 2rem 1.2rem 1.8rem;
  }
  
  .glass-form-wrap {
    padding: 1.5rem;
  }
  
  .attend-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .attend-btn {
    padding: 0.75rem;
  }
  
  .blessings-input-box {
    padding: 1.8rem;
  }
  
  .submit-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .submit-wish-btn {
    width: 100%;
  }
  
  .cd-num {
    font-size: 1.6rem;
  }
  
  .cd-label {
    font-size: 0.55rem;
  }
  
  .story-floral-overlay {
    inset: -15px -25px;
  }
  
  .banner-image {
    height: 280px;
  }

  /* invitation card mobile scaling */
  .invitation-card {
    padding: 2.2rem 1.2rem 1.8rem;
  }
  
  .card-header-ornament {
    margin-bottom: 1.2rem;
  }
  
  .arabic-bismillah {
    font-size: 2.2rem;
  }
  
  .card-wedding-label {
    margin-bottom: 0.6rem;
  }
  
  .card-divider-star {
    margin: 0.8rem 0;
  }
  
  .card-names {
    font-size: 1.8rem;
  }
}
