#contact-section {
    width: 100%;
    position: relative;
    padding: 80px 0 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/media/images/home/contact_section_bg.webp');
    background-size: cover;
    background-position: center;
    margin-top: 4rem;
    font-family: var(--poppins-font);
}

.contact-container {
    width: 80%;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
}

.contact-left {
    position: relative;
    animation-delay: 0.06s;
}

.trustworthy-badge {
    width: 64px;
    height: 64px;
}

.contact-text {
    padding-top: 48px;
}

.contact-img-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-title {
    font-family: var(--poppins-font);
    font-size: 2.25rem;
    font-weight: bold;
    color: #00115E;
    line-height: 1.25;
    display: block;
    gap: 1rem;
    align-items: center;
}

.contact-description {
    color: black;
    font-size: 1rem;
    line-height: 1.625;
    max-width: 672px;
    margin-bottom: 40px;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.badge-img {
    width: 144px;
    height: auto;
}

.contact-right {
    width: 100%;
    animation-delay: 0.15s;
}

.contact-form-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #C5C5C5;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 32px;
    max-width: 448px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    border-bottom: 1px solid #AFAFAF;
    padding-bottom: 4px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 4px;
    font-size: 1rem;
    /* font-style: italic; */
    color: #374151;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--poppins-font);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #868686;
    font-style: italic;
}

.select-group {
    position: relative;
}

.form-select {
    appearance: none;
    cursor: pointer;
    color: #868686;
}

.select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-textarea {
    resize: none;
}

.contact-form-card .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.contact-form-card .checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 16px;
}

.contact-form-card .checkbox-group input[type="checkbox"]:checked {
    background: var(--primary-green) !important;
}

.contact-form-card .checkbox-group input[type="checkbox"]:checked::after {
    content: "\2714";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: #fff;
}

.contact-form-card .checkbox-group label {
    font-size: 0.8rem;
    font-family: var(--poppins-font);
}

.contact-form-card .checkbox-group label a {
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-blue);
}

.form-submit {
    width: 100%;
    background: #03AD6C;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 14px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-submit:hover {
    background: #029959;
}

.form-footer {
    font-size: 0.875rem;
    line-height: 1.25;
    color: black;
    padding-top: 8px;
}

.form-footer p {
    margin: 4px 0;
}

#priceSwitchBtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotate {
    animation: rotate 0.3s linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.iti__selected-dial-code {
    display: none;
}

@media (min-width: 768px) {
    #contact-section {
        padding: 96px 0 128px;
    }

    .contact-container {
        padding: 0 32px;
    }

    .contact-text {
        padding-top: 0;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-description {
        font-size: 1.125rem;
        margin: 64px 0;
    }

    /* .contact-badges {
        gap: 32px;
    } */

    .badge-img {
        width: 176px;
    }

    .trustworthy-badge {
        width: 58px;
        height: 58px;
    }

    .contact-form-card {
        padding: 40px;
    }

    .contact-form {
        gap: 28px;
    }
}

@media (min-width: 1024px) {
    #contact-section {
        padding: 128px 0;
    }

    .contact-container {
        padding: 0 48px;
    }

    .contact-content {
        grid-template-columns: 1fr auto;
        gap: 64px;
    }

    /* .contact-badges {
        gap: 48px;
    } */

    .badge-img {
        width: 200px;
    }

    .contact-right {
        width: auto;
    }

    .contact-form-card {
        margin: 0;
        padding: 48px;
    }
}

@media screen and (max-width: 768px) {
    #contact-section {
        padding-top: 0;
        padding-bottom: 4rem;
        background-size: cover;
        background-position-x: -350px;
        background-repeat: no-repeat;
    }

    .contact-container {
        width: 90%;
        padding: 0 8px;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-img-title {
        gap: 0;
        width: 90%;
        margin: 0 auto;
    }

    .contact-title {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-description {
        text-align: center;
    }

    .contact-badges {
        flex-wrap: nowrap;
    }

    .badge-img {
        width: 30%;
    }
}