/* Base styles */
body {
  font-family: 'Poppins', -apple-system, Roboto, Helvetica, sans-serif;
}

/* Hero section styles */
.hero {
  background-color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

/* Carousel styling */
.carousel {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-image {
  aspect-ratio: 1.02;
  object-fit: contain;
  height: auto;
  max-height: 600px;
}

/* Content container styling */
.content-container {
  border-radius: 40px;
  border: 1px solid #ffffff;
  padding: 40px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
}

.text-content {
  max-width: 100%;
  padding-left: 14px;
  color: #000000;
}

.heading {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.description {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 17px;
}

.membership-form {
  display: flex;
  margin-top: 40px;
  width: 100%;
  max-width: 407px;
  padding-bottom: 8px;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.input-container {
  justify-content: center;
  align-items: stretch;
  display: flex;
  min-height: 72px;
  width: 100%;
  flex-direction: column;
  font-family: 'Poppins', -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 20px;
  color: #00682f;
  font-weight: 600;
  line-height: 1.3;
}

.input-field {
  color: #00682f;
  border-radius: 15px;
  border: 1px solid #00682f;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  padding: 17px 16px 17px 25px;
  height: 100%;
}

.register-button {
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: rgba(0, 145, 65, 0.8);
  align-self: flex-end;
  z-index: 10;
  display: flex;
  margin-top: -64px;
  min-height: 56px;
  width: 153px;
  max-width: 100%;
  padding: 16px;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-button:hover {
  background-color: rgba(0, 125, 55, 0.9);
}

.register-button a{
    color: #fff;
    text-decoration: none;
}
/* Responsive styles */
@media (max-width: 1199.98px) {
  .heading {
    font-size: 36px;
    line-height: 1.4;
  }

  .description {
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 60px 20px;
  }

  .content-container {
    padding: 30px 20px;
    margin-top: 30px;
  }

  .heading {
    font-size: 32px;
    line-height: 1.3;
  }

  .description {
    font-size: 18px;
    line-height: 1.4;
  }

  .input-field {
    padding-left: 20px;
  }

  .register-button {
    margin-right: 7px;
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 40px 15px;
  }

  .heading {
    font-size: 28px;
    line-height: 1.2;
  }

  .description {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 10px;
  }

  .membership-form {
    margin-top: 30px;
  }

  .input-container {
    min-height: 60px;
    font-size: 18px;
  }

  .input-field {
    padding: 14px 16px 14px 20px;
  }

  .register-button {
    min-height: 50px;
    width: 140px;
    padding: 12px;
    font-size: 16px;
    margin-top: -55px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 30px 10px;
  }

  .content-container {
    padding: 25px 0px;
    border-radius: 30px;
  }

  .heading {
    font-size: 24px;
    line-height: 1.2;
  }

  .description {
    font-size: 15px;
    line-height: 1.3;
  }

  .text-content {
    padding-left: 5px;
  }

  .input-container {
    min-height: 55px;
    font-size: 16px;
  }

  .register-button {
    min-height: 45px;
    width: 120px;
    padding: 10px;
    font-size: 15px;
    margin-top: -50px;
  }
  .hero-image {
    object-fit: cover;
}
}
