@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
  user-select: none;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  color: #fff;
  background: #141414;
  font-family: "Fuzzy Bubbles", sans-serif;
}
p {
  font-family: "Fuzzy Bubbles", sans-serif;
}
h2 {
  font-size: clamp(1rem, 5vw, 5rem);
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  margin-right: -0.5em;
  color: #545454;
  width: 90vw;
  max-width: 1200px;
  white-space: nowrap;
}
a {
  color: #545454;
  text-decoration: none;
  cursor: pointer;
}
section {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
}
section .outer,
section .inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

/* Enable scrolling for all section containers */
section .bg > .container {
  height: 100%;
  overflow-y: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

/* Custom scrollbar styling */
section .bg > .container::-webkit-scrollbar {
  width: 8px;
}

section .bg > .container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

section .bg > .container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

section .bg > .container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator .scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.scroll-indicator .scroll-dot.active {
  background: #007bff;
  transform: scale(1.2);
}
section .bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
}
section .bg h2 {
  z-index: 2;
}
section .bg .clip-text {
  overflow: hidden;
}

.pt-7 {
  padding-top: 7rem;
}
.pt-8 {
  padding-top: 8rem;
}
.pt-9 {
  padding-top: 9rem;
}
.pt-10 {
  padding-top: 10rem;
}
.pt-11 {
  padding-top: 11rem;
}
.pt-12 {
  padding-top: 12rem;
}
.pt-13 {
  padding-top: 13rem;
}

.my-6 {
  margin-top: 6rem !important;
  margin-bottom: 6rem !important;
}

.my-7 {
  margin-top: 7rem !important;
  margin-bottom: 7rem !important;
}

.my-8 {
  margin-top: 8rem !important;
  margin-bottom: 8rem !important;
}

.my-9 {
  margin-top: 9rem !important;
  margin-bottom: 9rem !important;
}

.my-10 {
  margin-top: 10rem !important;
  margin-bottom: 10rem !important;
}

.my-11 {
  margin-top: 11rem !important;
  margin-bottom: 11rem !important;
}

.my-12 {
  margin-top: 12rem !important;
  margin-bottom: 12rem !important;
}

.my-13 {
  margin-top: 13rem !important;
  margin-bottom: 13rem !important;
}

.my-14 {
  margin-top: 14rem !important;
  margin-bottom: 14rem !important;
}

.my-15 {
  margin-top: 15rem !important;
  margin-bottom: 15rem !important;
}

.my-16 {
  margin-top: 16rem !important;
  margin-bottom: 16rem !important;
}

.my-17 {
  margin-top: 17rem !important;
  margin-bottom: 17rem !important;
}

.my-18 {
  margin-top: 18rem !important;
  margin-bottom: 18rem !important;
}

.my-19 {
  margin-top: 19rem !important;
  margin-bottom: 19rem !important;
}

.my-20 {
  margin-top: 20rem !important;
  margin-bottom: 20rem !important;
}

.side-img {
  width: 65%;
  margin-bottom: 1rem;
  object-fit: cover;
  object-position: center;
  margin: auto;
  display: block;
}

.first .bg {
  background-image: url("assets/img/white-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("assets/img/white-bg.png"); */
    /* url("https://64.media.tumblr.com/d7b19889c0b6d3c605f4f34d1343e3ea/tumblr_p4ntm40HMW1wco4ano1_1280.jpg"); */
}
.first .bg-video {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  /* object-fit: cover; */
  /* z-index: -1; */
}

.second .bg {
  margin-top: 2px solid #000;
  background-image: url("assets/img/white-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("https://64.media.tumblr.com/3de2c2eab9cbac5aa7c1f641eb4e7ccc/tumblr_nj8curbq8F1sbh9awo1_500.jpg"); */
}

.floating-sketch {
  position: absolute;
  opacity: 0.1;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.floating-sketch.shoes {
  top: 20%;
  left: 10%;
  width: 80px;
  animation-name: float1;
  animation-delay: 0s;
}

.floating-sketch.ring {
  top: 60%;
  right: 15%;
  width: 60px;
  animation-name: float2;
  animation-delay: 5s;
}

.floating-sketch.suit {
  top: 10%;
  right: 20%;
  width: 100px;
  animation-name: float3;
  animation-delay: 10s;
}

.floating-sketch.house {
  bottom: 20%;
  left: 20%;
  width: 120px;
  animation-name: float4;
  animation-delay: 15s;
}

.third h2 {
  font-family: 'Patrick Hand SC', cursive;
}

.third .bg {
  margin-top: 2px solid #000;
  background-image: url("assets/img/white-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url(https://i0.wp.com/oregongirlaroundtheworld.com/wp-content/uploads/2015/07/img_3494.jpg?fit=3754%2C1738); */
}
.fifth {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.sixth {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.fourth .bg {
  margin-top: 2px solid #000;
  background-image: url("assets/img/white-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url(https://i.pinimg.com/564x/8e/2c/f0/8e2cf09031fbc841904e19e3c5283054.jpg); */
}
.fifth .bg {
  margin-top: 2px solid #000;
  background-image: url("assets/img/white-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("https://64.media.tumblr.com/ecdf0fe067b5ffccbb05a647423eaad2/tumblr_p2nzkxTvQC1vvczb6o1_540.jpg");
  background-position: 50% 45%; */
  color: #FFD700;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.section-heading p {
  font-size: 1rem;
}
.section-heading i {
  font-size: 3rem;
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-heading i.fa-github-alt {
  font-size: 3.2rem;
}

/*--------------------------------------------------------------
# our story page
--------------------------------------------------------------*/

.wrapper-polaroid {
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  height: auto;
  margin-bottom: 100px !important;
}
.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.2);
}
.polaroid img {
  max-width: 100%;
  height: auto;
}
.caption {
  font-size: 1.125rem;
  text-align: center;
  line-height: 2em;
}
.item-polaroid {
  display: inline-block;
  /* margin-top: 2rem; */
  filter: grayscale(100%);
}
.item-polaroid .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}
.item-polaroid:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}
.item-polaroid:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item-polaroid:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}
.item-polaroid:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item-polaroid:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}
.item-polaroid:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item-polaroid:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}
.item-polaroid:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item-polaroid:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}
.item-polaroid:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
  transition: all 0.35s;
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .second SECTION'S CONTAINER */
.second .bg > .container {
  height: 100%; /* Occupy full height of .bg */
  overflow-y: auto; /* Enable scrolling for the container */
  /* Assuming white-bg.png, text color might need adjustment if not already handled */
  padding-top: 2em; /* Add some padding at the top */
  padding-bottom: 2em; /* Add some padding at the bottom */
  /* Ensure text color is readable. General h2 and a styles should cover most cases. */
}

.second .bg > .container .section-heading.londrina-sketch-regular {
  color: #545454; /* Default color for this type of heading */
}

/* Links within tenor gif, if any specific styling is needed */
.second .bg > .container .tenor-gif-embed a {
  color: #545454; /* Default link color */
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .fourth SECTION'S CONTAINER */
.fourth .bg > .container {
  height: 100%; /* Occupy full height of .bg */
  overflow-y: auto; /* Enable scrolling for the container */
  /* The display: flex and flex-direction: column might be useful 
     if the h2 and .wrapper-polaroid need specific flex behavior,
     but let's keep it simple first. We can add them if needed. */
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .fifth SECTION'S CONTAINER */
.fifth .bg > .container {
  height: 100%; /* Occupy full height of .bg */
  overflow-y: auto; /* Enable scrolling for the container */
  /* Ensure text is visible on the background. You might need to adjust colors. */
  color: #333; /* Example: Dark text for light background */
  padding-top: 2em; /* Add some padding at the top */
  padding-bottom: 2em; /* Add some padding at the bottom */
}

/* Adjust text color inside the fifth section if needed */
/* Ensure headings and paragraphs are also dark color: #333;  */
.fifth .bg > .container .section-heading,
.fifth .bg > .container p {
  color: #333;
}
.fifth .bg > .container .section-heading clip-text {
  color: #FFD700;
}

.fifth .bg > .container .bg-white {
  color: #333; /* Ensure text within explicitly white backgrounds is dark */
}
.fifth .bg > .container .bg-white span {
  color: #1a1a1a; /* Darker color for span elements */
  font-weight: bold;
}

/*--------------------------------------------------------------
# Sutecase Section
--------------------------------------------------------------*/

.suitcase img {
  width: 55%;
  object-fit: cover;
  object-position: center;
  margin: auto;
  display: block;
}


/*--------------------------------------------------------------
# Colors Section
--------------------------------------------------------------*/

.colors-guest {
  width: 70%;
  object-fit: cover;
  object-position: center;
  margin: auto;
  display: block;
}

.text-white2 {
  color: #6d6d6d;
}
.text-khaki {
  color: #9B8F55;
}
.text-cafe-au-lait {
  color: #A67B5B;
}
.text-coffee {
  color: #6F4E37;
}
.text-sepia {
  color: #704214;
}
.text-brown-stone {
  color: #593C39;
}
.text-yellow {
  color: #FFD700;
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

.londrina-sketch-regular {
  font-family: 'Londrina Sketch', cursive;
}
.fuzzy-bubbles-regular {
  font-family: "Fuzzy Bubbles", sans-serif;
}
.fuzzy-bubbles-bold {
  font-family: "Fuzzy Bubbles", sans-serif;
  font-weight: 700;
  font-style: normal;
}



/*--------------------------------------------------------------
# First Section
--------------------------------------------------------------*/

.first-heading {
  font-size: 1.2rem;
  /* font-weight: 400; */
  /* letter-spacing: 0.1em; */
  color: #545454;
  text-transform: uppercase;
  text-align: center;
  margin-top: -88.5px;
}

.first-heading h4 {
  padding-top: 1rem;
}

/* START: Styles for sixth section */
.sixth .bg {
  /* Assuming this .bg should behave like other section .bg elements for animations */
  /* If mt-5 mb-5 classes are on .bg in HTML, they might conflict with position:absolute from generic rule. */
  /* It's better to apply spacing to the .container within .bg or elements inside .container. */
  background-image: url("assets/img/white-bg.png"); /* Default background */
}

.sixth .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333; /* Default dark text for light background */
  padding-top: 2em; /* Adjust as needed, can replace mt-5 on .bg */
  padding-bottom: 2em; /* Adjust as needed, can replace mb-5 on .bg */
}

.sixth .bg > .container .section-heading,
.sixth .bg > .container p {
  color: #333; /* Ensure text is dark */
}

.sixth .bg > .container .text-yellow { /* If text-yellow is used here */
  color: #FFD700 !important; /* Ensure it overrides if necessary */
}
/* END: Styles for sixth section */

/* START: Styles for seventh section */
.seventh .bg {
  /* Assuming this .bg should behave like other section .bg elements for animations */
  background-image: url("assets/img/white-bg.png"); /* Default background */
}

.seventh .bg > .container {
  /* Ensure this container doesn't interfere with section navigation */
  height: 100%; /* Use full height but don't force min-height */
  overflow: visible; /* Don't create internal scrolling that blocks navigation */
  padding-top: 5rem; /* Existing padding */
  padding-bottom: 5rem; /* Existing padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.seventh .bg > .container .section-heading,
.seventh .bg > .container p {
  color: #333;
}

.seventh .bg > .container .text-yellow {
  color: #FFD700 !important;
}

.seventh .bg > .container iframe {
  max-width: 100%; /* Ensure iframe is responsive */
}
/* END: Styles for seventh section */

/* START: Styles for Write Your Wishes Form (Sixth Section) */
.wishes-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wishes-form {
  background: #f5f5f5;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Caveat', cursive;
}

.wishes-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wishes-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  font-family: 'Caveat', cursive;
  line-height: 1.2;
}

.note-section {
  margin-top: 2rem;
}

.note-title {
  font-size: 3rem;
  font-weight: 400;
  color: #333;
  margin: 0 0 1rem 0;
  font-family: 'Caveat', cursive;
  line-height: 1;
}

.note-line {
  height: 2px;
  background: #333;
  margin: 0 0 1rem 0;
  width: 100%;
}

.note-to {
  font-size: 1.2rem;
  color: #666;
  margin: 0 0 2rem 0;
  font-family: 'Caveat', cursive;
}

.couple-names {
  font-weight: 600;
  color: #333;
}

.wishes-form-container {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-family: 'Caveat', cursive;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Fuzzy Bubbles', sans-serif;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group select {
  cursor: pointer;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEiIHN0cm9rZT0iIzMzMzMzMyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 3rem;
  appearance: none;
}

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

.form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.left-buttons,
.right-buttons {
  display: flex;
  gap: 1rem;
}

.btn-stiker,
.btn-batal,
.btn-kirim {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-family: 'Fuzzy Bubbles', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-stiker {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.btn-stiker:hover {
  background: #218838;
  border-color: #218838;
  transform: translateY(-2px);
}

.btn-batal {
  background: white;
  color: #333;
  border-color: #333;
}

.btn-batal:hover {
  background: #f8f9fa;
  border-color: #333;
  transform: translateY(-2px);
}

.btn-kirim {
  background: white;
  color: #333;
  border-color: #333;
  font-weight: 600;
}

.btn-kirim:hover {
  background: #f8f9fa;
  border-color: #333;
  transform: translateY(-2px);
}

.attendance-counter {
  margin-top: 2rem;
  text-align: center;
}

.counter-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1.5rem;
  font-family: 'Caveat', cursive;
  position: relative;
}

.counter-title::before,
.counter-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: #999;
}

.counter-title::before {
  left: -100px;
}

.counter-title::after {
  right: -100px;
}

.counter-stats {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.8rem 0.5rem;
  min-width: 90px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
  font-family: 'Fuzzy Bubbles', sans-serif;
}

.stat-label {
  font-size: 0.75rem;
  color: #666;
  font-family: 'Fuzzy Bubbles', sans-serif;
  line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wishes-container {
    padding: 1rem 0.5rem;
  }
  
  .wishes-form {
    padding: 1.5rem;
  }
  
  .wishes-title {
    font-size: 2rem;
  }
  
  .note-title {
    font-size: 2.5rem;
  }
  
  .wishes-form-container {
    padding: 1.5rem;
  }
  
  .form-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .left-buttons,
  .right-buttons {
    justify-content: center;
  }
  
  .counter-title::before,
  .counter-title::after {
    width: 60px;
  }
  
  .counter-title::before {
    left: -80px;
  }
  
  .counter-title::after {
    right: -80px;
  }
  
  .counter-stats {
    gap: 0.3rem;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .stat-item {
    flex: 1;
    min-width: 80px;
    padding: 0.6rem 0.3rem;
  }
}

@media (max-width: 480px) {
  .wishes-title {
    font-size: 1.8rem;
  }
  
  .note-title {
    font-size: 2rem;
  }
  
  .btn-stiker,
  .btn-batal,
  .btn-kirim {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .counter-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .counter-title::before,
  .counter-title::after {
    display: none;
  }
  
  .counter-stats {
    gap: 0.2rem;
  }
  
  .stat-item {
    padding: 0.5rem 0.2rem;
    min-width: 70px;
    border-radius: 8px;
  }
  
  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
    line-height: 1.1;
  }
}
/* Wishes List Section */
.wishes-list-section {
  margin-top: 2rem;
}

.wishes-list-container {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 8px;
}

.wishes-list-container::-webkit-scrollbar {
  width: 6px;
}

.wishes-list-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.wishes-list-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.wishes-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

.wishes-list-container.hidden {
  display: none;
}

.wish-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.wish-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wish-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wish-user i {
  font-size: 1.2rem;
  color: #666;
}

.wish-name {
  font-weight: 600;
  color: #333;
  font-family: 'Fuzzy Bubbles', sans-serif;
  font-size: 1rem;
}

.wish-attendance-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Fuzzy Bubbles', sans-serif;
  white-space: nowrap;
}

.wish-attendance-badge.hadir {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wish-attendance-badge.ragu {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.wish-attendance-badge.tidak-hadir {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wish-date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.8rem;
  font-family: 'Fuzzy Bubbles', sans-serif;
}

.wish-message {
  color: #555;
  line-height: 1.5;
  font-family: 'Fuzzy Bubbles', sans-serif;
  font-size: 0.95rem;
}

.wish-signature {
  margin: 0.8rem 0;
  text-align: center;
}

.signature-img {
  max-width: 150px;
  height: auto;
  opacity: 0.8;
}

.load-more-container {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-load-more {
  background: white;
  color: #333;
  border: 2px solid #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-family: 'Fuzzy Bubbles', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-load-more:hover {
  transform: translateY(-2px);
  background: #f8f9fa;
  border-color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-load-more i {
  transition: transform 0.3s ease;
}

.btn-load-more:hover i {
  transform: rotate(180deg);
}

/* Mobile responsive for wishes list */
@media (max-width: 768px) {
  .wishes-list-container {
    max-height: 350px;
  }
  
  .wish-item {
    padding: 1rem;
  }
  
  .wish-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .wish-attendance-badge {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .wishes-list-container {
    max-height: 300px;
    padding-right: 4px;
  }
  
  .wish-item {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .wish-name {
    font-size: 0.9rem;
  }
  
  .wish-attendance-badge {
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .wish-date {
    font-size: 0.75rem;
  }
  
  .wish-message {
    font-size: 0.85rem;
  }
  
  .btn-load-more {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* END: Styles for Write Your Wishes Form */

.btn-hand-drawn {
  border: 2px solid #000;
  /* Gives a wobbly border */
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  font-size: 1.2em;
  /* text-transform: uppercase; */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 1px 1px #545454;
  font-family: 'Patrick Hand SC', cursive;
}

.btn-hand-drawn:hover {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px 0px #545454;
}

.btn-hand-drawn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #545454;
}

.btn-hand-drawn a {
  text-decoration: none;
  color: #000;
  font-family: 'Patrick Hand SC', cursive;
}

/*--------------------------------------------------------------
# Arrow Down
--------------------------------------------------------------*/

/* Removed old .down-arrow styles */

.down-arrow {
  position: absolute;
  right: 30px;
  bottom: 50px;
  width: 50px; /* Adjust as needed */
  height: 50px; /* Adjust as needed */
  cursor: pointer;
  /* Add any other styling for the image here */
  width: 31px;
}

section.first {
  /* Keep the same behavior as other sections */
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden; /* Will be controlled by JavaScript like other sections */
}

section.first .outer,
section.first .inner {
  height: 100% !important;       /* Keep full height like other sections */
  overflow-y: auto !important;   /* Allow scrolling within the section */
}

section.first .bg {
  position: absolute !important;  /* Keep absolute positioning like other sections */
  height: 100% !important;        /* Full height */
  width: 100%;
  display: flex;
  align-items: center;            /* Center content vertically */
  justify-content: center;
}

/* Make first section container scrollable like other sections */
section.first .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333;
  padding-top: 2em;
  padding-bottom: 2em;
}

/* Hero Section Responsive Design */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.hero-section-item {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.hero-gif {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.wedding-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.event-item {
  margin-bottom: 1.5rem;
}

.event-title {
  font-weight: 600;
  margin: 0.2rem 0;
  color: #333;
  font-size: 1.1rem;
}

.event-date {
  margin: 0.2rem 0;
  color: #666;
}

.event-time {
  margin: 0.2rem 0;
  color: #333;
}

.family-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-left,
  .hero-center,
  .hero-right {
    flex: none;
    width: 100%;
  }
  
  .hero-gif {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0.5rem;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-logo {
    height: 2.5rem;
  }
  
  .hero-gif {
    max-width: 250px;
  }
  
  .save-date-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .date-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }
  
  .wedding-details {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding: 1rem 0.25rem;
  }
  
  .hero-content {
    gap: 1.5rem;
  }
  
  .hero-logo {
    height: 2rem;
  }
  
  .hero-gif {
    max-width: 300px;
  }
  
  .family-logo {
    width: 50%;
    max-width: 120px;
    height: 2rem;
  }
  
  .event-title,
  .family-text {
    font-size: 1rem;
  }
  
  .event-date,
  .event-time,
  .invitation-text p {
    font-size: 0.9rem;
  }
}

/* Additional Info Cards */
.additional-info {
  margin-top: 4rem;
  padding: 2rem 0;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.info-card h3 {
  color: #333;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.info-card p {
  color: #555;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 0;
}

@media (max-width: 768px) {
  .additional-info {
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .info-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .info-card {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .info-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  }
  
  .info-card p {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
  }
}

/* Specific fix for first section down-arrow */
section.first .inner {
  position: relative;
}

section.first .down-arrow {
  position: absolute;
  right: 30px;
  bottom: 30px;                  /* Distance from viewport bottom */
  width: 30px;
  cursor: pointer;
  z-index: 1000;
}

/* Fix down-arrow positioning for sixth section (wishes section) */
section.sixth .inner {
  position: relative;
}

section.sixth .down-arrow {
  position: fixed !important;
  right: 30px;
  bottom: 30px;
  width: 30px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

section.sixth .down-arrow:hover {
  opacity: 1;
}

/* Ensure consistent container styling for all sections */
.second .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.second .bg > .container .section-heading,
.second .bg > .container p {
  color: #333;
}

.third .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.third .bg > .container .section-heading,
.third .bg > .container p {
  color: #333;
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .fourth SECTION'S CONTAINER */
.fourth .bg > .container {
  height: 100%; /* Occupy full height of .bg */
  overflow-y: auto; /* Enable scrolling for the container */
  /* The display: flex and flex-direction: column might be useful 
     if the h2 and .wrapper-polaroid need specific flex behavior,
     but let's keep it simple first. We can add them if needed. */
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .fifth SECTION'S CONTAINER */
.fifth .bg > .container {
  height: 100%; /* Occupy full height of .bg */
  overflow-y: auto; /* Enable scrolling for the container */
  /* Ensure text is visible on the background. You might need to adjust colors. */
  color: #333; /* Example: Dark text for light background */
  padding-top: 2em; /* Add some padding at the top */
  padding-bottom: 2em; /* Add some padding at the bottom */
}

/* Adjust text color inside the fifth section if needed */
/* Ensure headings and paragraphs are also dark color: #333;  */
.fifth .bg > .container .section-heading,
.fifth .bg > .container p {
  color: #333;
}
.fifth .bg > .container .section-heading clip-text {
  color: #FFD700;
}

.fifth .bg > .container .bg-white {
  color: #333; /* Ensure text within explicitly white backgrounds is dark */
}
.fifth .bg > .container .bg-white span {
  color: #1a1a1a; /* Darker color for span elements */
  font-weight: bold;
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .eighth SECTION'S CONTAINER */
.eighth .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333; /* Dark text for light background */
  padding-top: 2em;
  padding-bottom: 2em;
}
.eighth .bg > .container .section-heading,
.eighth .bg > .container p,
.eighth .bg > .container .btn-hand-drawn a {
  color: #333; /* Ensure text and button link text is dark */
}
/* Make button distinct on this background if needed */
.eighth .bg > .container .btn-hand-drawn {
  border-color: #333;
  background-color: #f8f9fa; /* Lighter background for button */
}

/* ADD NEW STYLES FOR SCROLLING WITHIN .ninth SECTION'S CONTAINER */
.ninth .bg > .container {
  height: 100%;
  overflow-y: auto;
  color: #333; /* Dark text for light background */
  padding-top: 2em;
  padding-bottom: 2em;
}
.ninth .bg > .container .section-heading,
.ninth .bg > .container p {
  color: #333;
}

/* Font Sizes */
.text-xs {
  font-size: 0.75rem !important; /* 12px */
  line-height: 1rem !important; /* 16px */
}

.text-sm {
  font-size: 0.875rem !important; /* 14px */
  line-height: 1.25rem !important; /* 20px */
}

.text-base {
  font-size: 1rem !important; /* 16px */
  line-height: 1.5rem !important; /* 24px */
}

.text-lg {
  font-size: 1.125rem !important; /* 18px */
  line-height: 1.75rem !important; /* 28px */
}

.text-xl {
  font-size: 1.25rem !important; /* 20px */
  line-height: 1.75rem !important; /* 28px */
}

.text-2xl {
  font-size: 1.5rem !important; /* 24px */
  line-height: 2rem !important; /* 32px */
}

.text-3xl {
  font-size: 1.875rem !important; /* 30px */
  line-height: 2.25rem !important; /* 36px */
}

.text-4xl {
  font-size: 2.25rem !important; /* 36px */
  line-height: 2.5rem !important; /* 40px */
}

.text-5xl {
  font-size: 3rem !important; /* 48px */
  line-height: 1 !important;
}

.text-6xl {
  font-size: 3.75rem !important; /* 60px */
  line-height: 1 !important;
}

.text-7xl {
  font-size: 4.5rem !important; /* 72px */
  line-height: 1 !important;
}

.text-8xl {
  font-size: 6rem !important; /* 96px */
  line-height: 1 !important;
}

.text-9xl {
  font-size: 8rem !important; /* 128px */
  line-height: 1 !important;
}

.text-bold {
  font-weight: 700 !important; /* Bold text */
}

.mbx-100 {
  margin-bottom: 100px !important; /* Margin bottom for spacing */
}

.text-left {
  text-align: left !important; /* Left align text */
}

/* Loading and Error States */
.loading-message,
.error-message,
.no-messages {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

.loading-message {
  color: #007bff;
}

.loading-message:before {
  content: "⏳ ";
  animation: pulse 1.5s ease-in-out infinite;
}

.error-message {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 8px;
  margin: 1rem 0;
}

.error-message:before {
  content: "⚠️ ";
}

.no-messages {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 8px;
  margin: 1rem 0;
}

.no-messages:before {
  content: "💌 ";
}

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

/* Button loading state */
.btn-kirim:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-kirim:disabled:hover {
  transform: none;
}

/* Thank You Modal Styles */
.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thank-you-modal.show {
  display: flex;
  opacity: 1;
}

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

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-paper {
  background: linear-gradient(145deg, #f9f7f4, #ffffff);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(139, 69, 19, 0.1);
}

.thank-you-modal.show .modal-paper {
  transform: scale(1) translateY(0);
}

/* Paper texture effect */
.modal-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(139, 69, 19, 0.03) 25px,
      rgba(139, 69, 19, 0.03) 26px
    );
  border-radius: 20px;
  pointer-events: none;
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.thank-you-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: heartbeat 2s infinite;
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.thank-you-icon i {
  font-size: 2.5rem;
  color: white;
  animation: pulse 1.5s infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.modal-title {
  font-size: 2.5rem;
  color: #8b4513;
  margin: 0;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.caveat-bold {
  font-family: "Caveat", cursive;
  font-weight: 700;
}

.caveat-regular {
  font-family: "Caveat", cursive;
  font-weight: 400;
}

.modal-body {
  margin-bottom: 30px;
}

.handwriting-text {
  margin-bottom: 30px;
  position: relative;
}

.handwriting-text p {
  font-size: 1.4rem;
  color: #5d4e37;
  margin: 8px 0;
  line-height: 1.6;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: writeIn 0.8s ease forwards;
}

.handwriting-text .line-1 { animation-delay: 0.5s; }
.handwriting-text .line-2 { animation-delay: 0.8s; }
.handwriting-text .line-3 { animation-delay: 1.1s; }
.handwriting-text .line-4 { animation-delay: 1.4s; }
.handwriting-text .line-5 { animation-delay: 1.7s; }

@keyframes writeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.signature {
  text-align: center;
  margin: 30px 0;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 2.2s;
}

.signature-text {
  font-size: 1.2rem;
  color: #8b4513;
  margin-bottom: 10px;
}

.couple-signature {
  display: block;
  font-size: 2rem;
  color: #8b4513;
  position: relative;
}

.bride-name, .groom-name {
  font-family: "Caveat", cursive;
  font-weight: 700;
  display: inline-block;
  margin: 0 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bride-name {
  color: #d63384;
}

.groom-name {
  color: #0d6efd;
}

.decorative-hearts {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 2.5s;
}

.decorative-hearts i {
  font-size: 1.2rem;
  animation: float 3s ease-in-out infinite;
}

.heart-1 {
  color: #ff6b6b;
  animation-delay: 0s;
}

.heart-2 {
  color: #ff8e8e;
  animation-delay: 0.5s;
}

.heart-3 {
  color: #ffb3b3;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.modal-footer {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 2.8s;
}

.close-modal-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  font-family: "Caveat", cursive;
  font-weight: 700;
}

.close-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

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

.close-modal-btn i {
  margin-right: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-content {
    padding: 15px;
  }
  
  .modal-paper {
    padding: 30px 25px;
    border-radius: 15px;
  }
  
  .modal-title {
    font-size: 2rem;
  }
  
  .handwriting-text p {
    font-size: 1.2rem;
  }
  
  .couple-signature {
    font-size: 1.6rem;
  }
  
  .thank-you-icon {
    width: 60px;
    height: 60px;
  }
  
  .thank-you-icon i {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .modal-paper {
    padding: 25px 20px;
  }
  
  .modal-title {
    font-size: 1.8rem;
  }
  
  .handwriting-text p {
    font-size: 1.1rem;
  }
  
  .couple-signature {
    font-size: 1.4rem;
  }
  
  .close-modal-btn {
    padding: 10px 25px;
    font-size: 1.1rem;
  }
}