
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f4f7ff;
}


/* نوار اصلی */




.navbar {
    width: 92%;
    height: 75px;

    margin: 20px auto;
    padding: 0 25px;

    display: flex;
    align-items: center;

    direction: rtl;

    background: linear-gradient(135deg, #ffffff, #eef4ff);

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.10);

    gap: 30px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #2563eb;

    white-space: nowrap;
}

.menu {
    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;

    padding: 0;
    margin: 0;

    flex: 1;
}

.menu a {
    text-decoration: none;

    color: #27364d;

    font-size: 15px;
    font-weight: 500;

    white-space: nowrap;

    transition: 0.3s;
}

.menu a:hover {
    color: #2563eb;
}

.login-btn {
    text-decoration: none;

    background: linear-gradient(135deg, #2563eb, #4f46e5);

    color: white;

    padding: 11px 25px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: bold;

    white-space: nowrap;

    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
}
/* ===== نوار مدیریت کارنامه ===== */

.grades-navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 35px;
    min-height: 72px;

    box-sizing: border-box;
}

.grades-navbar .logo {
    color: #172033;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.grades-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grades-navbar .nav-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;

    padding: 10px 14px;
    border-radius: 10px;

    transition: 0.2s ease;
}

.grades-navbar .nav-links a:hover {
    color: #2563eb;
    background: #eef4ff;
}

.grades-navbar .nav-links a.active {
    color: #2563eb;
    background: #eef4ff;
}

.grades-navbar .admin-btn {
    text-decoration: none;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    padding: 10px 18px;
    border-radius: 11px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.20);

    transition: 0.2s ease;
}

.grades-navbar .admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(37, 99, 235, 0.28);
}

@media (max-width: 900px) {

    .grades-navbar {
        padding: 12px 18px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .grades-navbar .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }
}

/* موبایل */

@media (max-width: 900px) {

    .navbar {
        width: 95%;
        height: auto;

        min-height: 70px;

        padding: 12px 18px;

        flex-wrap: wrap;

        gap: 10px;
    }

    .logo {
        font-size: 18px;
        margin-left: 10px;
    }

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 13px;
    }

    .login-btn {
        padding: 9px 17px;
        font-size: 13px;
    }
}

/* ================= HERO ================= */

.hero {
    width: 92%;
    min-height: 520px;

    margin: 35px auto;

    padding: 70px;

    border-radius: 30px;

    background: linear-gradient(135deg, #2563eb, #4f46e5);

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;

    color: white;
}


/* متن Hero */

.hero-content {
    width: 55%;
}

.hero-small-title {
    font-size: 15px;
    opacity: 0.8;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.4;

    margin: 15px 0;
}

.hero p {
    font-size: 17px;
    line-height: 2;

    max-width: 600px;

    opacity: 0.9;
}


/* دکمه‌ها */

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    padding: 13px 25px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.primary-btn {
    background: white;
    color: #2563eb;
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}


/* شکل سمت Hero */

.hero-box {
    width: 330px;
    height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(255,255,255,0.15);

    border: 1px solid rgba(255,255,255,0.3);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 100px;
    font-weight: bold;

    backdrop-filter: blur(10px);
}


/* ================= INTRO ================= */

.intro {
    width: 70%;

    margin: 90px auto 50px;

    text-align: center;
}

.intro span,
.section-title span {
    color: #2563eb;

    font-size: 14px;
    font-weight: bold;
}

.intro h2,
.section-title h2 {
    font-size: 32px;

    margin: 12px 0;
}

.intro p,
.section-title p {
    color: #64748b;

    line-height: 2;

    font-size: 15px;
}


/* ================= FEATURES ================= */

.features {
    width: 92%;

    margin: 40px auto 100px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    background: white;

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 35px rgba(37,99,235,0.12);
}

.feature-icon {
    width: 55px;
    height: 55px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eef4ff;

    color: #2563eb;

    font-weight: bold;
}

.feature-card h3 {
    margin: 18px 0 10px;
}

.feature-card p {
    color: #64748b;

    line-height: 1.8;
}


/* ================= COURSES ================= */

.courses {
    width: 92%;

    margin: auto;
}

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.course-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.course-card {
    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-7px);
}

.course-image {
    height: 180px;

    background: linear-gradient(
        135deg,
        #dbeafe,
        #e0e7ff
    );

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    font-size: 35px;

    font-weight: bold;
}

.course-content {
    padding: 25px;
}

.course-level {
    font-size: 12px;

    color: #2563eb;
}

.course-content h3 {
    margin: 10px 0;
}

.course-content p {
    color: #64748b;

    line-height: 1.8;

    font-size: 14px;
}

.course-content a {
    display: inline-block;

    margin-top: 18px;

    color: #2563eb;

    text-decoration: none;

    font-weight: bold;
}


/* ================= CTA ================= */

.cta {
    width: 92%;

    margin: 100px auto;

    padding: 70px 30px;

    text-align: center;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #eef4ff,
        #f5f3ff
    );
}

.cta h2 {
    font-size: 32px;

    margin-bottom: 15px;
}

.cta p {
    color: #64748b;

    margin-bottom: 25px;
}

.cta a {
    display: inline-block;

    padding: 13px 30px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    border-radius: 12px;

    font-weight: bold;
}


/* ================= FOOTER ================= */

footer {
    padding: 50px 20px;

    text-align: center;

    background: #111827;

    color: white;
}

.footer-logo {
    font-size: 22px;

    font-weight: bold;

    margin-bottom: 15px;
}

footer p {
    color: #9ca3af;

    margin-bottom: 20px;
}

.footer-links {
    display: flex;

    justify-content: center;

    gap: 25px;

    margin-bottom: 25px;
}

.footer-links a {
    color: #d1d5db;

    text-decoration: none;
}

footer small {
    color: #6b7280;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .hero {
        padding: 45px 30px;

        flex-direction: column;

        text-align: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features,
    .course-container {
        grid-template-columns: 1fr;
    }

    .intro {
        width: 90%;
    }

    .hero-box {
        margin-top: 30px;
    }
}
/* ================= LOGIN PAGE ================= */

.login-page {
    min-height: calc(100vh - 115px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 20px;
}

/* کارت ورود */

.login-card {
    width: 100%;
    max-width: 460px;

    padding: 40px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(37, 99, 235, 0.1);

    border-radius: 25px;

    box-shadow:
        0 20px 60px rgba(37, 99, 235, 0.10),
        0 5px 20px rgba(0, 0, 0, 0.05);
}


/* سربرگ */

.login-header {
    text-align: center;

    margin-bottom: 30px;
}

.login-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #eef4ff;

    font-size: 28px;
}

.login-header h1 {
    font-size: 25px;

    color: #172033;

    margin-bottom: 10px;
}

.login-header p {
    color: #64748b;

    font-size: 14px;
}


/* فیلدها */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 14px;

    font-weight: bold;
}

.input-group input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #dbe2ea;

    border-radius: 12px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    background: #f8fafc;

    transition: 0.3s;
}

.input-group input:focus {
    border-color: #2563eb;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08);
}


/* گزینه‌های ورود */

.login-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin: 5px 0 25px;

    font-size: 13px;
}

.remember {
    color: #64748b;

    display: flex;

    align-items: center;

    gap: 7px;
}

.login-options a {
    color: #2563eb;

    text-decoration: none;
}


/* دکمه ورود */

.submit-login {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.2);
}

.submit-login:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.3);
}


/* پایین کارت */

.login-footer {
    text-align: center;

    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid #eef2f7;
}

.login-footer p {
    display: inline;

    color: #64748b;

    font-size: 13px;
}

.login-footer a {
    color: #2563eb;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;

    margin-right: 5px;
}


/* موبایل */

@media (max-width: 600px) {

    .login-card {
        padding: 30px 22px;

        border-radius: 20px;
    }

    .login-header h1 {
        font-size: 21px;
    }

    .login-options {
        font-size: 12px;
    }
}
.login-page {
    min-height: calc(100vh - 115px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;
}

.login-card {
    width: 100%;
    max-width: 460px;

    padding: 40px;

    background: #ffffff;

    border-radius: 25px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

/* =========================
   صفحه معرفی دوره‌ها
========================= */

.courses-header {
    width: 80%;

    margin: 120px auto 70px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.courses-header span {
    margin-bottom: 15px;
}

.courses-header h1 {
    margin: 10px 0 18px;
}

.courses-header p {
    max-width: 650px;
    line-height: 2.2;
}

.courses-header span {
    color: #2563eb;

    font-size: 14px;

    font-weight: bold;
}

.courses-header h1 {
    margin: 12px 0;

    font-size: 38px;

    color: #172033;
}

.courses-header p {
    color: #64748b;

    line-height: 2;

    font-size: 15px;
}


/* =========================
   لیست دوره‌ها
========================= */

.courses-page {
    width: 85%;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}


/* کارت دوره */

.course-detail-card {
    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

.course-detail-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(37, 99, 235, 0.12);
}


/* تصویر دوره */

.course-detail-image {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #dbeafe,
        #e0e7ff
    );

    color: #2563eb;

    font-size: 45px;

    font-weight: bold;
}


/* محتوای کارت */

.course-detail-content {
    padding: 30px;
}

.course-detail-content h2 {
    margin: 10px 0;

    color: #172033;

    font-size: 23px;
}

.course-detail-content p {
    color: #64748b;

    line-height: 2;

    font-size: 14px;
}


/* اطلاعات دوره */

.course-info {
    display: flex;

    justify-content: space-between;

    margin: 25px 0;

    padding: 18px 0;

    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.course-info div {
    display: flex;

    flex-direction: column;

    gap: 7px;

    text-align: center;
}

.course-info strong {
    font-size: 12px;

    color: #94a3b8;
}

.course-info span {
    font-size: 14px;

    color: #334155;

    font-weight: bold;
}


/* دکمه دوره */

.course-btn {
    display: inline-block;

    padding: 11px 22px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;

    transition: 0.3s;
}

.course-btn:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* =========================
   بخش پایانی
========================= */

.courses-cta {
    width: 85%;

    margin: 90px auto;

    padding: 60px 30px;

    text-align: center;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #eef4ff,
        #f5f3ff
    );
}

.courses-cta h2 {
    font-size: 30px;

    margin-bottom: 15px;
}

.courses-cta p {
    color: #64748b;

    line-height: 2;

    margin-bottom: 25px;
}

.courses-cta a {
    display: inline-block;

    padding: 13px 28px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    border-radius: 12px;

    font-weight: bold;
}


/* =========================
   موبایل
========================= */

@media (max-width: 800px) {

    .courses-page {
        width: 92%;

        grid-template-columns: 1fr;
    }

    .courses-header {
        width: 90%;
    }

    .courses-header h1 {
        font-size: 29px;
    }

    .course-detail-content {
        padding: 23px;
    }

    .course-info {
        gap: 10px;
    }

    .courses-cta {
        width: 92%;
    }
}
/* =========================
   صفحه تماس با ما
========================= */

.contact-header {
    width: 92%;
    margin: 60px auto 70px;
    padding: 45px 30px;

    text-align: center;
    direction: rtl;

    background: #2563eb;

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.contact-header span {
    color: #dbeafe;
}

.contact-header h1 {
    margin: 12px 0;

    color: white;

    font-size: 36px;
}

.contact-header p {
    max-width: 650px;

    margin: auto;

    color: #e0e7ff;

    line-height: 2;
}


/* =========================
   بخش اصلی تماس
========================= */

.contact-section {
    width: 85%;

    margin: auto;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 30px;

    direction: ltr;
}


/* =========================
   اطلاعات تماس
========================= */

.contact-info {
    direction: rtl;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    padding: 40px;

    border-radius: 25px;

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.18);
}

.contact-info h2 {
    font-size: 25px;

    margin-bottom: 15px;
}

.contact-info > p {
    line-height: 2;

    font-size: 14px;

    opacity: 0.9;

    margin-bottom: 30px;
}


/* آیتم تماس */

.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,0.15);

    font-size: 20px;
}

.contact-item h3 {
    font-size: 14px;

    margin-bottom: 5px;
}

.contact-item p {
    font-size: 13px;

    opacity: 0.85;
}


/* =========================
   فرم
========================= */

.contact-form {
    direction: rtl;

    background: white;

    padding: 40px;

    border-radius: 25px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);
}

.contact-form h2 {
    color: #172033;

    font-size: 25px;

    margin-bottom: 10px;
}

.contact-form > p {
    color: #64748b;

    font-size: 14px;

    line-height: 2;

    margin-bottom: 25px;
}


/* دو فیلد کنار هم */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* فیلد */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #334155;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #dbe2ea;

    border-radius: 12px;

    background: #f8fafc;

    padding: 13px 15px;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    direction: rtl;

    transition: 0.3s;
}

.form-group input {
    height: 50px;
}

.form-group textarea {
    resize: vertical;

    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;

    background: white;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08);
}


/* دکمه */

.contact-submit {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}


/* =========================
   موبایل
========================= */

@media (max-width: 800px) {

    .contact-header {
        width: 90%;

        margin-top: 80px;
    }

    .contact-header h1 {
        font-size: 29px;
    }

    .contact-section {
        width: 92%;

        grid-template-columns: 1fr;

        direction: rtl;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 28px 22px;
    }
}
.contact-section {
    margin-bottom: 100px;
}
/* =========================
   صفحه درباره ما
========================= */

.about-header {
    width: 92%;

    margin: 60px auto 70px;

    padding: 55px 30px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    border-radius: 28px;

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.16);
}

.about-header span {
    color: #dbeafe;

    font-size: 14px;

    font-weight: bold;
}

.about-header h1 {
    margin: 14px 0;

    font-size: 38px;

    color: white;
}

.about-header p {
    max-width: 650px;

    margin: auto;

    color: #e0e7ff;

    line-height: 2.1;

    font-size: 15px;
}


/* =========================
   معرفی اصلی
========================= */

.about-main {
    width: 85%;

    margin: 0 auto 80px;

    display: grid;

    grid-template-columns: 1.4fr 0.8fr;

    gap: 35px;

    align-items: center;
}

.about-text {
    padding: 20px;
}

.about-text > span {
    color: #2563eb;

    font-size: 14px;

    font-weight: bold;
}

.about-text h2 {
    color: #172033;

    font-size: 30px;

    margin: 12px 0 20px;
}

.about-text p {
    color: #64748b;

    font-size: 15px;

    line-height: 2.2;

    margin-bottom: 15px;
}


/* باکس کنار متن */

.about-box {
    padding: 40px;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);

    text-align: center;
}

.about-number {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #eef4ff;

    color: #2563eb;

    font-size: 22px;

    font-weight: bold;
}

.about-box h3 {
    color: #172033;

    margin-bottom: 12px;
}

.about-box p {
    color: #64748b;

    line-height: 2;

    font-size: 14px;
}


/* =========================
   ویژگی‌ها
========================= */

.about-features {
    width: 85%;

    margin: 0 auto 90px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.about-feature {
    background: white;

    padding: 35px 25px;

    text-align: center;

    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

    transition: 0.3s;
}

.about-feature:hover {
    transform: translateY(-7px);
}

.about-feature-icon {
    width: 55px;
    height: 55px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eef4ff;

    color: #2563eb;

    font-size: 20px;

    font-weight: bold;
}

.about-feature h3 {
    margin: 18px 0 10px;

    color: #172033;
}

.about-feature p {
    color: #64748b;

    font-size: 14px;

    line-height: 2;
}


/* =========================
   هدف ما
========================= */

.about-goal {
    width: 85%;

    margin: 0 auto 100px;

    padding: 65px 30px;

    text-align: center;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #eef4ff,
        #f5f3ff
    );
}

.about-goal h2 {
    color: #172033;

    font-size: 30px;

    margin-bottom: 15px;
}

.about-goal p {
    max-width: 700px;

    margin: 0 auto 25px;

    color: #64748b;

    line-height: 2.2;
}

.about-goal a {
    display: inline-block;

    padding: 13px 28px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    border-radius: 12px;

    font-weight: bold;

    transition: 0.3s;
}

.about-goal a:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* =========================
   موبایل
========================= */

@media (max-width: 800px) {

    .about-header {
        width: 92%;
    }

    .about-header h1 {
        font-size: 29px;
    }

    .about-main {
        width: 92%;

        grid-template-columns: 1fr;
    }

    .about-features {
        width: 92%;

        grid-template-columns: 1fr;
    }

    .about-goal {
        width: 92%;
    }
}

/* =========================
   فراموشی رمز عبور
========================= */

.forgot-page {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    direction: rtl;

    background: #f4f7ff;
}

.forgot-card {
    width: 100%;
    max-width: 450px;

    padding: 45px 40px;

    background: white;

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);
}

.forgot-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #eef4ff;

    font-size: 28px;
}

.forgot-card h1 {
    margin-bottom: 12px;

    color: #172033;

    font-size: 28px;
}

.forgot-card > p {
    color: #64748b;

    font-size: 14px;

    line-height: 2;

    margin-bottom: 30px;
}

.forgot-input {
    text-align: right;

    margin-bottom: 18px;
}

.forgot-input label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;

    font-weight: bold;
}

.forgot-input input {
    width: 100%;

    height: 52px;

    padding: 0 15px;

    border: 1px solid #dbe2ea;

    border-radius: 12px;

    background: #f8fafc;

    font-family: inherit;

    font-size: 14px;

    direction: rtl;

    outline: none;

    box-sizing: border-box;
}

.forgot-input input:focus {
    border-color: #2563eb;

    background: white;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08);
}

.forgot-card button {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.forgot-message {
    min-height: 22px;

    margin-bottom: 15px;

    font-size: 13px;
}

.forgot-message.success {
    color: #16a34a;
}

.forgot-message.error {
    color: #dc2626;
}

.back-login {
    display: inline-block;

    margin-top: 22px;

    color: #2563eb;

    text-decoration: none;

    font-size: 13px;
}
/* =========================
   منوی پنل مدیریت
========================= */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.navbar .menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .menu a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: 0.2s;
}

.navbar .menu a:hover {
    color: #2563eb;
}

.navbar .logo {
    font-weight: bold;
    color: #2563eb;
    white-space: nowrap;
}

.navbar .login-btn {
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    padding: 11px 18px;
    border-radius: 10px;
    white-space: nowrap;
}
.nav-links a.active {
    color: #2563eb;
    font-weight: 700;
}

.nav-links a {
    transition: 0.2s;
}

.nav-links a:hover {
    color: #2563eb;
}




/* =========================
   اصلاح منوی موبایل
   فقط برای نمایشگرهای کوچک
========================= */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 800px) {

    .navbar {
        position: relative;
        width: 95%;
        min-height: 70px;
        height: auto;
        padding: 12px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .navbar .logo {
        flex: 1;
        min-width: 0;
        margin-left: 0;
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar .mobile-menu-toggle {
        display: flex;
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid #dbe2ea;
        border-radius: 12px;
        background: white;
        color: #2563eb;
        font-family: inherit;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        transition: 0.2s;
    }

    .navbar .mobile-menu-toggle:active {
        transform: scale(0.96);
    }

    .navbar .login-btn {
        flex: 0 0 auto;
        padding: 9px 15px;
        font-size: 13px;
    }

    .navbar .menu {
        display: none;
        order: 10;
        flex: 0 0 100%;
        width: 100%;
        margin: 2px 0 0;
        padding: 8px;
        gap: 4px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid #e8edf5;
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    }

    .navbar .menu.open {
        display: flex;
    }

    .navbar .menu li {
        width: 100%;
    }

    .navbar .menu a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 14px;
        text-align: right;
    }

    .navbar .menu a:hover {
        background: #eef4ff;
    }
}
