    /* --- CSS Variables --- */
        :root {
            --primary: #0d9488; /* Teal */
            --primary-dark: #0f766e;
            --secondary: #0f172a; /* Dark Blue */
            --accent: #f59e0b; /* Amber */
            --text-dark: #1e293b;
            --text-light: #64748b;
            --white: #ffffff;
            --bg-light: #f8fafc;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius: 12px;
        }

        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
        }
        
        html {
            scroll-behavior: smooth;
            overflow-x: hidden; /* Critical Fix for Scroll */
        }
        
        body { 
            font-family: 'Poppins', sans-serif; 
            background-color: var(--bg-light); 
            color: var(--text-dark); 
            line-height: 1.6; 
            width: 100%;
            overflow-x: hidden; /* Critical Fix: Prevents horizontal scroll on mobile */
            -webkit-font-smoothing: antialiased;
            position: relative;
        }
        
        a { 
            text-decoration: none; 
            color: inherit; 
            transition: var(--transition); 
        }
        
        ul { 
            list-style: none; 
        }
        
        img { 
            max-width: 100%; 
            height: auto; 
            display: block; 
        }

        /* --- Navbar --- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 5%;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }
        
        .logo { 
            font-size: 1.8rem; 
            font-weight: 800; 
            color: var(--white);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .logo span {
            color: var(--accent);
        }
        
        .nav-links { 
            display: flex; 
            gap: 2rem; 
            align-items: center; 
        }
        
        .nav-item { 
            color: rgba(255,255,255,0.9); 
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }
        
        .nav-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }
        
        .nav-item:hover::after {
            width: 100%;
        }
        
        .nav-item:hover { 
            color: var(--white); 
        }
        
        .telegram-btn {
            background: var(--accent);
            color: var(--secondary);
            padding: 0.5rem 1.2rem;
            border-radius: 6px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .telegram-btn:hover {
            background: #e69500;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        }
        
        .hamburger { 
            display: none; 
            color: white; 
            font-size: 1.5rem; 
            cursor: pointer;
            background: none;
            border: none;
        }

        /* --- Hero --- */
        .hero {
            position: relative;
            min-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 0 1.5rem;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(13, 148, 136, 0.9)), 
                        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=70'); /* Optimized Image size and Quality */
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            margin-top: 60px;
            width: 100%; /* Ensure full width */
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            animation: fadeInUp 1s ease-out;
            position: relative;
            z-index: 1;
        }
        
        .hero-content h1 { 
            font-size: clamp(2.2rem, 5vw, 3.5rem); 
            font-weight: 800; 
            line-height: 1.2; 
            margin-bottom: 1.5rem; 
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
     .hero-content span {
    color: var(--accent);
    font-weight: 700;
    text-shadow:
        1px 1px 0 #fbbf24,
        2px 2px 0 rgba(251,191,36,0.8),
        3px 3px 6px rgba(0,0,0,0.15);
}


        
        .hero-content p { 
            font-size: 1.2rem; 
            max-width: 700px; 
            margin: 0 auto 2.5rem; 
            opacity: 0.95;
            line-height: 1.8;
        }
        
        .hero-cta {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
        }
        
        .btn-outline {
            background: transparent;
            color: white;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
            transform: translateY(-3px);
        }

        /* Wave Divider */
        .wave-divider {
            position: absolute;
            bottom: -1px; /* Slight overlap to prevent gap */
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            z-index: 2;
        }
        
        .wave-divider svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 60px;
        }
        
        .wave-divider .shape-fill {
            fill: var(--bg-light);
        }

        /* --- Main Layout --- */
        .main-wrapper {
            max-width: 1300px;
            width: 100%;
            margin: 0 auto;
            padding: 2rem 1.5rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
            position: relative;
        }

        /* Announcement */
        .announcement {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 1rem 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: var(--shadow);
        }
        
        .announcement i {
            color: var(--accent);
            font-size: 1.2rem;
        }
        
        .announcement span {
            font-weight: 500;
            flex-grow: 1;
        }

        /* --- Card Styles --- */
        .class-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .class-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 2rem;
            display: flex;
            align-items: center;
            gap: 2rem;
            box-shadow: var(--shadow);
            border: 1px solid #e2e8f0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .class-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--primary);
            transition: width 0.3s ease;
        }
        
        .class-card:hover::before {
            width: 8px;
        }
        
        .class-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }
        
        .card-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.2));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 2rem;
            flex-shrink: 0;
            transition: var(--transition);
        }
        
        .class-card:hover .card-icon {
            transform: scale(1.1);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }
        
        .card-content {
            flex-grow: 1;
        }
        
        .card-content h3 {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 0.75rem;
            font-weight: 700;
        }
        
        .card-content p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        /* New Button Style */
        .card-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 1.8rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .card-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }
        
        .card-btn:hover::before {
            left: 100%;
        }
        
        .card-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
        }
        
        .card-btn i {
            transition: transform 0.3s ease;
        }
        
        .card-btn:hover i {
            transform: translateX(4px);
        }
        
        /* Special Cards */
        .class-card.highlight {
            border: 2px solid var(--accent);
        }
        
        .class-card.highlight::before {
            background: var(--accent);
        }
        
        .class-card.highlight .card-icon {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
            color: var(--accent);
        }
        
        .class-card.highlight .card-btn {
            background: linear-gradient(135deg, var(--accent), #d97706);
        }
        
        .class-card.highlight:hover .card-btn:hover {
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
        }

        /* --- Sidebar --- */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            position: sticky;
            top: 90px;
            height: fit-content;
        }
        
        .sidebar-widget {
            background: var(--white);
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        
        .widget-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 3px solid var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .quick-links {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        
        .quick-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: 8px;
            color: var(--text-dark);
            transition: var(--transition);
        }
        
        .quick-link:hover {
            background: #f1f5f9;
            color: var(--primary);
            padding-left: 1rem;
        }
        
        .quick-link i {
            color: var(--primary);
            width: 20px;
            text-align: center;
        }

        /* Ad Sections */
        .ad-section {
            margin: 2rem 0;
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
        }
        
        .ad-label {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            z-index: 2;
        }
        
        .ad-container {
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            border: 2px dashed #cbd5e1;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            color: #64748b;
            min-height: 250px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .ad-container i {
            font-size: 2rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        /* SEO Content */
        .seo-section {
            background: var(--white);
            padding: 2.5rem;
            border-radius: var(--radius);
            margin-top: 3rem;
            box-shadow: var(--shadow);
        }
        
        .seo-section h2 {
            font-size: 1.8rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
            font-weight: 700;
        }
        
        .seo-section p {
            color: var(--text-light);
            margin-bottom: 1rem;
            line-height: 1.8;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }
        
        .feature-icon {
            color: var(--primary);
            font-size: 1.2rem;
            margin-top: 0.25rem;
        }

        /* --- Reviews Section --- */
        .reviews-section {
            background: var(--white);
            /* Fix for Mobile Overflow: Removed negative margins that caused scroll */
            margin: 4rem -1.5rem 0; 
            padding: 4rem 1.5rem;
            border-top: 1px solid #e2e8f0;
            width: calc(100% + 3rem); /* Compensate for wrapper padding */
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-header h2 {
            font-size: 2.2rem;
            color: var(--secondary);
            font-weight: 800;
            margin-bottom: 0.5rem;
        }
        
        .section-header span {
            color: var(--primary);
            position: relative;
        }
        
        .section-header span::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }
        
        .section-header p {
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        .rating-summary {
            background: #f8fafc;
            padding: 2rem;
            border-radius: var(--radius);
            margin-bottom: 3rem;
            text-align: center;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .rating-number {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
            line-height: 1;
        }
        
        .rating-stars {
            color: var(--accent);
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        .rating-count {
            color: var(--text-light);
            font-size: 0.95rem;
        }
        
        /* Review Form */
        .review-form-container {
            background: #f8fafc;
            padding: 2rem;
            border-radius: var(--radius);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .review-form h3 {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .review-form p {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }
        
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: center;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .star-rating input {
            display: none;
        }
        
        .star-rating label {
            color: #ddd;
            font-size: 2rem;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .star-rating input:checked ~ label,
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: var(--accent);
        }
        
        .rating-text {
            text-align: center;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            min-height: 24px;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--secondary);
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.875rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        }
        
        .submit-review {
            width: 100%;
            padding: 1rem;
            background: var(--secondary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: var(--transition);
        }
        
        .submit-review:hover {
            background: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
        }
        
        .submit-review:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .message {
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            text-align: center;
            display: none;
        }
        
        .message.success {
            background: #dcfce7;
            color: #166534;
            border: 1px solid #86efac;
        }
        
        .message.error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }
        
        /* Reviews List */
        .reviews-list {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .review-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow);
            border: 1px solid #e2e8f0;
        }
        
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .reviewer-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .reviewer-avatar {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .reviewer-details h4 {
            font-size: 1rem;
            color: var(--secondary);
            margin-bottom: 0.25rem;
        }
        
        .reviewer-rating {
            color: var(--accent);
            font-size: 0.9rem;
        }
        
        .review-date {
            color: var(--text-light);
            font-size: 0.85rem;
        }
        
        .review-content {
            color: var(--text-dark);
            line-height: 1.7;
        }
        
        .load-more {
            text-align: center;
            margin-top: 2rem;
        }
        
        .load-more-btn {
            padding: 0.875rem 2rem;
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
        }
        
        .load-more-btn:hover {
            background: var(--primary);
            color: white;
        }
        
        .loading {
            text-align: center;
            padding: 2rem;
            color: var(--text-light);
        }
        
        .loading i {
            margin-right: 0.5rem;
        }

        /* --- Footer --- */
        footer {
            background: var(--secondary);
            color: #cbd5e1;
            padding: 3rem 1.5rem 1.5rem;
            margin-top: 4rem;
            width: 100%;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #334155;
        }
        
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
        }
        
        .footer-logo span {
            color: var(--accent);
        }
        
        .footer-col h3 {
            color: white;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: #94a3b8;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        /* --- Animations --- */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }
        
        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }

        /* --- Mobile Responsive --- */
        @media (max-width: 992px) {
            .main-wrapper {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                position: static;
                margin-top: 2rem;
            }
            
            .class-card {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .navbar {
                padding: 1rem;
            }
            
            .nav-links {
                display: none;
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--secondary);
                flex-direction: column;
                padding: 2rem;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                z-index: 999;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .hamburger {
                display: block;
            }
            
            .hero-cta {
                flex-direction: column;
                width: 100%;
            }
            
            .btn-primary,
            .btn-outline {
                width: 100%;
                justify-content: center;
            }
            
            .reviews-section {
                /* Fix for mobile margin: ensure it doesn't break parent container */
                margin: 3rem -1.5rem 0;
                padding: 3rem 1.5rem;
                width: calc(100% + 3rem);
            }
        }
        
        @media (max-width: 480px) {
            .hero {
                min-height: 75vh;
            }
            
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .hero-content p {
                font-size: 1rem;
            }
            
            .section-header h2 {
                font-size: 1.8rem;
            }
        }