:root {
    --primary: #4566b1;
    --secondary: #e95030;
    --accent: #ffdc36;
    --text: #2d3748;
    --light: #f8fafc;
    --white: #ffffff;
    --dark: #1a202c;
}

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


body {
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
    font-family: 'Vazir', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Samim', sans-serif;
    font-weight: 700;
}


body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23e95030' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3Ccircle cx='12' cy='12' r='5' fill='%234566b1'/%3E%3C/svg%3E"), auto;
}

a, button, input[type='submit'], input[type='button'], .clickable {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%234566b1' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3Ccircle cx='12' cy='12' r='5' fill='%23e95030'/%3E%3C/svg%3E"), pointer;
}

/* هدر با شفافیت 60% */
header {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    color: var(--dark);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(69, 102, 177, 0.3);
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* منوی همبرگر */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}



/* منوی اصلی */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--secondary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav a:hover::after {
    width: 100%;
    left: 0;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-right: 3rem;
}
.fontfa{
    font-family: 'Vazir', sans-serif;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn-primary {
    background: linear-gradient(to right, var(--primary), #3a5a9a);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(69, 102, 177, 0.3);
}

.nav-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(69, 102, 177, 0.4);
}

.nav-btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav-btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* منوی موبایل */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: rgba(233, 80, 48, 0.1);
    color: var(--secondary);
    padding-right: 1.5rem;
}

.mobile-nav-buttons {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
.overlay-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}


/* بخش هیرو با ویدیو */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 102, 177, 0.85), rgba(233, 80, 48, 0.8));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--white);
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0.9;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 220, 54, 0.3);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 220, 54, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* بخش پیام مدیر */
.director-message {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    position: relative;
}

.director-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.director-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1/1;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-quote {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.director-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.director-content h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.director-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.director-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.95;
}

.director-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
}

.director-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.director-title {
    font-size: 1rem;
    opacity: 0.8;
}

/* بخش ویژگی‌ها */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/always-grey.png');
    opacity: 0.03;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    border-radius: 15px;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* بخش گالری */
.gallery {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #f5f9ff, #e8f0fe);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 80, 48, 0.1) 0%, rgba(233, 80, 48, 0) 70%);
}

.gallery::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 102, 177, 0.1) 0%, rgba(69, 102, 177, 0) 70%);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* دقیقاً ۳ ستون */
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-overlay p {
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* بخش تماس */
.contact {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-text p {
    color: #666;
    line-height: 1.7;
}

.contact-form {
    background: var(--light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69, 102, 177, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(69, 102, 177, 0.3);
}

/* فوتر */
footer {
    background: linear-gradient(135deg, var(--primary), #2a3a6b);
    color: var(--white);
    padding: 6rem 2rem 3rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-right: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-shape {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 54, 0.1) 0%, rgba(255, 220, 54, 0) 70%);
}

/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .director-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }

    nav ul {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .director-container {
        grid-template-columns: 1fr;
    }

    .director-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.7rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .director-content h2 {
        font-size: 1.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
/* در فایل CSS شما */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-50 {
    z-index: 50;
}

/* انیمیشن برای منوی کشویی */
[x-cloak] { display: none !important; }

/* تغییرات برای حالت موبایل */
@media (max-width: 992px) {
    .nav-buttons {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .mobile-nav-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        font-weight: 600;
    }
}
/* استایل اصلی منو */
.user-dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Vazir', sans-serif;
}


/* دکمه اصلی */
.dropdown-toggle {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #4566b1, #3a5a9a);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(69, 102, 177, 0.3);
    transition: all 0.3s ease;
    font-family: 'Vazir', sans-serif;
}

.dropdown-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(69, 102, 177, 0.4);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

/* منوی کشویی */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    width: 240px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

/* حالت باز بودن منو */
.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* آیتم‌های منو */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.menu-item:hover {
    background: #f5f7fa;
    padding-right: 20px;
}

.menu-icon {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    stroke: currentColor;
}

/* بخش اطلاعات کاربر */
.user-info {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.user-name {
    font-weight: 600;
    color: #222;
    font-size: 14px;
}

.user-phone {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* دکمه خروج */
.logout-btn {
    color: #e95030;
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    cursor: pointer;
}

.logout-btn:hover {
    color: #d14224;
}
/* استایل‌های اختصاصی بخش وبلاگ */
.blog-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(69, 102, 177, 0.9), rgba(233, 80, 48, 0.9)),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.blog-hero .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--white);
    width: 100%;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0.9;
}

.blog-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-container {
    margin-top: 4rem;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    max-width: 500px;
}

.search-box input {
    flex-grow: 1;
    border: none;
    padding: 0.8rem;
    font-family: 'Vazir', sans-serif;
    background: transparent;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
}

.category-filter select {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-family: 'Vazir', sans-serif;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--secondary);
}

.blog-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
    gap: 0.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 0.5rem;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-item:hover, .page-item.active {
    background: var(--primary);
    color: var(--white);
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .blog-hero {
        height: 300px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1.1rem;
    }

    .blog-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* استایل‌های اختصاصی صفحه مقاله */
.single-post-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(69, 102, 177, 0.9), rgba(233, 80, 48, 0.9)),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.single-post-hero .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--white);
    width: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb i {
    font-size: 0.8rem;
}

.single-post-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.single-post-content {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.post-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.main-post {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    line-height: 1.8;
    color: #444;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.excerpt {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    padding: 1rem;
    background: rgba(69, 102, 177, 0.05);
    border-right: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem !important;
}

.post-body h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-right: 1rem;
}

.post-body h2::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    border-radius: 3px;
}

.post-body h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.post-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    padding: 0 1rem;
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(69, 102, 177, 0.05);
    border-right: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--dark);
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.post-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-tags span {
    font-weight: 600;
    color: var(--dark);
}

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(69, 102, 177, 0.1);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

.author-box {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(69, 102, 177, 0.05);
    border-radius: 15px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #666;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(69, 102, 177, 0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* سایدبار */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 2.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(69, 102, 177, 0.1);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: #666;
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary);
    padding-right: 0.5rem;
}

.category-list a span {
    background: rgba(69, 102, 177, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content {
    flex-grow: 1;
}

.popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.popular-post-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-post-content h4 a:hover {
    color: var(--primary);
}

.popular-post-content span {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(69, 102, 177, 0.1);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--primary);
    color: var(--white);
}

/* بخش نظرات */
.comments-section {
    margin-top: 5rem;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-right: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    border-radius: 3px;
}

.comment-list {
    margin-bottom: 3rem;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

.comment-date {
    font-size: 0.85rem;
    color: #666;
}

.comment-content {
    padding-right: 66px;
}

.comment-content p {
    color: #444;
    line-height: 1.7;
}

.reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    color: var(--secondary);
    gap: 0.5rem;
}

.comment-reply {
    margin-top: 1.5rem;
    margin-right: 2rem;
    padding: 1.5rem;
    background: rgba(69, 102, 177, 0.05);
    border-radius: 10px;
}

.comment-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comment-form h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.comment-form .form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69, 102, 177, 0.2);
    outline: none;
}

.comment-form textarea.form-control {
    min-height: 150px;
}

/* مقالات مرتبط */
.related-posts {
    margin-top: 5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.related-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.related-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-content h4 a:hover {
    color: var(--primary);
}

.related-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
    gap: 0.8rem;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .post-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .single-post-hero {
        height: 300px;
    }

    .single-post-hero h1 {
        font-size: 2rem;
    }

    .post-meta {
        gap: 1rem;
    }

    .main-post {
        padding: 1.5rem;
    }

    .post-gallery {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .comment-content {
        padding-right: 0;
    }

    .comment-reply {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .single-post-hero {
        height: 250px;
    }

    .single-post-hero h1 {
        font-size: 1.7rem;
    }

    .post-meta span {
        font-size: 0.85rem;
    }

    .post-body h2 {
        font-size: 1.5rem;
    }

    .comment-form {
        padding: 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
/*about-us*/
.about-hero {
    background: linear-gradient(135deg, rgba(69, 102, 177, 0.9), rgba(233, 80, 48, 0.85)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    position: relative;
    color: var(--white);
}

.about-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--accent);
}

.breadcrumb .separator {
    opacity: 0.6;
}

.history-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.history-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.history-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.history-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.history-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.history-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-vision {
    background: linear-gradient(to bottom, #f5f9ff, #e8f0fe);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 80, 48, 0.1) 0%, rgba(233, 80, 48, 0) 70%);
}

.mission-vision::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 102, 177, 0.1) 0%, rgba(69, 102, 177, 0) 70%);
}

.mv-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mv-card h3 i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.mv-card p {
    line-height: 1.8;
    color: #666;
}

.location-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.location-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.location-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.location-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.location-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.location-text p {
    color: #666;
    line-height: 1.7;
}


/*  صفحه معلمان */
/* استایل‌های مخصوص صفحه معلمان */
:root {
    --primary: #4566b1;
    --secondary: #e95030;
    --accent: #ffdc36;
    --text: #2d3748;
    --light: #f8fafc;
    --white: #ffffff;
    --dark: #1a202c;
}

/* هیرو صفحه معلمان */

.header-center{
    justify-self: center;
}

.teachers-hero {
    background: linear-gradient(135deg, rgba(69, 102, 177, 0.9), rgba(233, 80, 48, 0.85)),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.teachers-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.teachers-hero .hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* بخش معلمان */
.teachers-section {
    padding: 6rem 2rem;
    background-color: var(--light);
    position: relative;
}

.teachers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/always-grey.png');
    opacity: 0.03;
    z-index: 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.teacher-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.teacher-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-social {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.teacher-card:hover .teacher-social {
    opacity: 1;
    transform: translateY(0);
}

.teacher-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.teacher-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.teacher-info {
    padding: 2rem;
}

.teacher-info h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.teacher-subject {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.teacher-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.teacher-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.teacher-skills span {
    background: rgba(69, 102, 177, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* بخش ویژگی‌های معلمان */
.teacher-features {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #f5f9ff, #e8f0fe);
    position: relative;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.feature:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    border-radius: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .teachers-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .teachers-hero .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .teachers-hero {
        padding: 6rem 1.5rem 4rem;
        margin-top: 70px;
    }

    .teachers-hero .hero-content h1 {
        font-size: 2.2rem;
    }

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

@media (max-width: 576px) {
    .teachers-hero .hero-content h1 {
        font-size: 2rem;
    }

    .teacher-image {
        height: 250px;
    }
}

.swiper.teachers-grid {
    padding: 2rem 1rem;
}

.swiper-slide.teacher-card {
    margin: 0 10px;
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.swiper-slide.teacher-card:hover {
    transform: translateY(-5px);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

