/* Import Persian Font */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* Root Variables - Attractive Blue Color Palette */
:root {
    --primary-blue: #0066FF;
    --secondary-blue: #0052CC;
    --light-blue: #4D94FF;
    --sky-blue: #66B3FF;
    --dark-blue: #003380;
    --accent-blue: #00A3FF;
    --gradient-blue-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue-2: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    --gradient-blue-3: linear-gradient(135deg, #4481eb 0%, #04befe 100%);
    --gradient-dark: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --bg-light: #F0F7FF;
    --bg-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 102, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 102, 255, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 102, 255, 0.25);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    direction: rtl;
    width: 100%;
    position: relative;
    min-height: 100vh;
    padding-top: 90px;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-blue-2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Navigation */
.glass-nav {
    background: rgba(0, 102, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1030;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.glass-nav.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    transition: transform 0.3s ease;
    animation: pulse 2s ease-in-out infinite, wiggle 3s ease-in-out infinite;
}

.navbar-brand:hover {
    transform: scale(1.15) rotate(5deg);
    animation: bounceCrazy 1s ease-in-out, pulse 2s ease-in-out infinite;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.logo-img:hover {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
    transform: scale(1.2) rotate(360deg);
    animation: tada 1s ease-in-out;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.1);
    animation: tada 0.8s ease-in-out, float 4s ease-in-out infinite;
}

.nav-link:hover::before {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-blue-1);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-glow {
    display: inline-block;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 40px rgba(255, 255, 255, 0.3),
                     0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8),
                     0 0 60px rgba(255, 255, 255, 0.5),
                     0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: pulse 2s ease-in-out infinite, bounceCrazy 4s ease-in-out infinite;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: glow 1s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.1) rotate(5deg);
    animation: rubberBand 0.8s ease-in-out, glow 1s ease-in-out infinite;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite, pulse 1.5s ease-in-out infinite, glow 2s ease-in-out infinite;
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-blue-2);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite, wiggle 3s ease-in-out infinite;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-blue-2);
    margin: 0 auto;
    border-radius: 2px;
    animation: wiggle 2s ease-in-out infinite, glow 2s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    animation: bounceCrazy 3s ease-in-out infinite;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-xl);
    animation: tada 1s ease-in-out, bounceCrazy 3s ease-in-out infinite;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--dark-blue);
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    animation: pulse 1s ease-in-out, glow 3s ease-in-out infinite;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--primary-blue);
}

.course-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.course-meta i {
    color: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite, wiggle 3s ease-in-out infinite;
    display: inline-block;
}

/* Premium Course Cards */
.premium-course-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    border: 3px solid transparent;
    animation: pulse 2s ease-in-out infinite, float 8s ease-in-out infinite;
}

.premium-course-card:hover {
    transform: translateY(-15px) scale(1.08) rotate(-2deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
    animation: wobble 1s ease-in-out, pulse 2s ease-in-out infinite, float 8s ease-in-out infinite;
}

.premium-badge-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    z-index: 10;
    animation: pulse 1s ease-in-out infinite, crazySpin 4s linear infinite;
}

.premium-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-course-card:hover .premium-image img {
    transform: scale(1.1);
}

.premium-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.premium-course-card:hover .premium-overlay {
    transform: translateY(0);
}

.premium-icons {
    display: flex;
    gap: 15px;
    color: white;
    font-size: 0.9rem;
}

.premium-icons i {
    margin-left: 5px;
}

.premium-content {
    padding: 30px;
}

.premium-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.premium-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.premium-features span {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.premium-features i {
    margin-left: 5px;
}

.btn-premium {
    width: 100%;
    background: var(--gradient-blue-2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: var(--gradient-blue-3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Training Cards */
.training-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid transparent;
    animation: wiggle 4s ease-in-out infinite, float 6s ease-in-out infinite;
}

.training-card:hover {
    transform: translateY(-15px) rotateY(10deg) scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
    animation: rubberBand 1s ease-in-out, wiggle 4s ease-in-out infinite, float 6s ease-in-out infinite;
}

.training-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    position: relative;
}

.training-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: var(--gradient-blue-2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    transition: all 0.4s ease;
}

.training-card:hover .training-icon::before {
    width: 160px;
    height: 160px;
    opacity: 0.2;
}

.training-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 102, 255, 0.2));
    transition: transform 0.4s ease;
    animation: float 5s ease-in-out infinite, crazySpin 10s linear infinite;
}

.training-card:hover .training-icon img {
    transform: scale(1.3) rotate(360deg);
    animation: rubberBand 1s ease-in-out, float 5s ease-in-out infinite;
}

.training-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.training-card:hover .training-title {
    color: var(--primary-blue);
}

.training-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* About Section */
.about-content {
    padding-right: 30px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: justify;
}

.about-stats {
    margin-top: 40px;
}

.stat-box {
    background: var(--gradient-blue-2);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
    animation: wobble 0.8s ease-in-out, float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.about-image-wrapper {
    position: relative;
    height: 400px;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 6s ease-in-out infinite, crazySpin 10s linear infinite, pulse 3s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-blue-2);
    opacity: 0.3;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite, crazySpin 10s linear infinite, pulse 3s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-blue-3);
    opacity: 0.4;
    bottom: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite, crazySpin 15s linear infinite reverse, wobble 4s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: var(--gradient-blue-1);
    opacity: 0.3;
    top: 50%;
    right: 30%;
    animation: float 6s ease-in-out infinite, crazySpin 12s linear infinite, wiggle 5s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Contact Section */
.contact-box {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite, crazySpin 8s linear infinite;
    transition: all 0.3s ease;
}

.info-icon:hover {
    transform: scale(1.3) rotate(360deg);
    animation: bounceCrazy 0.8s ease-in-out, pulse 2s ease-in-out infinite;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

.ltr-number {
    direction: ltr;
    text-align: right;
}

.social-links h4 {
    color: var(--dark-blue);
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite, float 4s ease-in-out infinite;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.2) rotate(360deg);
    box-shadow: var(--shadow-md);
    animation: rubberBand 1s ease-in-out, pulse 2s ease-in-out infinite;
}

.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.instagram {
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005582 100%);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite;
}

.footer-social a:hover {
    background: white;
    color: var(--primary-blue);
    transform: scale(1.3) rotate(360deg);
    animation: bounceCrazy 0.8s ease-in-out, pulse 2s ease-in-out infinite;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue-2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite, bounceCrazy 2s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.2) rotate(360deg);
    box-shadow: var(--shadow-lg);
    animation: tada 0.8s ease-in-out, pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    /* کاهش انیمیشن‌ها در تبلت */
    .shape {
        animation: float 6s ease-in-out infinite !important;
    }
    
    .floating-shapes {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
        display: block;
        margin: 10px auto !important;
        width: 90%;
        max-width: 300px;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .training-icon {
        width: 100px;
        height: 100px;
    }
    
    .training-icon img {
        width: 60px;
        height: 60px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* بهینه‌سازی برای موبایل */
    .navbar {
        padding: 10px 0;
    }
    
    .course-card,
    .premium-course-card,
    .training-card {
        margin-bottom: 20px;
    }
    
    .stat-box {
        margin-bottom: 20px;
    }
    
    /* کاهش انیمیشن‌های سنگین در موبایل */
    .crazySpin,
    .shape,
    .floating-shapes {
        animation: none !important;
    }
}

@media (max-width: 575px) {
    body {
        overflow-x: hidden !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .nav-link {
        padding: 10px 15px !important;
        margin: 5px 0 !important;
    }
    
    .section-title {
        font-size: 1.7rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .premium-image {
        height: 250px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .course-title {
        font-size: 1.1rem;
    }
    
    .course-description {
        font-size: 0.9rem;
    }
    
    .training-card h5 {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 20px;
    }
    
    /* غیرفعال کردن انیمیشن‌های سنگین در موبایل کوچک */
    * {
        animation-duration: 0.5s !important;
    }
    
    .course-card,
    .premium-course-card,
    .training-card,
    .stat-box,
    .info-icon,
    .training-icon img,
    .social-icon,
    .back-to-top,
    .shape,
    .floating-shapes,
    .video-wrapper {
        animation: none !important;
    }
    
    /* فقط hover animations را نگه دار */
    .course-card:hover,
    .premium-course-card:hover,
    .training-card:hover {
        animation: none !important;
        transform: translateY(-5px) scale(1.02);
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-content {
        text-align: center;
    }
}

/* برای موبایل‌های خیلی کوچک */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .training-icon {
        width: 80px;
        height: 80px;
    }
    
    .training-icon img {
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Why Learn From Soheil Section */
.why-learn-section {
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    position: relative;
}

.why-learn-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-learn-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,102,255,0.2);
}

.why-learn-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
    margin-bottom: 20px;
}

.why-learn-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .why-learn-content {
        padding: 25px;
    }
    
    .why-learn-content p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

@media (max-width: 576px) {
    .why-learn-content {
        padding: 20px;
    }
    
    .why-learn-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}
