/* استایل مینیمال */
:root {
    --primary: #2B5C6F;
    --secondary: #E8F1F3;
    --accent: #FFA630;
}

* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Borna', 'Vazir', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background: #f8f9fa;
    line-height: 1.6;
}

/* نوار ناوبری */
.navbar {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}


.nav-links a.active {
    color: var(--accent);
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--accent);
}


section {
    position: relative;
}

.section-hr {
    border-top: var(--accent) dashed 5px;
}

.section-title {
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    font-size: 3rem;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.shoar {
    font-size: 2.3rem;
}

/* ریسپانسیو برای موبایل (تا 767px) */
@media (max-width: 767px) {
    .shoar {
        font-size: 2.0rem;
    }
}

/* ریسپانسیو برای موبایل‌های کوچک (تا 480px) */
@media (max-width: 480px) {
    .shoar {
        font-size: 1.8rem;
    }
}


.section-title::after {
    content: '';
    position: relative;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    /* background: var(--accent); */
    border-top: var(--accent) dashed 5px;
}

.section-title.for-footer::after {
    bottom: auto;
    top: 0;
}

/* بخش اصلی */
.hero {
    /* margin-top: 80px; */
    padding: 4rem 2rem;
    text-align: center;
    background: var(--secondary);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.teacher-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin: 1rem auto;
    overflow: hidden;
    transition: 0.3s;

    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-photo:hover {
    transform: scale(1.05);
}

.teacher-photo img {
    width: 100%;
}

/* گالری تعاملی */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}