/* Existing styles */
.nav-logo img {
  max-height: 40px;
  width: auto;
}

.navbar {
  position: fixed;
  /* Fix the navbar at the top */
  top: 0;
  /* Align to the top of the viewport */
  width: 100%;
  /* Ensure it spans the full width */
  z-index: 1000;
  /* Keep it above other content */
  padding: 0px 0px;
  font-family: "Funnel Sans", sans-serif;
  background-color: #FBFAF3;
  /* Ensure background color is set */
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-link-style {
  font-family: "Funnel Sans", sans-serif;
  font-size: 18px;
  color: #1c1c1c;
  font-weight: 500;
}


/* Media query for responsiveness */
@media (max-width: 576px) {
  .nav-logo img {
    max-height: 30px;
  }

  .nav-link-style {
    font-size: 16px;
  }

  body {
    padding-top: 60px;
    /* Adjust padding for smaller screens */
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 104px;
  }
}

/* Ensure the container-fluid inside the navbar respects the fixed positioning */
.navbar>.container-fluid {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0px, 0vw, 0px) clamp(0px, 5vw, 50px) clamp(0px, 0vw, 0px) !important;
}

.meet {
  color: #1c1c1c;
}

.riki {
  color: #f5797f;
}

.meet-riki-from-kidpilotai {
  margin: 0;
}

.your-childs-first-ai-buddy {
  margin: 0;
  color: #1c1c1c;
}

.meet-riki-from-container {
  position: relative;
}

.safe-smart-guided {
  position: relative;
  font-size: clamp(24px, 5vw, 40px);
  font-family: "Funnel Sans";
  color: #1c1c1c;
}

.meet-riki-from-kidpilotai-your-parent {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 24px);
}

.group-child {
  position: relative;
  width: 100%;
  max-width: 1568px;
  aspect-ratio: 16/9;
  margin: 0 auto;
}

.rectangle-4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(24px, 4vw, 56px);
}

.frame-child {
  width: clamp(24px, 5vw, 40px);
  border-radius: 100px;
  height: clamp(24px, 5vw, 40px);
}

.get-early-access-parent {
  position: absolute;
  top: -63px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 90px;
  background-color: #1c1c1c;
  border: clamp(10px, 2vw, 20px) solid #fbfaf3;
  box-sizing: border-box;
  width: clamp(200px, 40vw, 310px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 32px);
  gap: clamp(8px, 2vw, 16px);
}

.rectangle-parent {
  align-self: stretch;
  position: relative;
  height: auto;
  min-height: 50vh;
  font-size: clamp(16px, 3vw, 20px);
  color: #fff;
  font-family: "Funnel Sans";
  margin-top: 27px;
}

.frame-parent {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(40px, 10vw, 120px) clamp(20px, 5vw, 80px) clamp(40px, 10vw, 112px);
  box-sizing: border-box;
  gap: clamp(40px, 8vw, 84px);
  text-align: center;
  font-size: clamp(32px, 7vw, 64px);
  color: #f5797f;
  font-family: "Funnel Display";
  background-color: #fbfaf3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .frame-parent {
    padding: clamp(20px, 15vw, 60px) clamp(10px, 3vw, 40px);
    gap: clamp(20px, 5vw, 40px);
  }

  .safe-smart-guided {
    font-size: clamp(18px, 4vw, 24px);
  }

  .get-early-access-parent {
    width: clamp(150px, 50vw, 250px);
    top: -24px;
    border: clamp(8px, 2vw, 15px) solid #fbfaf3;
  }

  .rectangle-4 {
    /* border-radius: clamp(16px, 3vw, 32px); */
    width: 100%;
    position: relative;
    border-radius: 30px;
    height: 396px;
  }
}

@media (max-width: 480px) {
  .frame-parent {
    font-size: clamp(24px, 6vw, 36px);
  }

  .safe-smart-guided {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .get-early-access-parent {
    width: clamp(120px, 60vw, 200px);
    padding: clamp(6px, 1.5vw, 12px) clamp(12px, 2.5vw, 24px);
  }
}

.highlight-kidpilot {
  color: #f5797f;
}

.how-it-works-heading {
  position: relative;
  font-family: "Funnel Display";
  font-size: clamp(32px, 6vw, 64px);
  text-align: center;
  color: #1c1c1c;
}

.how-it-works-subheading {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  font-size: clamp(18px, 3vw, 32px);
  font-family: "Funnel Sans";
  text-align: center;
  color: #1c1c1c;
}

.how-it-works-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(40px, 8vw, 80px);
  padding: clamp(20px, 5vw, 60px) clamp(10px, 3vw, 40px);
}

.how-it-works-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 40px);
  /* margin-top: clamp(40px, 6vw, 60px); */
  text-align: center;
  font-family: "Funnel Sans";
  padding: clamp(40px, 10vw, 120px) clamp(20px, 5vw, 80px) clamp(40px, 10vw, 112px);
}

.how-it-works-card {
  flex: 1 1 30%;
  max-width: 509px;
  background-color: #fbfaf3;
  border-radius: 40px;
  padding: 16px 16px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.how-it-works-image {
  width: 100%;
  height: 340px;
  border-radius: 32px;
  object-fit: cover;
}

.how-it-works-title {
  font-size: 24px;
  font-weight: bold;
  color: #1c1c1c;
}

.how-it-works-text {
  font-size: 20px;
  color: #1c1c1c;
}

@media (max-width: 992px) {
  .how-it-works-cards {
    flex-direction: column;
    align-items: center;
  }

  .how-it-works-card {
    width: 100%;
  }

  .how-it-works-heading {
    font-size: 48px;
  }

  .how-it-works-subheading {
    font-size: 28px;
    font-family: "Funnel Sans";
  }
}

@media (max-width: 576px) {
  .how-it-works-heading {
    font-size: 28px;
  }

  .how-it-works-subheading {
    font-size: 16px;
    font-family: "Funnel Sans";
  }

  .how-it-works-title {
    font-size: 22px;
  }

  .how-it-works-text {
    font-size: 18px;
  }
}

/* .features-heading {
  position: relative;
}

.features-subheading {
  position: relative;
  font-size: 32px;
  font-family: "Funnel Sans";
  text-align: center;
}

.features-heading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.features-icon,
.features-icon-img {
  width: 88px;
  height: 88px;
  border-radius: 90px;
  object-fit: cover;
}

.features-card-title {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: #1c1c1c;
}

.features-card-desc {
  font-size: 20px;
  color: #252525;
  text-align: center;
}

.features-desc-line {
  margin: 0;
  font-size: large;
}

.features-card-text-group {
  width: 311px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.features-card {
  flex: 1 1 300px;
  max-width: 509px;
  min-width: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  gap: 24px;
}

.features-card-1 {
  background-color: #ebebf0;
  width: 100%;
  position: relative;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
  box-sizing: border-box;
  gap: 24px;
  text-align: center;
  font-size: 24px;
  color: #1c1c1c;
  font-family: "Funnel Sans";
}

.features-card-2 {
  background-color: #dcecee;
  width: 100%;
  position: relative;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
  box-sizing: border-box;
  gap: 24px;
  text-align: center;
  font-size: 24px;
  color: #1c1c1c;
  font-family: "Funnel Sans";
}

.features-card-3 {
  background-color: #def3e3;
  width: 100%;
  position: relative;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
  box-sizing: border-box;
  gap: 24px;
  text-align: center;
  font-size: 24px;
  color: #1c1c1c;
  font-family: "Funnel Sans";
}

.features-card-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: center;
  font-family: "Funnel Sans";
  width: 100%;
}

.features-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.features-footer-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.features-footer-icon-left {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e7e7e7;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.features-footer-icon-right {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f16d75;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.features-section {
  width: 100%;
  position: relative;
  padding: 80px 80px;
  box-sizing: border-box;
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 56px;
  color: #1c1c1c;
  font-family: "Funnel Display";
}
@media (max-width: 992px) {
  .features-section {
    padding: 80px 40px;
  }

  .features-subheading {
    font-size: 28px;
  }

  .features-card-group {
    flex-direction: column;
    align-items: center;
  }

  .features-card {
    width: 100%;
    max-width: 509px;
  }

  .features-heading {
    font-size: 48px;
  }
}

@media (max-width: 576px) {
  .features-section {
    padding: 60px 20px;
  }

  .features-heading {
    font-size: 40px;
    text-align: center;
  }

  .features-subheading {
    font-size: 22px;
  }

  .features-card-title {
    font-size: 22px;
  }

  .features-card-desc {
    font-size: 18px;
  }
} */

/* feature start */
.features-heading {
  position: relative;
}

.features-subheading {
  position: relative;
  font-size: 32px;
  font-family: "Funnel Sans";
  text-align: center;
}

.features-heading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.features-icon,
.features-icon-img {
  width: 88px;
  height: 88px;
  border-radius: 90px;
  object-fit: cover;
}

.features-card-title {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: #1c1c1c;
}

.features-card-desc {
  font-size: 20px;
  color: #252525;
  text-align: center;
}

.features-desc-line {
  margin: 0;
  font-size: large;
}

.features-card-text-group {
  width: 311px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.features-card-text-group-3 {
  width: 311px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.features-card {
  flex: 0 0 100%;
  max-width: 566px;
  min-width: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  gap: 24px;
  font-family: "Funnel Sans";
}

.features-card-1 {
  background-color: #ebebf0;
}

.features-card-2 {
  background-color: #dcecee;
}

.features-card-3 {
  background-color: #def3e3;
}

.features-carousel {
  width: 100%;
  overflow: hidden;
  /* Hide the parts of the cards that are not visible */
}

.features-card-group {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Smooth transition for sliding */
  gap: 24px;
}

.features-footer-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.features-footer-icon-left,
.features-footer-icon-right {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  /* Prevent text selection on click */
  transition: background-color 0.3s, color 0.3s;
  /* Smooth color transition */
}

.features-footer-icon-left {
  background-color: #e7e7e7;
  color: #000000;
}

.features-footer-icon-right {
  background-color: #f16d75;
}

/* New class for active/clicked state */
.arrow-active {
  background-color: #f16d75 !important;
  color: #fff !important;
}

/* Class for when an arrow is disabled */
.arrow-inactive {
  background-color: #e7e7e7 !important;
  color: #000000 !important;
  cursor: not-allowed;
}


.features-section {
  width: 100%;
  position: relative;
  padding: 175px 80px;
  box-sizing: border-box;
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 56px;
  color: #1c1c1c;
  font-family: "Funnel Display";
  background-color: #fbfaf3;
}

/* Responsive */
@media (max-width: 992px) {
  .features-section {
    padding: 80px 40px;
  }

  .features-subheading {
    font-size: 28px;
  }

  .features-heading {
    font-size: 48px;
  }

  .features-card {
    flex-basis: 50%;
    /* Show two cards on tablet */
  }
}

@media (max-width: 576px) {
  .features-section {
    padding: 60px 20px;
  }

  .features-heading {
    font-size: 40px;
    text-align: center;
  }

  .features-subheading {
    font-size: 22px;
  }

  .features-card-title {
    font-size: 22px;
  }

  .features-card-desc {
    font-size: 18px;
  }

  .features-card {
    flex-basis: 100%;
    /* Show one card on mobile */
  }
}

@media screen and (min-width: 1279px) and (max-width: 1281px) and (max-height: 850px) {
  .features-card {
    flex: 0 0 100%;
    max-width: 545px;
    min-width: 280px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    border-radius: 32px;
    gap: 24px;
    font-family: "Funnel Sans";
}
}

/* Container Styling  start*/
.custom-section-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 80px 112px;
  box-sizing: border-box;
  gap: 24px;
  font-family: "Funnel Display", sans-serif;
  color: #1c1c1c;
  background-color: #fbfaf3;
}

.custom-content-wrapper {
  width: 100%;
  max-width: 1300px;
  background-color: #ffebb4;
  border-radius: 80px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-sizing: border-box;
}

.custom-heading-block {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 913px;
}

.custom-heading {
  font-size: 56px;
  text-transform: capitalize;
}

.custom-feature-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: "Funnel Sans", sans-serif;
}

.custom-feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.custom-feature-title-block {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  /* Add cursor pointer to indicate it's clickable */
}

.custom-feature-title {
  font-size: 32px;
  font-weight: 500;
  text-transform: capitalize;
}

.custom-feature-description {
  font-size: 20px;
  color: #252525;
  display: none;
  /* Hide description by default */
}

/* Show description when the feature is active */
.custom-feature.active .custom-feature-description {
  display: block;
}

/* Arrow Icon */
.custom-feature-icon-up-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f16d75;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.custom-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 90px;
  background-color: #0f0f0f;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* Hide down arrow when active, show up arrow */
.custom-feature .custom-feature-icon-up-arrow {
  display: none;
}

.custom-feature.active .custom-feature-icon {
  display: none;
}

.custom-feature.active .custom-feature-icon-up-arrow {
  display: flex;
}


.custom-section-image-wrapper {
  border-radius: 80px;
  overflow: hidden;
  width: 400px;
  height: auto;
  flex-shrink: 0;
}

.custom-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive layout */
@media (max-width: 1024px) {
  .custom-section-wrapper {
    flex-direction: column;
    padding: 40px 20px;
    align-items: center;
  }

  .custom-section-image {
    flex-direction: column;
    align-items: center;
    border-radius: 32px;
  }

  .custom-heading {
    font-size: 42px;
  }

  .custom-feature-title {
    font-size: 24px;
  }

  .custom-feature-description {
    font-size: 18px;
  }

  .custom-section-image-wrapper {
    border-radius: 32px;
    width: 100%;
    max-width: 456px;
  }
}

@media (max-width: 600px) {
  .custom-content-wrapper {
    padding: 40px 24px;
    border-radius: 32px;
  }

  .custom-section-image {
    border-radius: 32px;
  }

  .custom-heading {
    font-size: 32px;
  }

  .custom-feature-icon,
  .custom-feature-icon-up-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }

  .custom-feature-title {
    font-size: 20px;
  }

  .custom-feature-description {
    font-size: 16px;
  }

  .custom-section-image-wrapper {
    border-radius: 24px;
    display: none;
  }
}

/* Hide image on tablets and smaller devices (portrait and landscape) */
@media (max-width: 1024px) {
  .custom-section-image-wrapper {
    display: none;
  }
}

/* Only target tablets (e.g., iPads) */
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-section-image-wrapper {
    display: none;
  }
}

/* Target MacBook Air screen size (13-inch, 1440x900) */
/* Fix arrow icon appearance for MacBook Air (1280x800) */
@media screen and (min-width: 1279px) and (max-width: 1281px) and (max-height: 850px) {

  .custom-feature-icon,
  .custom-feature-icon-up-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0f0f0f;
    /* or your custom color */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-left: auto;
    /* ensures icons align to the right */
  }

  .custom-feature-icon-up-arrow {
    background-color: #f16d75;
  }

  .custom-feature-title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .custom-feature-title {
    font-size: 24px;
    font-weight: 600;
  }

  .custom-feature-description {
    font-size: 18px;
    line-height: 1.5;
  }
}

.copilot-section-wrapper {
  width: 100%;
  padding: 0 80px 112px;
  box-sizing: border-box;
  font-family: "Funnel Display", sans-serif;
  color: #1c1c1c;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.copilot-section-content {
  background-color: #ebebf0;
  border-radius: 80px;
  padding: 100px 80px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.copilot-text-buttons-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 1;
  max-width: 50%;
}

.copilot-heading-subheading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.copilot-heading {
  font-size: 48px;
  max-width: 100%;
  display: inline-block;
}

.copilot-subheading {
  font-size: 32px;
  font-family: "Funnel Sans", sans-serif;
}

.copilot-button-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.copilot-store-icon {
  width: 220px;
  height: auto;
}

.copilot-overlapping-images {
  position: relative;
  width: 548px;
  height: 495px;
  flex-shrink: 0;
  overflow: hidden;
}

.copilot-image-child,
.copilot-image-parent {
  position: absolute;
  width: 280px;
  object-fit: cover;
  border-radius: 32px 32px 0 0;
}

.copilot-image-child {
  top: 13px;
  left: 268px;
}

.copilot-image-parent {
  top: 97px;
  left: 0;
}

.copilot-bg-graphic {
  position: absolute;
  width: 39.53%;
  height: 20.91%;
  top: 65.16%;
  right: 23.18%;
  max-width: 100%;
  max-height: 100%;
  z-index: 0;
}

.kidpilot-bg-graphic {
  position: absolute;
  width: 18.53%;
  height: 17.91%;
  top: 35.16%;
  right: 0%;
  max-width: 100%;
  max-height: 100%;
  z-index: 0;
}

/* Responsive Styles */
@media (max-width: 1224px) {
  .copilot-section-content {
    flex-direction: column;
    padding: 80px 40px;
    border-radius: 48px;
  }

  .copilot-text-buttons-block {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .copilot-overlapping-images {
    width: 100%;
    height: auto;
    margin-top: 40px;
  }

  .copilot-image-child,
  .copilot-image-parent {
    position: static;
    width: 45%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .copilot-overlapping-images {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .copilot-section-wrapper {
    padding: 40px 20px;
  }

  .copilot-heading {
    font-size: 40px;
  }

  .copilot-subheading {
    font-size: 24px;
  }

  .copilot-store-icon {
    width: 180px;
  }

  .copilot-image-child,
  .copilot-image-parent {
    width: 60%;
    max-width: 100%;
    object-fit: contain;
  }

  .copilot-overlapping-images {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .copilot-section-wrapper {
    padding: 20px 20px;
  }

  .copilot-section-content {
    padding: 40px 16px;
    border-radius: 24px;
  }

  .copilot-heading {
    font-size: 28px;
  }

  .copilot-subheading {
    font-size: 16px;
  }

  .copilot-store-icon {
    width: 120px;
  }

  .copilot-image-child,
  .copilot-image-parent {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .copilot-bg-graphic,
  .kidpilot-bg-graphic {
    display: none;
  }
}

/* /////////////////////////// */
/* Footer Styles */
.footer-container {
  background-color: #ffffff;
  border-radius: 40px 40px 0 0;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.brand-identity {
  margin-bottom: 15px;
}

.brand-logo {
  width: 55px;
  height: auto;
  margin-bottom: 10px;
}

.brand-title {
  font-size: 24px;
  font-weight: 600;
  color: #1c1c1c;
  margin: 0;
}

.footer-tagline {
  font-size: 16px;
  color: #333;
  margin: 0 auto 15px auto;
  max-width: 300px;
  line-height: 1.5;
}

.contact-info {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.contact-link {
  color: #0076e5;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Background Text Styles */
.footer-background-text-wrapper {
  /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; */
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.footer-background-text {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 900;
  /* Very bold */
  font-size: 9.375vw;
  /* Responsive font size based on viewport width */
  color: #eeeeee;
  margin: 0;
  white-space: nowrap;
  /* Keeps the text on one line */
  letter-spacing: 2px;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .footer-container {
    border-radius: 60px 60px 0 0;
    padding: 50px 40px;
  }

  .footer-tagline {
    font-size: 18px;
    max-width: none;
  }

  .contact-info {
    font-size: 18px;
  }

  .footer-background-text {
    /* font-size: 10vw; Larger text for tablets */
    letter-spacing: 5px;
    font-family: "Bebas Neue", sans-serif;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .footer-container {
    border-radius: 80px 80px 0 0;
    padding: 20px 60px;
  }

  .brand-title {
    font-size: 28px;
  }

  .footer-tagline,
  .contact-info {
    font-size: 20px;
  }

  .footer-background-text {
    font-size: 65px;
    /* Fixed large size for desktops */
    font-family: "Bebas Neue", sans-serif;
  }

  /* .custom-content-wrapper {
    width: 100%;
    max-width: 1091px;
    background-color: #ffebb4;
    border-radius: 80px;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    box-sizing: border-box;
    }

    .custom-section-image-wrapper {
    border-radius: 80px;
    overflow: hidden;
    width: 350px;
    height: auto;
    flex-shrink: 0;
    } */
}

/* Larger Desktop Styles */
@media (min-width: 1440px) {
  .footer-background-text {
    font-size: 180px;
    /* Even larger for high-res screens */
    font-family: "Bebas Neue", sans-serif;
    width: 1499px;
    position: relative;
  }
}

.footer-divider {
  border: none;
  border-top: 1px solid #1f2124;
  /* light grey line */
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  /* Tailwind gray-500 */
  padding: 10px 0;
  flex-wrap: wrap;
}

.footer-copy {
  width: 320px;
  position: relative;
  font-size: 15px;
  letter-spacing: -0.23px;
  line-height: 20px;
  font-family: "SF Pro";
  color: #8e8e93;
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.privacy-policy {
  width: 101px;
  position: relative;
  text-decoration: underline;
  letter-spacing: -0.31px;
  line-height: 21px;
  display: inline-block;
  flex-shrink: 0;
  color: #8e8e93;
}

.privacy-policy:hover {
  border-color: #6b7280;
  text-decoration: underline;
  color: rgba(0, 92, 252, 0.72);
}

.terms-conditions {
  width: 143px;
  position: relative;
  text-decoration: underline;
  letter-spacing: -0.31px;
  line-height: 21px;
  display: inline-block;
  flex-shrink: 0;
  color: #8e8e93;
}

.terms-conditions:hover {
  border-color: #6b7280;
  text-decoration: underline;
  color: rgba(0, 92, 252, 0.72);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
}

/* --- START OF contact form CSS --- */
.contact-love-to-hear {
  color: #f5797f;
}

.contact-wed-love-to-container {
  align-self: stretch;
  position: relative;
}

.contact-have-a-question {
  align-self: stretch;
  position: relative;
  font-size: 32px;
  font-family: 'Funnel Sans';
}

.contact-wed-love-to-hear-from-you-parent {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.contact-adobe-express-file-13-1 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 566px;
  height: 452.3px;
  object-fit: contain;
}

.contact-adobe-express-file-13-1-wrapper {
  width: 566px;
  position: relative;
  height: 452.3px;
}

.contact-frame-group {
  width: 774px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 38px;
}

.contact-frame-child {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #ebedf0;
  box-sizing: border-box;
  width: 642px;
  height: 72px;
}

.contact-enter-full-name {
  position: absolute;
  top: calc(50% - 15px);
  left: 29px;
}

.contact-rectangle-parent {
  align-self: stretch;
  position: relative;
  height: 72px;
}

.contact-frame-item {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #ebedf0;
  box-sizing: border-box;
  width: 642px;
  height: 70px;
}

.contact-email {
  position: absolute;
  top: calc(50% - 15px);
  left: 28px;
}

.contact-rectangle-group {
  align-self: stretch;
  position: relative;
  height: 70px;
}

.contact-rectangle-div {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #ebedf0;
  box-sizing: border-box;
  width: 642px;
  height: 297px;
}

.contact-enter-your-message {
  position: absolute;
  top: 20px;
  left: 28px;
}

.contact-rectangle-parent1 {
  width: 642px;
  position: relative;
  height: 297px;
}

.contact-frame-div {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 19px;
}

.contact-submit {
  position: relative;
  font-weight: 600;
}

.contact-submit-wrapper {
  border-radius: 12px;
  background-color: #f5797f;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 130px;
  font-size: 28px;
  color: #fff;
  font-family: 'Funnel Display';
}

.contact-frame-container {
  width: 642px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  font-size: 24px;
  color: rgba(128, 128, 128, 0.55);
  font-family: 'Funnel Sans';
}

.contact-frame-parent {
  width: 1568px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0px;
}

.contact-macbook-pro-16-3 {
  position: relative;
  background-color: #fbfaf3;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 150px 80px;
  box-sizing: border-box;
  text-align: left;
  font-size: 56px;
  color: #1c1c1c;
  font-family: 'Funnel Display';
}

.editable-input,
.editable-select,
.editable-textarea {
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #ebedf0;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Funnel Sans', sans-serif;
  font-size: 24px;
  color: #1c1c1c;
  padding: 22px 28px;
}

.editable-select {
    padding: 18px 28px;
    height: 72px;
    color: rgba(128, 128, 128, 0.55);
}

.editable-select:valid {
    color: #1c1c1c;
}

.editable-select option {
    color: #1c1c1c;
}

.editable-input {
  height: 72px;
}

.editable-textarea {
  height: 297px;
  resize: none;
  /* Prevents user from resizing the textarea */
  padding-top: 20px;
}

.editable-input::placeholder,
.editable-select::placeholder,
.editable-textarea::placeholder {
  color: rgba(128, 128, 128, 0.55);
  font-family: 'Funnel Sans', sans-serif;
}

/* Style for the submit button to make it a real button */
button.contact-submit {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

/* For extra large screens, center the content */
@media (min-width: 1600px) {
  .contact-macbook-pro-16-3 {
    align-items: center;
  }
}

/* For large tablets and small desktops */
@media (max-width: 1200px) {
  .contact-frame-parent {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
  }

  .contact-frame-group {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .contact-wed-love-to-hear-from-you-parent {
    align-items: center;
  }

  .contact-frame-container {
    width: 100%;
    max-width: 642px;
    /* Maintain form's max width */
  }
}

/* For standard tablets */
@media (max-width: 992px) {
  .contact-macbook-pro-16-3 {
    padding: 50px 40px;
  }

  .contact-wed-love-to-container {
    font-size: 48px;
  }

  .contact-have-a-question {
    font-size: 28px;
  }

  .contact-adobe-express-file-13-1,
  .contact-adobe-express-file-13-1-wrapper {
    width: 90%;
    max-width: 500px;
    /* Adjust image size */
    height: auto;
    position: relative;
  }

  /* Adjust width of form elements */
  .contact-frame-child,
  .contact-frame-item,
  .contact-rectangle-div,
  .contact-rectangle-parent1 {
    width: 100%;
  }
}

/* For mobile devices */
@media (max-width: 576px) {
  .contact-macbook-pro-16-3 {
    padding: 40px 20px;
  }

  .contact-wed-love-to-container {
    font-size: 40px;
  }

  .contact-have-a-question {
    font-size: 22px;
  }

  /* --- FIX FOR OVERLAPPING --- */
  /* Update heights for both the container AND the absolutely-positioned child */
  .contact-frame-child,
  .contact-rectangle-parent {
    height: 60px;
  }

  .contact-frame-item,
  .contact-rectangle-group {
    height: 60px;
  }

  .contact-rectangle-div,
  .contact-rectangle-parent1 {
    height: 200px;
    /* This ensures the message box doesn't overflow */
  }

  /* --- END OF FIX --- */

  .contact-enter-full-name,
  .contact-email,
  .contact-enter-your-message {
    font-size: 18px;
  }

  .contact-enter-full-name,
  .contact-email {
    top: calc(50% - 13px);
  }

  .contact-submit-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    font-size: 24px;
    margin-top: 90px;
  }

  .contact-frame-container {
    gap: 24px;
  }

  .contact-frame-group {
    gap: 20px;
  }
}

@media only screen and (min-width: 1201px) and (max-width: 1540px) {
  .contact-frame-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    width: auto;
  }

  .contact-frame-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 38px;
  }

  .contact-frame-container {
    width: 642px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 36px;
    font-size: 24px;
    color: rgba(128, 128, 128, 0.55);
    font-family: 'Funnel Sans';
  }

  .contact-macbook-pro-16-3 {
    position: relative;
    background-color: #fbfaf3;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
    text-align: left;
    font-size: 56px;
    color: #1c1c1c;
    font-family: 'Funnel Display';
    align-content: center;
    flex-wrap: nowrap;
  }
}