body, html {
  overflow-x: hidden; 
}


/* === General === */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 220px; /* Adjust for taller navbar on mobile */
  }
}
body {
  background: #F6FBFD;
  color: #222;
  font-family: 'Quicksand', sans-serif;
}

/* === Navbar Base === */
.custom-navbar {
  background-color: #17A0C2;
  min-height: 80px;
  padding: 0;
  box-shadow: none;
  font-family: 'Quicksand', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1030; /* Ensures it stays above other content */
}


.custom-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
}

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

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

.custom-navbar .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    font-weight 0.15s,
    font-size 0.15s,
    text-decoration 0.1s;
}

/* Hover state */
.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus {
  color: #fff !important;
  font-weight: 700;
  /* font-size: 1.05rem; */
  text-decoration: none;
}

/* Active click state (temporary) */
.custom-navbar .navbar-nav .nav-link:active {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.22rem;
  text-decoration: underline;
}

/* Remove persistent .active styles */
.custom-navbar .navbar-nav .nav-link.active {
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff !important;
}

/* === Navbar Toggler === */
.custom-navbar .navbar-toggler {
  border: none;
}

.custom-navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255,255,255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* === Responsive === */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}


/* === Hero Section === */
.hero-section {
  background-color: #C6F1F3;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-cta {
  background-color: #17A0C2;
  color: #fff;
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hero-cta:hover {
  background-color: #148CAE;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(20, 140, 174, 0.25);
}

.hero-cta:active {
  background-color: #117C9C !important;
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(17, 124, 156, 0.2);
}



.calendar-icon-wrapper {
  background-color: #17A0C2;
  width: 240px;
  height: 240px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 151, 194, 0.2);
  margin: 0 auto;
}

.hero-icon {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.hero-wave {
  margin-top: -5px; /* Pull wave up to overlap section edge */
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 100px;
  position: relative;
  bottom: -1px;
}

@media (max-width: 767px) {
  .hero-title,
  .hero-subtext,
  .hero-cta {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtext {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .calendar-icon-wrapper {
    width: 160px;
    height: 160px;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero-title,
  .hero-subtext,
  .hero-cta {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtext {
    max-width: 80%;
  }
}

.problem-section {
  background-color: #ffffff;
  padding: 100px 0;
  margin-top: -80px;       /* Pull section up over wave */

}

.problem-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #2E2E2E;
}

.problem-card {
  background-color: #EAFBFD;
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.problem-card .icon {
  font-size: 2.5rem;
  color: #17A0C2;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.problem-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.problem-card .stat {
  font-weight: 500;
  margin-top: 0.5rem;
}

.problem-card .source {
  font-size: 0.85rem;
  color: #666;
}

.problem-card .impact {
  font-weight: 500;
  color: #007ea7;
  margin-top: 0.5rem;
}

/* Responsive fix for mobile */
@media (max-width: 767px) {
  .problem-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .problem-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
}



.support-section {
  background-color: #EAFBFD;
  padding: 100px 0 80px;   /* Keep good space above title */
}


.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: #2E2E2E;
}

.support-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.support-card .icon {
  font-size: 2.5rem;
  color: #17A0C2;
  margin-bottom: 1rem;
}

.support-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #222;
}

.support-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* === Features Section === */
.features-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.features-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #2E2E2E;
}

.features-section .subheading {
  font-weight: 600;
  color: #2E2E2E;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* === Desktop layout: alternating left/right with margin spacing === */
.feature-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.feature-row.right {
  justify-content: flex-end;
}

.feature-card {
  background-color: #EAFBFD;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-left: 2rem;
  margin-right: 2rem;
}

.feature-card .icon {
  font-size: 2.5rem;
  color: #17A0C2;
  flex-shrink: 0;
}

.feature-card h5 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

.feature-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* === Maintain clear staggered effect on medium desktops === */
@media (min-width: 1025px) and (max-width: 1399px) {
  .feature-row.left {
    justify-content: flex-start;
    padding-left: 6vw;
    padding-right: 0;
  }

  .feature-row.right {
    justify-content: flex-end;
    padding-right: 6vw;
    padding-left: 0;
  }

  .feature-card {
    max-width: 80%;
    margin: 0; /* eliminate universal left/right margin that ruins staggering */
  }
}


/* === Tablet: stacked vertically, icon left of text === */
@media (max-width: 1024px) and (min-width: 768px) {
  .feature-row {
    justify-content: center !important;
  }

  .feature-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.5rem 1.5rem;
    max-width: 90%;
    margin: 0 auto;
  }

  .feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0;
  }
}

/* === Mobile: icon above text === */
@media (max-width: 767px) {
  .feature-row {
    justify-content: center !important;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .feature-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  .features-section .section-title {
    font-size: 1.5rem;
  }
}

/* === Onboarding + Contact Section === */
.onboarding-contact-section {
  background-color: #EAFAFC;
  padding: 100px 0;
}

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

.onboarding-contact-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 4rem;
}

.onboarding-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 991px) {
  .onboarding-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* === Onboarding === */
.onboarding-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.1rem; /* reduced vertical gap between cards */
}

.onboarding-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 1.25rem 1.25rem; /* slightly tighter padding */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.onboarding-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #17A0C2;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

.step-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.step-details p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;

}
/* === Contact Form === */
.contact-form-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-form-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2E2E2E;
}

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

.contact-form-main-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 0.5rem;
}

.contact-form-subheading {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2E2E2E;
  margin-bottom: 1.5rem;
}


.input-row {
  display: flex;
  gap: 1rem;
}

.input-row input {
  flex: 1;
}

.contact-form-card input,
.contact-form-card textarea {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-card textarea {
  resize: vertical;
}

/* === Contact Form Inputs: Hover State === */
.contact-form-card input:hover,
.contact-form-card textarea:hover {
  border-color: #17A0C2; /* primary teal */
  background-color: #F6FBFD; /* optional subtle background change */
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* === Contact Form Inputs: Focus / Pressed State === */
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: #17A0C2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 160, 194, 0.15);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.contact-form-card button {
  background-color: #17A0C2;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-form-card button:hover {
  background-color: #148CAE;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(20, 140, 174, 0.25);
}

.contact-form-card button:active {
  background-color: #117C9C !important;
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(17, 124, 156, 0.2);
}

#contactForm div.response-message {
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}


@media (max-width: 767px) {
  .input-row {
    flex-direction: column;
  }
}

.footer {
  background-color: #189AB6;
  padding: 3rem 1rem;
  color: white;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  gap: 2rem;
}

/* Footer column base */
.footer-column {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Center column styling */
.footer-column.center {
  align-items: center;
  text-align: center;
}

/* Nav styling */
.footer-nav {
  align-items: flex-start;
  text-align: left;
}

.footer-nav a,
.footer-contact a {
  color: white;
  text-decoration: none;
  transition: font-weight 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  font-weight: 700;
}

/* Contact styling */
.footer-contact {
  align-items: flex-end;
  text-align: right;
}

/* Logo and copyright */
.footer-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 0.5rem auto;
}

.footer-copy {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.5;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

.footer-socials a {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

/* Column order for desktop */
.footer-column.footer-nav {
  order: 1;
}
.footer-column.center {
  order: 2;
}
.footer-column.footer-contact {
  order: 3;
}

/* ---------- Mobile Layout ---------- */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-column {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-column.center {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-nav {
    align-items: flex-start;
    text-align: left;
  }

  .footer-contact {
    align-items: flex-end;
    text-align: right;
  }

  .footer-copy {
    line-height: 1.4;
    font-size: 0.85rem;
  }

  .footer-socials {
    justify-content: flex-end;
    margin-top: 0.4rem;
  }

  /* Column order override for mobile */
  .footer-column.footer-nav {
    order: 1;
  }
  .footer-column.footer-contact {
    order: 2;
  }
  .footer-column.center {
    order: 3;
  }
}




/* === Back to Top Button === */
#backToTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  background-color: #2E2E2E;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #1c1c1c;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  #backToTopBtn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
  }
}

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