body,
html {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #323962;
  color: #f5fdf1;
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 60px;
  background: #d0e6f2;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  box-sizing: border-box;
  box-shadow: none;
}

nav.scrolled {
  padding: 14px 60px;
  border-radius: 0 0 50px 50px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: #d0e6f2;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 2rem;
  color: #222846;
  transition: all 0.3s;
}
.logo-img {
  height: 54px;
  transition: transform 0.3s;
}
.logo:hover .logo-img {
  transform: scale(1.1) rotate(4deg);
}
.logo:hover .logo-text {
  color: #0062ff;
}
.nav-links {
  display: flex;
  gap: 60px;
}
.nav-link {
  text-decoration: none;
  color: #323962;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #0062ff;
}
.signup-btn {
  background: #a8e6cf;
  color: #323962;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(21, 150, 116, 0.33);
}
.signup-btn:hover {
  background: #0062ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 230, 207, 0.4);
}

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  background: #15202b url("images/Wave1.jpg") center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 20px;
  animation: fadeInUp 1.6s ease-out forwards;
}
.hero h1 {
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero h1 .highlight {
  color: #a8e6cf;
  font-weight: 300;
}
.tagline {
  font-size: 1.9rem;
  margin: 1.5rem auto;
  max-width: 700px;
  opacity: 0.95;
}
.subtitle {
  font-size: 1.35rem;
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.9;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logos-row {
  background: #323962;
  padding: 110px 20px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.logos-row::before,
.logos-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0,12 Q360,0 720,12 T1440,12 L1440,24 L0,24 Z' fill='%23a8e6cf' opacity='0.38'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.logos-row::before {
  top: 45px;
}
.logos-row::after {
  bottom: 55px;
  transform: scaleY(-1) scaleX(-1);
}
.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 96vw;
  margin: 0 auto;
  padding: 0 50px;
  flex-wrap: wrap;
}
.logo-item {
  height: 200px;
  object-fit: contain;
  opacity: 0.92;
  transition: all 0.4s;
}
.logo-item:hover {
  opacity: 1;
  transform: translateY(-12px);
}

/* FAQ SECTION */
.faq-section {
  background: linear-gradient(
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 0.94)
    ),
    url("images/Water background.png") center/cover no-repeat fixed;
  background-blend-mode: soft-light;
  color: #323962;
  padding: 60px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.faq-bubbles span {
  position: absolute;
  bottom: -120px;
  background: rgba(168, 230, 207, 0.38);
  border: 2px solid rgba(168, 230, 207, 0.6);
  border-radius: 50%;
  animation: float-up 16s infinite linear;
  opacity: 0;
  box-shadow: 0 0 20px rgba(168, 230, 207, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.4);
}
.faq-bubbles span:nth-child(1) {
  width: 60px;
  height: 60px;
  left: 5%;
  animation-delay: 0s;
}
.faq-bubbles span:nth-child(2) {
  width: 40px;
  height: 40px;
  left: 18%;
  animation-delay: 2s;
}
.faq-bubbles span:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 32%;
  animation-delay: 5s;
}
.faq-bubbles span:nth-child(4) {
  width: 50px;
  height: 50px;
  left: 48%;
  animation-delay: 1s;
}
.faq-bubbles span:nth-child(5) {
  width: 70px;
  height: 70px;
  left: 62%;
  animation-delay: 8s;
}
.faq-bubbles span:nth-child(6) {
  width: 45px;
  height: 45px;
  left: 78%;
  animation-delay: 4s;
}
.faq-bubbles span:nth-child(7) {
  width: 65px;
  height: 65px;
  left: 10%;
  animation-delay: 11s;
}
.faq-bubbles span:nth-child(8) {
  width: 55px;
  height: 55px;
  left: 40%;
  animation-delay: 6s;
}
.faq-bubbles span:nth-child(9) {
  width: 75px;
  height: 75px;
  left: 75%;
  animation-delay: 3s;
}
.faq-bubbles span:nth-child(10) {
  width: 50px;
  height: 50px;
  left: 90%;
  animation-delay: 7s;
}
@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-1300px) rotate(360deg);
    opacity: 0;
  }
}

.faq-title {
  font-size: 3rem !important;
  font-weight: 700;
  margin-bottom: 70px !important;
  color: #323962 !important;
  position: relative;
  z-index: 1;
}

/* FAQ BOXES */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.faq-item {
  background: #f8fcf9;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(50, 57, 98, 0.12);
}
.faq-question {
  width: 100%;
  padding: 32px 40px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 600;
  color: #323962;
  cursor: pointer;
}
.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #a8e6cf;
  position: relative;
  flex-shrink: 0;
}
.faq-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #323962;
  border-radius: 2px;
  transition: all 0.4s;
}
.faq-toggle span:first-child {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-toggle span:last-child {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-toggle {
  background: #0062ff;
}
.faq-item.active .faq-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.active .faq-toggle span:last-child {
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 40px;
  background: #ffffff;
  transition: all 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 32px 40px;
}
.faq-answer p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  text-align: left;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(50, 57, 98, 0.9);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s;
}
.modal-overlay.show {
  display: flex;
  opacity: 1;
}
.modal {
  background: #f5fdf1;
  color: #323962;
  padding: 40px;
  border-radius: 24px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.5s ease-out;
}
@keyframes modalPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #323962;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.modal-close:hover {
  background: rgba(50, 57, 98, 0.15);
}
.modal input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #a8e6cf;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.modal input:focus {
  outline: none;
  border-color: #a8e6cf;
  box-shadow: 0 0 0 4px rgba(168, 230, 207, 0.3);
}
.modal button[type="submit"] {
  background: #0062ff;
  color: #f5fdf1;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.modal button[type="submit"]:hover {
  background: #a8e6cf;
  color: #323962;
  transform: translateY(-2px);
}
.privacy-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 20px;
}

/* Media Queries */
@media (max-width: 1100px) {
  .logos {
    justify-content: center;
    gap: 90px;
    padding: 0 30px;
  }
  .logo-item {
    height: 90px;
  }
}
@media (max-width: 768px) {
  nav,
  nav.scrolled {
    padding: 15px 30px;
  }
  .nav-links {
    gap: 30px;
  }
  .nav-link {
    font-size: 1.1rem;
  }
  .signup-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
  .tagline {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 1.2rem;
  }
  .logos-row {
    padding: 90px 20px 80px;
  }
  .logos-row::before {
    top: 35px;
  }
  .logos-row::after {
    bottom: 45px;
  }
  .faq-section {
    padding: 60px 20px 80px;
  }
  .faq-title {
    font-size: 2.6rem !important;
    margin-bottom: 50px !important;
  }
  .faq-question {
    font-size: 1.25rem;
    padding: 24px 28px;
  }
  .faq-item.active .faq-answer {
    padding: 24px 28px;
  }
  .placeholder-section {
    padding: 120px 20px;
  }
}

/* Tips Section */
.tips-section {
  background: #222846;
  padding: 140px 20px;
  position: relative;
  overflow: hidden;
  color: #f5fdf1;
}
.tips-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    #a8e6cf 0%,
    rgba(168, 230, 207, 0.4) 30%,
    rgba(168, 230, 207, 0.15) 70%,
    rgba(34, 40, 70, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.tips-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 40%, #a8e6cf 100%);
  pointer-events: none;
  z-index: 2;
}
.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 70px;
  color: #a8e6cf;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.tip-card {
  background: rgba(245, 253, 241, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(168, 230, 207, 0.2);
  transition: all 0.4s ease;
}
.tip-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border-color: #a8e6cf;
}
.tip-card h3 {
  font-size: 1.8rem;
  color: #a8e6cf;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}
.tip-list {
  list-style: none;
  padding: 0;
  space-y: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tip-list li {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: 16px;
  line-height: 1.65;
  border-left: 4px solid #a8e6cf;
  transition: all 0.3s;
}
.tip-list li:hover {
  background: rgba(168, 230, 207, 0.15);
  padding-left: 24px;
}
.tip-list strong {
  color: #a8e6cf;
  font-weight: 600;
}
.tip-cta {
  text-align: center;
  margin-top: 70px;
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #a8e6cf;
  border: 2px solid #a8e6cf;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s;
}
.btn-secondary:hover {
  background: #a8e6cf;
  color: #323962;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(168, 230, 207, 0.4);
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }
  .tip-card {
    padding: 32px 24px;
  }
  .tip-card h3 {
    font-size: 1.6rem;
  }
  .tips-section {
    padding: 100px 20px;
  }
}

/* Underwater Wrapper */
.underwater-wrapper {
  position: relative;
  background: linear-gradient(
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 0.94)
    ),
    url("images/Water background.png") center/cover no-repeat fixed;
  background-blend-mode: soft-light;
  overflow: hidden;
  min-height: 110vh;
  padding-bottom: 100px;
}
.underwater-wrapper .faq-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.underwater-wrapper .faq-bubbles span {
  position: absolute;
  bottom: -300px;
  left: var(--l);
  width: var(--s, 60px);
  height: var(--s, 60px);
  background: rgba(168, 230, 207, 0.45);
  border: 2px solid rgba(168, 230, 207, 0.7);
  border-radius: 50%;
  animation: float-up var(--speed, 10s) infinite linear;
  animation-delay: var(--d, 0s);
  opacity: 0;
  box-shadow: 0 0 20px rgba(168, 230, 207, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.4);
}
.underwater-wrapper .faq-bubbles span:nth-child(1) {
  --l: 5%;
  --s: 70px;
  --speed: 9s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(2) {
  --l: 15%;
  --s: 40px;
  --speed: 11s;
  --d: 1s;
}
.underwater-wrapper .faq-bubbles span:nth-child(3) {
  --l: 25%;
  --s: 85px;
  --speed: 8s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(4) {
  --l: 35%;
  --s: 55px;
  --speed: 10s;
  --d: 2s;
}
.underwater-wrapper .faq-bubbles span:nth-child(5) {
  --l: 45%;
  --s: 75px;
  --speed: 9s;
  --d: 0.4s;
}
.underwater-wrapper .faq-bubbles span:nth-child(6) {
  --l: 55%;
  --s: 45px;
  --speed: 22s;
  --d: 3s;
}
.underwater-wrapper .faq-bubbles span:nth-child(7) {
  --l: 65%;
  --s: 90px;
  --speed: 9s;
  --d: 2s;
}
.underwater-wrapper .faq-bubbles span:nth-child(8) {
  --l: 75%;
  --s: 60px;
  --speed: 10s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(9) {
  --l: 85%;
  --s: 50px;
  --speed: 25s;
  --d: 4s;
}
.underwater-wrapper .faq-bubbles span:nth-child(10) {
  --l: 95%;
  --s: 70px;
  --speed: 8s;
  --d: 2.5s;
}
.underwater-wrapper .faq-bubbles span:nth-child(11) {
  --l: 10%;
  --s: 65px;
  --speed: 11s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(12) {
  --l: 20%;
  --s: 80px;
  --speed: 9s;
  --d: 3s;
}
.underwater-wrapper .faq-bubbles span:nth-child(13) {
  --l: 30%;
  --s: 45px;
  --speed: 20s;
  --d: 5s;
}
.underwater-wrapper .faq-bubbles span:nth-child(14) {
  --l: 40%;
  --s: 95px;
  --speed: 10s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(15) {
  --l: 50%;
  --s: 55px;
  --speed: 9s;
  --d: 4s;
}
.underwater-wrapper .faq-bubbles span:nth-child(16) {
  --l: 60%;
  --s: 70px;
  --speed: 24s;
  --d: 1s;
}
.underwater-wrapper .faq-bubbles span:nth-child(17) {
  --l: 70%;
  --s: 40px;
  --speed: 11s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(18) {
  --l: 80%;
  --s: 85px;
  --speed: 8s;
  --d: 3s;
}
.underwater-wrapper .faq-bubbles span:nth-child(19) {
  --l: 90%;
  --s: 60px;
  --speed: 21s;
  --d: 2s;
}
.underwater-wrapper .faq-bubbles span:nth-child(20) {
  --l: 8%;
  --s: 75px;
  --speed: 10s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(21) {
  --l: 18%;
  --s: 50px;
  --speed: 9s;
  --d: 4s;
}
.underwater-wrapper .faq-bubbles span:nth-child(22) {
  --l: 28%;
  --s: 80px;
  --speed: 23s;
  --d: 1s;
}
.underwater-wrapper .faq-bubbles span:nth-child(23) {
  --l: 38%;
  --s: 45px;
  --speed: 10s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(24) {
  --l: 48%;
  --s: 90px;
  --speed: 8s;
  --d: 3s;
}
.underwater-wrapper .faq-bubbles span:nth-child(25) {
  --l: 58%;
  --s: 55px;
  --speed: 11s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(26) {
  --l: 68%;
  --s: 70px;
  --speed: 22s;
  --d: 4s;
}
.underwater-wrapper .faq-bubbles span:nth-child(27) {
  --l: 78%;
  --s: 40px;
  --speed: 9s;
  --d: 2s;
}
.underwater-wrapper .faq-bubbles span:nth-child(28) {
  --l: 88%;
  --s: 85px;
  --speed: 10s;
  --d: 0s;
}
.underwater-wrapper .faq-bubbles span:nth-child(29) {
  --l: 12%;
  --s: 60px;
  --speed: 25s;
  --d: 5s;
}
.underwater-wrapper .faq-bubbles span:nth-child(30) {
  --l: 98%;
  --s: 65px;
  --speed: 9s;
  --d: 2s;
}
@keyframes float-up {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-1800px);
    opacity: 0;
  }
}

/* content above bubbles */
.underwater-wrapper > section,
.underwater-wrapper .container {
  position: relative;
  z-index: 20;
}
.underwater-wrapper .faq-section,
.underwater-wrapper .placeholder-section {
  background: transparent !important;
}

/* TERMS SECTION */
.terms-section {
  background: transparent;
  padding: 140px 20px;
  text-align: center;
  position: relative;
  z-index: 20;
}
.terms-section .section-title {
  color: #323962 !important;
  text-shadow: none;
}
.terms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.term-btn {
  background: #f8fcf9;
  color: #323962;
  border: 3px solid #a8e6cf !important;
  backdrop-filter: blur(10px);
  padding: 22px 38px;
  border-radius: 56px;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  min-height: 72px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.term-btn:hover {
  background: #e6f7f3 !important;
  color: #0062ff !important;
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 20px 45px rgba(168, 230, 207, 0.5);
  border-color: #0062ff !important;
}
.term-btn:active {
  transform: translateY(-4px) scale(1.08);
}
.term-btn.larger {
  padding: 26px 46px;
  font-size: 1.55rem;
}
.term-btn.medium {
  padding: 24px 46px;
  font-size: 1.45rem;
}

/* Mobile */
@media (max-width: 768px) {
  .terms-section {
    padding: 100px 20px;
  }
  .term-btn {
    padding: 20px 36px;
    font-size: 1.3rem;
    min-height: 72px;
  }
  .term-btn.larger {
    padding: 26px 44px;
    font-size: 1.5rem;
  }
}

/* GAP BETWEEN FAQ AND TERMS!!! */
.underwater-wrapper .faq-section {
  padding-bottom: 160px !important;
}
.underwater-wrapper .terms-section {
  padding-top: 120px !important;
  margin-top: 0px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page {
  min-height: 100vh;
  padding: 160px 20px 140px;
  background: linear-gradient(
      to bottom,
      rgba(21, 32, 43, 0.96),
      rgba(34, 40, 70, 0.98)
    ),
    url("images/Wave1.jpg") center/cover no-repeat fixed;
  color: #f5fdf1;
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-header h1 {
  font-size: 4.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-header .subtitle {
  font-size: 1.55rem;
  color: #a8e6cf;
  opacity: 0.94;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

/* centered */
.contact-form {
  background: rgba(50, 57, 98, 0.94);
  backdrop-filter: blur(16px);
  padding: 60px 48px;
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(168, 230, 207, 0.28);
  margin: 0 auto;
  max-width: 780px;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure every element inside the form is "nice" */
.contact-form .form-group,
.contact-form .consent-group,
.contact-form .btn-submit {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  color: #a8e6cf;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.required {
  color: #ff8ba7;
}
.optional {
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.92rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 17px 22px;
  background: rgba(245, 253, 241, 0.11);
  border: 2px solid rgba(168, 230, 207, 0.38);
  border-radius: 16px;
  color: #f5fdf1;
  font-family: inherit;
  font-size: 1.12rem;
  transition: all 0.35s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 253, 241, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a8e6cf;
  background: rgba(245, 253, 241, 0.17);
  box-shadow: 0 0 0 5px rgba(168, 230, 207, 0.28);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* Custom Checkbox :) */
.consent-group .checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.98rem;
  color: #cbd5e1;
  user-select: none;
}

.consent-group input {
  opacity: 0;
  position: absolute;
}

.checkmark {
  min-width: 24px;
  height: 24px;
  border: 2.5px solid #a8e6cf;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.consent-group input:checked ~ .checkmark {
  background: #a8e6cf;
  border-color: #a8e6cf;
}

.checkmark:after {
  content: "✓";
  position: absolute;
  color: #323962;
  font-weight: bold;
  font-size: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.consent-group input:checked ~ .checkmark:after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-submit {
  background: #a8e6cf;
  color: #323962;
  width: 100%;
  padding: 19px;
  border: none;
  border-radius: 50px;
  font-size: 1.28rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(168, 230, 207, 0.4);
  margin-top: 10px;
}

.btn-submit:hover {
  background: #0062ff;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 98, 255, 0.4);
}

.back-home {
  text-align: center;
  margin-top: 70px;
}

.back-home a {
  color: #a8e6cf;
  font-size: 1.22rem;
  text-decoration: underline;
  transition: color 0.3s;
}

.back-home a:hover {
  color: #fff;
}

/* Mobile */
@media (max-width: 640px) {
  .contact-form {
    padding: 50px 32px;
    margin: 0 16px;
    max-width: none;
  }
}

.site-footer {
  background: linear-gradient(135deg, #15202b 0%, #1e293b 100%);
  color: #f5fdf1;
  padding: 140px 20px 60px;
  position: relative;
  margin-top: -80px;
  overflow: hidden;
}

.footer-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 Q360,0 720,40 T1440,40 L1440,80 L0,80 Z' fill='%23a8e6cf' opacity='0.28'/%3E%3C/svg%3E")
    center/cover no-repeat;
  pointer-events: none;
}

.site-footer .container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #a8e6cf;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 56px;
}

.typing-tagline {
  font-size: 1.55rem;
  font-weight: 500;
  color: #a8e6cf;
  margin: 20px 0 28px;
  min-height: 60px;
  overflow: hidden;
}

.typing {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #a8e6cf;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink 0.9s step-end infinite;
}

.typing:nth-child(1) {
  animation-delay: 0.5s;
}
.typing:nth-child(2) {
  animation-delay: 5.5s;
  opacity: 0;
}
.typing:nth-child(3) {
  animation-delay: 11s;
  opacity: 0;
}

@keyframes typing {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #a8e6cf;
  }
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.7;
  max-width: 380px;
}

.footer-col h4 {
  color: #a8e6cf;
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #0062ff;
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 14px;
  transition: all 0.3s;
}

.footer-col a:hover {
  color: #a8e6cf;
  padding-left: 6px;
}

.footer-bottom {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid rgba(168, 230, 207, 0.2);
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
}

.crisis-text {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #a8e6cf;
}

.crisis-text a {
  color: #a8e6cf;
  text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 968px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .typing-tagline {
    font-size: 1.4rem;
  }
}

.modal-overlay.show {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
}

/* Term Definition Modal */
#termModal .modal {
  max-width: 600px;
  text-align: left;
}

#termModal h3 {
  color: #0062ff;
  margin-bottom: 20px;
}

#termDefinition {
  line-height: 1.8;
  font-size: 1.15rem;
}
.site-footer {
  background: linear-gradient(135deg, #222846 0%);
  color: #f5fdf1;
  padding: 140px 20px 60px;
  position: relative;
  margin-top: -80px;
  overflow: hidden;
}

.footer-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 Q360,0 720,40 T1440,40 L1440,80 L0,80 Z' fill='%23a8e6cf' opacity='0.28'/%3E%3C/svg%3E")
    center/cover no-repeat;
  pointer-events: none;
}

.site-footer .container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #a8e6cf;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.footer-logo-img {
  height: 56px;
}

.typing-tagline {
  font-size: 1.55rem;
  font-weight: 500;
  color: #a8e6cf;
  margin: 20px 0 28px;
  min-height: 60px;
}
.typing {
  display: block;
  overflow: hidden;
  border-right: 3px solid #a8e6cf;
  white-space: nowrap;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink 0.9s infinite;
}
.typing:nth-child(1) {
  animation-delay: 0.5s;
}
.typing:nth-child(2) {
  animation-delay: 5.5s;
  opacity: 0;
}
.typing:nth-child(3) {
  animation-delay: 11s;
  opacity: 0;
}

@keyframes typing {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}
@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #a8e6cf;
  }
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.7;
  max-width: 380px;
}

.footer-col h4 {
  color: #a8e6cf;
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #0062ff;
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 14px;
  transition: all 0.3s;
}
.footer-col a:hover {
  color: #a8e6cf;
  padding-left: 6px;
}

.footer-bottom {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid rgba(168, 230, 207, 0.2);
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
}
.crisis-text {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #a8e6cf;
}
.crisis-text a {
  color: #a8e6cf;
  text-decoration: underline;
}

/* Reused the sign up modal when "monthly gentle reminders" is clicked */
#footer-signup-trigger {
  cursor: pointer;
}
#footer-signup-trigger:hover {
  color: #fff !important;
}

/* Mobile */
@media (max-width: 968px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .typing-tagline {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding: 100px 20px 60px;
  }
  .footer-logo {
    font-size: 1.9rem;
    justify-content: center;
  }
}