/* استایل کلی */

:root {
    --primary-blue: #052569;
    --primary-teal: #0d9488;
    --primary-indigo: #6f0c96;
    --primary-amber: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --gradient-primary: linear-gradient(180deg, #4166dd 0%, #0a3481 0%);
    --gradient-luxury: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background-color: #f9fafb;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    /*overflow: visible !important;*/
    position: relative;
}


/* استایل هدر */

header {
    background: linear-gradient(135deg, rgba(14, 66, 179, 0.95) 0%, rgba(2, 32, 87, 0.95) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale3d(1.2, 1.2, 1);
}

.logo h1 {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

nav ul li {
    margin: 0 8px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}


/* استایل اسلایدر */

.hero-slider {
    /*background: var(--gradient-luxury), url('https://images.unsplash.com/photo-1626721105368-4c5e1b9ba6b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-indigo) 0%, transparent 50%, var(--primary-blue) 100%);
    opacity: 0.3;
    animation: gradientShift 10s ease infinite;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: linear-gradient(to left, var(--primary-indigo), var(--primary-blue));
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* استایل بخش‌ها */

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--primary-indigo);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-indigo), var(--primary-blue));
    border-radius: 2px;
}


/* استایل کارت‌ها */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
}

.card {
    background: linear-gradient(145deg, #ffffff, #dceeff);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    /*background: linear-gradient(to bottom, var(--primary-indigo), var(--primary-blue));*/
    transition: width 0.4s ease;
}

.card:hover {
    transform: translateY(-12px) scale3d(1.5, 1.5, 1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/*
.card:hover::before {
    width: 2%;
    opacity: 0.1;
}*/

.card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 25px;
    position: relative;
}

.card-content h3 {
    color: var(--primary-indigo);
    margin-bottom: 15px;
    font-size: 1.4rem;
}


/* استایل بخش شعار 
.slogan-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url('../Images/B1.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.slogan-section::before {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-indigo) 0%, transparent 50%, var(--primary-blue) 100%);
    opacity: 0.6;
    animation: gradientShift 10s ease infinite;
}


.slogan-section {
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 77%;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; 
    background-image: url('../Images/B1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)),
        linear-gradient(45deg, var(--primary-indigo) 0%, transparent 50%, var(--primary-blue) 100%);
    opacity: 0.8;
}



sssssssssssssssssssssssssss
*/

.content {
    position: relative;
    z-index: 2;
}

.slogan-section {
    background-image: url('../Images/B1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: visible;
    width: 100%;
    height: 120%;
}

.slogan-section::after {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-indigo) 0%, rgba(255, 255, 255, 0) 50%, var(--primary-blue) 100%);
    opacity: 0.6;
    animation: gradientShift 10s ease infinite;
    z-index: 3;
}

.slogan-section>* {
    position: relative;
    z-index: 2;
}

.slogan-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.slogan-title {
    font-size: 1rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slogan-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.slogan-main {
    font-size: 1.8rem;
}

.slogan-item {
    background: rgb(2, 32, 87);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgb(255, 255, 255);
    transition: all 0.3s ease;
    z-index: 99;
}

.slogan-item:hover {
    transform: translateY(-25px) scale(1.5);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    background-color: #690a59;
    border: 2px solid rgb(255, 73, 225);
}

.slogan-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.slogan-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.zoom-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.zoom-image:hover {
    transform: scale(1.15);
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
}

/* استایل بخش اهداف */

.goals-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.goal-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.goal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
}

.goal-1 .goal-icon {
    background: linear-gradient(135deg, var(--primary-indigo), #6366f1);
}

.goal-2 .goal-icon {
    background: linear-gradient(135deg, var(--accent-emerald), #34d399);
}

.goal-3 .goal-icon {
    background: linear-gradient(135deg, var(--primary-amber), #fbbf24);
}

.goal-4 .goal-icon {
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
}

.goal-5 .goal-icon {
    background: linear-gradient(135deg, var(--accent-rose), #fb7185);
}

.goal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-indigo);
}


/* استایل چارت سازمانی */

.org-chart {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
    padding: 80px 0;
    position: relative;
}

.org-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.chart-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
}


/* استایل بخش کارفرمایان */

.clients-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #dbecfce3, #ffffff);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.clients-grid .client-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.clients-grid .client-card:hover {
    transform: scale(1.04) translateY(-4px) !important;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    border-width: 2px !important;
    border-color: #f43f5e !important;
}

.client-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.client-logo i {
    font-size: 2.5rem;
    color: var(--primary-indigo);
}

.client-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 10px;
}


/* استایل پروژه‌ها */

.projects-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 150px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.2);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--primary-indigo);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-client {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-blue));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}


/* استایل فرم تماس */

.contact-form {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-indigo);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Vazir', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to left, var(--primary-indigo), var(--primary-blue));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Vazir', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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


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

.contact-info {
    margin-top: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: white;
    font-size: 1.5rem;
}


/* استایل نقشه */

.map-container {
    margin-top: 5px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}


/* استایل فوتر */

footer {
    background: var(--gradient-luxury);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 130px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-indigo), var(--primary-blue));
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-right: 8px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-blue));
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* انیمیشن‌ها */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 5s ease infinite;
}


/* رسپانسیو */

@media (max-width: 1100px) {
    nav ul li a {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

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

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

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

    .slogan-title {
        font-size: 2.2rem;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }

    nav ul li a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

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

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* کلاس‌های رنگ‌بندی */

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #0d9488 100%);
}

.bg-gradient-indigo {
    background: linear-gradient(135deg, var(--primary-indigo) 0%, #6366f1 100%);
}

.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.chart img {
    max-width: 500%;
    height: auto;
    /*border-radius: 8px;*/
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-origin: center;
}

.chart:hover img {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    z-index: 10;
    position: relative;
}


/* اسلایدر */


/* ویدئوها */
.main-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.video-container {
    max-width: 800px !important;
    width: 100% !important;
    height: auto !important;
    background: #dfdfdf8a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 0px;
    object-fit: fill;
}


.video-info {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    margin-top: 0px;
    max-width: 800px;
}

.video-info h2 {
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* نسبت 16:9 */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* دکمه‌ها */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    color: #333;
}

.prev {
    right: 16px;
}

/* در RTL معکوس شد */
.next {
    left: 16px;
}


/* مودال */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.open {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    background: #fff;
}

.modal button {
    position: absolute;
    top: 20px;
    left: 20px;
    /* در RTL معکوس شد */
    background: #fff;
    border: none;
    font-size: 22px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.modal button:hover {
    background: #eee;
}

/* واکنش‌گرا */
@media(max-width:700px) {
    .slide img {
        max-height: 400px;
    }

    .slide-info h3 {
        font-size: 18px;
    }

    .slide-info p {
        font-size: 13px;
    }
}