/* =========================================================
   CIAT CONTACT PAGE
========================================================= */

:root {
    --ciat-green: #009c27;
    --ciat-blue: #0864fe;
    --black: #111111;
    --white: #ffffff;
    --light: #f6f8fa;
    --border: #e5e7eb;
}


/* =========================================================
   PAGE
========================================================= */

.contact-page {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   BANNER
========================================================= */

.contact-banner {
    position: relative;

    width: 100%;
    height: 390px;

    overflow: hidden;
}


.contact-banner img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


.contact-banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .58),
            rgba(0, 0, 0, .18)
        );
}


.contact-banner-content {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding-top: 45px;

    box-sizing: border-box;
}


.contact-banner-content span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 11px 27px;

    border-radius: 50px;

    background: var(--ciat-green);

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 18px;
}


.contact-banner-content h1 {
    margin: 0;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -2px;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;

    padding: 85px 0 100px;

    background: #ffffff;
}


.contact-container {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.05fr);

    gap: 55px;

    align-items: start;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.contact-left {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 26px;
}


/* =========================================================
   LOCATION CARD
========================================================= */

.location-card {
    width: 100%;

    min-height: 280px;

    display: grid;

    grid-template-columns: 210px minmax(0, 1fr);

    gap: 22px;

    padding: 18px;

    box-sizing: border-box;

    background: #f6f8fb;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid #edf0f3;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.location-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, .08);
}


/* =========================================================
   MAP AREA
========================================================= */

.location-map {
    width: 100%;

    min-height: 245px;

    position: relative;

    overflow: hidden;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #eef7f0,
            #edf4fb
        );
}


/* =========================================================
   MAP PLACEHOLDER
========================================================= */

.map-placeholder {
    width: 100%;
    min-height: 245px;

    padding: 20px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* =========================================================
   MAP ICON
========================================================= */

.map-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--ciat-green);

    color: #ffffff;

    font-size: 23px;

    margin-bottom: 13px;

    box-shadow:
        0 8px 22px rgba(0, 156, 39, .20);
}


.map-placeholder > span {
    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    font-weight: 600;

    color: #222222;

    margin-bottom: 15px;
}


/* =========================================================
   GOOGLE MAP BUTTON
========================================================= */

.map-placeholder a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 15px;

    border-radius: 7px;

    background: #ffffff;

    color: var(--ciat-blue);

    text-decoration: none;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .08);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.map-placeholder a:hover {
    background: var(--ciat-blue);

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   LOCATION INFORMATION
========================================================= */

.location-info {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
}


.location-info h3 {
    margin: 0 0 21px;

    font-family: "DM Sans", sans-serif;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 600;

    color: #111111;
}


.location-info p {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0 0 13px;

    font-family: "Nunito Sans", sans-serif;

    font-size: 14px;

    line-height: 1.55;

    color: #666666;
}


.location-info p i {
    width: 18px;

    flex-shrink: 0;

    margin-top: 3px;

    color: var(--ciat-green);
}


.location-info a {
    color: #666666;

    text-decoration: none;

    transition: color .25s ease;
}


.location-info a:hover {
    color: var(--ciat-blue);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.contact-right {
    width: 100%;
}


/* =========================================================
   CONTACT HEADING
========================================================= */

.contact-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 25px;

    margin-bottom: 38px;
}


.contact-heading h2 {
    margin: 0 0 8px;

    font-family: "DM Sans", sans-serif;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 600;

    color: #111111;

    letter-spacing: -1.5px;
}


.contact-heading h2 span {
    color: var(--ciat-blue);
}


.contact-heading p {
    margin: 0;

    font-family: "Nunito Sans", sans-serif;

    font-size: 16px;

    line-height: 1.6;

    color: #888888;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.contact-social {
    display: flex;

    align-items: center;

    gap: 13px;

    padding-top: 8px;
}


.contact-social a {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--ciat-blue);

    text-decoration: none;

    font-size: 17px;

    transition:
        color .25s ease,
        transform .25s ease;
}


.contact-social a:hover {
    color: var(--ciat-green);

    transform: translateY(-3px);
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    width: 100%;
}


.form-group {
    width: 100%;

    margin-bottom: 21px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 500;

    color: #444444;
}


.form-group input,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dddddd;

    border-radius: 9px;

    background: #ffffff;

    outline: none;

    font-family: "Nunito Sans", sans-serif;

    font-size: 15px;

    color: #333333;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.form-group input {
    height: 55px;

    padding: 0 15px;
}


.form-group textarea {
    min-height: 125px;

    padding: 14px 15px;

    resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ciat-blue);

    box-shadow:
        0 0 0 3px rgba(8, 100, 254, .08);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    min-width: 150px;

    height: 52px;

    padding: 0 27px;

    border: 0;

    border-radius: 8px;

    background: var(--ciat-green);

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.contact-submit:hover {
    background: var(--ciat-blue);

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(8, 100, 254, .18);
}


.contact-submit i {
    font-size: 12px;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.form-message {
    margin: 14px 0 0;

    font-family: "Nunito Sans", sans-serif;

    font-size: 14px;

    color: var(--ciat-green);
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .contact-left {
        order: 2;
    }


    .contact-right {
        order: 1;
    }


    .location-card {
        max-width: 900px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 700px) {

    .contact-banner {
        height: 330px;
    }


    .contact-banner-content {
        padding-top: 35px;
    }


    .contact-banner-content span {
        padding: 10px 22px;

        font-size: 15px;
    }


    .contact-banner-content h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }


    .contact-section {
        padding: 65px 0 80px;
    }


    .contact-container {
        width: 92%;
    }


    .location-card {
        grid-template-columns: 1fr;

        gap: 18px;

        padding: 15px;
    }


    .location-map {
        min-height: 220px;
    }


    .map-placeholder {
        min-height: 220px;
    }


    .location-info {
        padding: 5px 5px 10px;
    }


    .contact-heading {
        flex-direction: column;

        gap: 15px;
    }


    .contact-social {
        padding-top: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .contact-banner {
        height: 280px;
    }


    .contact-banner-content h1 {
        font-size: 34px;
    }


    .contact-section {
        padding: 55px 0 65px;
    }


    .contact-heading h2 {
        font-size: 34px;
    }


    .contact-heading p {
        font-size: 15px;
    }


    .location-card {
        border-radius: 14px;
    }


    .location-map,
    .map-placeholder {
        min-height: 205px;
    }


    .location-info h3 {
        font-size: 20px;
    }


    .location-info p {
        font-size: 14px;
    }


    .form-group input {
        height: 52px;
    }


    .contact-submit {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .contact-banner {
        height: 255px;
    }


    .contact-banner-content h1 {
        font-size: 30px;
    }


    .contact-heading h2 {
        font-size: 30px;
    }


    .map-placeholder a {
        font-size: 11px;

        padding: 9px 12px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .location-card,
    .map-placeholder a,
    .contact-social a,
    .contact-submit {
        transition: none;
    }

}