﻿/*==================================================
    RESET
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f6f8;
    color: #222;
    font-family: 'Cairo',sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.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: #d4af37;
    color: #111;
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-header h1 {
    font-size: 42px;
    color: #101010;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-header p {
    max-width: 760px;
    margin: auto;
    color: #666;
    line-height: 2;
    font-size: 17px;
}

/*==================================================
    ROWS
==================================================*/

.contact-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/*==================================================
    CARD
==================================================*/

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    border: 1px solid #ececec;
    transition: .35s;
}

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(0,0,0,.12);
    }

    .contact-card h2 {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #111;
        margin-bottom: 28px;
        font-size: 24px;
        font-weight: 800;
    }

        .contact-card h2 i {
            color: #d4af37;
            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: #d4af37;
        color: #fff;
        font-size: 22px;
        flex-shrink: 0;
    }

    .contact-item h4 {
        font-size: 19px;
        margin-bottom: 8px;
        color: #111;
    }

    .contact-item p {
        color: #666;
        line-height: 1.9;
    }

/*==================================================
    PHONES
==================================================*/

.phone-box {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: .3s;
}

    .phone-box:last-child {
        margin-bottom: 0;
    }

    .phone-box:hover {
        border-color: #d4af37;
        transform: translateY(-3px);
    }

    .phone-box span {
        display: block;
        color: #777;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .phone-box a {
        color: #111;
        font-size: 22px;
        font-weight: 700;
        transition: .3s;
    }

        .phone-box a:hover {
            color: #d4af37;
        }

.whatsapp {
    background: #f7fff8;
    border-color: #22c55e;
}

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

.form-card form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 16px 18px;
        background: #fff;
        outline: none;
        font-size: 15px;
        transition: .3s;
        font-family: 'Cairo',sans-serif;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 170px;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #d4af37;
            box-shadow: 0 0 0 4px rgba(212,175,55,.15);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }

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

.btn-send {
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    background: #d4af37;
    color: #111;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .btn-send:hover {
        background: #b89221;
        color: #fff;
        transform: translateY(-2px);
    }

/*==================================================
    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;
}

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

.map-card {
    overflow: hidden;
}

#companyMap {
    width: 100%;
    height: 580px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
}

/*==================================================
    LEAFLET
==================================================*/

.leaflet-container {
    font-family: 'Cairo',sans-serif;
}

.leaflet-popup-content {
    text-align: center;
    line-height: 1.8;
}

/*==================================================
    SCROLL ANIMATION
==================================================*/

.contact-card {
    animation: fadeUp .6s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:1100px) {

    .contact-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;
        }

    #companyMap {
        height: 350px;
    }

    .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;
    }

    #companyMap {
        height: 300px;
    }
}
.contact-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
    direction: ltr;
}

    .contact-row > * {
        direction: rtl;
    }

.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;
}

@media(max-width:768px) {

    .address-grid {
        grid-template-columns: 1fr;
    }
}

.phone-box span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

    .phone-box span i {
        color: #d4af37;
        font-size: 18px;
    }

.whatsapp span i {
    color: #25D366;
}

#request-service {
    scroll-margin-top: 130px;
}