.container-terms {
    width: 100%;
    max-width: 1088px;
    margin: 0 auto;
}
.bg-dark {
    background-color: var(--bg-dark);
}
.main-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 124px 0;
}
.main-heading h1 {
    color: var(--color-white);
    text-shadow: var(--shadow-light);
    font-size: 64px;
    font-weight: var(--font-bold);
    line-height: normal;
    letter-spacing: -0.64px;
}
.faq-heading {
    padding: 85px 0 0 40px;
}
.contact-form {
    width: 1280px;
    height: 676px;
    margin: 136px auto;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: 4px solid var(--color-text);
    background: var(--color-white);
    padding: 116px 68px 68px 68px;
}
.contact-form h2 {
    color: var(--color-text);
    font-size: 33px;
    font-weight: var(--font-bold);
    line-height: 48px;
    margin-bottom: 42px;
}
.form-row {
    display: flex;
    gap: 18px;
}
.input-group {
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-white2);
    background: var(--color-white2);
    width: 100%;
    height: 58px;
    padding: 1px 21px;
}
.input-group input {
    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--font-normal);
    line-height: normal;
    flex: 1;
    padding: 16px 12px;
}
.custom-dropdown {
    position: relative;
    width: 100%;
    margin: 18px 0;
}
.dropdown-header {
    border-radius: 8px;
    border: 1px solid var(--color-white2);
    background: var(--color-text);
    height: 54px;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-header .label {
    color: #94a3b8;
    font-size: 16px;
    font-weight: var(--font-normal);
    line-height: 24px; 
    transition: color 0.3s ease;
}
.dropdown-header .label.selected {
    color: var(--color-white);
}
.flex-align {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dropdown-header .selected-option {
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-bold);
    line-height: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    flex: 1;
}
.arrow-icon {
    transition: transform 0.3s ease;
}
.arrow-icon.rotate {
    transform: rotate(180deg);
}
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-radius: 25px;
    margin-top: 6px;
    list-style: none;
    padding: 20px 56px;
    display: none;
    z-index: 10;
    list-style-type: disc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.dropdown-options li {
    padding: 10px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px; 
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s ease;
}
.faq-container{
    padding: 0 40px;
}
.contact-form textarea {
    width: 100%;
    height: 194px;
    padding: 12px 21px;
    resize: none;
    border-radius: 8px;
    border: 1px solid var(--color-white2);
    background: var(--color-white2);
    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--font-normal);
    line-height: 24px; 
}
.submit-btn {
    margin: 18px 0 0 0;
    display: flex;
    height: 48px;
    width: 175px;
    padding: 13px 23.603px 14px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--bg-dark);
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--color-white); 
}
@media (max-width: 1024px) {
    .contact-form {
        width: 90%;
        height: auto;
        margin: 50px auto;
        padding: 80px 40px;
    }
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .input-group {
        width: 100%;
    }
    .faq-heading {
        padding: 0;
    }
    .faq-heading {
        padding: 0 40px;
    }
    .faq-container{
        padding: 0;
    }
}
@media (max-width: 800px) {
    .main-heading h1 {
        font-size: 50px;
        line-height: 60px;
    }
    .faq-heading {
        padding: 0;
    }
}
@media (max-width: 768px) {
    .contact-form {
        padding: 60px 24px;
    }

    .contact-form h2 {
        font-size: 28px;
        line-height: 38px;
    }
    .dropdown-header,
    .dropdown-options li,
    .input-group input,
    textarea,
    .submit-btn {
        font-size: 14px;
    }
    textarea {
        height: 120px;
    }
    .submit-btn {
        padding: 12px 24px;
    }
    .main-heading h1 {
        font-size: 50px;
        line-height: 60px;
    }
}
@media (max-width: 600px) {
    .main-heading h1 {
        font-size: 50px;
        text-align: center;
    }
    .contact-box {
        width: 100%;
    }
    .promo-card-two .imart-btn-light {
        margin: 44px auto 0 auto;
    }
    .terms-info p,
    .terms-info ul li,
    .terms-info ol li {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .contact-form {
        padding: 40px 16px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
    .dropdown-header .selected-option {
        margin-left: 0;
    }
}
@media (max-width: 400px) {
    .imart-card p {
        padding: 20px 0;
    }
}
