@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: "Poppins", sans-serif;
  text-transform: uppercase;
}
p {
  font-family: 'Patrick Hand SC', cursive;
}
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;
}

.mb-7 {
  margin-bottom: 7rem !important;
}
.mb-9 {
  margin-bottom: 9rem !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;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/*--------------------------------------------------------------
# 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. */
}

/* Ensure specific heading color if needed, though .londrina-shadow-regular usually has its own color */
.second .bg > .container .section-heading.londrina-shadow-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;
}
.sedgwick-ave-regular {
  font-family: 'Sedgwick Ave', cursive;
}
.asap-condensed-regular {
  font-family: 'Asap Condensed', sans-serif;
}
.londrina-shadow-regular {
  font-family: 'Londrina Shadow', cursive;
}

/*--------------------------------------------------------------
# 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 can scroll if content overflows */
  min-height: 100vh; /* Make sure it's at least as tall as the viewport */
  overflow-y: auto;  /* Allow vertical scrolling if content is taller */
  padding-top: 5rem; /* Existing padding */
  padding-bottom: 5rem; /* Existing padding */
}

.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 */

.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;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  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: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  gap: 2rem;
}

/* Left Section - Logo and GIF */
.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.hero-logo {
  height: 3rem;
  max-width: 100%;
  object-fit: contain;
}

.hero-gif {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Center Section - Save the Date */
.hero-center {
  flex: 1;
  text-align: center;
  padding: 130px 1rem;
}

.save-date-section h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  color: #333;
}

.date-text {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  color: #666;
  margin: 0;
}

/* Right Section - Wedding Details */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wedding-details {
  text-align: center;
  max-width: 300px;
}

.family-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.family-logo {
  width: 60%;
  max-width: 150px;
  height: 2.5rem;
  transform: rotate(-5deg);
  margin-bottom: 2rem;
  object-fit: contain;
}

.invitation-text p {
  margin: 0.3rem 0;
  color: #333;
  font-size: 1rem;
}

.event-details {
  margin-top: 1.5rem;
}

.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;
}

/* 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;
  left: 50%;
  bottom: 30px;                  /* Distance from viewport bottom */
  transform: translateX(-50%);
  width: 30px;
  cursor: pointer;
  z-index: 1000;
}

/* 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;
}
