﻿
/* =========================================
   KEEVA Contact Us Page
========================================= */

.keeva-contact-hero {
    position: relative;
    min-height: 330px;
    padding: 125px 0 65px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #142D4E 0%, #35577F 100%);
}

.keeva-contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.keeva-contact-hero-text {
    text-align: right;
    color: #fff;
}

.keeva-contact-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #d5e2f1;
    margin-bottom: 18px;
    font-family: var(--body-font);
}

.keeva-contact-hero-text h1 {
    color: #fff;
    font-family: var(--title-font);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 12px;
}

.keeva-contact-hero-text p {
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--body-font);
    font-size: 17px;
    line-height: 2;
    margin: 0;
}

.keeva-contact-hero-line {
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: #8eaccd;
    margin-top: 24px;
}


/* Contact Section */

.keeva-contact-section {
    padding: 85px 0;
    background: #F3F5F8;
    direction: rtl;
}

.keeva-contact-heading {
    text-align: center;
    margin-bottom: 45px;
}

    .keeva-contact-heading > span {
        display: inline-block;
        color: #42658A;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
        font-family: var(--body-font);
    }

    .keeva-contact-heading h2 {
        color: #142D4E;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.7;
        margin-bottom: 10px;
        font-family: var(--title-font);
    }

    .keeva-contact-heading p {
        color: #718096;
        font-size: 15px;
        line-height: 2;
        margin: 0;
        font-family: var(--body-font);
    }


/* Contact Information Card */

.keeva-contact-card {
    height: 100%;
    min-height: 420px;
    padding: 35px 30px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(20, 45, 78, 0.06);
    display: flex;
    flex-direction: column;
}

.keeva-contact-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #EAF0F7;
    color: #35577F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.keeva-contact-card h3 {
    color: #142D4E;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.keeva-contact-divider {
    width: 45px;
    height: 3px;
    background: #42658A;
    border-radius: 5px;
    margin-bottom: 22px;
}

.keeva-contact-info {
    color: #526174;
    font-size: 15px;
    line-height: 2.3;
    font-family: var(--body-font);
    overflow-wrap: anywhere;
}

    .keeva-contact-info p {
        margin-bottom: 12px;
    }

    .keeva-contact-info a {
        color: #35577F;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .keeva-contact-info a:hover {
            color: #142D4E;
            text-decoration: underline;
        }

.keeva-contact-card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 25px;
    color: #718096;
    font-size: 12px;
    line-height: 1.8;
    font-family: var(--body-font);
}

.keeva-contact-footer-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #42658A;
}


/* Map Card */

.keeva-contact-map-card {
    height: 100%;
    min-height: 420px;
    padding: 25px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(20, 45, 78, 0.06);
    display: flex;
    flex-direction: column;
}

.keeva-contact-map-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .keeva-contact-map-heading > div:first-child > span {
        display: block;
        color: #718096;
        font-size: 12px;
        margin-bottom: 5px;
        font-family: var(--body-font);
    }

    .keeva-contact-map-heading h3 {
        color: #142D4E;
        font-size: 19px;
        font-weight: 700;
        margin: 0;
        font-family: var(--title-font);
    }

.keeva-contact-map-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #EAF0F7;
    color: #35577F;
    font-size: 28px;
}

.keeva-contact-map {
    position: relative;
    flex: 1;
    min-height: 320px;
    overflow: hidden;
    border-radius: 13px;
    background: #E9EEF4;
}

    .keeva-contact-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 320px;
        border: 0;
    }


/* Responsive */

@media (max-width: 991.98px) {
    .keeva-contact-hero {
        min-height: 290px;
    }

    .keeva-contact-hero-text h1 {
        font-size: 32px;
    }

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

    .keeva-contact-card {
        min-height: auto;
    }

    .keeva-contact-map-card {
        min-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .keeva-contact-hero {
        min-height: 250px;
    }

    .keeva-contact-hero-content {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .keeva-contact-hero-text h1 {
        font-size: 26px;
    }

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

    .keeva-contact-section {
        padding: 45px 0;
    }

    .keeva-contact-heading {
        margin-bottom: 30px;
    }

        .keeva-contact-heading h2 {
            font-size: 24px;
        }

    .keeva-contact-card {
        padding: 28px 22px;
        border-radius: 15px;
    }

    .keeva-contact-map-card {
        padding: 18px;
        border-radius: 15px;
        min-height: 380px;
    }

    .keeva-contact-map {
        min-height: 280px;
    }

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

/* Contact Information Image */

.keeva-contact-info-image-wrap {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 13px;
}

.keeva-contact-info-image {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 13px;
    transition: transform 0.3s ease;
}

    .keeva-contact-info-image:hover {
        transform: scale(1.03);
    }


/* Right aligned contact details */

.keeva-contact-card {
    direction: rtl;
    text-align: right;
}

    .keeva-contact-card h3,
    .keeva-contact-info,
    .keeva-contact-info * {
        text-align: right;
    }

.keeva-contact-info {
    direction: rtl;
    width: 100%;
}

.keeva-contact-card-footer {
    direction: rtl;
    text-align: right;
    justify-content: flex-start;
}


/* Mobile */

@media (max-width: 991.98px) {
    .keeva-contact-hero {
        min-height: 340px;
        padding-top: 115px;
        padding-bottom: 50px;
    }
}

@media (max-width: 575.98px) {
    .keeva-contact-hero {
        min-height: 300px;
        padding-top: 105px;
        padding-bottom: 40px;
    }

    .keeva-contact-info-image {
        height: 150px;
    }
}


/* =========================================
   KEEVA Contact Information - RTL
========================================= */

.keeva-contact-info {
    direction: rtl;
    text-align: right;
    width: 100%;
    font-family: var(--body-font);
}

    /* Contact information groups */
    .keeva-contact-info address.s1 {
        direction: rtl !important;
        text-align: right !important;
        font-style: normal;
        margin-bottom: 18px;
    }

        /* Each contact item */
        .keeva-contact-info address.s1 > span {
            direction: rtl !important;
            display: flex !important;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 10px;
            text-align: right !important;
            line-height: 2.2;
            margin-bottom: 10px;
            width: 100%;
        }

            /* Icons */
            .keeva-contact-info address.s1 > span > i {
                order: 0;
                flex: 0 0 24px;
                width: 24px;
                margin: 5px 0 0 0 !important;
                text-align: center;
            }

            /* WhatsApp and Telegram images */
            .keeva-contact-info address.s1 > span > img {
                order: 0;
                flex: 0 0 24px;
                width: 24px;
                height: 24px;
                object-fit: contain;
                margin: 3px 0 0 0 !important;
            }

            /* Text and links */
            .keeva-contact-info address.s1 > span > a,
            .keeva-contact-info address.s1 > span {
                overflow-wrap: anywhere;
            }

                .keeva-contact-info address.s1 > span > a {
                    order: 1;
                    color: #35577F;
                    text-decoration: none;
                    direction: ltr;
                    unicode-bidi: embed;
                }

                    .keeva-contact-info address.s1 > span > a:hover {
                        color: #142D4E;
                        text-decoration: underline;
                    }

                /* Working hours and address text */
                .keeva-contact-info address.s1 > span[dir="rtl"] {
                    direction: rtl !important;
                    text-align: right !important;
                }

                /* Remove empty paragraphs/spans */
                .keeva-contact-info address.s1 > span:empty {
                    display: none !important;
                }
