/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/********** CSS **********/
:root {
  --primary: #4caf50;
  --secondary: #3c9b3f;
  --tertiary: #95d380;
  --light: #f3f6f8;
  --dark: #000;
  --white: #fff;
}

body {
  font-family: "Roboto", sans-serif;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark);
}

a {
  text-decoration: none;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 500;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-transform: auto;
  font-size: 1.4rem;
  letter-spacing: 0.05rem;
  padding: 1.5rem 4rem;
}

.hero .cta-button:hover {
  background-color: var(--white);
  color: var(--secondary);
}

.cta-button:hover {
  color: var(--dark);
}

/* Header */
header {
  background-color: var(--light);
  padding: 10px 0;
  height: 100vh;
  min-height: 800px;
  background-color: var(--tertiary);
}

.logo-light,
.logo-dark {
  max-height: 30px;
  margin-left: 20px;
  opacity: 0.35;
}

.hero {
  background-color: var(--tertiary);
  color: var(--white);
  text-align: center;
}

.hero-content img {
  max-width: 100%;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  margin-top: 40px;
  color: var(--white);
}

.hero p {
  font-size: 16px;
  max-width: 700px;
  margin: 30px auto;
}

/* Sign-Up Steps Section */
.signup-steps {
  padding: 80px 0;
  text-align: center;
}

.signup-steps h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.step-cards {
  display: flex;
  justify-content: space-between;
}

.step-card {
  flex-basis: 30%;
  border-radius: 5px;
}

.step-card img {
  width: 100%;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.step-card p {
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

/* SEO Section */
.seo-section {
  padding: 140px 0 20px 0;
  background-color: var(--light);
}

.seo-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.seo-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.seo-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

@media (max-width: 768px) {
  .seo-section {
    padding: 60px 0;
  }

  .seo-section h2 {
    font-size: 30px;
  }

  .seo-section p {
    font-size: 16px;
  }
}

/* Don't Miss Out Section */
.dont-miss-out {
  padding: 80px 0;
  background-color: var(--primary);
  color: var(--white);
}

.dont-miss-out h3 {
  color: white;
  font-size: 27px;
  margin-bottom: 20px;
}

.dont-miss-out p {
  font-size: 14px;
  margin-bottom: 30px;
}

.dont-miss-out .trial-days {
  font-weight: bold;
}

.dont-miss-out .cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--white);
  color: var(--dark);
  font-weight: 500;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.relative {
  position: relative;
}

.dont-miss-out .cta-button:hover {
  color: var(--primary);
}

.dont-miss-out img {
  max-height: 300px;
  margin-top: 30px;
  position: absolute;
  right: 10%;
  bottom: -30%;
}

/* Genres Section */
.genres {
  padding: 20px 0 80px 0;
  background-color: var(--light);
}

.genres h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.genre-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.genre-card {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: 5px;
  margin: 10px;
  width: 200px;
}

.genre-card i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.genre-card h3 {
  font-size: 24px;
}

/* Trending Books Section */
.trending-books {
  padding: 80px 0;
}

.trending-books h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.book-carousel {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overflow: hidden !important;
}

.book-item {
  flex: 0 0 auto;
  width: 150px;
  margin: 0 20px;
  scroll-snap-align: center;
}

.book-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Why Audio Books Section */
.why-audiobooks {
  padding: 80px 0;
  background-color: var(--light);
}

.why-audiobooks-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-audiobooks-image {
  flex: 1;
  margin-right: 40px;
}

.img-fluid {
  max-width: 100%;
}

.why-audiobooks-text {
  flex: 1;
}

.why-audiobooks h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.why-audiobooks p {
  font-size: 16px;
  margin-bottom: 30px;
}

.why-audiobooks .cta-button {
  font-size: 1rem;
  line-height: 1.5;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  text-align: center;
}

.benefits h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.benefit-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-item {
  flex-basis: calc(33.33% - 20px);
  padding: 30px;
  background-color: var(--light);
  border-radius: 5px;
}

.benefit-item i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 16px;
}

.benefits .cta-button {
  margin-top: 40px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Footer Section */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0;
}

.footer-content {
  margin-bottom: 40px;
}

.additional-info h4 {
  font-size: 24px;
  margin-bottom: 20px;
}

.additional-info p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  font-size: 14px;
}

.footer-links a {
  color: var(--white);
  margin-left: 20px;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-10%);
}

.modal-body {
  padding: 24px;
}

.order-title {
  text-align: center;
  margin-bottom: 24px;
}

.order-title p {
  color: #666;
  font-size: 14px;
  margin-bottom: 4px;
}

.order-title h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.summary-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.summary-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.summary-list li span:first-child {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  font-size: 14px;
  font-weight: 500;
}

.summary-list li:first-child span:first-child {
  background-color: #4285f4;
  color: white;
}

.summary-list li:not(:first-child) span:first-child {
  background-color: #e6e6e6;
  color: #969ba1;
}

.summary-list li:first-child span:last-child {
  color: #000;
  font-weight: 500;
}

.summary-list li:not(:first-child) span:last-child {
  color: #969ba1;
}

#step-1 h2 {
  font-size: 16px;
  color: #000;
  margin: 0 0 12px 0;
}

.email-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 16px;
}

.email-input:focus {
  outline: none;
  border-color: #4285f4;
}

#continue-btn {
  width: 100%;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#continue-btn:hover {
  background-color: #45a049;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
}

.modal-footer p {
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.4;
}

.modal-footer a {
  color: #666;
  text-decoration: underline;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #666;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  line-height: 1;
  z-index: 2;
}

@media (max-width: 480px) {
  .modal {
    align-items: flex-start;
  }

  .modal-content {
    width: 100%;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
    transform: none;
  }
}

/* Mobile Hero Section */

.hero-mobile {
  display: none;
}
.hero-mobile .image {
  display: none;
}
/* Mobile Hero Section */
@media (max-width: 991px) {
  header {
    background: #fff;
    padding: 0px;
  }
  nav {
    padding: 10px 0;
  }
  .logo-light {
    margin-left: 10px;
  }
  .hero-mobile .container {
    padding: 0;
  }
  .hero {
    display: none;
  }
  .hero-mobile {
    display: flex;
    background-color: #eaf6e6;
    color: var(--primary);
    text-align: center;
    height: 95vh;
  }

  .hero-mobile .white-box,
  .hero-mobile .trans-box {
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.09);
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-right: 3rem !important;
    padding-left: 3rem !important;
    width: 75%;
    margin: 0 auto;
    margin-top: 10px;
  }

  .hero-mobile img {
    max-width: 90%;
  }
  .hero-mobile .white-box {
    background-color: var(--white);
  }

  .hero-mobile .trans-box {
    background-color: rgba(255, 255, 255, 0.5);
  }

  .hero-mobile h1 {
    color: #253238;
    font-size: calc(1.25rem + 1.5vw);
  }

  .hero-mobile p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--primary);
  }

  .hero-mobile .cta-button {
    background-color: var(--primary);
    border-color: transparent;
    color: var(--white);
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    padding: 1.5rem 3.75rem;
    margin-top: 1.5rem;
    font-weight: 800;
  }

  .hero-mobile .cta-button:hover {
    background-color: var(--light-green);
    border-color: transparent;
    color: var(--primary);
    cursor: pointer;
  }

  .hero-mobile .hero-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-mobile .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-mobile .feature-icon {
    background-color: var(--white);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.09);
  }

  .hero-mobile .feature-icon i {
    font-size: 1.5rem;
  }

  .hero-mobile .feature span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .hero-mobile .signup-steps {
    margin-top: 2rem;
    padding: 0 0 30px 0;
  }

  .hero-mobile #progressbar,
  .progressbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    counter-reset: step;
    position: relative;
    width: 100%;
  }

  .hero-mobile #progressbar .step,
  .progressbar .step {
    list-style-type: none;
    width: 33.33%; /* Adjust based on the number of steps */
    position: relative;
    text-align: center;
    color: var(--dark-grey);
    z-index: 15;
  }

  .hero-mobile #progressbar .step:before,
  .progressbar .step:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 2px solid var(--white);
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: var(--white);
  }

  .hero-mobile #progressbar .step:after,
  .progressbar .step:after {
    content: "";
    width: 90%;
    height: 5px;
    background-color: var(--white);
    position: absolute;
    top: 15px;
    left: 53%;
    z-index: 10;
  }

  .hero-mobile #progressbar .step:first-child:after,
  .progressbar .step:first-child:after {
    background-color: var(--primary);
  }

  .hero-mobile #progressbar .step:last-child:after,
  .progressbar .step:last-child:after {
    display: none; /* No line after the last step */
  }

  .hero-mobile #progressbar .step.active,
  .progressbar .step.active {
    color: var(--primary);
  }

  .hero-mobile #progressbar .step.active:before,
  .progressbar .step.active:before {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
  }
}

.progressbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  counter-reset: step;
  position: relative;
  width: 100%;
}

.progress-section h4 {
  /* margin-bottom: 20px; */
  color: var(--primary);
}

.progressbar .step {
  list-style-type: none;
  width: 33.33%; /* Adjust based on the number of steps */
  position: relative;
  text-align: center;
  color: var(--dark-grey);
  z-index: 15;
}

.progressbar .step:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: 2px solid var(--white);
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: var(--white);
}

.progressbar .step:after {
  content: "";
  width: 90%;
  height: 5px;
  background-color: var(--white);
  position: absolute;
  top: 15px;
  left: 53%;
  z-index: 10;
}

.progressbar .step:first-child:after {
  background-color: var(--primary);
}

.progressbar .step:last-child:after {
  display: none; /* No line after the last step */
}

.progressbar .step.active {
  color: var(--primary);
}

.progressbar .step.active:before {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--white);
}

/* media queries */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .step-cards,
  .type-cards {
    flex-direction: column;
  }

  .step-card,
  .type-card {
    margin-bottom: 30px;
  }

  .about-content {
    flex-direction: column;
  }

  .step-card img {
    max-width: 280px;
  }

  .about-content img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .dont-miss-out img {
    max-height: 300px;
    margin-top: 30px;
    position: absolute;
    right: 5%;
    max-width: 150px;
    bottom: 5%;
  }
  .why-audiobooks-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .why-audiobooks-image {
    max-width: 90%;
    margin: 0px auto 40px auto;
  }
  .why-audiobooks-text {
    text-align: center;
  }
  .benefit-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .benefit-item {
    flex-basis: 40%;
    padding: 30px;
    background-color: var(--light);
    border-radius: 5px;
  }
  .genre-card {
    padding: 20px;
    width: 180px;
  }
  .modal-content {
    width: 95% !important;
  }
}

@media (max-width: 600px) {
  .benefit-item {
    flex-basis: 100% !important;
  }
  .genre-card {
    width: 160px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .book-carousel {
    overflow: scroll !important;
  }
  .book-carousel {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
  }
  .book-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
}

@media (max-width: 540px) {
  .modal-content {
    padding: 20px 10px;
  }
  .input-group.half {
    width: 48.5% !important;
  }
  .modal-body {
    padding: 0;
  }
  .hero-mobile .white-box,
  .hero-mobile .trans-box {
    width: 95%;
  }
  .hero-mobile .feature span {
    display: none;
  }
  /* .hero-mobile .image {
  display: flex;
  justify-content: center;
} */
}

:root {
  --primary: #4caf50;
  --light: #f3f6f8;
  --dark: #000;
  --dark-grey: #666;
  --white: #fff;
  --light-green: #eaf6e6;
}

.modal-container {
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: -webkit-fill-available;
  background: rgba(75, 85, 99, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .modal-container {
    align-items: center;
    justify-content: center;
  }
}

.modal-content {
  position: relative;
  height: auto;
  max-height: 90dvh;
  width: 95%;
  min-height: 450px;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 16px;
  background: white;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .modal-content {
    margin: 0 auto;
  }
}

.modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.btn-close {
  position: absolute;
  z-index: 100;
  color: #000000;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 1rem !important;
  font-size: 16px !important; /* Prevents iOS zoom on focus */
}

input:focus {
  scroll-margin-bottom: 150px;
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
  .modal-container,
  .modal-content,
  .modal-body {
    -webkit-overflow-scrolling: touch;
  }

  .form-control {
    font-size: 16px !important; /* Prevents iOS zoom */
  }

  /* Ensures input is tappable */
  .input-group.full {
    position: relative;
    z-index: 10;
  }
}

/* Android-specific fixes */
@supports not (-webkit-touch-callout: none) {
  .input-group.full {
    position: relative;
    z-index: 10;
  }
}

.email-note p {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 15px;
}

.btn-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #424242;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.form-section,
.progress-section {
  margin-bottom: 1.5rem;
}

.signup-form .input-group {
  margin-bottom: 1.5rem;
}

.form-floating {
  position: relative;
}

.form-floating label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  background: var(--white);
  padding: 0 5px;
  pointer-events: none;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--dark-grey);
  border-radius: 5px;
  outline: none;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
}

.error-message {
  color: red;
  font-size: 0.85rem;
  display: none;
}

input:invalid + .error-message {
  display: block;
}

.form-terms {
  margin-top: -5px;
}

.form-terms p {
  text-align: center;
  font-size: 0.7rem;
  margin: 1rem 0;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem 3rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  line-height: 1.5;
  font-size: 1rem;
  font-weight: 800;
}

.submit-btn:hover {
  color: #000;
}

.input-group.full {
  margin-top: 5px;
}

.input-group.half {
  width: 49%;
  display: inline-block;
}

.input-group.half:first-of-type {
  margin-right: 4px;
}
.submit-btn:disabled {
  background-color: var(--light-green);
  cursor: not-allowed;
}

.email-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dark-grey);
}

.progress-section {
  text-align: center;
  background-color: #def7e5;
  border-radius: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 1.5rem;
}

.progress-bar {
  display: flex;
  justify-content: space-around;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}

.progress-bar li {
  flex-grow: 1;
  padding: 0.5rem;
  border-bottom: 2px solid var(--light-green);
  position: relative;
}

.progress-bar li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.progress-bar li.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.modal-container {
  display: none;
}

.toggle-password {
  color: var(--dark-grey);
  font-size: 1.2rem;
}
.toggle-password:hover {
  color: var(--primary);
}

/* Add at the end of your existing styles */
/* Fixes for mobile input focus */
.form-control {
  font-size: 16px !important; /* iOS won't zoom if font size >= 16px */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a {
  color: inherit;
}
.logo-light,
.logo-dark {
  opacity: 1 !important;
}
.trans-box {
  display: none;
}
@media screen and (max-width: 600px) {
  .hero-mobile .container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .white-box {
    width: 100%;
    margin: 0;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
@media screen and (max-width: 600px) {
  .cta-button {
    width: 100%;
    display: block;
    text-align: center;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .hero-mobile .container {
    padding: 0;
    width: 100%;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .white-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .cta-button {
    width: 80%;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}
.journey-steps {
  padding: 2rem 0;
  text-align: center;
}
.journey-steps h2 {
  margin-bottom: 2rem;
  color: #333;
}
.journey-title {
  text-align: center;
  color: #333;
  font-size: 15px;
  margin: 1rem 0;
  padding: 0 1rem;
  opacity: 0.8;
  color: #3e5a75;
}
@media (min-width: 992px) {
  .journey-title {
    display: none;
  }
}
@media (min-width: 992px) {
  .hero-mobile .feature-icon {
    color: #3e5a75 !important;
  }
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
}
@media (min-width: 768px) and (max-width: 991px) {
  .steps-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) {
  .steps-container {
    display: none;
  }
}
.step-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  gap: 0.75rem;
  border-radius: 0;
}
.step-box:nth-child(2n) {
  border-left: none;
}
.step-box:nth-child(n + 3) {
  border-top: none;
}
.icon-circle {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg {
  width: 64px;
  height: 64px;
}
.step-box span {
  color: #3e5a75;
  font-size: 13px;
  font-weight: normal;
}
.hero-mobile {
  background-color: #fff;
}
.hero-mobile .container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-content {
  margin-bottom: 180px;
}
.journey-bottom {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  background-color: #fff;
}
.hero-mobile .image {
  display: none;
}
.white-box {
  margin-bottom: 2rem;
}
@media screen and (max-width: 450px) {
  .hero-mobile .white-box {
    width: 100%;
    margin: 0;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
.logo-light {
  opacity: 0.3 !important;
}
.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.status-circle {
  width: 8px;
  height: 8px;
  background-color: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.status-indicator span {
  color: #666;
  font-size: 14px;
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hero-content {
    margin-bottom: 140px;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .hero-mobile .container {
    padding: 0;
    width: 100%;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .white-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .hero-content {
    margin-bottom: 220px;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .steps-container {
    max-width: 600px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) and (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 768px;
  }
}
@media screen and (min-width: 601px) and (max-width: 991px) and (min-width: 768px) {
  .hero-content {
    margin-bottom: 180px;
  }
}
.white-box h1 {
  color: #3e5a75;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
}
.white-box h1 .light-text {
  font-weight: normal;
}
.globe-icon {
  margin-right: 4px;
  opacity: 0.6;
  width: 24px;
  height: 24px;
}
.mobile-menu-icon {
  position: absolute;
  top: 8px;
  right: 16px;
  color: #333;
  font-size: 24px;
  z-index: 10;
  padding: 4px;
  line-height: 0;
}
@media screen and (max-width: 450px) {
  .mobile-menu-icon {
    right: 12px;
  }
}
@media (min-width: 992px) {
  .mobile-menu-icon {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .steps-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 768px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .step-box {
    border: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .step-box:nth-child(n),
  .step-box:first-child,
  .step-box:last-child {
    border: none;
  }
}
.modal-container {
  padding: 3% 20px 20px;
}
@media (min-width: 768px) {
  .modal-container {
    padding: 0;
    justify-content: center;
  }
}
.modal-content {
  position: relative;
  background-color: white;
  color: #1a202c;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 95%;
  animation: fade-in 0.3s ease-out;
  margin: 0;
}
@media (min-width: 768px) {
  .modal-content {
    max-width: 768px;
    align-self: center;
  }
}
@media (min-width: 768px) {
  .form-section h4 {
    margin-bottom: 1rem;
  }
}
@media (min-width: 768px) {
  .signup-form .input-group {
    margin-bottom: 0rem;
  }
}
@media (min-width: 768px) {
  .modal-body {
    padding: 0;
  }
}
@media (min-width: 768px) {
  .terms-text {
    margin-top: 1rem;
  }
}
.btn-text {
  font-size: 20px;
  padding: 5px;
}
#email {
  font-size: 16px;
  padding: 1rem;
}
.form-control {
  transition: none;
}
.form-control:focus {
  outline: 2px solid #005fcc;
  border: none !important;
}
.submit-btn:hover {
  color: #fff;
}
.steps-progress {
  font-weight: 300;
}
.modal-row {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .modal-row {
    flex-direction: row;
  }
}
.modal-column {
  width: 100%;
}
@media (min-width: 768px) {
  .modal-column {
    width: 50%;
  }
}
.steps-column {
  text-align: center !important;
}
@media (max-width: 768px) {
  .modal-body {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .modal-content {
    padding: 3rem 2rem 1rem;
  }
}
@media (max-width: 768px) {
  .modal-title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 768px) {
  .form-section {
    margin-top: 0 !important;
  }
}
@media (max-width: 768px) {
  .signup-form .input-group {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 768px) {
  #pop2 .modal-content {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .submit-btn {
    padding-right: -3.5rem;
  }
}
@media (max-width: 410px) {
  .steps-progress {
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .step-box {
    padding: 1rem;
  }
}
.terms-text {
  color: #d1d5dc;
  font-weight: 300;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-progress {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step-circle {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.step-item.active .step-circle {
  background-color: #2563eb;
  color: white;
}
.step-item.inactive .step-circle {
  background-color: #d6d3d1;
  color: #1a202c;
}
.step-item.inactive {
  color: #a8a29e;
}
.form-section {
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .form-section {
    margin-top: 0;
  }
}
.form-section h3 {
  font-weight: bold;
  margin-bottom: 0.75rem;
}
.input-group {
  margin-bottom: 1rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #a8a29e;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.form-control::placeholder {
  color: #a8a29e;
}
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0bc86d;
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  width: 100%;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0;
  min-height: 3.5rem;
}
.btn-text {
  flex-grow: 1;
  text-align: center;
}
.btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
}
.terms-text {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.5rem;
}
.error-message {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.arrow-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.submit-btn {
  position: relative;
}
.btn-text {
  flex-grow: 1;
  text-align: center;
}
.btn-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.input-group.full {
  min-height: 62px;
}
#pop2 .submit-btn {
  justify-content: center;
}
#pop2 .modal-content {
  margin: 2rem auto;
}

/* New mobile keyboard handling CSS */
body.modal-open {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  touch-action: none;
}

/* Fixes for mobile input focus */
.form-control {
  font-size: 16px !important; /* iOS won't zoom if font size >= 16px */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  /* This targets only iOS devices */
  .modal-content {
    -webkit-overflow-scrolling: touch;
  }

  .input-group {
    position: relative;
    z-index: 50;
  }
}

/* Scroll Popup Styles */
#scroll-popup {
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
}

#scroll-popup.show {
  transform: translateY(0) !important;
}

/* Scroll Popup Button Styles */
.vwpop {
  display: block;
  width: 100%;
  padding: 1rem 3rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  line-height: 1.5;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Roboto", sans-serif;
}

.vwpop:hover {
  background-color: var(--secondary);
}
