/*==================================================
                    CONTACT
==================================================*/

.contact {
    padding: 40px 0 40px;
    position: relative;
}

/*==================================
            Description
==================================*/

.contact-description {
    max-width: 760px;
    margin: 18px auto 60px;
    text-align: center;
    line-height: 2;
    color: #b8c5d3;
    font-size: 1rem;
}

/*==================================
            Form
==================================*/

.contact-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

    /*==================================
            Inputs
==================================*/

    .form-group input,
    .form-group textarea {
        width: 100%;
        background: rgba(255,255,255,.03);
        border: 1px solid rgba(0,221,255,.18);
        border-radius: 14px;
        color: #fff;
        font-family: inherit;
        font-size: 15px;
        transition: .35s;
    }

    .form-group input {
        height: 58px;
        padding: 0 56px 0 18px;
    }

    .form-group textarea {
        min-height: 180px;
        resize: vertical;
        padding: 18px 56px 18px 18px;
        line-height: 2;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #8ea4b8;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00d9ff;
            box-shadow: 0 0 18px rgba(0,217,255,.18);
        }

    /*==================================
              Icons
==================================*/

    .form-group i {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #00d9ff;
        font-size: 16px;
        pointer-events: none;
    }


/*==================================
        Form Footer
==================================*/

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9db2c5;
    font-size: .9rem;
}

    .contact-note i {
        color: #00d9ff;
    }

/*==================================
        Button
==================================*/

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 54px;
    padding: 0 34px;
    border: none;
    border-radius: 14px;
    background: #00d9ff;
    color: #062134;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .35s;
    font-family:inherit;
}

    .btn-contact:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(0,217,255,.35);
    }

    .btn-contact i {
        font-size: 16px;
    }

/*==================================
            Google Map
==================================*/

.contact-map {
    margin-top: 70px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0,221,255,.15);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 320px;
        border: 0;
        filter: grayscale(.15);
    }

/*==================================
        Responsive
==================================*/

@media(max-width:992px) {

    .contact {
        padding: 90px 0 70px;
    }

    .contact-description {
        margin-bottom: 45px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map iframe {
        height: 280px;
    }
}

@media(max-width:768px) {

    .contact-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
    }

    .contact-note {
        justify-content: center;
        text-align: center;
    }

    .contact-map {
        margin-top: 50px;
    }
}

@media(max-width:576px) {

    .contact {
        padding: 70px 0 60px;
    }

    .contact-description {
        font-size: .95rem;
        line-height: 1.9;
    }

    .form-group input {
        height: 54px;
    }

    .form-group textarea {
        min-height: 160px;
    }

    .contact-map iframe {
        height: 240px;
    }
}


/*///////////////////////////////////////////////////////////////////
*/

/*==================================================
                CONTACT MAP
==================================================*/

.contact-map-card {
    position: relative;
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 26px;
    background: #0b1f2d;
    transition: transform .35s ease, box-shadow .35s ease;
}

/*==================================================
                    MAP
==================================================*/

#map {
    width: 100%;
    height: 620px;
    border-radius: 26px;
    z-index: 1;
}

/*==================================================
                    GLOW
==================================================*/

.map-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(17,197,217,.10) 0%, rgba(17,197,217,.04) 45%, transparent 75%);
    opacity: .45;
    transition: opacity .35s ease, background .35s ease;
    z-index: 2;
}

/*==================================================
                    BORDER
==================================================*/

.map-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-sizing: border-box;
    border: 2px solid rgba(17,197,217,.35);
    transition: border-color .35s ease, box-shadow .35s ease;
    z-index: 10;
}

/*==================================================
                    HOVER
==================================================*/

.contact-map-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 22px rgba(17,197,217,.20);
}

    .contact-map-card:hover .map-border {
        border-color: #18e8ff;
        box-shadow: 0 0 0 1px rgba(24,232,255,.35), 0 0 10px rgba(24,232,255,.50), 0 0 24px rgba(24,232,255,.40), 0 0 42px rgba(24,232,255,.28);
    }

/*    .contact-map-card:hover .map-glow {
        opacity: 1;
        background: radial-gradient(circle at center, rgba(24,232,255,.22) 0%, rgba(24,232,255,.10) 45%, transparent 75%);
    }
*/
/*==================================================
            OFFICE LOCATION
==================================================*/

.office-location {
    margin-top: 80px;
    margin-bottom: 30px;
    text-align: center;
}

/*==================================================
                TITLE
==================================================*/

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

    .section-title i {
        font-size: 32px;
        color: var(--primary-color);
    }

    .section-title h2 {
        margin: 0;
        font-size: 2.2rem;
        font-weight: 800;
        color: #ffffff;
    }

/*==================================================
            DESCRIPTION
==================================================*/

.section-description {
    max-width: 700px;
    margin: 0 auto 45px;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 2.1;
}

/*==================================================
            RESPONSIVE
==================================================*/

@media (max-width:768px) {

    .office-location {
        margin-top: 60px;
    }

    .section-title {
        gap: 10px;
    }

        .section-title i {
            font-size: 24px;
        }

        .section-title h2 {
            font-size: 1.7rem;
        }

    .section-description {
        font-size: .95rem;
        padding: 0 20px;
        line-height: 2;
    }
}


/*==================================================
            FLOATING CARD
==================================================*/

.map-info-card {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 380px;
    z-index: 1000;
    padding: 28px;
    border-radius: 22px;
    backdrop-filter: blur(16px);
    background: rgba(7,18,29,.78);
    border: 1px solid rgba(17,197,217,.20);
    box-shadow: 0 20px 45px rgba(0,0,0,.45), 0 0 25px rgba(17,197,217,.12);
}

/*==================================================
                LOGO
==================================================*/

.map-company-logo {
    text-align: center;
    margin-bottom: 20px;
}

    .map-company-logo img {
        width: 85px;
        transition: .35s;
    }

.map-info-card:hover img {
    transform: scale(1.05);
}

/*==================================================
                TITLE
==================================================*/

.map-company-info h3 {
    margin: 0;
    color: #11c5d9;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
}

.map-company-info p {
    margin-top: 16px;
    color: #d9e7ef;
    line-height: 2;
    font-size: 15px;
}

/*==================================================
                BUTTONS
==================================================*/

.map-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.btn-map {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg,#11c5d9,#0a8ca0);
    transition: .35s;
}

    .btn-map:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(17,197,217,.28);
    }

.btn-map-outline {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    color: #11c5d9;
    border: 1px solid rgba(17,197,217,.35);
    transition: .35s;
}

    .btn-map-outline:hover {
        background: #11c5d9;
        color: #081722;
    }

/*==================================================
            LEAFLET / NESHAN
==================================================*/

.leaflet-control-zoom {
    border: none !important;
    overflow: hidden;
    border-radius: 14px !important;
    box-shadow: 0 12px 25px rgba(0,0,0,.30);
}

    .leaflet-control-zoom a {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
        background: #0b2435 !important;
        color: #11c5d9 !important;
        border: none !important;
        transition: .3s;
    }

        .leaflet-control-zoom a:hover {
            background: #11c5d9 !important;
            color: #081722 !important;
        }

.leaflet-popup-content-wrapper {
    border-radius: 16px;
    background: rgba(8,23,34,.94);
    border: 1px solid rgba(17,197,217,.25);
    backdrop-filter: blur(14px);
    color: #fff;
}

.leaflet-popup-tip {
    background: #081722;
}

.leaflet-popup-content {
    margin: 18px;
    line-height: 2;
    font-family: "Vazirmatn", sans-serif;
    font-size: 14px;
    //font-weight: 600;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px) {

    .map-info-card {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        border-radius: 0;
        margin: 0;
    }

    #map {
        height: 500px;
    }
}

@media(max-width:768px) {

    #map {
        height: 420px;
    }

    .map-buttons {
        flex-direction: column;
    }
}


/*==================================================
                OFFICE TITLE
==================================================*/

.office-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 100px 0 12px;
    color: #00d9ff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
}

    .office-title i {
        color: var(--primary-color);
        font-size: 1.8rem;
    }

/*==================================================
                OFFICE TEXT
==================================================*/

.office-text {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 2;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media (max-width:768px) {

    .office-title {
        font-size: 1.6rem;
        gap: 10px;
    }

        .office-title i {
            font-size: 1.5rem;
        }

    .office-text {
        font-size: .95rem;
        line-height: 1.9;
        padding: 0 15px;
    }
}


/* ==================================
      FIX CHROME AUTOFILL
================================== */

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.03) inset !important;
    box-shadow: 0 0 0 1000px rgba(255,255,255,.03) inset !important;
    caret-color: #ffffff;
    transition: background-color 999999s ease-in-out 0s;
}