
/* =========================================================
   CONTACT PAGE
   ========================================================= */

:root {
    --contact-primary: #003d8f;
    --contact-primary-dark: #002f70;
    --contact-heading: #182238;
    --contact-text: #58708f;
    --contact-border: #dce4ed;
    --contact-light: #f6f8fb;
    --contact-white: #ffffff;
}


/* =========================================================
   GENERAL
   ========================================================= */

.contact-section,
.contact-hero,
.contact-whatsapp,
.contact-location {
    font-family: inherit;
}

.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-hero h1,
.contact-whatsapp h2,
.contact-location h2 {
    color: var(--contact-heading);
}


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

.contact-page-hero {
    /*margin-top: 60px;
    padding: 70px 0 70px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faff 100%
        );
    text-align: center;*/

    background-image: url('/images/general/background-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*min-height: 300px;*/
    padding: 150px 0 70px;
    position: relative;
}

.contact-page-hero-content {
    max-width: 850px;
    margin: 0 auto;text-align: center;
}

.contact-page-hero h2 span {
    color: var(--levanda-blue);
}

.contact-page-hero p {
    max-width: 680px;
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.section-eyebrow {
    color: var(--contact-primary);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2px;
}


/* =========================================================
   MAIN CONTACT SECTION
   Bootstrap structure:
   .col-lg-5 + .col-lg-7
   ========================================================= */

.contact-section {
    padding: 70px 0;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faff 100%
        );
        /*background: #fff;*/
}

.contact-info {
    padding-top: 4px;
}

.contact-info h2 {
    margin: 10px 0 24px;

    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.contact-intro {
    max-width: 570px;
    margin-bottom: 50px;

    color: var(--contact-text);
    font-size: 19px;
    line-height: 1.65;
}


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

.contact-details {
    max-width: 350px;
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(0, 61, 143, 0.10);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 27px;
    text-decoration: none;
    color: #172238;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: #00439a;
}

.contact-icon svg {
    display: block;

    width: 24px;
    height: 24px;
}

.contact-item span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item small {
    font-size: 15px;
    line-height: 1.3;

    color: #607694;
}

.contact-item strong {
    font-size: 18px;
    line-height: 1.4;

    font-weight: 450;
    color: #00439a;
}


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

.contact-form-card {
    padding: 0;
}

.contact-form-card h3 {
    margin: 0 0 10px;

    color: var(--contact-heading);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -1px;
}

.contact-form-card h3 span {
    color: var(--levanda-blue);
}

.contact-form-card > p {
    margin: 0 0 28px;

    color: var(--contact-text);
    font-size: 18px;
    line-height: 1.6;
}


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

.contact-form-card label {
    display: block;

    margin-bottom: 5px;

    color: var(--contact-heading);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 400;
}


/* =========================================================
   FORM INPUTS
   Bootstrap .form-control / .form-select
   ========================================================= */

.contact-form-card .form-control,
.contact-form-card .form-select {
    width: 100%;
    /*min-height: 42px;*/

    border: 1px solid var(--contact-border);
    border-radius: 8px;

    background-color: var(--contact-white);

    color: var(--contact-heading);
    /*font-size: 17px;*/

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form-card .form-control {
    padding: 10px 16px;
}

.contact-form-card .form-select {
    padding: 10px 42px 10px 16px;
}


/* Placeholder */

.contact-form-card .form-control::placeholder {
    color: #71839a;
    opacity: 1;
}


/* Focus */

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--contact-primary);

    box-shadow: 0 0 0 3px rgba(0, 61, 143, 0.08);
}


/* =========================================================
   MESSAGE
   ========================================================= */

.contact-form-card textarea.form-control {
    min-height: 100px;

    resize: vertical;
}


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

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 54px;
    padding: 12px 28px;

    border: 0;
    border-radius: 7px;

    background: var(--contact-primary);

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.contact-submit-btn:hover {
    background: var(--contact-primary-dark);
    transform: translateY(-1px);
}

.contact-submit-btn i {
    font-size: 18px;
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   PHONE PREFIX / VALIDATION / ALERT
   ========================================================= */

.contact-form-card .input-group-text {
    border: 1px solid var(--contact-border);
    border-radius: 8px 0 0 8px;

    background-color: var(--contact-light);

    color: var(--contact-heading);
}

.contact-form-card .input-group > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;

    border-radius: 0 8px 8px 0;
}

.contact-form-card .form-control.is-invalid,
.contact-form-card .form-select.is-invalid {
    border-color: #dc3545;
}

.contact-form-card .invalid-feedback {
    font-size: 14px;
}

.contact-form-alert {
    margin-bottom: 16px;
    padding: 12px 16px;

    border-radius: 8px;

    font-size: 16px;
}

.contact-form-alert-success {
    background-color: #e8f6ee;
    color: #146c43;
}

.contact-form-alert-error {
    background-color: #fdecee;
    color: #b02a37;
}


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

.contact-whatsapp {
    /*padding: 90px 0;
    background: var(--contact-light);
    text-align: center;*/


    background-image: url('/images/general/background-8.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*min-height: 300px;*/
    padding: 80px 0 70px;
    position: relative;
}

.contact-whatsapp h2 {
    margin: 12px 0 15px;

    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.contact-whatsapp p {
    max-width: 700px;
    margin: 0 auto 28px;

    color: var(--contact-text);
    font-size: 18px;
    line-height: 1.6;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 52px;
    padding: 12px 25px;

    border-radius: 7px;

    background: var(--contact-primary);

    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-btn:hover {
    background: var(--contact-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   LOCATION
   ========================================================= */

.contact-location {
    padding: 100px 0;
}

.contact-location h2 {
    margin: 12px 0 18px;

    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.contact-location p {
    max-width: 520px;
    margin: 0;

    color: var(--contact-text);
    font-size: 18px;
    line-height: 1.65;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.contact-map {
    width: 100%;
    overflow: hidden;

    border: 1px solid var(--contact-border);
    border-radius: 12px;

    background: var(--contact-light);
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 400px;

    border: 0;
}


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

@media (max-width: 991.98px) {

    .contact-hero {
        padding: 60px 0 75px;
    }

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

    .contact-section {
        padding-bottom: 80px;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .contact-info h2,
    .contact-whatsapp h2,
    .contact-location h2 {
        font-size: 40px;
    }

    .contact-location {
        padding: 80px 0;
    }
}


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

@media (max-width: 767.98px) {

    .contact-hero {
        padding: 50px 0 60px;
    }

    .contact-hero h1 {
        font-size: 38px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .contact-hero p {
        margin-top: 16px;

        font-size: 17px;
        line-height: 1.55;
    }

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

    .contact-info h2,
    .contact-whatsapp h2,
    .contact-location h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .contact-intro {
        margin-bottom: 35px;
        font-size: 17px;
    }

    .contact-details {
        padding: 30px 20px;
    }

    .contact-form-card {
        padding-top: 50px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item small {
        font-size: 13px;
    }

    .contact-item strong {
        font-size: 16px;
    }

    .contact-form-card h3 {
        font-size: 30px;
    }

    .contact-form-card > p {
        font-size: 17px;
    }

    .contact-form-card label {
        font-size: 16px;
    }

    .contact-form-card .form-control,
    .contact-form-card .form-select {
        min-height: 50px;
        font-size: 16px;
    }

    .contact-form-card textarea.form-control {
        min-height: 150px;
    }

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

    .contact-whatsapp {
        padding: 70px 0;
    }

    .contact-location {
        padding: 70px 0;
    }

    .contact-map iframe {
        min-height: 320px;
    }
}


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

@media (max-width: 575.98px) {

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

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

    .section-eyebrow {
        font-size: 14px;
        letter-spacing: 1.7px;
    }

    .contact-info h2,
    .contact-whatsapp h2,
    .contact-location h2 {
        font-size: 32px;
    }

    .contact-details {
        margin-left: auto; 
        margin-right: auto;
    }

    .contact-form-card {
        padding-top: 30px;
    }

    .contact-form-card h3 {
        font-size: 29px;
    }

    .contact-info-item {
        gap: 12px;
    }
}


@media (max-width: 500px) {
    .contact-page-hero {
        background-image: url('/images/general/vertical-bg-3.png');
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
}