:root {
    --primary-blue: rgba(26, 32, 44, 1);
    --secondary-blue: #0080CA;
    --text-color: #333;
    --light-grey: rgba(255, 252, 252, 1);
    --border-radius: 20px;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Thêm thuộc tính này để tránh thanh cuộn ngang nếu có lỗi tràn */
    overflow-x: hidden;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

/* -------------------- */
/* Banner liên hệ */
/* -------------------- */

.contact-hero-banner {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    color: white;
    text-align: center;
    padding: 100px 15px;
    width: 1312px;
    height: 441px;
    border-radius: 50px;
    background: linear-gradient(90deg, #033793 -18.33%, #033793 10.11%, #0080CA 69.28%, #025CAF 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.contact-hero-banner h1 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    font-family: var(--font-family);
    margin: 0;
}

.contact-hero-banner h2 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: var(--font-family);
    margin: 0;
}

.contact-hero-banner p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    margin: 0;
    padding: 0 70px;
    font-family: var(--font-family);
}

/* -------------------- */
/* Form và thông tin liên hệ */
/* -------------------- */

.contact-section-nested {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0 80px 0;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1312px;
    gap: 100px;
}

.contact-form-card {
    width: 652px;
    padding-block: 40px;
    opacity: 1;
    border-radius: 50px;
    background: rgba(232, 232, 232, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.contact-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 508px;
}

.contact-form-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    color: #033793;
    text-align: center;
    margin: 0;
}

.form-row {
    display: flex;
    width: 100%;
    gap: 20px;
}

.form-group-first {
    width: 100%;
}

.form-group-2 {
    width: 234px;
    opacity: 1;
    border-radius: 10px;
}

.form-group-3 {
    width: 253px;
    opacity: 1;
    border-radius: 10px;
}

.form-group-4 {
    width: 508px;
    opacity: 1;
    border-radius: 10px;

}

.contact-form-card input {
    width: 100%;
    padding: 15px 35px;
    /* Tăng padding */
    border: 1px solid #e8e8e8;
    /* Border mờ hơn */
    border-radius: 14px;
    /* Bo tròn nhiều hơn */
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* Thêm hiệu ứng */
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.contact-form-card textarea {
    width: 100%;
    height: 108px;
    border-radius: 10px;
    padding: 15px 35px;
    border: 1px solid #e8e8e8;
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-card .btn-arrow {
    width: 100%;
    /* Nút full-width */
}

.contact-info-side {
    width: 560px;
    height: 439px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-side h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #033793;
    margin: 0;
}

.contact-info-side>p {
    color: #000000;
    line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 30px;
    padding: 0;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 54px;
    height: 51px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
}

.contact-text h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1A202C;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
}

.contact-text p {
    color: #1A202C;
    line-height: 1.6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.contact-form-card button.btn-arrow {
    position: relative;
    width: 50%;
    border-radius: 50px;
    border: none;
    text-align: center;
    cursor: pointer;
    background-color: #033793;
    background-image: linear-gradient(to right, #033793, #0080CA, #025CAF);
    background-size: 200% auto;
    color: #ffffff;
    transition: all 0.4s ease;
}

.contact-form-card button.btn-arrow:hover {
    background-position: right center;
}

.btn-submit {
    position: relative;
    display: block;
    width: 251px;
    height: 48px;
    padding: 16px 0;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    text-align: center;
    background-size: 200% auto;
    background: linear-gradient(90deg, #033793 -18.33%, #033793 10.11%, #0080CA 69.28%, #025CAF 100%);

    color: #ffffff;
    transition: all 0.4s ease;
    cursor: pointer;
    line-height: 100%;
}

.btn-submit:hover {
    background-position: right center;
}

.btn-submit span {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-submit i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

/* -------------------- */
/* Bản đồ */
/* -------------------- */
.map-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 140px 0;
}

.map-container {
    max-width: 1312px;
    max-height: 563px;
}


.map-container img {
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------- */
/* Responsive */
/* -------------------- */
@media (max-width: 992px) {

    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .container {
        padding: 0;
    }

    .contact-hero-banner {
        padding: 30px 0;
    }

    .hero-container {
        width: 100%;
        height: 446px;
        border-radius: 0;
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-hero-banner h2 {
        font-size: 32px;
        padding: 0 40px;
    }

    .contact-hero-banner p {
        padding: 0 30px;
    }

    .contact-main-content {
        padding: 50px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-inputs-grid {
        grid-template-columns: 1fr;
    }

    .contact-section-nested {}

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-card {
        width: 80vw;
        height: 537px;
        opacity: 1;
        border-radius: 50px;
    }

    .contact-information {
        width: 85vw;
        border-radius: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .form-group-2 {
        width: 100%;
    }

    .form-group-3 {
        width: 100%;
    }

    .form-group-4 {
        width: 100%;
    }

    .contact-form-card textarea {
        width: 100%;
        height: 145px;
        margin-top: 10px;
    }

    .contact-info-side {
        max-width: 90vw;
        margin-top: 80px;
    }

    .contact-info-side>p {
        padding: 0;
    }

    .contact-form-card .btn-submit {}

    .contact-form-card h3 {}

    .contact-text p {}

    .map-section {
        padding: 0 0 50px 0;
    }

    .map-container img {
        height: 512px;
        width: 1376px;
    }
}

@media (max-width: 758px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .container {
        padding: 0;
    }

    .contact-hero-banner {
        padding: 30px 0;
    }

    .hero-container {
        width: 100%;
        height: 446px;
        border-radius: 0;
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-hero-banner h2 {
        font-size: 32px;
        padding: 0 40px;
    }

    .contact-hero-banner p {
        padding: 0 30px;
    }

    .contact-main-content {
        padding: 50px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-inputs-grid {
        grid-template-columns: 1fr;
    }

    .contact-section-nested {}

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-card {
        width: 363px;
        height: 537px;
        opacity: 1;
        border-radius: 50px;
    }

    .contact-information {
        max-width: 324px;
        border-radius: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
    }

    .form-group-2 {
        width: 324px;
    }

    .form-group-3 {
        width: 324px;
    }

    .form-group-4 {
        width: 324px;
    }

    .contact-form-card textarea {
        width: 100%;
        height: 145px;
        margin-top: 10px;
    }

    .contact-info-side {
        max-width: 363px;
        margin-top: 80px;
    }

    .contact-info-side>p {
        padding: 0;
    }

    .contact-form-card .btn-submit {}

    .contact-form-card h3 {}

    .contact-text p {}

    .map-section {
        padding: 0 0 50px 0;
    }

    .map-container img {
        height: 512px;
        width: 1376px;
    }
}

@media (min-width: 320px) and (max-width: 420px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .container {
        padding: 0;
    }

    .contact-hero-banner {
        padding: 30px 0;
    }

    .hero-container {
        width: 100%;
        height: 446px;
        border-radius: 0;
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-hero-banner h2 {
        font-size: 32px;
        padding: 0 12px;
    }

    .contact-hero-banner p {
        padding: 0 30px;
    }

    .contact-main-content {
        padding: 50px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-inputs-grid {
        grid-template-columns: 1fr;
    }

    .contact-section-nested {}

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-card {
        width: 90vw;
        height: 537px;
        opacity: 1;
        border-radius: 50px;
    }

    .contact-information {
        width: 85%;
        border-radius: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .form-group-2 {
        width: 100%;
    }

    .form-group-3 {
        width: 100%;
    }

    .form-group-4 {
        width: 100%;
    }

    .contact-form-card textarea {
        width: 100%;
        height: 145px;
        margin-top: 10px;
    }

    .contact-info-side {
        max-width: 90vw;
        margin-top: 80px;
    }

    .contact-info-side>p {
        padding: 0;
    }

    .contact-form-card .btn-submit {}

    .contact-form-card h3 {}

    .contact-text p {}

    .map-section {
        padding: 0 0 50px 0;
    }

    .map-container img {
        height: 512px;
        width: 1376px;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .hero-container {
        width: 90vw;
        height: auto;
    }

    .contact-wrapper {
        width: 90vw;
        gap: 20px;
    }

    .contact-form-card {
        width: 80vw;
        gap: 20px;
    }

    .contact-information {
        width: 85%;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .form-group-2 {
        width: 100%;
    }

    .form-group-3 {
        width: 100%;
    }

    .form-group-4 {
        width: 100%;
    }

    .contact-form-card textarea {
        width: 100%;
        height: 145px;
        margin-top: 10px;
    }

    .contact-info-side {
        max-width: 90vw;
        margin-top: 80px;
    }

    .contact-info-side {
        margin: 0;
    }

    .map-container {
        width: 90vw;
    }
}