body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: Helvetica;
}

.hidel {
  display: none;
}

/* Navbar */
.navbar {
    background: #6b91ca;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    box-sizing: border-box;
}

.navbar .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .left img {
    width: 52px;
    height: 52px;
}

.navbar .right {
    margin-left: auto;
}

.navbar .right button {
    background: white;
    color: #6b91ca;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.navbar .right button:hover {
    background: #d9e2f0;
}

.navheader {
    font-size: 23px;
    font-weight: bold;
}

/* Background Image */
.bgimg {
    background-image: url('/images/flowers.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
}

.content {
    flex: 1;
    padding: 20px;
}

.card {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    margin-top: 120px;
    z-index: 20;
    text-align: left;
    padding-bottom: 110px; 
}

.card h2, .card h3 {
    color: #333;
}

.card-text {
    color: #555;
    font-size: 20px;
    line-height: 1.5;
}

.card-header {
    color: #6b91ca;
    font-size: 30px;
    font-weight: bolder;
    letter-spacing: 3px;
}

.name-fields,
.email-field {
  display: flex;
  gap: 10px;
  width: 100%;
}

.email-field input {
  width: 100%;
}

/* Newsletter Signup Form */
.newsletter-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.name-fields {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 30px;
    width: 100%;
    text-indent: 10px;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.newsletter-form input {
  box-sizing: border-box;
}

.newsletter-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Subscribe Button */
.newsletter-form button {
    padding: 14px;
    font-size: 40px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
/*    background: #88ba7b;*/
    background: #91bd55;
    color: white;
    cursor: pointer;
    padding: 5px 30px 5px 30px;
/*            width: 200px;*/
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    background: #248a36;
}

/* Profile Picture */
.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: -100px;
    right: 60px;
    border: 3px solid white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.footer {
  background: #6b91ca;
  color: white;
  text-align: center;
  padding: 180px 20px 40px 20px;
  clip-path: ellipse(75% 100% at center bottom);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
/*  padding: 0 clamp(20px, 6vw, 100px);*/
/*  padding: 0 clamp(10px, 4vw, 80px);*/
padding: 0 clamp(8px, 3.5vw, 100px);


  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto 40px auto;
}

.footer-left,
.footer-right {
  max-width: 300px;
  color: white;
  text-align: left;
}

.footer-logo {
  width: 249px;
  height: auto;
  margin-bottom: 10px;
}

.footer-caption {
  font-size: 14px;
  color: #e0e0e0;
  margin: 0;
}

.footer p:last-of-type {
  font-size: 23px;
  color: #ddd;
  margin: 0;
}

.footer li {
  font-size: 21px;
  color: #ddd;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
    font-size: 15px;
}

.footer-button {
    background: white;
    color: #6b91ca;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.footer-right-bottom {
    padding-left: 40px;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.mini-feature img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.mini-feature-text {
    color: #333;
    font-size: 16px;
    line-height: 1.3;
    font-weight: bold;
}

.mf-header {
    font-size: 30px;
    font-weight: bold;
}

.mf-subhead {
    font-size: 22px;
    font-weight: bold;
}

.sub-success {
    display: none;
    font-size: 30px;
    color: #91bd55;
    text-align: center;
}

@media (min-width: 1990px) {

  .footer-left,
  .footer-right {
    max-width: 700px;
  }

  .footer-content {
    align-items: flex-start;
  }

  .footer-left {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-left img.footer-logo {
    margin-bottom: 0;
  }

  .footer-caption {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .footer-right ul {
    margin: 0;
    padding: 0;
/*    list-style: none;*/
  }

  .footer-right-bottom {
    padding-left: 0;
  }
}


@media (max-width: 1500px) {

  .footer li {
    font-size: 17px;
    line-height: 1.3;
  }

  .footer p:last-of-type {
    font-size: 17px;
  }

  .footer-logo {
    width: 180px;
  }
}

@media (max-width: 1350px) {
  .footer li {
    font-size: 15px;
    line-height: 1.2;
  }

  .footer p:last-of-type {
    font-size: 15px;
  }

  .footer-logo {
    width: 150px;
  }

}

@media (max-width: 1225px) {

  .hidet {
    display: none;
  }

  .hidel {
    display: list-item;
  }

  .content {
    padding: 0px;
  }

  .profile-pic {
      width: 175px;
      height: 175px;
      top: 10px;
      right: 40px;
  }

  .card {
    z-index: 4;
  }

  .footer {
    position: static;
    clip-path: none;
    padding: 80px 20px 40px 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }

  .footer-left img.footer-logo {
    margin-bottom: 0;
  }

  .footer-caption {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  /* Right: list and button side-by-side */
  .footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
    max-width: 100%;
  }

  .footer-right ul {
    margin: 0;
    padding: 0;
/*    list-style: none;*/
  }

  .footer li {
    font-size: 21px;
    color: #ddd;
    margin: 5px 0;
  }

  .footer-right-bottom {
    padding-left: 0;
    margin-top: 0;
  }

  .footer p:last-of-type {
    font-size: 23px;
  }

  .footer-logo {
    width: 239px;
  }

}

@media (max-width: 767px) {
  .hidewm {
    display: none;
  }
  .card {
    max-width: 450px;
/*    padding: 40px 20px;*/
  }
}

/*@media (max-width: 565px) {
  .hidewm {
    display: none;
  }
  .card {
    max-width: 450px;
  }
}*/

@media (max-width: 565px) {

  .logo {
      width: 140px;
      height: 53px;
  }

  .card {
    max-width: 450px;
  }
  .hidem {
      display: none;
  }

  .profile-pic {
      width: 100px;
      height: 100px;
      top: 10px;
      right: 40px;
  }

  .card {
      padding: 20px;
      max-width: 450px;
      width: 90%;
      position: relative;
      margin-top: 120px;
      text-align: left;
      padding-bottom: 80px; /* Space for button */
  }

  .card-header {
      font-size: 25px;
  }

  .card-text {
      font-size: 17px;
  }

  .mf-header {
      font-size: 26px;
  }

  .mf-subhead {
      font-size: 18px;
  }

  .newsletter-form button {
      font-size: 36px;
  }

  .newsletter-form button {
      bottom: 15px;
  }

}

@media (max-width: 479px) {
  .card {
    max-width: 300px;
  }
}