:root {
    --primary: #2563eb;
    --secondary: #0d9488;
    --accent: #10b981;
    --light: #ffffff;
    --dark: #1e293b;
    --gray: #64748b;
    --light-blue: #e0f2fe;
    --light-green: #d1fae5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* Header */
header {
    background-color: var(--light);
    box-shadow: 0 2px 15px rgba(30, 41, 59, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    border: 2px solid var(--primary);
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary);
}



nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s;
    border-radius: 2px;
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    top: -250px;
    right: -150px;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image {
    flex: 1;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(16, 185, 129, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.secondary-button {
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.secondary-button:hover {
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Courses Section */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.courses {
    padding: 100px 0;
    background-color: var(--light);
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.course-card.animate {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

.course-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-image:hover{
    transform: scale(1.05);
    transition: 400ms;
}

.course-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.course-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.buy-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 5px solid var(--primary);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--light-blue);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--secondary);
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background-color: var(--light-green);
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.achievement-card.animate {
    animation: fadeUp 0.6s ease forwards;
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.achievement-card:hover .achievement-icon {
    transform: rotate(15deg) scale(1.1);
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.achievement-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.stat-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Teachers Section */
.teachers {
    padding: 100px 0;
    background-color: var(--light);
}

.teachers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.teacher-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.teacher-info {
    padding: 25px;
}

.teacher-info h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.teacher-info p {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    background-color: var(--light);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 47, 51, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.modal-content {
    background-color: var(--light);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

.modal h3 {
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

/* MoyKlass Widget Styles */
.moyklass-widget-container {
    width: 100%;
    min-height: 500px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        max-height: 400px;
        padding: 30px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 20px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons button,
    .hero-buttons a {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .achievements-container {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 12px 0;
    }
    
    .logo-container {
        gap: 3px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
}

 :root {
            --primary: #2563eb;
            --secondary: #0d9488;
            --accent: #10b981;
            --light: #ffffff;
            --dark: #1e293b;
            --gray: #64748b;
            --light-blue: #e0f2fe;
            --light-green: #d1fae5;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: #f8fafc;
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header */
        header {
            background-color: var(--light);
            box-shadow: 0 2px 15px rgba(30, 41, 59, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            animation: slideDown 0.8s ease;
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); }
            to { transform: translateY(0); }
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
            border: 2px solid var(--primary);
        }

        .logo-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(1.1) contrast(1.1);
        }

        .logo-text {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .logo-text span {
            color: var(--secondary);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            position: relative;
            transition: color 0.3s;
            padding: 5px 0;
        }

        nav a:hover {
            color: var(--primary);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary);
            transition: width 0.3s;
            border-radius: 2px;
        }

        nav a:hover::after {
            width: 100%;
        }

        .cta-button {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
        }

        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--primary);
            padding: 5px;
        }

        /* Hero Section */
        .hero {
            padding: 160px 0 80px;
            background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
        }

        .hero-text {
            flex: 1;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero h1 span {
            color: var(--primary);
            position: relative;
        }

        .hero h1 span::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 8px;
            background-color: rgba(16, 185, 129, 0.3);
            bottom: 5px;
            left: 0;
            z-index: -1;
            border-radius: 4px;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: var(--gray);
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

        .secondary-button {
            background-color: var(--light);
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .secondary-button:hover {
            background-color: rgba(37, 99, 235, 0.05);
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        /* Video Slider Section */
        .videos-section {
            padding: 100px 0;
            background-color: var(--light);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .section-title p {
            color: var(--gray);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .video-slider-container {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .video-slider {
            display: flex;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            height: 500px;
        }

        .video-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .video-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .video-wrapper video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .video-wrapper:hover video {
            transform: scale(1.05);
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 40px;
            color: white;
        }

        .video-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: white;
        }

        .video-description {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 20px;
            max-width: 600px;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .play-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .play-button i {
            font-size: 2rem;
            color: white;
            margin-left: 5px;
        }

        .video-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
        }

        .video-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #cbd5e1;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .video-dot.active {
            background-color: var(--primary);
            transform: scale(1.3);
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 10;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .slider-nav:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .slider-nav.prev {
            left: 20px;
        }

        .slider-nav.next {
            right: 20px;
        }

        .video-counter {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            z-index: 10;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
            background-color: var(--light);
            padding: 40px;
            border-radius: 15px;
            max-width: 800px;
            width: 90%;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--gray);
        }

        .modal h3 {
            margin-bottom: 20px;
            color: var(--primary);
            text-align: center;
        }

        /* MoyKlass Widget Styles */
        .moyklass-widget-container {
            width: 100%;
            min-height: 500px;
            margin-top: 20px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            nav ul {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--light);
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                transform: translateY(-100%);
                opacity: 0;
                transition: all 0.3s;
                z-index: 999;
                max-height: 0;
                overflow: hidden;
            }
            
            nav ul.active {
                transform: translateY(0);
                opacity: 1;
                max-height: 400px;
                padding: 30px 0;
            }
            
            nav ul li {
                margin: 10px 0;
                width: 100%;
                text-align: center;
            }
            
            nav ul li a {
                display: block;
                padding: 12px 20px;
            }
            
            .hero {
                padding: 140px 0 60px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero-content {
                flex-direction: column;
                text-align: center;
            }
            
            .logo-text {
                font-size: 1.2rem;
            }
            
            .video-slider-container {
                height: 400px;
            }
            
            .video-overlay {
                padding: 20px;
            }
            
            .video-title {
                font-size: 1.4rem;
            }
            
            .play-button {
                width: 60px;
                height: 60px;
            }
            
            .play-button i {
                font-size: 1.5rem;
            }
            
            .slider-nav {
                width: 40px;
                height: 40px;
            }
        }

        @media (max-width: 480px) {
            .video-slider-container {
                height: 300px;
            }
            
            .video-overlay {
                padding: 15px;
            }
            
            .video-title {
                font-size: 1.2rem;
            }
            
            .video-description {
                font-size: 0.9rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }

        /* Video Slider Section */
.videos-section {
    padding: 100px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.video-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
}

.video-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-wrapper:hover video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.video-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.video-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 600px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
}

.video-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.video-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.video-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

/* Responsive for Video Section */
@media (max-width: 768px) {
    .video-slider-container {
        height: 400px;
    }
    
    .video-overlay {
        padding: 20px;
    }
    
    .video-title {
        font-size: 1.4rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        height: 300px;
    }
    
    .video-overlay {
        padding: 15px;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
}

/* Video Slider Responsive Adjustments */
@media (max-width: 768px) {
    .video-slider-container {
        height: 350px;
    }
    
    .video-overlay {
        padding: 20px;
    }
    
    .video-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .video-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        height: 250px;
    }
    
    .video-overlay {
        padding: 15px;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .video-counter {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* ========== VIDEO SLIDER CSS TO'G'RILASH ========== */

/* Video Slider Container */
.video-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000; /* Qora fon */
}

/* Video Slider */
.video-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
    width: 100%;
}

/* Video Slide */
.video-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-slide.active {
    opacity: 1;
}

/* Video Wrapper */
.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000; /* Video yuklanmaganda qora fon */
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.video-slide.active .video-wrapper {
    opacity: 1;
    visibility: visible;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000; /* Video yuklanmaganda qora fon */
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Agar video yuklanmagan bo'lsa */
.video-wrapper.video-error video {
    opacity: 0;
}

.video-wrapper.video-error {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Play Button */
.play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
}

.play-button:hover {
    background: rgba(37, 99, 235, 1);
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.play-button.playing {
    background: rgba(220, 38, 38, 0.9);
}

.play-button.playing:hover {
    background: rgba(220, 38, 38, 1);
}

.play-button i {
    font-size: 28px;
    color: white;
    transition: transform 0.2s;
    margin-left: 5px;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
    z-index: 50;
    pointer-events: none;
}

.video-overlay * {
    pointer-events: none;
}

/* Video Counter */
.video-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 100;
    backdrop-filter: blur(5px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Video Dots */
.video-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.video-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Loading State */
.video-loading .play-button {
    animation: pulse 1.5s infinite;
    opacity: 0.7;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Error State */
.video-error .play-button {
    background: rgba(220, 38, 38, 0.9) !important;
    animation: pulseError 2s infinite;
}

@keyframes pulseError {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .video-slider-container {
        height: 350px;
    }
    
    .video-slider {
        height: 350px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .video-overlay {
        padding: 20px;
    }
    
    .video-title {
        font-size: 1.4rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        height: 250px;
    }
    
    .video-slider {
        height: 250px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .video-overlay {
        padding: 15px;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.8rem;
        display: -webkit-box;
    
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .video-counter {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Video controls yashirish */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}
/* ========== YONMA-YON RASM SLIDER ========== */
.image-slider-section {
    padding: 10px 0;
    background: linear-gradient(135deg, #120af6d3 0%, #019c0e9f 100%);
      backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
    position: relative;
    display: flex;
}

/* Swiper Rasm Slider Container */
.imageSwiper {
    width: 100%;
    max-width: 1200px;
    height: 550px; /* Rasm + overlay uchun */
    margin: 0 auto;
    padding: 20px 10px;
}

/* Individual Slide */
.image-slide {
    position: relative;
    width: 380px !important; /* Har bir slaydning kengligi */
    height: 450px; /* Rasm kvadrat shaklida */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(11, 1, 147, 0.738);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgb(255, 255, 255);
    opacity: 1;
    transform: scale(0.95);
    border-radius: 30px;
    display: flex ;
    justify-content: center;
}

.image-slide:hover{
    cursor: pointer;
    transform: scale(1.05);
    transform: rotate3d(1);
    box-shadow: 0 10px 30px rgba(11, 1, 147, 0.738);
}

/* Active (markazdagi) slide */
.imageSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
    z-index: 10;
}

/* Qo'shni slaydlar */
.imageSwiper .swiper-slide-next,
.imageSwiper .swiper-slide-prev {
    opacity: 0.8;
    transform: scale(0.9);
    z-index: 5;
}

/* Rasm o'zi */
.image-slide img {
    width: 100%;
    height: 350px; /* Rasm balandligi */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Active slaydda rasm effekti */
.imageSwiper .swiper-slide-active .image-slide img {
    transform: scale(1.03);
}

/* Rasm overlay (matn qismi) */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85) 20%, transparent);
    color: var(--dark);
    z-index: 20;
}

.image-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.image-overlay p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Swiper Navigation Buttons */
.image-next,
.image-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #e2e8f0;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-next:hover,
.image-prev:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.image-prev {
    left: 20px;
}

.image-next {
    right: 20px;
}

.image-next:after,
.image-prev:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
}

.image-prev:after {
    content: "\f104"; /* fa-chevron-left */
}

.image-next:after {
    content: "\f105"; /* fa-chevron-right */
}

/* Swiper Pagination */
.image-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 25px;
    z-index: 50;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 0.6;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.3);
}

/* Auto-slide indicator */
.auto-slide-info {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auto-slide-info i {
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive Design for Image Slider */
@media (max-width: 1200px) {
    .imageSwiper {
        max-width: 900px;
        height: 420px;
    }
    
    .image-slide {
        width: 340px !important;
        height: 340px;
    }
    
    .image-slide img {
        height: 220px;
    }
    
    .image-overlay {
        padding: 20px;
    }
    
    .image-overlay h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .imageSwiper {
        max-width: 700px;
        height: 400px;
    }
    
    .image-slide {
        width: 320px !important;
        height: 320px;
    }
    
    .image-slide img {
        height: 210px;
    }
    
    .image-next,
    .image-prev {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .imageSwiper {
        max-width: 500px;
        height: 380px;
    }
    
    .image-slide {
        width: 280px !important;
        height: 280px;
    }
    
    .image-slide img {
        height: 180px;
    }
    
    .image-overlay {
        padding: 15px;
    }
    
    .image-overlay h3 {
        font-size: 1.1rem;
    }
    
    .image-overlay p {
        font-size: 0.85rem;
    }
    
    .image-next,
    .image-prev {
        width: 40px;
        height: 40px;
    }
    
    .image-prev:after,
    .image-next:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .image-slider-section {
        padding: 40px 0;
    }
    
    .imageSwiper {
        max-width: 100%;
        height: 350px;
        padding: 10px;
    }
    
    .image-slide {
        width: 260px !important;
        height: 260px;
    }
    
    .image-slide img {
        height: 170px;
    }
    
    .image-overlay {
        padding: 12px;
    }
    
    .image-overlay h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .image-overlay p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .image-next,
    .image-prev {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.85);
    }
    
    .image-prev {
        left: 10px;
    }
    
    .image-next {
        right: 10px;
    }
    
    .image-prev:after,
    .image-next:after {
        font-size: 14px;
    }
}

/* Kichik ekranlar uchun */
@media (max-width: 480px) {
    .imageSwiper {
        height: 320px;
    }
    
    .image-slide {
        width: 240px !important;
        height: 240px;
    }
    
    .image-slide img {
        height: 160px;
    }
}

/* Slider progress bar */
.slider-progress {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    max-width: 300px;
    margin: 20px auto 0;
}

.slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* Rasm Slider Title uchun */
.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.section-title p {
    font-size: 1rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ========== PURE JAVASCRIPT IMAGE SLIDER ========== */
.image-slider-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #1000ef 0%, #04ea0096 100%);
    /* background-image: url("./madishopa.jpg"); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
     position: relative;
     overflow: hidden;
       backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.image-slider-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(20px);
  transform: scale(1.1); /* chetlar chiqib ketmasligi uchun */
  z-index: -1;
  
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

/* Slider Track */
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    padding: 10px 0;
}

/* Individual Slide */
.slider-slide {
    flex: 0 0 calc(100% / 3 - 20px); /* Default: 3 ta ko'rinadi */
    min-width: 0;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Image Card */
.image-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 520px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px);
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 14, 244, 0.582);
}

/* Card Image */
.card-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .card-image img {
    transform: scale(1.07);
}

/* Card Content */
.card-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
     color: #ffffff ;
    
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.9rem;
    color:#ffffff;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Meta */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color:#ffffff;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Dots Pagination */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 20px auto 0;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* Counter */
.slider-counter {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.slider-counter i {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slider-container {
        max-width: 1000px;
    }
    
    .slider-slide {
        flex: 0 0 calc(100% / 3 - 20px);
    }
}

@media (max-width: 992px) {
    .slider-container {
        max-width: 800px;
        padding: 0 50px;
    }
    
    .slider-slide {
        flex: 0 0 calc(100% / 2 - 15px); /* 2 ta ko'rinadi */
    }
    
    .image-card {
        height: 360px;
    }
    
    .card-image {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        max-width: 600px;
        padding: 0 40px;
    }
    
    .slider-slide {
        flex: 0 0 calc(100% / 2 - 10px);
    }
    
    .image-card {
        height: 340px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slider-container {
        max-width: 100%;
        padding: 0 50px;
    }
    
    .slider-slide {
        flex: 0 0 100%; /* 1 ta ko'rinadi */
    }
    
    .image-card {
        height: 320px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .card-image {
        height: 170px;
    }
    
    .card-content {
        padding: 10px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        padding: 0 45px;
    }
    
    .image-card {
        height: 300px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
    }
}

/* Modal for Image View */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: modalOpen 0.3s ease;
}

@keyframes modalOpen {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-info {
    padding: 20px;
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.modal-info p {
    color: var(--gray);
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}