/* responsive */
/* header */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: hidden;
  }


}

/* ======== MOBILE VIEW ======== */
@media (max-width: 900px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  .header-right .header-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .header-logo-text p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
    gap: 0px;
  }

  .header-logo-box {
    width: 90px;
    height: 90px;
    border-radius: 0 0 45px 45px;
  }

  /* Scroll settings */
  .header-right {
    width: 80%;
    /* slightly wider to fit 2 items */
    overflow: hidden;
    position: relative;
  }

  .header-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    animation: scrollMenuMobile 15s linear infinite;
    min-width: max-content;
  }

  .header-menu li {

    text-align: center;
  }

  .header-menu li a {
    display: block;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none;
    color: #222;
    font-family: 'Poppins', sans-serif;
  }

  /* Auto-scroll animation */
  @keyframes scrollMenuMobile {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

/* section1 */
/* Responsive Design */
@media (max-width: 768px) {
  .section1-hero {
    padding: 0px 0px;
    height: 80vh;

  }

  .section1-heading {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;

    color: #d7be5a;
    margin-bottom: 0px;

    padding-top: 0px;
    padding: 0px 20px 0 0px;




  }
  .section1-content h2.section1-heading {
    width: 100%;
    display: flex;
    justify-items: end;
    justify-content: flex-end;
    text-align: end;
    flex-wrap: wrap;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    


}
/* h2 */
.section1-heading1 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;

    color: #d7be5a;
    margin-bottom: 0px;

    padding-top: 0px;
    padding: 0px 20px 0 0px;




  }
  .section1-content h2.section1-heading1 {
    width: 100%;
    display: flex;
    justify-items: end;
    justify-content: flex-end;
    text-align: end;
    flex-wrap: wrap;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    


}
/*  */

  .bsl-list {
    color: #0d2240;
    text-align: end;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-size: 11px;
    padding: 0px 20px 0 0px;
  }



  .section1-buttons {
    flex-direction: right;
    align-items: center;
    padding: 0px 20px 0 0px;
  }

  .section1-btn {
    width: 50%;
    justify-content: center;
  }

  .section1-content {
    width: 100%;
    z-index: 2;
    position: relative;

  }

  /* box */
  .fees-boxes-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 30px;
    overflow-x: hidden;

  }

  .fees-box {
    width: 100%;
    padding: 10px;

    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(110, 110, 110, 0.1);
    animation: fees-slideInRight 0.8s ease-out forwards;
    display: flex;
    justify-items: end;
    justify-content: flex-end;
    text-align: end;
    flex-wrap: wrap;
  }

}


/* footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-logo-section {
    grid-column: 1 / -1;
  }
  /*  */
      /* Register interest form styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 5px
}

.field {
  display: flex;
  flex-direction: column
}

.field label {
  font-weight: 700;
  margin-bottom: 6px
}

.field input,
.field select,
.field textarea {
  padding: 5px;
  border: 1px solid #dfe6f3;
  border-radius: 10px
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #c55252;
  background: #fff6f6
}

.error-text {
  color: #a61e1e;
  font-size: 13px;
  margin-top: 6px;
  min-height: 1.1em
}


}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-container {
    padding: 40px 10px 10px;
  }

  .footer-left {


    font-size: 10px;
    color: #0c1f3f;
    font-family: 'Poppins', 'sans-serif';
  }

  .footer-link {
    text-decoration: none;
    color: #0c1f3f;
    font-size: 10px;
    transition: color 0.3s ease;
    font-family: 'Poppins', 'sans-serif';
  }
}

/* ======== Animation for auto-scroll ======== */
@keyframes scrollMenu {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
