﻿html, body {
    font-family: 'Vazirmatn', Vazirmatn, Tahoma, Arial, sans-serif !important;
    letter-spacing: 0;
}

body {
    background: #f5faff;
}

.navbar {
    background: linear-gradient(90deg,#176ae6,#45aaf2);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
}

.hero-bg {
    background: linear-gradient(120deg,#186be8 65%,#3ec6f4 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 70px 0 30px;
}

.blob {
    position: absolute;
    left: 0;
    top: -120px;
    opacity: .2;
    width: 520px;
    height: 380px;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.25rem;
}

.hero-img {
    max-width: 400px;
    filter: drop-shadow(0 12px 36px #186be847);
}

.cta-btn {
    font-size: 1.18rem;
    padding: 12px 40px;
}

.waves {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    z-index: 2;
}

.feature-card {
    border: 0;
    background: #fff;
    box-shadow: 0 4px 24px #004b8e13;
    border-radius: 22px;
    padding: 32px 16px;
    transition: .2s;
    min-height: 220px;
}

    .feature-card:hover {
        transform: translateY(-7px) scale(1.03);
        box-shadow: 0 8px 32px #176ae622;
    }

.feature-icon {
    font-size: 2.8rem;
}

.stats-section {
    background: linear-gradient(90deg,#44aaf2 30%,#186be8 85%);
    color: #fff;
    padding: 40px 0;
}

.stat {
    text-align: center;
}

    .stat strong {
        font-size: 2rem;
    }

    .stat span {
        font-size: 1.1rem;
    }

.testimonial-card {
    background: #fff;
    box-shadow: 0 2px 16px #186be820;
    border-radius: 16px;
    padding: 22px;
    text-align: right;
    margin: 0 8px;
}

.footer {
    background: #176ae6;
    color: #fff;
    padding: 22px 0;
    margin-top: 50px;
}

    .footer a {
        color: #e3f2fd;
    }

.register-pop {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px #186be80d;
    padding: 28px;
    max-width: 420px;
    margin: 40px auto 20px;
}

.faq .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq .accordion-button {
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1.02rem;
    }

    .hero-img {
        max-width: 230px;
    }
}

/* style.css - قالب آبی و مدرن BluePanel */
body {
    background: #f4f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

/* (sidebar rules removed here) */

.content {
    margin-right: 240px;
    padding: 30px 20px 20px 20px;
    min-height: 100vh;
    background: #f4f7fa;
}

@media (max-width: 991px) {
    /* .sidebar { right: -240px; }  removed */
    /* .sidebar.active { right: 0; } removed */
    .content {
        margin-right: 0;
    }
}

.btn-primary {
    background-color: #157afe;
    border-color: #157afe;
}

.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(21, 122, 254, 0.06);
}

.table thead th {
    background: #157afe;
    color: #fff;
    text-align: right;
}

::-webkit-scrollbar-thumb {
    background: #d1e4fa;
}

::-webkit-scrollbar {
    width: 6px;
}

/* style.css - قالب آبی و مدرن BluePanel (duplicate body etc.) */
body {
    background: #f4f7fa;
    direction: rtl;
}

/* (sidebar rules removed here again) */

/* keep content rules */
.content {
    margin-right: 240px;
    padding: 30px 20px 20px 20px;
    min-height: 100vh;
    background: #f4f7fa;
}

@media (max-width: 991px) {
    /* .sidebar { right: -240px; } removed */
    /* .sidebar.active { right: 0; } removed */
    .content {
        margin-right: 0;
    }
}

.btn-primary {
    background-color: #157afe;
    border-color: #157afe;
}

.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(21, 122, 254, 0.06);
}

.table thead th {
    background: #157afe;
    color: #fff;
    text-align: right;
}

::-webkit-scrollbar-thumb {
    background: #d1e4fa;
}

::-webkit-scrollbar {
    width: 6px;
}

.btn-glass {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    color: #2d3748 !important;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(67,233,123,0.10);
    transition: 0.2s;
    font-weight: 600;
}

    .btn-glass:hover, .btn-glass:focus {
        background: rgba(255,255,255,1);
        color: #764ba2 !important;
    }

.btn-gradient {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border: none;
    color: #fff !important;
    border-radius: 40px;
    box-shadow: 0 2px 12px rgba(67,233,123,0.14);
    transition: 0.2s;
    font-weight: 600;
}

    .btn-gradient:hover, .btn-gradient:focus {
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        color: #fff !important;
    }

.navbar-brand i {
    color: #ffe552;
    filter: drop-shadow(0 2px 8px #fff4);
}

.btn-gradient-navbar {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border: none;
    color: #fff !important;
    border-radius: 32px;
    box-shadow: 0 4px 24px #43e97b22;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .5px;
    transition: all .18s;
}

    .btn-gradient-navbar:hover {
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        color: #fff !important;
    }

.btn-glass-navbar {
    background: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #4a5568 !important;
    border-radius: 32px;
    box-shadow: 0 4px 24px #667eea22;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .5px;
    transition: all .18s;
}

    .btn-glass-navbar:hover {
        background: #fff;
        color: #667eea !important;
    }

/* navbar-modern and friends */
.navbar-modern {
    background: linear-gradient(90deg, #6d8afd 0%, #9155fd 100%) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 2050 !important;
    position: relative !important;
    overflow: hidden;
}

    .navbar-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
        animation: shimmer 4s infinite;
        pointer-events: none;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.navbar-brand-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

    .navbar-brand-modern:hover {
        transform: translateY(-2px) scale(1.02);
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    }

.logo-modern {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

    .logo-modern:hover {
        transform: rotate(5deg) scale(1.1);
        border-color: rgba(255, 255, 255, 0.6);
    }

.nav-link-modern {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

    .nav-link-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .nav-link-modern:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

        .nav-link-modern:hover::before {
            left: 100%;
        }

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #2d3748 !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        color: #1a202c !important;
    }

.btn-gradient {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    border: none;
    color: white !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn-gradient::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .btn-gradient:hover {
        background: linear-gradient(135deg, #ff5252 0%, #ffc107 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        color: white !important;
    }

        .btn-gradient:hover::before {
            left: 100%;
        }

.dropdown-menu-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
}

.dropdown-item-modern {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
    color: #2d3748;
}

    .dropdown-item-modern:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateX(5px);
    }

.navbar-toggler-modern {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .navbar-toggler-modern:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    }

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 6s infinite ease-in-out;
}

    .particle:nth-child(1) {
        width: 4px;
        height: 4px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        width: 6px;
        height: 6px;
        top: 60%;
        left: 80%;
        animation-delay: 2s;
    }

    .particle:nth-child(3) {
        width: 3px;
        height: 3px;
        top: 40%;
        left: 60%;
        animation-delay: 4s;
    }

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.my-classes-section {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .my-classes-section:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.classes-dropdown {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem;
}

.class-item {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .class-item:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

.navbar, .navbar-modern, .sticky-top {
    z-index: 3000 !important;
    position: relative !important;
}

.dropdown-menu, .classes-dropdown {
    z-index: 3000 !important;
    position: fixed !important;
    min-width: 280px;
}

.hero-section, .glass-card, .hero-content {
    position: relative !important;
    z-index: 1 !important;
}



