
.contact-section {
    display: flex;
}

.contact-form {
    width: 50%;
    padding: 80px 40px 80px 140px;
}

.contact-form h1 {
    color:#101C3D;
    font-size: 44px;
    font-style: normal;
    font-weight: 600;
    line-height: 52.8px;
    letter-spacing: -0.44px;
    text-transform: capitalize;
}

.contact-form h1>span {
    color: #416FF4;
}

.contact-form p {
    color: #404040;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.56px;
}

.contact-address {
    width: 50%;
    padding: 80px 140px 80px 60px;
    background-color: #F0F7FE;
}

.contact-form form {
    padding-top: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
}
.form-group {
    flex: 1;
    position: relative;
}
.form-group label {
    position: absolute;
    left: 10px;
    top: -8px;
    padding: 0 5px;
    background-color: white;
    color: #666;
    font-size: 0.8rem;
    z-index: 9;
}
input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

input {
    border-radius: 5px;
}

input::placeholder, textarea::placeholder {
    color: #7F7F7F;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
textarea {
    height: 100px;
    resize: vertical;
}
.consent {
    color:#404040;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 24px;
}
.consent a {
    color: #4a90e2;
    text-decoration: none;
}

.consent span {
    color: #416FF4;
}

.form-group textarea::placeholder {
    color: #7F7F7F;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-form button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    gap: 8px;
    color:#101C3D;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    padding-top: 36px;
}

.contact-form button>img {
    width: 24px;
    height: 24px;
}


.form-group input:focus-visible {
    border-color: #416FF4;
    border: 1px solid #416FF4;
    outline: none;
}

.form-group textarea:focus-visible {
    border-color: #416FF4;
    border: 1px solid #416FF4;
    outline: none;
}

.form-group:focus-within label {
    color: #416FF4;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-address h1 {
    padding-bottom: 22px;
    color: #101C3D;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 41.6px;
}

.contact-address span {
    color: #416FF4;
}

.contact-address .contact-info p {
    color: #414042;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-sub {
    padding-top: 80px;
}

.phone-input {
    position: relative;
    display: flex;
  }
  
  .prefix {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #888;
  }
  
  #phone {
    padding-left: 40px;
    font-size: 14px;
    width: 100%;
  }
  

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
    .contact-form {
        padding: 60px 30px;
        width: 100%;
    }
    .form-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    } 
    .contact-address {
        width: 100%;
        padding: 30px;
    }
    .contact-address h1 {
        font-size: 20px;
        padding-bottom: 0;
    }
    .contact-address .contact-info p {
        font-size: 14px;
    }
    .contact-sub {
        padding-top: 50px;
    }
    .sub-heading {
        padding-bottom: 24px !important;
    }
    .contact-form h1 {
        font-size: 28px;
    }
}