/* ========================================
   BIRTHDAY WEBSITE - CLEAN STYLES
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
  --muted-text: #5a5a5a;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ===== HEADER STYLES ===== */
header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.logo {
  flex: 0 0 auto;
  display: block;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.logo img {
  height: 120px;
  width: auto;
  max-width: 250px;
  display: block;
  margin: 0 auto;
}

.header-contact {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 160px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--eerie-black);
  text-decoration: none;
  font-weight: 600;
  padding: 0.25em 0.5em;
  transition: color 0.2s, transform 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #FFD600 0%, #0D6E90 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(.4,1.4,.6,1);
  pointer-events: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #0D6E90;
  transform: translateY(-2px) scale(1.06);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav.active {
  display: block;
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  gap: 0;
  padding: 5rem 1.5rem 2rem 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav-links a {
  color: #1F1F1F;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
}

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

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: rgba(13, 110, 144, 0.08);
  color: #0D6E90;
  transform: translateX(5px);
}

.mobile-nav-links .btn {
  background: linear-gradient(135deg, #0D6E90 0%, #0a5a75 100%);
  color: white;
  margin-top: 1rem;
  text-align: center;
  border: none;
  box-shadow: 0 4px 12px rgba(13, 110, 144, 0.2);
}

.mobile-nav-links .btn:hover,
.mobile-nav-links .btn:active {
  background: linear-gradient(135deg, #0a5a75 0%, #084a5f 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 144, 0.3);
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: #1F1F1F;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100vw;
  position: relative;
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.hero p {
  font-size: 24px;
}

.hero-blue {
  color: #0065F8;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

/* Mobile Hero Logo */
.mobile-hero-logo {
  display: none;
}

/* Categories */
.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar);
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.category#zodiac .cat-icon {
  color: orange;
}

/* ===== BIRTHDAY FORM ===== */
.birthday-form {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto 1rem auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: none;
  box-shadow: none;
}

.birthday-form > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.birthday-form input[type="date"],
.birthday-form input[type="text"],
.birthday-form #birthdayInput {
  width: 100%;
  padding: 0.8rem 140px 0.8rem 44px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-sizing: border-box;
  height: 55px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.birthday-form input:focus {
  border-color: var(--cerulean);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 144, 0.1);
}

.birthday-form button,
#surpriseMeBtn {
  width: 100%;
  min-width: 120px;
  height: 55px;
  font-size: 1.1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  font-weight: 600;
  background: var(--cerulean);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.birthday-form button:active,
#surpriseMeBtn:active {
  background: #0a5a75;
}

.calendar-icon {
  position: absolute;
  left: 16px;
  top: 20%;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 24px;
  width: 24px;
  color: #888;
  z-index: 2;
}

/* Mobile adjustments for .birthday-form */
@media (max-width: 600px) {
  .birthday-form {
    max-width: 100%;
    padding: 0 1rem;
    gap: 1rem;
  }
  .birthday-form > div {
    gap: 0.8rem;
    max-width: 100%;
  }
  .birthday-form input[type="date"],
  .birthday-form input[type="text"],
  .birthday-form #birthdayInput {
    font-size: 1rem;
    height: 48px;
    padding: 0.7rem 1rem 0.7rem 40px;
    border-radius: 10px;
  }
  .birthday-form button,
  #surpriseMeBtn {
    height: 48px;
    font-size: 1rem;
    border-radius: 10px;
    margin-top: 0.4rem;
  }
  .calendar-icon {
    left: 12px;
    top: 20%;
    height: 22px;
    width: 22px;
  }
}

@media (max-width: 430px) {
  .birthday-form {
    padding: 0 0.5rem;
    gap: 0.7rem;
  }
  .birthday-form input[type="date"],
  .birthday-form input[type="text"],
  .birthday-form #birthdayInput {
    font-size: 0.98rem;
    height: 44px;
    padding: 0.6rem 0.8rem 0.6rem 38px;
    border-radius: 12px;
  }
  .birthday-form button,
  #surpriseMeBtn {
    height: 44px;
    font-size: 0.98rem;
    border-radius: 12px;
    margin-top: 0.3rem;
  }
  .calendar-icon {
    left: 10px;
    height: 20px;
    width: 20px;
  }
}

/* ===== FLOATING CONFETTI ===== */
.floating-confetti {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2;
}

.confetti-curly-strip {
  position: absolute;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  animation: confetti-float 4.5s ease-in-out infinite alternate;
}

.confetti-curly-strip:nth-child(2) { animation-delay: 0.5s; }
.confetti-curly-strip:nth-child(3) { animation-delay: 1s; }
.confetti-curly-strip:nth-child(4) { animation-delay: 1.5s; }
.confetti-curly-strip:nth-child(5) { animation-delay: 2s; }
.confetti-curly-strip:nth-child(6) { animation-delay: 2.5s; }
.confetti-curly-strip:nth-child(7) { animation-delay: 3s; }
.confetti-curly-strip:nth-child(8) { animation-delay: 3.5s; }

@keyframes confetti-float {
  0% { transform: translateY(0) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
  100% { transform: translateY(-12px) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
}

/* Confetti positioning */
.floating-confetti .confetti-curly-strip:nth-child(1) {
  top: 0.2rem;
  left: 4%;
  transform: rotate(-12deg);
}

.floating-confetti .confetti-curly-strip:nth-child(2) {
  top: 0.7rem;
  right: 6%;
  transform: scaleX(-1) rotate(18deg);
}

.floating-confetti .confetti-curly-strip:nth-child(3) {
  top: 5.5rem;
  left: 2%;
  transform: rotate(-25deg);
}

.floating-confetti .confetti-curly-strip:nth-child(4) {
  top: 7.2rem;
  right: 3%;
  transform: scaleX(-1) rotate(32deg);
}

.floating-confetti .confetti-curly-strip:nth-child(5) {
  top: 12.5rem;
  left: 8%;
  transform: rotate(-18deg);
}

.floating-confetti .confetti-curly-strip:nth-child(6) {
  top: 13.1rem;
  right: 10%;
  transform: scaleX(-1) rotate(24deg);
}

.floating-confetti .confetti-curly-strip:nth-child(7) {
  top: 9.8rem;
  left: 16%;
  transform: rotate(-30deg);
}

.floating-confetti .confetti-curly-strip:nth-child(8) {
  top: 3.9rem;
  right: 15%;
  transform: scaleX(-1) rotate(9deg);
}

/* ===== STACKED PHOTOS ===== */
.stacked-photos-section {
  background: #fff;
  padding: 2.5rem 0 2rem 0;
}

.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}

.stacked-photo {
  width: 240px;
  height: 240px;
  min-width: 240px;
  min-height: 240px;
  max-width: 240px;
  max-height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}

.stacked-photo:first-child {
  margin-left: 0;
}

.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }

/* ===== CAROUSEL SECTION ===== */
.carousel-section,
.bday-moreinfo {
  display: none;
  background: #fff;
  padding: 2.5rem 0 2rem 0;
  margin-top: 2.5rem;
}

.carousel-section .container {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.carousel-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
  text-align: center;
}

.card-link-slider {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 1rem 80px 1.5rem 80px;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  align-items: center;
  min-height: 540px;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.card-link-slider::-webkit-scrollbar {
  display: none;
}

.card-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
  width: 280px;
  height: 540px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  text-decoration: none;
  color: #222;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2px solid #f3f3f3;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}

.card-link:focus, 
.card-link:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.18);
  border-color: var(--cerulean);
  outline: none;
  transform: scale(1.04) translateY(-6px);
}

.card-link:hover .card-title {
  background: rgba(13,110,144,0.05);
  color: var(--cerulean);
}

.card-link .card-title:hover {
  text-shadow: none;
}

.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.2rem 1.3rem;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 3;
  color: #333;
  background: #fff;
  min-height: 80px;
  display: flex;
  align-items: center;
  line-height: 1.3;
  border-radius: 28px 28px 0 0;
  flex-shrink: 0;
  pointer-events: none; /* Allow clicks to pass through to the card */
}

.card-link .card-img-wrapper {
  width: 100%;
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.card-link img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  display: block;
  min-height: 0;
  max-height: 100%;
  user-select: none;
}

.card-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--muted-text);
  margin-top: 0.15rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  background: none;
  text-shadow: none;
}

/* Carousel Navigation */
#carousel-prev, #carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #0D6E90;
  box-shadow: 0 4px 18px rgba(13,110,144,0.18);
  margin: 0;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

#carousel-prev img, #carousel-next img {
  width: 24px;
  height: 24px;
  display: block;
}

#carousel-prev {
  left: 10px;
}

#carousel-next {
  right: 10px;
}

#carousel-prev:hover, #carousel-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(13,110,144,0.25);
}

.carousel-note {
  text-align: center;
  color: var(--dim-gray);
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

/* Carousel Floating Confetti */
.carousel-floating-confetti {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2;
}

.carousel-floating-confetti .confetti-curly-strip {
  position: absolute;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  animation: confetti-float-carousel 4.5s ease-in-out infinite alternate;
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(2) { animation-delay: 0.7s; }
.carousel-floating-confetti .confetti-curly-strip:nth-child(3) { animation-delay: 1.2s; }
.carousel-floating-confetti .confetti-curly-strip:nth-child(4) { animation-delay: 1.7s; }

@keyframes confetti-float-carousel {
  0% { transform: translateY(0) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
  100% { transform: translateY(-10px) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(1) {
  top: -0.7rem;
  left: 7%;
  transform: rotate(-10deg);
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(2) {
  top: -0.7rem;
  right: 7%;
  transform: scaleX(-1) rotate(13deg);
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(3) {
  top: 2.7rem;
  left: 13%;
  transform: rotate(-18deg);
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(4) {
  top: 2.7rem;
  right: 13%;
  transform: scaleX(-1) rotate(18deg);
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(5) {
  top: 1.2rem;
  left: 19%;
  transform: rotate(-22deg);
}

.carousel-floating-confetti .confetti-curly-strip:nth-child(6) {
  top: 3.8rem;
  right: 18%;
  transform: scaleX(-1) rotate(17deg);
}

/* ===== MORE INFO SECTION ===== */
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}

.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}

.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}

.moreinfo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.moreinfo-card {
  flex: 1;
  min-width: calc(25% - 1.5rem);
  background: #f9fafb;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em;
}

.moreinfo-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  padding: 0.8em 1em;
  box-sizing: border-box;
  min-height: 2.5em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}

.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}

.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}

.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
  margin-top: 15px;
}

.moreinfo-card ul li {
  min-height: 1.5em;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.moreinfo-card ul li::before {
  content: '•';
  color: var(--cerulean);
  font-weight: bold;
  margin-right: 0.5em;
  flex-shrink: 0;
}

.moreinfo-card ul li em {
  color: #888;
  font-style: italic;
  font-size: 0.9em;
  font-weight: 300;
}

/* ===== LOADING OVERLAY ===== */
#carouselLoadingOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(242, 244, 248, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#carouselLoadingOverlay > div {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 0 1rem;
}

#carouselLoadingOverlay > div > div {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0D6E90;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#carouselLoadingOverlay h3 {
  margin: 0 0 0.5rem 0;
  color: #0D6E90;
  font-size: 1.2rem;
}

#carouselLoadingOverlay p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

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

/* ===== FOOTER ===== */
footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

footer a {
  color: #0066FF;
  text-decoration: none;
}

/* ===== FOOTER SECTION ===== */
/* Mobile-first approach for footer */

.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 2rem 0 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #f39c12, #f1c40f, #27ae60, #3498db, #9b59b6);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Footer Brand Section */
.footer-brand {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f39c12;
  margin: 0;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #bdc3c7;
  max-width: 280px;
  margin: 0 auto;
}

/* Footer Section Headers */
.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f39c12;
  margin: 0 0 1rem;
  text-align: center;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

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

/* Footer Social Buttons */
.footer-social {
  text-align: center;
}

.footer-social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.footer-social-btn.facebook {
  background: #1877f2;
}

.footer-social-btn.twitter {
  background: #1da1f2;
}

.footer-social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer Newsletter */
.footer-newsletter {
  font-size: 0.85rem;
  color: #bdc3c7;
  margin: 0;
  line-height: 1.5;
}

.footer-newsletter-btn {
  display: block;
  margin: 0.75rem auto 0;
  padding: 0.6rem 1.2rem;
  background: #f39c12;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.footer-newsletter-btn:hover {
  background: #e67e22;
  transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #bdc3c7;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
}

.footer-bottom-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

.footer-bottom-links a:hover {
  color: #f39c12;
  background: rgba(255, 255, 255, 0.08);
}

/* Tablet breakpoint (min-width: 768px) */
@media (min-width: 768px) {
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 0 2rem;
  }
  
  .footer-brand {
    text-align: left;
  }
  
  .footer-logo {
    justify-content: flex-start;
  }
  
  .footer-description {
    max-width: none;
    margin: 0;
  }
  
  .footer-section h4 {
    text-align: left;
  }
  
  .footer-links {
    align-items: flex-start;
  }
  
  .footer-social {
    text-align: left;
  }
  
  .footer-social-buttons {
    justify-content: flex-start;
  }
  
  .footer-newsletter-btn {
    margin: 0.75rem 0 0;
  }
  
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
  }
  
  .footer-copyright {
    text-align: left;
    margin: 0;
  }
  
  .footer-bottom-links {
    justify-content: flex-end;
    gap: 0.25rem;
  }
}

/* Desktop breakpoint (min-width: 1024px) */
@media (min-width: 1024px) {
  .footer {
    padding: 4rem 0 0;
  }
  
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
  
  .footer-logo-img {
    width: 48px;
    height: 48px;
  }
  
  .footer-logo h3 {
    font-size: 1.75rem;
  }
  
  .footer-description {
    font-size: 1rem;
  }
  
  .footer-section h4 {
    font-size: 1.2rem;
  }
  
  .footer-links a {
    font-size: 1rem;
  }
  
  .footer-social-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .footer-newsletter {
    font-size: 0.9rem;
  }
  
  .footer-newsletter-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.4rem;
  }
  
  .footer-bottom {
    padding: 1.75rem 0;
  }
  
  .footer-bottom-container {
    padding: 0 3rem;
  }
  
  .footer-copyright {
    font-size: 0.9rem;
  }
  
  .footer-bottom-links {
    gap: 0.5rem;
  }
  
  .footer-bottom-links a {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

/* Large desktop breakpoint (min-width: 1200px) */
@media (min-width: 1200px) {
  .footer-container {
    gap: 4rem;
  }
  
  .footer-description {
    max-width: 350px;
  }
}

/* ===== MODAL STYLES ===== */
#contentModal {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#contentModal .modal-content {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  /* Footer Mobile Responsive */
  .footer-bottom {
    padding: 1rem 0;
  }
  
  .footer-bottom-container {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .footer-bottom-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    max-width: 300px;
  }
  
  .footer-bottom-links a {
    font-size: 0.75rem;
    padding: 0.5rem 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  #contentModal .modal-content {
    margin: 0.5rem;
    padding: 1.5rem;
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    border-radius: 16px;
  }
  
  #contentModal h2 {
    font-size: 1.3rem;
    padding-right: 2.5rem;
  }
  
  #contentModal .close-btn {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  #contentModal .modal-content {
    margin: 0.25rem;
    padding: 1rem;
    border-radius: 12px;
  }
  
  #contentModal h2 {
    font-size: 1.2rem;
  }
  
  #contentModal .modal-body {
    font-size: 0.9rem;
  }
}

/* ===== LARGE SCREEN RESPONSIVE ===== */
@media (min-width: 1630px) {
  .carousel-section {
    position: relative;
  }
  
  .carousel-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .carousel-nav-fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0;
    box-sizing: border-box;
  }
  
  .carousel-nav-fixed > button {
    pointer-events: auto;
    background: #0D6E90;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(13,110,144,0.18);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    position: static;
    margin: 0;
  }

  #carousel-prev {
    position: relative;
    left: 0;
    margin-left: 24px;
  }
  
  #carousel-next {
    position: relative;
    right: 0;
    margin-right: 24px;
  }

  #carousel-prev:active, #carousel-next:active,
  #carousel-prev:hover, #carousel-next:hover {
    opacity: 1;
  }
}

@media (max-width: 1629px) {
  .carousel-nav-fixed {
    display: none;
  }
}

@media (min-width: 1200px) {
  .card-link-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 1.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
  }
  
  .card-link-slider .card-link {
    flex: 0 0 25vw;
    min-width: 25vw;
    max-width: 25vw;
    width: 25vw;
    box-sizing: border-box;
    scroll-snap-align: start;
    margin: 0;
  }
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1000px) {
  .moreinfo-cards {
    flex-wrap: wrap;
  }
  
  .moreinfo-card {
    min-width: calc(50% - 1rem);
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 900px) {
  .card-link-slider {
    gap: 1rem;
  }
  
  .card-link {
    height: 520px;
    padding: 0;
  }
  
  .card-link .card-img-wrapper {
    flex: 1 1 0;
    min-height: 280px;
  }
  
  .card-link .card-title {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    min-height: 50px;
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Header Mobile */
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-container .mobile-menu-toggle {
    display: flex;
    order: 1;
    width: 44px;
    height: 44px;
    background: rgba(13, 110, 144, 0.05);
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .header-container .mobile-menu-toggle:hover {
    background: rgba(13, 110, 144, 0.1);
  }
  
  .header-container .mobile-menu-toggle .burger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1F1F1F;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .header-container .logo,
  .header-container .header-nav,
  .header-container .header-contact,
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  /* Hero Mobile */
  .hero {
    padding: 2rem 1rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    word-spacing: 0.1em;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .mobile-hero-logo {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }
    
  .mobile-hero-logo img {
    height: 160px;
    width: auto;
    max-width: 220px;
    display: block;
    margin: 0 auto;
  }
  
  /* Categories Mobile */
  .categories {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.3rem;
    margin: 1rem 0;
    padding: 0 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .categories::-webkit-scrollbar {
    display: none;
  }
  
  .category {
    flex: 0 0 auto;
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    min-width: fit-content;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
    line-height: 1.2;
  }
  
  .category .cat-icon {
    font-size: 1rem;
    margin-right: 0.2rem;
  }
  
  .category:hover {
    background: rgba(13, 110, 144, 0.1);
    border-color: var(--cerulean);
  }
  
  /* Birthday Form Mobile */
  .birthday-form {
    width: 100%;
    max-width: none;
    margin: 1rem 0;
    position: relative;
    padding: 0 1rem;
  }
  
  .birthday-form div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
  }
    
  .birthday-form input[type="date"],
  .birthday-form input[type="text"],
  .birthday-form #birthdayInput {
    width: 100%;
    font-size: 1rem;
    height: 50px;
    border-radius: 8px;
    /* padding: 0.8rem 16px 0.8rem 2rem; */
    position: relative;
    border: 2px solid #ccc;
    box-sizing: border-box;
    margin: 0;
  }
  
  .calendar-icon {
    position: absolute;
    left: 12px;
    top: 20%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
  }
  
  #surpriseMeBtn {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    font-size: 1.15rem;
    padding: 1rem 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #0D6E90 0%, #36b1e6 100%);
    box-shadow: 0 4px 16px rgba(13,110,144,0.13);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.12s, box-shadow 0.18s;
    margin: 0;
    min-width: auto;
    border: none;
    color: white;
    cursor: pointer;
    min-height: 54px;
  }
  
  #surpriseMeBtn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(13,110,144,0.10);
  }
  
  /* Stacked Photos Mobile - Polaroid Stack */
  .stacked-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 1rem;
    margin: 1rem 4rem;
    max-width: 300px;
    width: 100%;
    height: 280px;
    overflow: visible;
  }
  
  .stacked-photo {
    position: absolute;
    width: 140px;
    height: 160px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 
      0 4px 8px rgba(0,0,0,0.15),
      0 8px 16px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 8px 8px 24px 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 1;
    visibility: visible;
  }
  
  .stacked-photo img {
    width: 100%;
    height: 124px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
  }
  
  /* Polaroid positioning with better spacing - centered */
  .stacked-photo:nth-child(1) {
    z-index: 5;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
    transform: translate(-25px, 15px) rotate(-8deg);
    animation-fill-mode: forwards;
  }
  
  .stacked-photo:nth-child(2) {
    z-index: 4;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
    transform: translate(25px, -10px) rotate(8deg);
    animation-fill-mode: forwards;
  }
  
  .stacked-photo:nth-child(3) {
    z-index: 3;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
    transform: translate(-20px, -25px) rotate(-5deg);
    animation-fill-mode: forwards;
  }
  
  .stacked-photo:nth-child(4) {
    z-index: 2;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
    transform: translate(20px, 20px) rotate(5deg);
    animation-fill-mode: forwards;
  }
  
  .stacked-photo:nth-child(n+5) {
    display: none;
  }
  
  /* Interactive hover/tap effects with better click targets */
  .stacked-photo:hover,
  .stacked-photo:active,
  .stacked-photo.active {
    transform: translate(0, -20px) rotate(0deg) scale(1.1);
    z-index: 25 !important;
    box-shadow: 
      0 12px 24px rgba(0,0,0,0.25),
      0 24px 48px rgba(0,0,0,0.15),
      inset 0 1px 0 rgba(255,255,255,0.8);
  }
  
  /* Ensure click targets are accessible */
  .stacked-photo {
    pointer-events: auto;
    touch-action: manipulation;
  }
  
  /* Add subtle border to help distinguish clickable areas */
  .stacked-photo:nth-child(1)::after,
  .stacked-photo:nth-child(2)::after,
  .stacked-photo:nth-child(3)::after,
  .stacked-photo:nth-child(4)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.2s;
    pointer-events: none;
  }
  
  .stacked-photo:hover::after {
    border-color: rgba(13, 110, 144, 0.3);
  }
  
  /* Add subtle animation on load */
  .stacked-photo {
    animation: polaroidFadeIn 0.6s ease-out forwards;
    opacity: 1;
  }
  
  .stacked-photo:nth-child(1) { animation-delay: 0.1s; }
  .stacked-photo:nth-child(2) { animation-delay: 0.2s; }
  .stacked-photo:nth-child(3) { animation-delay: 0.3s; }
  .stacked-photo:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes polaroidFadeIn {
    0% {
      opacity: 0;
      transform: translateY(-20px) scale(0.9);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Set CSS custom properties for final positions */
  .stacked-photo:nth-child(1) {
    --final-x: -25px;
    --final-y: 15px;
    --final-rotation: -8deg;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
  }
  
  .stacked-photo:nth-child(2) {
    --final-x: 25px;
    --final-y: -10px;
    --final-rotation: 8deg;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
  }
  
  .stacked-photo:nth-child(3) {
    --final-x: -20px;
    --final-y: -25px;
    --final-rotation: -5deg;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
  }
  
  .stacked-photo:nth-child(4) {
    --final-x: 20px;
    --final-y: 20px;
    --final-rotation: 5deg;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -80px;
  }
  
  /* Carousel Mobile */
  .carousel-section {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
  }
  
  .carousel-title {
    margin-top: 5rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  
  .card-link-slider {
    padding: 1rem 20px 1.5rem 20px;
    gap: 1rem;
  }
  
  .card-link {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
    width: 260px;
    height: 480px;
    border-radius: 20px;
    padding: 0;
  }
   .card-link .card-title {
    padding: 1rem 1.2rem 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 80px;
    overflow: visible;
    display: flex;
    position: relative;
    z-index: 3;
    color: #333;
    background: #fff;
    border-radius: 20px 20px 0 0;
    align-items: center;
    pointer-events: none;
    word-wrap: break-word;
    hyphens: auto;
    text-overflow: ellipsis;
    flex-shrink: 0;
  }

  .card-link .card-img-wrapper {
    flex: 1;
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
  }
  
  #carousel-prev, #carousel-next {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
  }
  
  #carousel-prev img, #carousel-next img {
    width: 20px;
    height: 20px;
  }
  
  /* More Info Mobile */
  .bday-moreinfo {
    padding: 2rem 1rem;
  }
  
  .bday-moreinfo h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .moreinfo-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .moreinfo-card {
    flex: 1 1 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 12px;
    position: relative;
    padding-top: 3rem;
  }
  
  .moreinfo-card h3 {
    font-size: 15px;
    padding: 1em 1.2em;
    min-height: 2.8em;
  }
  
  .moreinfo-card ul li {
    font-size: 14px;
    margin-bottom: 0.6em;
    line-height: 1.6;
  }
  
  .moreinfo-card p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Enhanced Mobile Navigation */
  .mobile-menu-toggle {
    position: relative;
    transition: transform 0.3s ease;
    min-height: 44px;
    min-width: 44px;
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  
  /* Hamburger animation */
  .mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .mobile-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .mobile-nav-links a {
    position: relative;
    overflow: hidden;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 144, 0.1), transparent);
    transition: left 0.5s;
  }
  
  .mobile-nav-links a:hover::before {
    left: 100%;
  }

  /* Hide confetti on mobile */
  .floating-confetti,
  .carousel-floating-confetti {
    display: none;
  }
}

@media (max-width: 600px) {
  .carousel-section {
    padding: 1.2rem 0 1rem 0;
  }
  
  .card-link-slider {
    gap: 0.5rem;
    padding: 0.5rem 0 1rem 0;
  }
  
  .card-link {
    height: 480px;
    padding: 0;
  }
  
  .card-link .card-img-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .card-link img {
    border-radius: 16px;
  }
  
  .card-title {
    font-size: 0.95rem;
    /* Maintain overlay styles for mobile 600px */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem;
    min-height: 60px;
    display: flex;
    align-items: flex-end;
    line-height: 1.3;
    pointer-events: none; /* Allow clicks to pass through */
  }
  
  .moreinfo-cards {
    flex-direction: column;
    gap: 1rem;
  }
  
  .moreinfo-card {
    flex: 1 1 100%;
  }
  
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0.5rem 0.8rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  
  .mobile-hero-logo img {
    height: 200px;
    max-width: 250px;
  }
  
  .mobile-hero-logo {
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
  }
    
  .categories {
    padding: 0 0.3rem;
    gap: 0.2rem;
    margin: 0.8rem 0;
  }
  
  .category {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
    flex: 0 0 auto;
    border-radius: 4px;
  }
  
  .category .cat-icon {
    font-size: 0.9rem;
    margin-right: 0.15rem;
  }
    
  /* Stacked Photos Mobile - Smaller Polaroids for 480px */
  .stacked-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem 0.8rem;
    margin: 1rem 4rem;
    max-width: 280px;
    width: 100%;
    height: 240px;
    overflow: visible;
  }
  
  .stacked-photo {
    position: absolute;
    width: 120px;
    height: 140px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 
      0 3px 6px rgba(0,0,0,0.15),
      0 6px 12px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 6px 6px 20px 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .stacked-photo img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 1px;
    display: block;
  }
  
  /* Adjusted positioning for smaller screens - better spacing */
  .stacked-photo:nth-child(1) {
    transform: translate(-20px, 12px) rotate(-6deg);
    z-index: 5;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -70px;
    --final-x: -20px;
    --final-y: 12px;
    --final-rotation: -6deg;
  }
  
  .stacked-photo:nth-child(2) {
    transform: translate(20px, -8px) rotate(6deg);
    z-index: 4;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -70px;
    --final-x: 20px;
    --final-y: -8px;
    --final-rotation: 6deg;
  }
  
  .stacked-photo:nth-child(3) {
    transform: translate(-15px, -20px) rotate(-4deg);
    z-index: 3;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -70px;
    --final-x: -15px;
    --final-y: -20px;
    --final-rotation: -4deg;
  }
  
  .stacked-photo:nth-child(4) {
    transform: translate(15px, 15px) rotate(4deg);
    z-index: 2;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -70px;
    --final-x: 15px;
    --final-y: 15px;
    --final-rotation: 4deg;
  }
  
  .stacked-photo:nth-child(n+5) {
    display: none;
  }
  
  /* Carousel Mobile */
  .carousel-section {
    padding: 3rem 0;
  }
  
  .carousel-title {
    margin-top: 5rem;
    font-size: 1.5rem;
    padding: 0 0.8rem;
  }
  
  .card-link-slider {
    padding: 1rem 10px 1.5rem 10px;
  }
  
  .card-link {
    flex: 0 0 240px;
    min-width: 240px;
    max-width: 240px;
    width: 240px;
    height: 420px;
    padding: 0;
    position: relative; /* Added for overlay positioning */
  }
  
  .card-link .card-title {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    line-height: 1.2;
    min-height: 60px;
    max-height: 75px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    /* Maintain overlay styles for 480px */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: flex-end;
  }

  .card-link .card-img-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  
  #carousel-prev, #carousel-next {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
  }
  
  #carousel-prev img, #carousel-next img {
    width: 20px;
    height: 20px;
  }
  
  /* More Info Mobile */
  .bday-moreinfo {
    padding: 1.5rem 0.8rem;
  }
  
  .bday-moreinfo h2 {
    font-size: 1.5rem;
  }
  
  .moreinfo-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .moreinfo-card {
    flex: 1 1 100%;
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .moreinfo-card h3 {
    font-size: 1.2rem;
  }
  
  .moreinfo-card p {
    font-size: 0.9rem;
  }
}

/* Extra mobile responsive for very small screens - Compact Polaroids */
@media (max-width: 360px) {
  .stacked-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 0.5rem;
    width: 100%;
    max-width: 250px;
    height: 200px;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .stacked-photo {
    position: absolute;
    width: 100px;
    height: 120px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 
      0 2px 4px rgba(0,0,0,0.15),
      0 4px 8px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 5px 5px 16px 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .stacked-photo img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 1px;
    display: block;
  }
  
  /* Compact positioning for very small screens - better spacing */
  .stacked-photo:nth-child(1) {
    transform: translate(-15px, 10px) rotate(-5deg);
    z-index: 5;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -60px;
    --final-x: -15px;
    --final-y: 10px;
    --final-rotation: -5deg;
  }
  
  .stacked-photo:nth-child(2) {
    transform: translate(15px, -6px) rotate(5deg);
    z-index: 4;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -60px;
    --final-x: 15px;
    --final-y: -6px;
    --final-rotation: 5deg;
  }
  
  .stacked-photo:nth-child(3) {
    transform: translate(-12px, -15px) rotate(-3deg);
    z-index: 3;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -60px;
    --final-x: -12px;
    --final-y: -15px;
    --final-rotation: -3deg;
  }
  
  .stacked-photo:nth-child(4) {
    transform: translate(12px, 12px) rotate(3deg);
    z-index: 2;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -60px;
    --final-x: 12px;
    --final-y: 12px;
    --final-rotation: 3deg;
  }
  
  .stacked-photo:nth-child(n+5) {
    display: none;
  }
  
  /* Smaller hover effect for tiny screens */
  .stacked-photo:hover,
  .stacked-photo:active {
    transform: translate(0, -15px) rotate(0deg) scale(1.08);
    z-index: 10 !important;
    box-shadow: 
      0 8px 16px rgba(0,0,0,0.25),
      0 16px 32px rgba(0,0,0,0.15),
      inset 0 1px 0 rgba(255,255,255,0.8);
  }
}

/* ===== CUSTOM CALENDAR MODAL ===== */
.calendar-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ===== SUBSCRIPTION MODAL ===== */
.subscription-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ===== SHARE MODAL ===== */
.share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.share-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.share-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  min-width: 280px;
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  margin: 1rem;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.share-modal.active .share-popup {
  transform: scale(1);
}

.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0.5rem;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1rem;
}

.share-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cerulean);
  margin: 0;
  line-height: 1.3;
}

.share-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  line-height: 1;
}

.share-close-btn:hover {
  background-color: #f0f0f0;
}

.share-content {
  padding: 0 1.5rem 1.5rem;
}

.share-content > p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: center;
}

.share-section {
  margin-bottom: 2rem;
}

.share-section:last-child {
  margin-bottom: 0;
}

.share-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-link-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.share-link-input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: monospace;
  background: #f9f9f9;
  color: #666;
  box-sizing: border-box;
}

.copy-btn {
  padding: 0.8rem 1.2rem;
  background: var(--cerulean);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #0a5a75;
}

.copy-btn:active {
  transform: scale(0.98);
}

.copy-btn.copied {
  background: #27ae60;
}

.copy-feedback {
  font-size: 0.8rem;
  color: #27ae60;
  margin-top: 0.3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-feedback.show {
  opacity: 1;
}

.social-share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 200px;
  margin: 0 auto;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
  aspect-ratio: 1;
  position: relative;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn:active {
  transform: translateY(0);
}

.social-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.facebook-btn {
  background: #1877f2;
}

.facebook-btn:hover {
  background: #166fe5;
}

.twitter-btn {
  background: #1da1f2;
}

.twitter-btn:hover {
  background: #1a94da;
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
  background: linear-gradient(45deg, #e08424 0%, #d5592d 25%, #cd1f34 50%, #bd1557 75%, #ad0f79 100%);
}

.native-share-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.native-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Tablet and Desktop adjustments */
@media (min-width: 600px) {
  .share-popup {
    max-width: 500px;
  }
  
  .share-header h2 {
    font-size: 1.5rem;
  }
  
  .share-content > p {
    font-size: 1rem;
  }
  
  .social-share-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    max-width: 250px;
  }
  
  .social-btn {
    padding: 1.2rem;
    min-height: 56px;
    min-width: 56px;
  }
  
  .social-icon {
    font-size: 1.8rem;
  }
  
  .copy-link-container {
    gap: 1rem;
  }
}

/* Mobile specific adjustments for share modal */
@media (max-width: 599px) {
  .share-modal.active {
    padding: 0.5rem;
  }
  
  .share-popup {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem;
    border-radius: 12px;
  }
  
  .share-header {
    padding: 1rem 1rem 0.5rem;
  }
  
  .share-header h2 {
    font-size: 1.1rem;
  }
  
  .share-close-btn {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
  
  .share-content {
    padding: 0 1rem 1rem;
  }
  
  .share-content > p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .share-section {
    margin-bottom: 1.5rem;
  }
  
  .share-section h3 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .copy-link-container {
    gap: 0.5rem;
  }
  
  .share-link-input {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
  
  .copy-btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .social-share-buttons {
    gap: 0.8rem;
    max-width: 180px;
  }
  
  .social-btn {
    padding: 0.8rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: 50%;
  }
  
  .social-icon {
    font-size: 1.3rem;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 430px) {
  .share-popup {
    max-width: calc(100vw - 0.5rem);
    margin: 0.25rem;
    border-radius: 10px;
  }
  
  .share-header {
    padding: 0.8rem 0.8rem 0.4rem;
  }
  
  .share-header h2 {
    font-size: 1rem;
  }
  
  .share-close-btn {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }
  
  .share-content {
    padding: 0 0.8rem 0.8rem;
  }
  
  .share-content > p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .share-section {
    margin-bottom: 1.2rem;
  }
  
  .share-section h3 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .copy-link-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .share-link-input {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  .copy-btn {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.85rem;
  }
  
  .social-share-buttons {
    gap: 0.6rem;
    max-width: 160px;
  }
  
  .social-btn {
    padding: 0.7rem;
    min-height: 42px;
    min-width: 42px;
    border-radius: 50%;
  }
  
  .social-icon {
    font-size: 1.2rem;
  }
}

.subscription-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.subscription-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.subscription-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  min-width: 280px;
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  margin: 1rem;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.subscription-modal.active .subscription-popup {
  transform: scale(1);
}

.subscription-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0.5rem;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1rem;
}

.subscription-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cerulean);
  margin: 0;
  line-height: 1.3;
}

.subscription-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  line-height: 1;
}

.subscription-close-btn:hover {
  background-color: #f0f0f0;
}

.subscription-content {
  padding: 0 1.5rem 1.5rem;
}

.subscription-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: center;
}

.subscription-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--cerulean);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 144, 0.1);
}

.subscription-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.subscription-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--cerulean);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.subscription-submit-btn:hover {
  background: #0a5a75;
}

.subscription-submit-btn:active {
  transform: scale(0.98);
}

.subscription-cancel-btn {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.subscription-cancel-btn:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

/* Tablet and Desktop adjustments */
@media (min-width: 600px) {
  .subscription-popup {
    max-width: 450px;
  }
  
  .subscription-header h2 {
    font-size: 1.5rem;
  }
  
  .subscription-content p {
    font-size: 1rem;
  }
  
  .subscription-actions {
    flex-direction: row;
    gap: 1rem;
  }
  
  .subscription-submit-btn {
    flex: 2;
  }
  
  .subscription-cancel-btn {
    flex: 1;
  }
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.contact-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  min-width: 280px;
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  margin: 1rem;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal.active .contact-popup {
  transform: scale(1);
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0.5rem;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1rem;
}

.contact-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cerulean);
  margin: 0;
  line-height: 1.3;
}

.contact-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  line-height: 1;
}

.contact-close-btn:hover {
  background-color: #f0f0f0;
}

.contact-content {
  padding: 0 1.5rem 1.5rem;
}

.contact-content > p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cerulean);
}

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

.contact-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.contact-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--cerulean);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.contact-submit-btn:hover {
  background: #0a5a75;
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-cancel-btn {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.contact-cancel-btn:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

/* Tablet and Desktop adjustments */
@media (min-width: 600px) {
  .contact-popup {
    max-width: 550px;
  }
  
  .contact-header h2 {
    font-size: 1.5rem;
  }
  
  .contact-content > p {
    font-size: 1rem;
  }
  
  .contact-actions {
    flex-direction: row;
    gap: 1rem;
  }
  
  .contact-submit-btn {
    flex: 2;
  }
  
  .contact-cancel-btn {
    flex: 1;
  }
}

.calendar-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.calendar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.calendar-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  width: 100%;
  max-width: 350px;
  min-width: 280px;
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  margin: 1rem;
  box-sizing: border-box;
}

.calendar-modal.active .calendar-popup {
  transform: scale(1);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.calendar-month-year {
  display: flex;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cerulean);
}

.calendar-month-select,
.calendar-year-select {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cerulean);
  cursor: pointer;
  transition: border-color 0.2s;
}

.calendar-month-select:hover,
.calendar-year-select:hover {
  border-color: var(--cerulean);
}

.calendar-month-select:focus,
.calendar-year-select:focus {
  outline: none;
  border-color: var(--cerulean);
  box-shadow: 0 0 0 3px rgba(13, 110, 144, 0.1);
}

.calendar-year-select {
  min-width: 80px;
}

.calendar-nav-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--cerulean);
  transition: background-color 0.2s;
}

.calendar-nav-btn:hover {
  background-color: rgba(13, 110, 144, 0.1);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  padding: 0.5rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
  position: relative;
  min-height: 36px;
}

.calendar-day:hover {
  background-color: rgba(13, 110, 144, 0.1);
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.disabled:hover {
  background-color: transparent;
}

.calendar-day.selected {
  background-color: var(--cerulean);
  color: white;
}

.calendar-day.today {
  background-color: rgba(13, 110, 144, 0.2);
  font-weight: 600;
}

.calendar-day.today.selected {
  background-color: var(--cerulean);
}

.calendar-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.calendar-action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.calendar-today-btn {
  background-color: rgba(13, 110, 144, 0.1);
  color: var(--cerulean);
}

.calendar-today-btn:hover {
  background-color: rgba(13, 110, 144, 0.2);
}

.calendar-close-btn {
  background-color: #f5f5f5;
  color: #666;
}

.calendar-close-btn:hover {
  background-color: #e5e5e5;
}

/* Mobile Calendar Optimizations */
@media (max-width: 480px) {
  .calendar-popup {
    max-width: 320px;
    padding: 1rem;
  }
  
  .calendar-month-year {
    font-size: 1rem;
    gap: 0.3rem;
  }
  
  .calendar-month-select,
  .calendar-year-select {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    min-width: auto;
  }
  
  .calendar-year-select {
    min-width: 70px;
  }
  
  .calendar-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  
  .calendar-weekdays {
    gap: 0.1rem;
    margin-bottom: 0.3rem;
  }
  
  .calendar-weekday {
    font-size: 0.7rem;
    padding: 0.3rem 0;
  }
  
  .calendar-days {
    gap: 0.1rem;
    margin-bottom: 0.8rem;
  }
  
  .calendar-day {
    min-height: 32px;
    font-size: 0.85rem;
  }
  
  .calendar-day.empty {
    visibility: hidden;
  }
  
  .calendar-action-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Extra small screen calendar optimizations */
@media (max-width: 360px) {
  .calendar-popup {
    max-width: 280px;
    padding: 0.8rem;
  }
  
  .calendar-header {
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
  }
  
  .calendar-month-year {
    font-size: 0.9rem;
    gap: 0.2rem;
  }
  
  .calendar-month-select,
  .calendar-year-select {
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
  }
  
  .calendar-year-select {
    min-width: 60px;
  }
  
  .calendar-nav-btn {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
  
  .calendar-weekday {
    font-size: 0.65rem;
    padding: 0.2rem 0;
  }
  
  .calendar-day {
    min-height: 28px;
    font-size: 0.75rem;
  }
  
  .calendar-footer {
    padding-top: 0.8rem;
    gap: 0.4rem;
  }
  
  .calendar-action-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ===== SMALL SCREEN FIXES (320px-470px) - Content Overlap Prevention ===== */
@media (max-width: 470px) {
  .moreinfo-card {
    padding-top: 4rem !important;
    position: relative;
    overflow: hidden;
  }
  
  .moreinfo-card h3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--cerulean);
    color: white;
    margin: 0;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    line-height: 1.3;
    z-index: 2;
    border-radius: 12px 12px 0 0;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .moreinfo-card ul {
    margin-top: 1rem;
    padding: 0 1.2rem 1.2rem;
  }
  
  .moreinfo-card ul li {
    font-size: 13px;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    padding-left: 0;
  }
  
  .moreinfo-card-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
  }
}

/* ===== iPhone 14 Pro Max Specific Optimizations (430px width) ===== */
@media screen and (max-width: 430px) {
  .mobile-menu-toggle {
    width: 28px;
    height: 28px;
  }
  
  .header-col.logo img {
    height: 32px;
  }
  
  /* Mobile hero logo */
  .mobile-hero-logo {
    margin-bottom: 1.5rem;
  }
  
  .mobile-hero-logo img {
    height: 200px;
  }
  
  /* Hero section adjustments */
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero .container {
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  /* Floating confetti adjustments for smaller screen */
  .floating-confetti .confetti-curly-strip {
    width: 32px;
    height: 16px;
  }
  
  .floating-confetti .confetti-curly-strip[style*="top:0.2rem"] {
    left: 2%;
  }
  
  .floating-confetti .confetti-curly-strip[style*="top:0.7rem"] {
    right: 2%;
  }
  
  /* Birthday form adjustments */
  .birthday-form {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .birthday-form > div {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .birthday-form input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  .calendar-icon {
    right: 1rem;
    top: 20%;
    transform: translateY(-50%);
  }
  
  .birthday-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  /* Categories section */
  .categories {
    flex-direction: column;
    gap: 0.8rem;
    margin: 2rem 0;
  }
  
  .category {
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  
  /* Stacked photos adjustments */
  .stacked-photos {
    max-width: 36%;
    padding-bottom: 19rem;
    
  }
  
  .stacked-photo {
    width: 280px;
    height: 200px;
  }
  
  /* Calendar modal adjustments */
  .calendar-popup {
    width: calc(100vw - 2rem);
    max-width: 320px;
    min-width: 280px;
    margin: 1rem;
    padding: 1rem;
    border-radius: 16px;
  }
  
  .calendar-header {
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
  }
  
  .calendar-month-select,
  .calendar-year-select {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .calendar-weekdays {
    gap: 0.15rem;
    margin-bottom: 0.4rem;
  }
  
  .calendar-days {
    gap: 0.15rem;
    margin-bottom: 0.8rem;
  }
  
  .calendar-day {
    min-height: 34px;
    font-size: 0.9rem;
  }
  
  .calendar-footer {
    padding-top: 0.8rem;
    gap: 0.6rem;
  }
  
  /* Carousel section adjustments */
  .carousel-section {
    padding: 3rem 0;
  }
  
  .carousel-section .container {
    padding: 0 1rem;
  }
  
  .carousel-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .carousel-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* Carousel floating confetti adjustments */
  .carousel-floating-confetti .confetti-curly-strip {
    width: 28px;
    height: 14px;
  }
  
  /* Carousel navigation */
  .carousel-nav-fixed {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  
  .carousel-nav-btn img {
    width: 24px;
    height: 24px;
  }
  
  /* Card slider adjustments */
  .card-link-slider {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .card-link {
    min-width: 280px;
    border-radius: 16px;
  }
  
  .card-title {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    /* Maintain overlay styles for 430px */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    min-height: 60px;
    display: flex;
    align-items: flex-end;
  }
  
  .card-img-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  
  /* More info section adjustments */
  .bday-moreinfo {
    padding: 3rem 0;
  }
  
  .bday-moreinfo .container {
    padding: 0 1rem;
  }
  
  .bday-moreinfo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .bday-moreinfo > p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .moreinfo-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .moreinfo-card {
    flex: 1 1 100%;
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .moreinfo-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .moreinfo-card ul li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
  
  /* Loading overlay adjustments */
  #carouselLoadingOverlay {
    padding: 1rem;
  }
  
  #carouselLoadingOverlay > div {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    max-width: 320px;
  }
  
  #carouselLoadingOverlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  #carouselLoadingOverlay p {
    font-size: 0.9rem;
  }
  
  /* Mobile navigation improvements */
  .mobile-nav {
    top: 0;
  }
  
  .mobile-nav-links {
    padding: 4rem 1rem 1.5rem 1rem;
    gap: 0;
  }
  
  .mobile-nav-links a {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  /* Ensure proper touch targets */
  button, .btn, .card-link, .category {
    min-height: 44px;
  }
  
  /* Improve text readability */
  body {
    font-size: 16px;
    line-height: 1.5;
  }
  
  /* Safe area adjustments for iPhone notch */
  .hero {
    padding-top: max(2rem, env(safe-area-inset-top));
  }
  
  .mobile-nav {
    top: 0;
    padding-top: env(safe-area-inset-top);
  }
  
  .mobile-nav-links {
    padding-top: calc(4rem + env(safe-area-inset-top));
  }
}

/* Additional adjustments for very narrow screens */
@media screen and (max-width: 375px) {
  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 0.9rem;
    padding: 0 0.3rem;
  }
  
  .birthday-form {
    padding: 0 0.5rem;
  }
  
  .categories {
    gap: 0.15rem;
    margin: 0.5rem 0;
  }
  
  .category {
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem;
  }
  
  .card-link {
    min-width: 260px;
  }
  
  .stacked-photo {
    width: 260px;
    height: 180px;
  }
  
  .calendar-popup {
    width: calc(100vw - 1rem);
    margin: 0.5rem;
  }
  
  /* More info cards extra small screen fixes */
  .moreinfo-card {
    padding-top: 3.5rem !important;
    margin-bottom: 1rem;
  }
  
  /* Footer extra small screens */
  .footer-bottom-container {
    padding: 0 0.5rem;
  }
  
  .footer-copyright {
    font-size: 0.7rem;
  }
  
  .footer-bottom-links {
    max-width: 100%;
    gap: 0.4rem;
  }
  
  .footer-bottom-links a {
    font-size: 0.7rem;
    padding: 0.4rem 0.3rem;
  }
  
  .moreinfo-card h3 {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    min-height: 2.5rem;
  }
  
  .moreinfo-card ul {
    padding: 0 1rem 1rem;
  }
  
  .moreinfo-card ul li {
    font-size: 12px;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }
  
  .moreinfo-card-icon {
    font-size: 1rem;
  }
}

/* Enhanced Card-Link Improvements */
@media (max-width: 768px) {
  /* Improved Card Link Mobile Styling */
  .card-link {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
    width: 260px;
    height: 480px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
  }
  
  .card-link:hover,
  .card-link:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(13,110,144,0.15);
  }
   .card-link .card-title {
    padding: 1rem 1.2rem 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    /* min-height: 60px;
    max-height: 80px; */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    /* Maintain overlay styles for enhanced mobile */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: flex-end;
    pointer-events: none; /* Allow clicks to pass through */
  }

  .card-link .card-img-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .card-link img {
    transition: transform 0.3s ease;
  }
  
  .card-link:hover img {
    transform: scale(1.05);
  }
  
  /* Fix card-link mobile issues */
  .card-link {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .card-link:hover,
  .card-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,144,0.12);
  }
  
  .card-link .card-title {
    word-wrap: break-word;
    hyphens: auto;
    text-overflow: ellipsis;
  }
  
  .card-link img {
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  
  .card-link:hover img {
    transform: scale(1.02);
  }
  
  /* Improved More Info Cards */
  .moreinfo-card {
    box-shadow: 0 4px 12px rgba(13,110,144,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8ecf0;
  }
  
  .moreinfo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,144,0.12);
    border-color: var(--cerulean);
  }
  
  .moreinfo-card h3 {
    letter-spacing: 0.02em;
    text-shadow: none;
    font-weight: 600;
  }
  
  .moreinfo-card ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
  }
  
  .moreinfo-card ul li {
    position: relative;
    padding-left: 0.5rem;
    color: #444;
    font-weight: 400;
  }
  
  .moreinfo-card ul li::marker {
    color: var(--cerulean);
    font-size: 1.2em;
  }
  
  /* Add subtle background pattern */
  .moreinfo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 144, 0.02) 0%, transparent 50%);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
  }
  
  .moreinfo-card > * {
    position: relative;
    z-index: 1;
  }
}