@font-face {
    font-family: 'iran yekan';
    src: url(../font/IRANYekanX-Regular.woff2);
}

@font-face {
    font-family: 'iran yekan bold';
    src: url(../font/IRANYekanX-Bold.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iran yekan';
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, #2563eb15, transparent 35%),
        radial-gradient(circle at bottom left, #7c3aed15, transparent 35%),
        #f8fafc;
    color: #1e293b;
}

/* ================= NAVBAR ================= */

.navbar {
    width: 90%;
    max-width: 1300px;
    margin: 25px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 35px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
}

.logo {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 12px;
}

.menu a {
    text-decoration: none;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    transition: .3s;
}

.menu a:hover,
.menu .active {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

/* ================= ABOUT ================= */

.about {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 0;
    flex: 1;
}

.about-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

.about-title::after {
    content: "";
    width: 90px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-container {
    display: flex;
    gap: 35px;
}

.about-text {
    flex: 2;
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.about-text p {
    line-height: 2.4;
    color: #475569;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.about-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transition: .3s;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .25);
}

.about-box {
    flex: 1;
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-item {
    background: #f8fafc;
    padding: 18px;
    border-radius: 15px;
    border-right: 4px solid #2563eb;
}

.info-item span {
    display: block;
    color: #64748b;
    margin-bottom: 8px;
    font-size: .95rem;
}

.info-item strong {
    color: #0f172a;
}

/* ================= FOOTER ================= */

footer {
    margin-top: 50px;
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 25px 15px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }
}

@media(max-width:768px) {

    .about {
        width: 95%;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-text,
    .about-box {
        padding: 25px;
    }
}

@media(max-width:480px) {

    .navbar {
        padding: 15px;
    }

    .logo {
        font-size: 1rem;
        text-align: center;
    }

    .menu {
        gap: 8px;
    }

    .menu a {
        font-size: .9rem;
        padding: 8px 10px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: .95rem;
        line-height: 2;
    }

    .about-btn {
        width: 100%;
        text-align: center;
    }
}