* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: tahoma;
    background: white;
}


/* ======================= */

.page-title {
    text-align: center;
    margin: 0;
    margin-top: 40px;
}

.page-title h1 {
    color: #1c4eb4;
    font-size: 2.5rem;
    font-family: 'B ROYA';
}

.page-title img {
    width: 100%;
    margin: 25px 0;
    border-radius: 10px;
}

/* ===================================
        Contact Section
=================================== */

.contact-section {

    width: 90%;
    max-width: 1400px;
    margin: 20px auto;
}


.contact-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 2;
    color: #555;
    font-size: 18px;
    font-family: 'IRANSansWeb', 'B NAZANIN';
}


/* =============================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}


/* =============================== */

.contact-box {
    background: #eef5ff;
    border-radius: 18px;
    padding: 35px;
    border: 1px solid #dbe6fb;
    transition: .3s;
}


.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(28, 78, 180, .12);
}


.contact-box h2 {
    color: #1c4eb4;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'B TITR';
}


.contact-box ul {
    list-style: none;
}


.contact-box li {
    margin-bottom: 18px;
}


.contact-box a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #23478f;
    transition: .25s;
    font-family: 'IRANSansWeb', 'B NAZANIN';
}


.contact-box a:hover {
    color: #1c4eb4;
    transform: translateX(-5px);
}


.contact-box img {
    width: 26px;
    height: 26px;
}

/* ===================================
        Tablet (3 cards per row)
=================================== */
@media (max-width: 1600px) {
    .page-title img {
        width: 83%;
        max-width: 1100px;
        margin: 35px 0;
        border-radius: 10px;
    }
}

@media (max-width: 1000px) {
    .page-title {
        text-align: center;
        margin: 0;
        margin-top: 30px;
    }

    .page-title h1 {
        color: #1c4eb4;
        font-size: 1.8rem;
        font-family: 'B ROYA';
    }

    .page-title img {
        display: none;
    }

    .contact-grid {

        grid-template-columns: repeat(2, 1fr);

    }
}


/* ===================================
        Mobile (2 cards per row)
=================================== */

@media (max-width: 762px) {

    .contact-section {

        width: 92%;

    }

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .contact-section h1 {

        font-size: 32px;

    }

    .contact-intro {

        font-size: 16px;

        margin-bottom: 40px;

    }
}