.contact-head{
    margin-top: 30px;
}
.contact-head h2{
    font-size: 32px;
    line-height: 35px;
    color: #2a2e6d;
    text-align: center;
}
.contact-head p{
    margin-top: 20px;
    font-size: 18px;
    line-height: 22px;
    color: #8D8D8D;
    text-align: center;
    margin-bottom: 20px;
}
.container-contact {
    width: calc(100% - 200px);
    margin: 40px auto 80px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
}
.left-section {
    background: linear-gradient(to bottom, #4856C0, #222A5C);;
    color: white;
    padding: 40px;
    margin: 8px;
    border-radius: 15px;
    width: 40%;
    position: relative;
    overflow: hidden;
}

.left-section h1 {
        font-weight:600;
        font-size: 28px;
        margin-bottom: 20px;
}

.left-section p {
    font-size: 18px;
    color: #C9C9C9;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    margin-top: 60px;
}

.contact-item {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    width: 24px;
}

.contact-item span {
    font-size: 1rem;
}

.logo-container {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 114px;
    height: 114px;
    object-fit: contain;
    margin-bottom: 25px;
}

.right-section {
    padding: 40px;
    width: 60%;
}
.form-group {
    margin-bottom: 25px;
}

.form-row {
       display: grid;
        gap: 50px;
        grid-template-columns: 1fr 1fr;
}

.form-col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #8D8D8D;
}

label.required:after {
    content: '*';
    color: #e53935;
    margin-left: 3px;
}

input, textarea {
    width: 100%;
    padding: 12px 0px;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-bottom: 2px solid #3F51B5;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-custom {
    display: inline-block;
    width: 13px;
    height: 13px;
    /* border: 2px solid #E0E0E0; */
    border-radius: 50%;
    padding: 2px;
    margin-right: 10px;
    position: relative;
    background-color: #E0E0E0;
}

.radio-option input {
    display: none;
}
.radio-option input:checked + .radio-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    padding: 2px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    background-color: black;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important; /* or any bg color */
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #8D8D8D !important; /* to keep text color normal */
  }
  .form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  color: black;
}
.submit-btn {
    background-color: #D4B863;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c0a64d;
}

.error-message {
    color: #e53935;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}
.white{
    color: white;
}
label {
    color:#8D8D8D;
    transition: color 0.3s ease;
  }
  
  label.active {
    color: black;
  }
  @media (max-width: 1199px){
    .logo-container {
        width: 180px;
        height: 180px;
    }
    .logo {
        width: 90px;
        height: 90px;
    }
  }
@media (max-width: 768px) {
    .container-contact {
        padding: 20px;
        width: auto;
        flex-direction: column;
        margin: 0;
        border-radius: 0;
        background: inherit;
        /* padding-top: 20px; */
    }
    
    .left-section, .right-section {
        width: inherit;
        border-radius: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-container {
        display: block;
    }
    .right-section{
        margin-top: 30px;
    }
    .logo {
        margin-left: 30px;
        margin-top: 30px;
    }
}
@media (max-width:499px){
    .right-section{
        padding: 20px;
    }
    .contact-head p{
        display: none;
    }
    .contact-head h2{
        padding-top: 10px;
        background-color: white;
    }
    .contact-head{
        background-color: white;
        margin-top: 0px;
    }
    .container-contact{
        background-color: white;
    }
    .contact-item {
        margin-bottom: 60px;
    }
    .extra{
        margin-bottom: 90px;
    }
    .container-contact{
        box-shadow: none;
    }
}