﻿/*==========================
        CONTACT PAGE
==========================*/

body {
    font-family: "Vazirmatn", sans-serif;
    background: #f8f9fc;
    color: #222;
}

/*==========================
        HEADER
==========================*/

.navbar {
    padding: 18px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .navbar-brand h4 {
        font-size: 25px;
        font-weight: 800;
        margin: 0;
    }

    .navbar-brand small {
        color: #777;
    }

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #222 !important;
    margin: 0 8px;
    transition: .3s;
}

    .nav-link:hover,
    .nav-link.active {
        color: #2d5cff !important;
    }

.btn-primary {
    background: #2d5cff;
    border: none;
    border-radius: 40px;
    padding: 12px 26px;
    font-weight: 700;
}

    .btn-primary:hover {
        background: #1745db;
    }

/*==========================
        HERO
==========================*/

.contact-hero {
    padding: 70px 0 40px;
    text-align: center;
}

    .contact-hero h1 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .contact-hero p {
        color: #666;
        max-width: 650px;
        margin: auto;
        line-height: 2;
    }

/*==========================
        INFO CARD
==========================*/

.contact-info {
    padding-bottom: 40px;
}

.info-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.07);
    transition: .35s;
    height: 100%;
}

    .info-card:hover {
        transform: translateY(-8px);
    }

    .info-card i {
        font-size: 38px;
        color: #2d5cff;
        margin-bottom: 18px;
    }

    .info-card h5 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .info-card a {
        color: #2d5cff;
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        transition: .3s;
    }

        .info-card a:hover {
            color: #18b75d;
        }

.social-links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 15px;
}

    .social-links a {
        background: #f4f7ff;
        border-radius: 12px;
        padding: 10px;
        font-weight: 600;
    }

        .social-links a:hover {
            background: #2d5cff;
            color: #fff;
        }

    .social-links i {
        font-size: 18px;
        margin-left: 6px;
        color: inherit;
    }

/*==========================
        FORM
==========================*/

.contact-form-section {
    padding: 20px 0 70px;
}

.contact-box {
    background: #fff;
    border-radius: 22px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

    .contact-box h2 {
        font-size: 34px;
        font-weight: 800;
    }

.form-control {
    height: 58px;
    border-radius: 14px;
    border: 1px solid #ddd;
    box-shadow: none !important;
}

textarea.form-control {
    height: 170px;
    resize: none;
    padding-top: 15px;
}

.form-control:focus {
    border-color: #2d5cff;
}

/*==========================
        CAPTCHA
==========================*/

.captcha-question {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef3ff;
    font-size: 24px;
    font-weight: 800;
    color: #2d5cff;
}

.btn-success {
    height: 58px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    background: #18b75d;
    transition: .3s;
}

    .btn-success:hover {
        background: #10974b;
        transform: translateY(-2px);
    }

/*==========================
        FOOTER
==========================*/

.footer {
    margin-top: 60px;
    background: #fff;
    padding: 55px 0 20px;
    border-top: 1px solid #eee;
}

    .footer h4 {
        font-weight: 800;
        margin-bottom: 20px;
    }

    .footer h5 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .footer ul {
        list-style: none;
        padding: 0;
    }

    .footer li {
        margin-bottom: 12px;
    }

    .footer a {
        text-decoration: none;
        color: #444;
        transition: .3s;
    }

        .footer a:hover {
            color: #2d5cff;
        }

    .footer p {
        color: #666;
        line-height: 2;
    }

    .footer hr {
        margin: 35px 0 20px;
    }

/*==========================
        RESPONSIVE
==========================*/

@media(max-width:991px) {

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-box {
        padding: 30px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {

    .contact-hero {
        padding: 50px 0 25px;
    }

    .contact-box {
        padding: 25px;
    }

    .info-card {
        padding: 25px;
    }

    .navbar-brand h4 {
        font-size: 20px;
    }

    .btn-primary {
        margin-top: 15px;
        width: 100%;
    }
}
