/* ==========================================================
   LATASIA EDUCATION - CONTACT US PAGE
   Custom stylesheet
   File: contact-us-custom.css
========================================================== */


/* ==========================================================
   ROOT / COMMON
========================================================== */

.lat-contact-section,
.lat-contact-hero,
.lat-contact-cta {
    --lat-blue: #1B4B91;
    --lat-blue-dark: #123763;
    --lat-blue-light: #EAF0FE;
    --lat-text: #1e293b;
    --lat-muted: #6b7280;
    --lat-border: #e5eaf1;
    --lat-white: #ffffff;
    --lat-bg: #f7faff;
}


/* ==========================================================
   HERO
========================================================== */

.lat-contact-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #123763;
}

.lat-contact-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lat-contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15, 46, 82, 0.92) 0%,
            rgba(27, 75, 145, 0.78) 48%,
            rgba(27, 75, 145, 0.48) 100%
        );
}

.lat-contact-hero .tf-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.lat-contact-hero-content {
    max-width: 650px;
    padding: 55px 0;
}

.lat-contact-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #d9eaff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.lat-contact-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
}

.lat-contact-hero p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   MAIN SECTION
========================================================== */

.lat-contact-section {
    padding: 85px 0;
    background: #fff;
}

.lat-contact-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.lat-contact-heading > span {
    display: block;
    margin-bottom: 10px;
    color: var(--lat-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.lat-contact-heading h2 {
    margin: 0 0 15px;
    color: var(--lat-text);
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
}

.lat-contact-heading p {
    margin: 0;
    color: var(--lat-muted);
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================================
   GRID
========================================================== */

.lat-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 35px;
    align-items: stretch;
}


/* ==========================================================
   CONTACT INFORMATION
========================================================== */

.lat-contact-info {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        #0F2E52 0%,
        #1B4B91 58%,
        #3E6FB0 100%
    );
    box-shadow: 0 18px 45px rgba(27, 75, 145, 0.18);
}

.lat-contact-info::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -110px;
    top: -105px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
}

.lat-contact-info::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -210px;
    bottom: -190px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
}

.lat-contact-info-header,
.lat-contact-card,
.lat-contact-social {
    position: relative;
    z-index: 2;
}

.lat-contact-small-title {
    display: inline-block;
    margin-bottom: 10px;
    color: #cfe4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.lat-contact-info-header h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 700;
}

.lat-contact-info-header p {
    margin: 0 0 32px;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   CONTACT CARDS
========================================================== */

.lat-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
    padding: 17px 16px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 12px;
    background: rgba(255,255,255,0.09);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lat-contact-card:hover {
    color: #fff;
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

.lat-contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fff;
    color: var(--lat-blue);
}

.lat-contact-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lat-contact-card > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.lat-contact-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.68);
    font-size: 12px;
}

.lat-contact-card strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.lat-contact-card small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,0.64);
    font-size: 11px;
    line-height: 1.45;
}

.lat-contact-arrow {
    flex: 0 0 auto;
    color: rgba(255,255,255,0.65);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.lat-contact-card:hover .lat-contact-arrow {
    transform: translateX(4px);
}


/* ==========================================================
   SOCIAL
========================================================== */

.lat-contact-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.lat-contact-social > span {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 600;
}

.lat-social-list {
    display: flex;
    align-items: center;
    gap: 7px;
}

.lat-social-list a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lat-social-list a:hover {
    background: #fff;
    color: var(--lat-blue);
    transform: translateY(-2px);
}


/* ==========================================================
   FORM WRAPPER
========================================================== */

.lat-contact-form-wrapper {
    padding: 42px;
    border: 1px solid var(--lat-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 35, 60, 0.07);
}

.lat-form-header {
    margin-bottom: 30px;
}

.lat-form-header > span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--lat-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.lat-form-header h3 {
    margin: 0 0 9px;
    color: var(--lat-text);
    font-size: 29px;
    line-height: 1.3;
    font-weight: 700;
}

.lat-form-header p {
    margin: 0;
    color: var(--lat-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   FORM
========================================================== */

.lat-contact-form {
    width: 100%;
}

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

.lat-form-group {
    margin-bottom: 19px;
}

.lat-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #26364a;
    font-size: 13px;
    font-weight: 600;
}

.lat-form-group label em {
    color: #e34b4b;
    font-style: normal;
}

.lat-form-group input,
.lat-form-group textarea {
    width: 100%;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #fbfcfe;
    color: #1f2937;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.lat-form-group input {
    height: 52px;
    padding: 0 16px;
}

.lat-form-group textarea {
    min-height: 145px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.6;
}

.lat-form-group input::placeholder,
.lat-form-group textarea::placeholder {
    color: #a4acb8;
}

.lat-form-group input:focus,
.lat-form-group textarea:focus {
    border-color: var(--lat-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27, 75, 145,0.09);
}


/* ==========================================================
   SUBMIT BUTTON
========================================================== */

.lat-contact-submit {
    min-width: 170px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #1B4B91, #123763);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(27, 75, 145,0.2);
    transition: all 0.3s ease;
}

.lat-contact-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lat-contact-submit:hover {
    background: linear-gradient(135deg, #123763, #0F2E52);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(27, 75, 145,0.25);
}


/* ==========================================================
   CTA
========================================================== */

.lat-contact-cta {
    padding: 0 0 85px;
    background: #fff;
}

.lat-contact-cta-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0F2E52, #1B4B91);
    box-shadow: 0 18px 40px rgba(27, 75, 145,0.18);
}

.lat-contact-cta-inner::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -140px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
}

.lat-contact-cta-inner > div,
.lat-cta-button {
    position: relative;
    z-index: 2;
}

.lat-contact-cta-inner > div {
    max-width: 720px;
}

.lat-contact-cta-inner span {
    display: block;
    margin-bottom: 8px;
    color: #cfe4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.lat-contact-cta-inner h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.lat-contact-cta-inner p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.7;
}

.lat-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 7px;
    background: #fff;
    color: #123763;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lat-cta-button:hover {
    color: #123763;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.lat-cta-button span {
    margin: 0;
    color: inherit;
    font-size: 19px;
    line-height: 1;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .lat-contact-hero {
        min-height: 280px;
    }

    .lat-contact-hero h1 {
        font-size: 44px;
    }

    .lat-contact-section {
        padding: 65px 0;
    }

    .lat-contact-grid {
        grid-template-columns: 1fr;
    }

    .lat-contact-info {
        padding: 35px;
    }

    .lat-contact-form-wrapper {
        padding: 35px;
    }

    .lat-contact-cta {
        padding-bottom: 65px;
    }

    .lat-contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .lat-contact-hero {
        min-height: 245px;
    }

    .lat-contact-hero-content {
        padding: 40px 0;
    }

    .lat-contact-hero h1 {
        font-size: 36px;
    }

    .lat-contact-hero p {
        font-size: 14px;
    }

    .lat-contact-heading {
        margin-bottom: 35px;
    }

    .lat-contact-heading h2 {
        font-size: 30px;
    }

    .lat-contact-info,
    .lat-contact-form-wrapper {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .lat-contact-info-header h3,
    .lat-form-header h3 {
        font-size: 25px;
    }

    .lat-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lat-contact-social {
        align-items: flex-start;
        flex-direction: column;
    }

    .lat-contact-cta-inner {
        padding: 30px 24px;
        border-radius: 14px;
    }

    .lat-contact-cta-inner h2 {
        font-size: 24px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .lat-contact-hero h1 {
        font-size: 31px;
    }

    .lat-contact-heading h2 {
        font-size: 26px;
    }

    .lat-contact-card {
        padding: 14px 12px;
    }

    .lat-contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .lat-contact-card strong {
        font-size: 13px;
    }

    .lat-contact-arrow {
        display: none;
    }

    .lat-contact-submit {
        width: 100%;
    }

    .lat-cta-button {
        width: 100%;
        justify-content: center;
    }

}
