﻿/*==================================================
                    CONTACT
==================================================*/


/*==================================================
                    RESET
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #F4FBFC;
    color: #405B64;
    font-family: 'Cairo', sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/*==================================================
                    CONTACT PAGE
==================================================*/

.contact-page {
    padding: 80px 0;
}


/*==================================================
                    HEADER
==================================================*/

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    background: #008FA3;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 143, 163, .18);
}

.contact-header h1 {
    font-size: 42px;
    color: #073B4C;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-header p {
    max-width: 760px;
    margin: auto;
    color: #60757D;
    line-height: 2;
    font-size: 17px;
}


/*==================================================
                    ROWS
==================================================*/

.contact-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
    direction: ltr;
}

    .contact-row > * {
        direction: rtl;
    }


/*==================================================
                    FULL WIDTH CONTACT FORM
==================================================*/

.contact-form-row {
    grid-template-columns: 1fr;
}

    .contact-form-row .form-card {
        width: 100%;
    }


/*==================================================
                    CARD
==================================================*/

.contact-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(0, 80, 100, .07);
    border: 1px solid rgba(0, 143, 163, .12);
    transition: .35s;
}

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(0, 80, 100, .12);
    }

    .contact-card h2 {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #073B4C;
        margin-bottom: 28px;
        font-size: 24px;
        font-weight: 800;
    }

        .contact-card h2 i {
            color: #008FA3;
            font-size: 28px;
        }


/*==================================================
                    ADDRESS
==================================================*/

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact-item > i {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #008FA3;
        color: #FFFFFF;
        font-size: 22px;
        flex-shrink: 0;
        box-shadow: 0 8px 20px rgba(0, 143, 163, .20);
        transition: .35s;
    }

    .contact-item:hover > i {
        background: #006F82;
        transform: scale(1.05);
    }

    .contact-item h4 {
        font-size: 19px;
        margin-bottom: 8px;
        color: #073B4C;
    }

    .contact-item p {
        color: #60757D;
        line-height: 1.9;
    }


/*==================================================
                    ADDRESS GRID
==================================================*/

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

    .address-grid .contact-item {
        margin-bottom: 0;
    }

.email-item {
    margin-bottom: 0;
}


/*==================================================
                    PHONES
==================================================*/

.phone-box {
    background: #F7FCFD;
    border: 1px solid rgba(0, 143, 163, .12);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: .3s;
}

    .phone-box:last-child {
        margin-bottom: 0;
    }

    .phone-box:hover {
        border-color: #00AFC1;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 143, 163, .08);
    }

    .phone-box span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #71838A;
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 600;
    }

        .phone-box span i {
            color: #008FA3;
            font-size: 18px;
        }

    .phone-box a {
        color: #073B4C;
        font-size: 22px;
        font-weight: 700;
        transition: .3s;
    }

        .phone-box a:hover {
            color: #008FA3;
        }


/*==================================================
                    WHATSAPP
==================================================*/

.whatsapp {
    background: #F4FBF7;
    border-color: #25D366;
}

    .whatsapp span i {
        color: #25D366;
    }

    .whatsapp a:hover {
        color: #20A957;
    }


/*==================================================
                    FORM
==================================================*/

.form-card form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #DCE9EC;
        border-radius: 12px;
        padding: 16px 18px;
        background: #FFFFFF;
        outline: none;
        font-size: 15px;
        transition: .3s;
        font-family: 'Cairo', sans-serif;
        color: #073B4C;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 170px;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #00AFC1;
            box-shadow: 0 0 0 4px rgba(0, 175, 193, .12);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9AAAB0;
        }


/*==================================================
                    BUTTON
==================================================*/

.btn-send {
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    background: linear-gradient( 145deg, #00AFC1, #007C91 );
    color: #FFFFFF;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 143, 163, .20);
}

    .btn-send:hover {
        background: linear-gradient( 145deg, #008FA3, #006F82 );
        color: #FFFFFF;
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(0, 110, 130, .25);
    }


/*==================================================
                    ALERT
==================================================*/

.alert-success {
    background: #ECFDF5;
    border: 1px solid #22C55E;
    color: #166534;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.text-danger {
    color: #DC2626;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}


/*==================================================
                    SCROLL ANIMATION
==================================================*/

.contact-card {
    animation: fadeUp .6s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==================================================
                    REQUEST SERVICE
==================================================*/

#request-service {
    scroll-margin-top: 130px;
}


/*==================================================
                    RESPONSIVE
==================================================*/

@media(max-width: 1100px) {

    .contact-row {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 768px) {

    .contact-page {
        padding: 60px 0;
    }

    .contact-header {
        margin-bottom: 40px;
    }

        .contact-header h1 {
            font-size: 32px;
        }

        .contact-header p {
            font-size: 15px;
            line-height: 1.9;
        }

    .contact-card {
        padding: 25px;
    }

        .contact-card h2 {
            font-size: 22px;
        }

    .address-grid {
        grid-template-columns: 1fr;
    }

    .phone-box a {
        font-size: 18px;
    }
}


@media(max-width: 576px) {

    .contact-header h1 {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 14px;
        padding: 8px 18px;
    }

    .contact-item {
        gap: 14px;
    }

        .contact-item > i {
            width: 48px;
            height: 48px;
            font-size: 18px;
        }

        .contact-item h4 {
            font-size: 17px;
        }

        .contact-item p {
            font-size: 14px;
        }

    .btn-send {
        font-size: 16px;
        padding: 14px;
    }
}
