/* =========================
   Reset
========================= */

@font-face {
        font-family: 'iranyekanweblight';
        src: url('/../static/font/iranyekanweblight.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iranyekanweblight', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    background: #ffffff;
    color: #1d3366;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.9;
}


/* =========================
   Main
========================= */

.about-page {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding-bottom: 60px;
}


/* =========================
   Hero / Banner
========================= */

.hero {
    width: 100%;
    height: 330px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 24px;
    background: #eef1ff;
}

.hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================
   About Content
========================= */

.about-content {
    max-width: 900px;
    margin: 65px auto 0;
    text-align: right;
}

.section-label {
    display: inline-block;

    padding: 6px 18px;

    border-radius: 30px;

    background: #eef1ff;
    color: #304fff;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 14px;
}

.about-content h1 {
    color: #1d3366;

    font-size: 38px;
    font-weight: 800;

    margin-bottom: 25px;

    position: relative;
}

.about-content h1::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin-top: 10px;

    border-radius: 10px;

    background: #304fff;
}


.about-text {
    color: #53627d;
    font-size: 16px;
}

.about-text p {
    margin-bottom: 18px;
}

.about-text strong {
    color: #1d3366;
    font-weight: 700;
}


/* =========================
   Features
========================= */

.features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin-top: 65px;
}


/* Feature Card */

.feature-card {
    background: #ffffff;

    border: 1px solid #e7ebf5;

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color: #cfd6ff;

    box-shadow: 0 15px 35px rgba(29, 51, 102, 0.10);
}


/* Feature Image */

.feature-image {
    width: 100px;
    height: 100px;

    background: #ffffff;

    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Feature Content */

.feature-content {
    padding: 22px;
}

.feature-content h2 {
    color: #1d3366;

    font-size: 19px;

    margin-bottom: 9px;
}

.feature-content p {
    color: #66738c;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================
   Bottom Links
========================= */

.page-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 55px;
}

.page-links a {
    min-width: 150px;

    padding: 11px 22px;

    border-radius: 12px;

    text-decoration: none;

    text-align: center;

    font-size: 14px;
    font-weight: bold;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Primary Button */

.primary-link {
    color: #ffffff;

    background: #304fff;
}

.primary-link:hover {
    background: #243fd6;

    transform: translateY(-2px);
}


/* Secondary Buttons */

.secondary-link {
    color: #304fff;

    background: #eef1ff;

    border: 1px solid #e0e5ff;
}

.secondary-link:hover {
    background: #304fff;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================
   Tablet
========================= */

@media (max-width: 850px) {

    .hero {
        height: 270px;
        border-radius: 20px;
    }

    .about-content {
        margin-top: 50px;
    }

    .about-content h1 {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        width: 100%;
        margin: 0 auto;
    }

}


/* =========================
   Mobile
========================= */

@media (max-width: 600px) {

    .about-page {
        width: 92%;
        padding-bottom: 40px;
    }

    .hero {
        height: 190px;

        margin-top: 15px;

        border-radius: 16px;
    }

    .about-content {
        margin-top: 40px;
    }

    .section-label {
        font-size: 12px;
        padding: 5px 14px;
    }

    .about-content h1 {
        font-size: 27px;

        margin-bottom: 20px;
    }

    .about-text {
        font-size: 14px;
        line-height: 2;
    }

    .about-text p {
        margin-bottom: 15px;
    }

    .features {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-top: 45px;
    }

    .feature-card:last-child {
        grid-column: auto;

        max-width: none;
    }

    .feature-image {
        height: 100px;
        width: 100px;
    }

    .feature-content {
        padding: 19px;
    }

    .feature-content h2 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 13px;
    }

    .page-links {
        flex-direction: column;

        gap: 10px;

        margin-top: 40px;
    }

    .page-links a {
        width: 100%;
    }

}


/* =========================
   Small Mobile
========================= */

@media (max-width: 380px) {

    .hero {
        height: 160px;
    }

    .about-content h1 {
        font-size: 24px;
    }

    .about-text {
        font-size: 13px;
    }

}