﻿/* ==========================================================
   CONTACT PAGE
========================================================== */


/* ==========================================================
   MAIN SECTION
========================================================== */

.contact-section {

    padding: 90px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f5f9fc 0%,
            #fffdf3 100%
        );
}


/* ==========================================================
   INTRO
========================================================== */

.contact-intro {

    max-width: 800px;

    margin: 0 auto 50px;

    text-align: center;
}


/* ==========================================================
   LABEL
========================================================== */

.contact-label {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 14px;
}


.contact-label span {

    width: 32px;

    height: 3px;

    background: var(--yellow);

    border-radius: 5px;
}


/* ==========================================================
   HEADING
========================================================== */

.contact-intro h2 {

    color: var(--primary-dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 4vw, 54px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 17px;
}


.contact-intro h2 span {

    color: var(--primary);

    display: inline-block;
}


/* ==========================================================
   INTRO TEXT
========================================================== */

.contact-intro p {

    color: #667586;

    font-size: 16px;

    line-height: 1.8;

    max-width: 720px;

    margin: 0 auto;
}


/* ==========================================================
   CONTACT INFORMATION CARD
========================================================== */

.contact-info-card {

    height: 100%;

    padding: 32px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #092f61,
            #164f92
        );

    color: #ffffff;

    box-shadow:
        0 12px 40px rgba(20,45,80,.14);

    position: relative;

    overflow: hidden;
}


.contact-info-card::before {

    content: "";

    position: absolute;

    width: 240px;

    height: 240px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;

    right: -110px;

    top: -110px;
}


.contact-info-card::after {

    content: "";

    position: absolute;

    width: 170px;

    height: 170px;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 50%;

    right: -75px;

    top: -75px;
}


/* ==========================================================
   INFO TOP
========================================================== */

.contact-info-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 16px;

    padding-bottom: 25px;

    margin-bottom: 8px;

    border-bottom: 1px solid rgba(255,255,255,.12);
}


.contact-info-icon {

    width: 58px;

    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 23px;
}


.contact-small-title {

    color: var(--yellow);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}


.contact-info-top h3 {

    margin: 0;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 23px;

    font-weight: 700;
}


/* ==========================================================
   CONTACT DETAIL
========================================================== */

.contact-detail {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 20px 0;

    border-bottom: 1px solid rgba(255,255,255,.10);
}


.contact-detail:last-of-type {

    border-bottom: none;
}


.contact-detail-icon {

    width: 40px;

    height: 40px;

    min-width: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    background: rgba(255,255,255,.10);

    color: var(--yellow);

    font-size: 15px;
}


.contact-detail span {

    display: block;

    color: rgba(255,255,255,.55);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.3px;

    margin-bottom: 4px;
}


.contact-detail p {

    margin: 0;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.6;
}


.contact-detail p a {

    color: #ffffff;

    text-decoration: none;

    transition: color .25s ease;
}


.contact-detail p a:hover {

    color: var(--yellow);
}


/* ==========================================================
   QUICK LINKS
========================================================== */

.contact-quick-links {

    position: relative;

    z-index: 2;

    display: flex;

    gap: 10px;

    margin-top: 22px;
}


.contact-quick-links a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 15px;

    background: rgba(255,255,255,.09);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 4px;

    color: #ffffff;

    text-decoration: none;

    font-size: 10px;

    font-weight: 800;

    transition: .25s;
}


.contact-quick-links a:hover {

    background: var(--yellow);

    color: var(--dark);
}


/* ==========================================================
   FORM CARD
========================================================== */

.contact-form-card {

    background: #ffffff;

    border: 1px solid #e2e9ef;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 12px 40px rgba(20,45,80,.08);
}


/* ==========================================================
   FORM HEADER
========================================================== */

.contact-form-header {

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #092f61,
            #164f92
        );
}


.contact-form-icon {

    width: 55px;

    height: 55px;

    min-width: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 22px;
}


.contact-form-label {

    color: var(--yellow);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    margin-bottom: 3px;
}


.contact-form-header h3 {

    margin: 0;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;
}


/* ==========================================================
   FORM BODY
========================================================== */

.contact-form-body {

    padding: 30px;
}


/* ==========================================================
   FIELD
========================================================== */

.contact-field label {

    display: block;

    color: var(--primary-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .5px;

    margin-bottom: 7px;
}


.contact-field label span {

    color: #d53c3c;
}


/* ==========================================================
   INPUT WRAPPER
========================================================== */

.contact-input-wrapper {

    position: relative;
}


.contact-input-wrapper > i {

    position: absolute;

    left: 14px;

    top: 16px;

    color: #8190a0;

    font-size: 15px;

    z-index: 2;
}


/* ==========================================================
   INPUT
========================================================== */

.contact-input {

    width: 100%;

    height: 48px;

    padding: 0 15px 0 42px;

    border: 1px solid #dbe3ea;

    border-radius: 5px;

    background: #fbfcfd;

    color: var(--primary-dark);

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition: .25s;
}


.contact-input:focus {

    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(18,63,140,.07);
}


.contact-input::placeholder {

    color: #a0aab5;
}


/* ==========================================================
   TEXTAREA
========================================================== */

.textarea-wrapper > i {

    top: 16px;
}


.contact-textarea {

    width: 100%;

    padding: 14px 15px 14px 42px;

    border: 1px solid #dbe3ea;

    border-radius: 5px;

    background: #fbfcfd;

    color: var(--primary-dark);

    font-family: inherit;

    font-size: 13px;

    line-height: 1.6;

    resize: vertical;

    outline: none;

    transition: .25s;
}


.contact-textarea:focus {

    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(18,63,140,.07);
}


.contact-textarea::placeholder {

    color: #a0aab5;
}


/* ==========================================================
   SUBMIT
========================================================== */

.contact-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 170px;

    height: 48px;

    padding: 0 22px;

    border: none;

    border-radius: 4px;

    background: var(--primary);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .8px;

    cursor: pointer;

    transition: .25s;
}


.contact-submit:hover {

    background: var(--yellow);

    color: var(--dark);

    transform: translateY(-2px);
}


/* ==========================================================
   MAP SECTION
========================================================== */

.contact-map-section {

    margin-top: 35px;

    background: #ffffff;

    border: 1px solid #e2e9ef;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(20,45,80,.07);
}


/* ==========================================================
   MAP HEADING
========================================================== */

.contact-map-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 24px 30px;
}


.contact-map-label {

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}


.contact-map-heading h3 {

    margin: 0;

    color: var(--primary-dark);

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;
}


.contact-map-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #edf5fb;

    color: var(--primary);

    font-size: 19px;
}


/* ==========================================================
   MAP
========================================================== */

.contact-map {

    width: 100%;

    height: 450px;

    background: #e9eef3;
}


.contact-map iframe {

    width: 100%;

    height: 100%;

    display: block;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .contact-section {

        padding: 75px 0 80px;
    }


    .contact-info-card {

        padding: 28px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .contact-section {

        padding: 60px 0 65px;
    }


    .contact-intro {

        margin-bottom: 35px;
    }


    .contact-intro h2 {

        font-size: 36px;
    }


    .contact-intro p {

        font-size: 15px;
    }


    .contact-info-card {

        padding: 25px 20px;
    }


    .contact-info-top {

        padding-bottom: 20px;
    }


    .contact-info-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;

        font-size: 20px;
    }


    .contact-form-header {

        padding: 20px;

        gap: 13px;
    }


    .contact-form-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;
    }


    .contact-form-header h3 {

        font-size: 21px;
    }


    .contact-form-body {

        padding: 22px 20px;
    }


    .contact-map-heading {

        padding: 20px;
    }


    .contact-map-heading h3 {

        font-size: 21px;
    }


    .contact-map {

        height: 350px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .contact-intro h2 {

        font-size: 32px;
    }


    .contact-info-top {

        align-items: flex-start;
    }


    .contact-info-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;
    }


    .contact-info-top h3 {

        font-size: 20px;
    }


    .contact-form-header {

        align-items: flex-start;
    }


    .contact-form-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;
    }


    .contact-form-header h3 {

        font-size: 19px;
    }


    .contact-quick-links {

        flex-direction: column;
    }


    .contact-quick-links a {

        justify-content: center;
    }


    .contact-map {

        height: 300px;
    }

}