html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25vh 0; /* Equal top and bottom padding */
  box-sizing: border-box;
  flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

.home-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 75%;
    padding: 0;
    margin: 0 auto;
}

.top-section {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0;
}

.logo-right {
    height: 55px;
    width: auto;
}

.main-head {
    margin: 0;
    font-size: 140px;
    color: #ccc;
    letter-spacing: -0.05em;
    text-align: right;
    line-height: 7.5rem;
}

.content-section {
    display: flex;
    justify-content: space-between;
}

.content-section-grid.l {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-section-grid.r {
    width: 40%;
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 10px;
}

.mini-heading {
    margin: 0;
    color: #ccc;
    font-size: 44px;
    line-height: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.mini-head-text {
    margin: 0;
    color: #ccc;
    letter-spacing: -0.05em;
    font-size: 23px;
    line-height: 1em;
}

.year-para {
    font-size: 12px;
    margin: 0;
    font-weight: 500;
    color: #6a6a6a;
    line-height: 0.9rem;
}

.inside-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* bottom-section */
.bottom-section {
    display: flex;
    justify-content: space-between;
    padding-top: 20vh;
    align-items: center;
}

.mobile-bottom-text {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    color: #353535;
    text-align: center;
    display: flex;
    justify-content: center;
}

.mobile-bottom-text span {
    color: #4f4f4f;
    font-size: 8px;
}

.dot {
    width: 35px;
    height: auto;
    margin: 0 auto;
    /* This centers it horizontally */
}
.main-second-head{
    font-size: 12px;
    margin: 0;
    font-weight: 700;
    color: #646464;
    line-height: 1rem;
}
.main-para-head {
    font-size: 14px;
    margin: 0 0 0 auto; /* Push to the right */
    font-weight: 700;
    color: #646464;
    text-align: right;
    width: 25%; /* Allow content to determine width */
    line-height: 1rem;
}
.contact-grid-section{
    display: flex;
}
.contact-grid {
    width: 50%;
}
.contact-grid.l{
    padding: 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-label {
  font-size: 12px;
  margin: 0;
  font-weight: 500;
  color: #6a6a6a;
  line-height: 0.9rem;
  margin-bottom: 8px;
}

.form-input {
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 5px 0;
  font-size: 14px;
  outline: none;
}

.form-input:focus {
  border-bottom: 1px solid #000;
}

.continue-btn {
  flex: 0 0 auto;
  align-self: flex-end;
}

.continue-button {
  background: none;
  border: none;
  color: #6a6a6a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}


.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  gap: 30px;
}

.input-block {
  display: flex;
  flex-direction: column;
}
.input-block.a{
    width: 50%;
}
.input-block.b{
    width: 75%;
}

.input-label {
  font-size: 12px;
  margin: 0;
  font-weight: 500;
  color: #6a6a6a;
  line-height: 0.9rem;
  margin-bottom: 8px;
}

.text-input {
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 5px 0;
  font-size: 14px;
  outline: none;
}

.text-input:focus {
  border-bottom: 1px solid #000;
}

.input-full {
  width: 100%;
}

.button-block {
  align-self: flex-end;
}

.submit-button {
  background: none;
  border: none;
  color: #6a6a6a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.select-section{
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
}
.checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}



.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box {
  background: white;
  padding: 20px 100px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-message {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}
/* Highlight input with red border when invalid */
.input-error {
  border-bottom: 1px solid #6a6a6a !important;
}

/* Optional: style error text below the input */
.error-message {
  color: #ff5757;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.heading-section{
  display: flex;
  flex-direction: column;
}

/* mobile-view */

@media (max-width: 767px) {
        body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15vh 0;
    height: auto;
    box-sizing: border-box;
    flex-direction: column;
  }
    .home-body {
        width: 80%;
        gap: 30px;
        padding: 0px 0px;
    }
    .top-section {
    justify-content: center;
}

    .logo-right {
        height: 50px;
        width: auto;
    }

    .main-head {
        margin: 0;
        font-size: 50px;
        color: #ccc;
        letter-spacing: -0.05em;
        text-align: center;
        line-height: 3rem;
    }

    .content-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .content-section-grid.l {
        width: 100%;
        gap: 10px;
    }

    .mini-heading {
        font-size: 24px;
        line-height: 1.4rem;
        text-align: center;
    }

    .mini-head-text {
        font-size: 12px;
        line-height: 1.2em;
        text-align: center;
    }

    .content-section-grid.r {
        width: 100%;
    }

    .year-para {
        font-size: 11px;
        margin: 0;
        font-weight: 500;
        color: #6a6a6a;
        line-height: 0.9rem;
        text-align: center;
    }

    .bottom-section{
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
    justify-content: center;
    padding-top: 15vh;
}
 .bottom-section .mobile-bottom-text:nth-child(1) {
    order: 1; /* First */
  }

  .bottom-section .mobile-bottom-text:nth-child(3) {
    order: 2; /* Second */
  }

  .bottom-section .dot {
    order: 3; /* Third */
  }
.main-second-head{
    font-size: 11px;
    text-align: center;
}
.main-para-head {
    font-size: 12px;
    text-align: center;
    width: 100%; /* Allow content to determine width */
}
.contact-grid-section{
    display: flex;
    flex-direction: column-reverse;
}
.contact-grid {
    width: 100%;
}
.input-block.a{
    width: 100%;
}
.input-block.b{
    width: 100%;
}
.submit-button {
  text-align: center;
  align-items: center;
}
.form-container {
  display: flex;
  flex-direction: column;
}
.form-group{
    width: 100%;
}
.select-section{
  width: 100%;
}

}