.elementor-199 .elementor-element.elementor-element-358b632{--display:flex;--min-height:93px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-199 .elementor-element.elementor-element-8a313f0{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-3bd4a6f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-199 .elementor-element.elementor-element-3bd4a6f.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-199 .elementor-element.elementor-element-b2c97e2{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-2628d43{margin:00px 00px calc(var(--kit-widget-spacing, 0px) + 00px) 00px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-e8d1334{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-b13f58d{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-acec861{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-a8728b4{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-199 .elementor-element.elementor-element-f209189{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-199 .elementor-element.elementor-element-d40d477{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}body.elementor-page-199{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}@media(max-width:767px){body.elementor-page-199{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}@media(min-width:768px){.elementor-199 .elementor-element.elementor-element-3bd4a6f{--width:109.714%;}}/* Start custom CSS *//* این کد رو در Appearance > Customize > Additional CSS قرار بدید */

/* استایل‌های صفحه اصلی - کاملاً ریسپانسیو */
.school-home-page {
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
}

/* هیرو سکشن - ریسپانسیو */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 2rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://picsum.photos/1920/1080?random=5');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    color: white;
    text-align: center;
}

/* موبایل اول */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: right;
    }
}

.hero-text {
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-text {
        max-width: 600px;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.highlight {
    color: #ffd700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-stats {
        display: flex;
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.stat {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.cta-button {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

@media (min-width: 480px) {
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

.cta-button.primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* کارت‌های شناور - مخفی در موبایل */
.hero-visual {
    display: none;
    position: relative;
    height: 300px;
}

@media (min-width: 768px) {
    .hero-visual {
        display: block;
        height: 400px;
    }
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    font-size: 0.9rem;
}

@media (min-width: 1024px) {
    .floating-card {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

.floating-card i {
    font-size: 1.3rem;
    color: #667eea;
}

@media (min-width: 1024px) {
    .floating-card i {
        font-size: 1.5rem;
    }
}

.floating-card span {
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
}

.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: 2%;
    animation-delay: 0.5s;
}

.card-3 {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.card-4 {
    top: 70%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* بخش‌های مختلف */
.features-section,
.quick-services-section,
.news-section,
.top-students-section,
.stats-section,
.cta-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .features-section,
    .quick-services-section,
    .news-section,
    .top-students-section,
    .stats-section,
    .cta-section {
        padding: 5rem 0;
    }
}

.features-section {
    background: #f8fafc;
}

.quick-services-section {
    background: white;
}

.news-section {
    background: #f8fafc;
}

.top-students-section {
    background: white;
}

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section {
    background: #1e293b;
    color: white;
}

/* هدر بخش‌ها */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
        padding: 0;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    line-height: 1.3;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.stats-section .section-title,
.cta-section .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

@media (min-width: 480px) {
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
    }
}

.stats-section .section-subtitle,
.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ویژگی‌ها */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 3rem 2rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .feature-card p {
        font-size: 1rem;
    }
}

/* خدمات سریع */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

@media (min-width: 768px) {
    .service-card h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

.service-card p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .service-card p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.service-btn {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .service-btn {
        width: 40px;
        height: 40px;
        left: 2rem;
        bottom: 2rem;
        font-size: 1rem;
    }
}

.service-card:hover .service-btn {
    background: #667eea;
    color: white;
    transform: translateX(-5px);
}

/* اخبار */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card.featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .news-card.featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .news-card {
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .news-image {
        height: 250px;
    }
}

.news-card.featured .news-image {
    height: 200px;
}

@media (min-width: 768px) {
    .news-card.featured .news-image {
        height: 100%;
    }
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: #ffd700;
    color: #2d3748;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .news-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.news-content {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .news-content {
        padding: 2rem;
    }
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
    .news-date {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

.news-content p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .news-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.news-btn {
    background: none;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .news-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

.news-btn:hover {
    background: #667eea;
    color: white;
}

/* دانش‌آموزان برتر */
.students-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .students-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .students-slider {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0;
    }
}

.student-slide {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

@media (min-width: 768px) {
    .student-slide {
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        flex-direction: row;
        text-align: right;
    }
}

.student-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.student-avatar {
    position: relative;
    flex-shrink: 0;
}

.student-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

@media (min-width: 768px) {
    .student-avatar img {
        width: 100px;
        height: 100px;
        border: 4px solid #f1f5f9;
    }
}

.student-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
}

@media (min-width: 768px) {
    .student-badge {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

.student-info {
    flex: 1;
    width: 100%;
}

@media (min-width: 768px) {
    .student-info {
        width: auto;
    }
}

.student-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

@media (min-width: 768px) {
    .student-info h4 {
        font-size: 1.3rem;
    }
}

.student-grade {
    color: #64748b;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.student-achievement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .student-achievement {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        justify-content: flex-start;
    }
}

.student-stats {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .student-stats {
        font-size: 0.8rem;
        gap: 1rem;
        justify-content: flex-start;
    }
}

.student-stats span {
    background: #f1f5f9;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .student-stats span {
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
    }
}

/* آمار و ارقام */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 2rem;
        padding: 0;
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .stat-item {
        padding: 2rem;
    }
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #ffd700;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

.stat-content {
    color: white;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 1.1rem;
    }
}

/* CTA پایانی */
.cta-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .cta-content {
        max-width: 600px;
        padding: 0;
    }
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 480px) {
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .cta-content p {
        font-size: 1.2rem;
    }
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 480px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* مودال تور - ریسپانسیو */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modal-content {
        max-width: 800px;
        border-radius: 16px;
        margin: 2% auto;
        max-height: 80vh;
    }
}

.large-modal {
    max-width: 500px;
}

@media (min-width: 768px) {
    .large-modal {
        max-width: 900px;
    }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 12px 12px 0 0;
    z-index: 1;
}

@media (min-width: 768px) {
    .modal-header {
        padding: 1.5rem 2rem;
    }
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .modal-header h3 {
        font-size: 1.3rem;
    }
}

.close-modal {
    font-size: 1.3rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
    padding: 0.5rem;
    margin: -0.5rem;
}

.close-modal:hover {
    color: #374151;
}

.modal-body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 2rem;
    }
}

.tour-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tour-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
}

.tour-view {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    order: 1;
}

@media (min-width: 768px) {
    .tour-view {
        order: 0;
    }
}

.tour-view img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .tour-view img {
        height: 400px;
    }
}

.tour-controls {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.tour-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #2d3748;
}

@media (min-width: 768px) {
    .tour-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.tour-btn:hover {
    background: white;
    transform: scale(1.1);
}

.tour-info {
    order: 0;
}

@media (min-width: 768px) {
    .tour-info {
        order: 1;
    }
}

.tour-info h4 {
    margin-bottom: 0.8rem;
    color: #2d3748;
    font-size: 1.2rem;
}

@media (min-width: 7688px) {
    .tour-info h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

.tour-info p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .tour-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.tour-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .tour-points {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

.tour-point {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .tour-point {
        padding: 1rem;
        border-radius: 8px;
        font-size: 1rem;
    }
}

.tour-point:hover {
    background: #e2e8f0;
}

.tour-point.active {
    background: #667eea;
    color: white;
}

.tour-point i {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .tour-point i {
        font-size: 1.2rem;
    }
}

/* بهبودهای کلی برای موبایل */
@media (max-width: 767px) {
    /* کاهش padding‌ها در موبایل */
    .feature-card,
    .service-card,
    .news-content,
    .student-slide {
        padding: 1.25rem;
    }
    
    /* فونت‌های کوچک‌تر در موبایل */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* فاصله‌های کمتر در موبایل */
    .hero-section {
        min-height: 90vh;
    }
    
    .features-section,
    .quick-services-section,
    .news-section,
    .top-students-section {
        padding: 2.5rem 0;
    }
    
    /* گریدهای فشرده‌تر */
    .services-grid,
    .features-grid {
        gap: 1rem;
    }
}

/* پشتیبانی از حالت landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-stats {
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        margin-bottom: 1rem;
    }
}

/* پشتیبانی از دستگاه‌های با عرض کم */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}/* End custom CSS */