body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: url('../images/realistic_therapy_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #212121;
}

header,
footer {
  background-color: rgba(0, 105, 92, 0.85);
  color: #ffffff;
  text-align: center;
  padding: 1.5em 1em;
}

header h1 {
  font-size: 2em;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(to right, #ffffff, #80cbc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navigation {
  display: flex;
  margin-top: 0.25em;
  justify-content: space-between;
  /*background: red;*/
}

.nav-left {
  padding-left: 8%;
  margin-left: 1.5em;
  /*background: blue;*/
}

.nav-left a {
  margin-left: 0.8em;
  text-decoration: none;
  font-size: 1.5em;
  color: white;
}

.language-switcher {
  padding-right: 8%;
  /*background: yellow;*/
}

.language-switcher a {
  margin-left: 0.8em;
  text-decoration: none;
  font-size: 2.0em;
}

.language-switcher a:hover {
  transform: scale(6.1);
  transition: transform 0.2s;
  transform-origin: left;
}

.active:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.active {
  transition: transform 0.3s ease;
}


main {
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h2,
h3 {
  color: #004d40;
  margin-top: 1.5em;
}

ul {
  padding-left: 1.2em;
}


.nda-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  padding: 1.5em 1.25em;
  max-width: 840px;
  margin: 2em auto;
  font-family: inherit;
  color: #000;
}

.nda-card h2 {
  margin-top: 1em;
  font-size: 1.25em;
}

.nda-card form {
  margin-top: 2em;
}

.nda-card form input[type="text"],
.nda-card form input[type="tel"],
.nda-card form input[type="email"] {
  width: 100%;
  padding: 0.5em;
  margin: 0.3em 0 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.nda-card form button {
  background-color: #4CAF50;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.nda-card form button:hover {
  background-color: #45a049;
}


.nda-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.25em;
  text-align: center;
}

.nda-subtitle {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 1em;
}

.main-heading {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}

.sub-heading {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 2em;
}


.privacy-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.25em;
  text-align: center;
}


/* New Hero Section Styles */
.hero {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url('../images/bg-hero.png') center/cover no-repeat;
  padding: 1em;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: .3em;
  min-height: 500px;
  padding-bottom: 3em;
  /*background: red;*/
}


/* Centers button */
.cta-container {
  text-align: center !important;
  margin-top: 6em !important;
}


/* WhatsApp Button Fix */
a.button,
button {
  display: inline-block;
  background-color: #009688;
  color: white;
  padding: 12px 24px;
  font-size: 1.5em;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1em auto;
  font-size: 1.1em;
  max-width: 600px;
  text-align: left;
}

.features-list li {
  margin-bottom: 0.8em;
}

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


.scroll-text {
  position: absolute;
  white-space: nowrap;
  font-size: 2em;
  color: red;
  font-family: 'Segoe UI', sans-serif;
  animation: scroll-left 20s linear infinite;
  background-color: transparent;
}

@keyframes scroll-left {
  0% {
    left: 100%;
  }

  100% {
    left: -100%;
  }
}


/* Highlight formatted words in scrolling text */
.scroll-text strong {
  color: #ffcc00 !important;
  /* bright yellow */
}

.scroll-text em {
  color: #00ccff !important;
  /* cyan */
}

.scroll-text span {
  /* if nested spans, leave bits green */
}

/* Binary Rain Canvas */
#binaryRain {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.48;
}


/* Mobile adjustments */
@media (max-width: 600px) {

  header,
  footer {
    background-color: rgba(0, 105, 92, 0.85);
    color: #ffffff;
    text-align: center;
    padding: 1.5em .5em;
  }

  h1 {
    font-size: 1.5em;
  }

  .nav-left {
    padding-left: 0px;
    margin-left: 0em;
    /*background-color: blue;*/
  }

  .nav-left a {
    margin-left: 0.3em;
    font-size: 1.0em;
  }

  .language-switcher {
    padding-right: 10px;
  }

  .language-switcher a {
    margin-left: 0.3em;
    font-size: 0.8em;
    }

  .active {
    font-size: 1.5em;
  }

  body {
    padding: 1px;
    font-size: 16px;
  }

  main {
    max-width: 300px;
    padding: 1em;
  }

  header h1 {
    font-size: 2.0em;
  }

  .main-heading {
    font-size: 1.4em;
    margin-bottom: 0.2em;
    /*    background: red;*/
  }

  .sub-heading {
    font-size: 1.0em;
    font-weight: bold;
    margin-bottom: 2em;
  }

  .features-list {
    list-style: none;
    margin: .5em auto;
    text-align: left;
  }

  .features-list li {
    margin: 0.2em auto;
    font-size: .8em;
    margin-left: 1.5em;
    margin-bottom: 0.4em;
    /*    background: red;*/
  }

  /* New Hero Section Styles */
  .hero {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url('../images/bg-hero.png') center/cover no-repeat;
    padding: .3em;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 3vh auto;
    max-height: 300px;
    padding-bottom: 0.5em;
    max-width: 700px;
    padding: 30px 10px;
    /*background: red;*/
  }

  /* WhatsApp Button Fix */
  a.button,
  button {
    display: inline-block;
    background-color: #009688;
    color: white;
    padding: 12px 24px;
    font-size: 1.3em;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95%;
    }

  /* Ensure CTA is always visible */
  .cta-container {
    margin-top: .5em;
    padding: .5em 0;
    text-align: center;
    display: block;
    /*background: red;*/
  }


  .nda-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.25em;
  }

  .nda-subtitle {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
  }

  .nda-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    padding: 1.5em 1.25em;
    max-width: 840px;
    margin: 2em auto;
    font-family: inherit;
    color: #000;
  }

  .nda-card p {
    margin-top: 1em;
    font-size: 0.8em;
  }

  .nda-card summary {
    margin-top: .3em;
    font-size: 1em;
    font-weight: bold;
    }

  .nda-card h2 {
    margin-top: 1em;
    font-size: 1.0em;
  }

  .nda-card form {
    margin-top: 2em;
  }

  .nda-card form label {
    font-size: 1em;
    font-weight: bold;
  }

  .nda-card form input[type="text"],
  .nda-card form input[type="tel"],
  .nda-card form input[type="email"] {
    width: 100%;
    padding: 0.5em;
    margin: 0.3em 0 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .nda-card form button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .nda-card form button:hover {
    background-color: #45a049;
  }

  .privacy-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.25em;
  }


  .scroll-text {
    position: absolute;
    white-space: nowrap;
    font-size: 1.5em;
    color: red;
    font-family: 'Segoe UI', sans-serif;
    animation: scroll-left 20s linear infinite;
    background-color: transparent;
  }
