  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Light Mode - 3 Color Palette */
            --color-1: #6C5CE7;  /* Primary Purple */
            --color-2: #00D4AA;  /* Accent Teal/Green */
            --color-3: #FF6B6B;  /* Accent Coral/Red */
            
            --bg-primary: #FFFFFF;
            --bg-secondary: #F8F9FE;
            --bg-card: #FFFFFF;
            --text-primary: #2D3436;
            --text-secondary: #636E72;
            --text-muted: #B2BEC3;
            --border: #DFE6E9;
            --shadow: rgba(108, 92, 231, 0.1);
            --shadow-lg: rgba(108, 92, 231, 0.2);
            --error: #FF6B6B;
            --success: #00D4AA;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-x: hidden;
            
        }


        /* Smooth Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--color-1);
            border-radius: 5px;
        }


        /*===============
            Header
        ================*/

        /* Header */
        header {
            background: var(--bg-primary);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px var(--shadow);
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.75rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .logo-subtitle {
            font-size: 0.6rem;
            font-weight: 400;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
            -webkit-text-fill-color: var(--text-secondary);
        }

        .nav-center {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
        }

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-2);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-links a:hover {
            color: var(--color-1);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .dropdown {
            position: relative;
        }

        .dropdown-toggle {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--bg-card);
            min-width: 200px;
            box-shadow: 0 8px 30px var(--shadow-lg);
            border-radius: 12px;
            padding: 0.75rem 0;
            margin-top: 0.75rem;
            border: 1px solid var(--border);
            animation: fadeInDown 0.3s ease;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown-content a {
            padding: 0.75rem 1.5rem;
            display: block;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .dropdown-content a:hover {
            background: var(--bg-secondary);
            color: var(--color-1);
            padding-left: 2rem;
        }


        .dropdown-content a::after {
            display: none;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .icon-btn {
            width: 40px;
            height: 40px;
            border: 2px solid var(--border);
            background: transparent;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .icon-btn:hover {
            border-color: var(--color-1);
            background: var(--bg-secondary);
            transform: translateY(-2px);
        }

        .auth-btn {
            padding: 0.65rem 1.5rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .btn-login {
            color: var(--color-1);
            background: transparent;
            border: 2px solid var(--color-1);
        }

        .btn-login:hover {
            background: var(--color-1);
            color: white;
        }

        .btn-register {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px var(--shadow-lg);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 350px;
            height: 100vh;
            background: var(--bg-primary);
            box-shadow: -5px 0 30px var(--shadow-lg);
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            overflow-y: auto;
        }


        .mobile-menu.active {
            right: 0;
        }

    
        .mobile-menu-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text-primary);
            line-height: 1;
        }

        .mobile-menu-links {
            padding: 2rem 1.5rem;
        }

        .mobile-menu-links a,
        .mobile-menu-links .mobile-dropdown-toggle {
            display: block;
            padding: 1rem;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            border-radius: 10px;
            transition: all 0.3s ease;
            margin-bottom: 0.5rem;
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            font-size: 1rem;
        }


        .mobile-menu-links a:hover,
        .mobile-menu-links .mobile-dropdown-toggle:hover {
            background: var(--bg-secondary);
            color: var(--color-1);
        }

        .mobile-dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding-left: 1rem;
        }


        .mobile-dropdown-content.active {
            max-height: 500px;
        }

        .mobile-dropdown-content a {
            font-size: 0.9rem;
            padding: 0.75rem 1rem;
        }

        .mobile-auth-buttons {
            padding: 0 1.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .mobile-auth-buttons .auth-btn {
            width: 100%;
            text-align: center;
            padding: 0.85rem;
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            backdrop-filter: blur(5px);
        }

        .overlay.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
/* Active Menu Link */
.nav-links a.active {
    color: var(--color-1);
}

.nav-links a.active::after {
    width: 100%;
}


        /*=================================
                Home Page 2
        ===================================*/

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.95), rgba(0, 212, 170, 0.85)), 
                        url('https://images.pexels.com/photos/5212317/pexels-photo-5212317.jpeg?auto=compress&cs=tinysrgb&w=1600');
            background-size: cover;
            background-position: center;
            padding: 7rem 2rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.2), transparent 60%);
            animation: pulse 8s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            animation: fadeInUp 0.8s ease;
        }

        .hero p {
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            font-weight: 400;
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1.25rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .btn {
            padding: 1rem 2.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            font-size: 1rem;
            display: inline-block;
        }

        .btn-primary {
            background: white;
            color: var(--color-1);
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
        }

        .btn-outline {
            border: 2px solid white;
            color: white;
            background: transparent;
        }

        .btn-outline:hover {
            background: white;
            color: var(--color-1);
        }

        .stats-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 5rem;
            padding: 3rem 2rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            animation: fadeInUp 0.8s ease 0.6s both;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            display: block;
            line-height: 1;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.95;
            margin-top: 0.5rem;
        }

        /* How It Works Section */
        .how-it-works {
            padding: 6rem 2rem;
            background: var(--bg-secondary);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-tag {
            text-align: center;
            color: var(--color-2);
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 1rem;
            animation: fadeInDown 0.6s ease;
        }

        .section-title {
            text-align: center;
            font-size: 2.75rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 1rem;
            animation: fadeInUp 0.6s ease 0.1s both;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 4rem;
            animation: fadeInUp 0.6s ease 0.2s both;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            position: relative;
        }

        .step-card {
            background: var(--bg-card);
            padding: 3rem 2rem;
            border-radius: 20px;
            box-shadow: 0 4px 25px var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid var(--border);
            position: relative;
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .step-card:nth-child(1) { animation-delay: 0.3s; }
        .step-card:nth-child(2) { animation-delay: 0.4s; }
        .step-card:nth-child(3) { animation-delay: 0.5s; }
        .step-card:nth-child(4) { animation-delay: 0.6s; }

        .step-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px var(--shadow-lg);
            border-color: var(--color-1);
        }

        .step-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto 2rem;
            color: white;
            box-shadow: 0 8px 25px var(--shadow);
            transition: all 0.4s ease;
        }

        .step-card:hover .step-icon {
            transform: rotateY(360deg) scale(1.1);
            box-shadow: 0 12px 35px var(--shadow-lg);
        }

        .step-arrow {
            position: absolute;
            top: 50%;
            right: -1.5rem;
            transform: translateY(-50%);
            font-size: 2.5rem;
            color: var(--color-2);
            opacity: 0.4;
            transition: all 0.3s ease;
        }


        .step-card:hover .step-arrow {
            opacity: 0.8;
            animation: arrowPulse 1s infinite;
        }

        @keyframes arrowPulse {
            0%, 100% { transform: translateY(-50%) translateX(0); }
            50% { transform: translateY(-50%) translateX(5px); }
        }


        .step-card:last-child .step-arrow {
            display: none;
        }

        .step-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .step-description {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 0.95rem;
        }

        /* Programs Section */
        .programs {
            padding: 6rem 2rem;
            background: var(--bg-primary);
        }

        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .program-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 25px var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid var(--border);
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px var(--shadow-lg);
            border-color: var(--color-1);
        }

        .program-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .program-card:hover .program-image {
            transform: scale(1.1);
        }

        .program-badge {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: linear-gradient(135deg, var(--color-2), var(--color-1));
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .program-content {
            padding: 2rem;
        }

        .program-category {
            color: var(--color-1);
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .program-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .program-description {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .program-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .program-price {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .program-price span {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 500;
            -webkit-text-fill-color: var(--text-muted);
        }

        /* Tutors Section */
        .tutors {
            padding: 6rem 2rem;
            background: var(--bg-secondary);
        }

        .tutors-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .tutor-card {
            background: var(--bg-card);
            padding: 2.5rem 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 4px 25px var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid var(--border);
        }

        .tutor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px var(--shadow-lg);
            border-color: var(--color-1);
        }

        .tutor-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1.5rem;
            border: 4px solid var(--color-2);
            box-shadow: 0 8px 25px var(--shadow-lg);
            transition: all 0.4s ease;
        }

        .tutor-card:hover .tutor-avatar {
            transform: scale(1.1);
            border-color: var(--color-1);
        }

        .tutor-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .tutor-specialty {
            color: var(--color-1);
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .tutor-rating {
            color: var(--color-2);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .tutor-bio {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 0.95rem;
        }
        

        /* Testimonials Section */
        .testimonials {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.15), transparent 60%);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.4s ease;
        }

        .testimonial-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .testimonial-text {
            font-size: 1.05rem;
            line-height: 1.9;
            margin-bottom: 2rem;
            font-style: italic;
            opacity: 0.95;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255, 255, 255, 0.6);
        }

        .author-name {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .author-role {
            font-size: 0.9rem;
            opacity: 0.85;
        }

        /* CTA Section */
        .cta {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--color-3), var(--color-1));
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .cta-content {
            position: relative;
            z-index: 1;
        }

        .cta h2 {
            font-size: 2.75rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
        }

        .cta p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.95;
        }


        /* Footer */
        footer {
            background: var(--bg-card);
            padding: 4rem 2rem 2rem;
            border-top: 2px solid var(--border);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            max-width: 1400px;
            margin: 0 auto 3rem;
        }

        .footer-section h4 {
            font-size: 1.25rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
        }

        .footer-section p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-section a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            /* display: inline-block; */
        }

        .footer-section a:hover {
            color: var(--color-1);
            transform: translateX(5px);
        }


        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
        }

          /* Animated Social Media Icons */
        .footer-social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
                display: flex;
    gap: 23px;
        }

        .footer-social-icon {
            position: relative;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-primary);
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            /* display: flex; */

        }

        .footer-social-icon::before {
               content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

        .footer-social-icon:hover::before {
            opacity: 1;
        }
        /* Icons */
.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;      /* prevent stretching */
}

        .footer-social-icon svg {
                width: 22px;
    height: 22px;
    fill: var(--text-secondary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
        }

        .footer-social-icon:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: var(--shadow-lg);
        }

        .footer-social-icon:hover svg {
            fill: white;
            transform: rotate(360deg);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .step-arrow {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            .nav-center {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .nav-right .auth-btn {
                display: none;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.25rem;
            }

            .stats-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
                padding: 2rem 1.5rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .steps-grid,
            .programs-grid,
            .tutors-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .cta h2 {
                font-size: 2.25rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.5rem;
            }

            .nav-container {
                padding: 1rem 1.5rem;
            }

            .hero {
                padding: 6rem 1.5rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .stats-row {
                grid-template-columns: 1fr;
            }

            .icon-btn {
                width: 38px;
                height: 38px;
                font-size: 1rem;
            }
        }

          .social-links {
                justify-content: flex-start;
                    display: flex;
    gap: 15px;
            }

        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        /* ================= ADVANCED HERO ================= */
.hero-advanced {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 6rem 2rem;
  overflow: hidden;
  color: white;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    var(--color-1),
    var(--color-2),
    var(--color-3)
  );
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  z-index: -1;
}

/* Content */
.hero2-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero2-content h1 span {
  color: #fff;
  opacity: 0.95;
}

.hero2-content p {
  max-width: 560px;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual / floating cards */
.hero-visual {
  position: relative;
  height: 420px;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 1.5rem;
  width: 220px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  animation: float 6s ease-in-out infinite;
}

.floating-card span {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  opacity: 0.9;
}

.card-1 { top: 0; right: 40px; animation-delay: 0s; }
.card-2 { top: 140px; left: 0; animation-delay: 1.5s; }
.card-3 { bottom: 0; right: 0; animation-delay: 3s; }

/* Animations */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@media (max-width: 992px) {
  .hero-advanced {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    margin-top: 4rem;
    height: 360px;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .floating-card {
    width: 180px;
    padding: 1.2rem;
  }
}

/* ================= CTA ================= */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-2), var(--color-1));
    color: white;
}

/* ================= SCROLL ANIMATION ================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*==========================
          Home Page 1
============================*/

 /* New Hero Design */
        .home-hero {
            background: var(--bg-primary);
            padding: 4rem 2rem 0;
            position: relative;
            overflow: hidden;
        }

        .home-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 70%;
            background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 100%);
            border-radius: 0 0 50% 50% / 0 0 10% 10%;
            z-index: 0;
        }

        .home-hero-container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .home-hero-content {
            text-align: center;
            color: white;
            padding: 3rem 0;
            animation: fadeInUp 0.8s ease;
        }

        .home-hero-content h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .home-hero-content p {
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .home-hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .home-btn {
            padding: 1rem 2.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            display: inline-block;
        }

        .home-btn-white {
            background: white;
            color: var(--color-1);
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
        }

        .home-btn-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
        }

        .home-btn-outline-white {
            border: 2px solid white;
            color: white;
            background: transparent;
        }

        .home-btn-outline-white:hover {
            background: white;
            color: var(--color-1);
        }

        .home-hero-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            background: white;
            padding: 3rem 2rem;
            border-radius: 20px;
            box-shadow: 0 20px 60px var(--shadow-lg);
            margin-top: -2rem;
            animation: fadeInUp 0.8s ease 0.3s both;
        }

        .home-stat-box {
            text-align: center;
        }

        .home-stat-number {
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: block;
            margin-bottom: 0.5rem;
        }

        .home-stat-label {
            color: var(--text-secondary);
            font-size: 0.95rem;
            font-weight: 500;
        }

        /* About Section */
        .home-about {
            padding: 6rem 2rem;
            background: var(--bg-primary);
            overflow: hidden;
        }

        .home-about-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .home-about-image {
            position: relative;
            opacity: 0;
            transform: translateX(-100px);
            transition: all 0.8s ease;
        }

        .home-about-image.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .home-about-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 20px 60px var(--shadow-lg);
        }

        .home-about-content {
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s ease 0.2s;
        }

        .home-about-content.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .home-section-tag {
            color: var(--color-2);
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .home-section-title {
            font-size: 2.75rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
        }

        .home-about-text {
            font-size: 1.05rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .home-about-btn {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .home-about-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px var(--shadow-lg);
        }

        /* Courses Section */
        .home-courses {
            padding: 6rem 2rem;
            background: var(--bg-secondary);
        }

        .home-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .home-section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .home-section-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        .home-courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .home-course-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 25px var(--shadow);
            border: 2px solid var(--border);
            transition: all 0.4s ease;
        }

        .home-course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px var(--shadow-lg);
            border-color: var(--color-1);
        }

        .home-course-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .home-course-card:hover .course-image {
            transform: scale(1.1);
        }

        .home-course-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, var(--color-2), var(--color-1));
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .home-course-content {
            padding: 2rem;
        }

        .home-course-category {
            color: var(--color-1);
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
            text-transform: uppercase;
        }

        .home-course-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .home-course-description {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .home-course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .home-course-price {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .home-course-price span {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 500;
            -webkit-text-fill-color: var(--text-muted);
        }

        .home-btn-primary {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            padding: 0.75rem 1.75rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .home-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px var(--shadow-lg);
        }

        /* Features Section */
        .home-features {
            padding: 6rem 2rem;
            background: var(--bg-primary);
        }

        .home-features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .home-feature-card {
            background: var(--bg-card);
            padding: 2.5rem 2rem;
            border-radius: 20px;
            box-shadow: 0 4px 25px var(--shadow);
            border: 2px solid var(--border);
            transition: all 0.4s ease;
            text-align: center;
        }

        .home-feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px var(--shadow-lg);
            border-color: var(--color-1);
        }

        .home-feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem;
            color: white;
            box-shadow: 0 8px 25px var(--shadow);
            transition: all 0.4s ease;
        }

        .home-feature-card:hover .feature-icon {
            transform: rotateY(360deg) scale(1.1);
        }

        .home-feature-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .home-feature-description {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* Testimonials Section */
        .home-testimonials {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            position: relative;
            overflow: hidden;
        }

        .home-testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.15), transparent 60%);
        }

        .home-testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
            position: relative;
            z-index: 1;
        }

        .home-testimonial-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.4s ease;
        }

        .home-testimonial-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .home-testimonial-text {
            font-size: 1.05rem;
            line-height: 1.9;
            margin-bottom: 2rem;
            font-style: italic;
            opacity: 0.95;
        }

        .home-testimonial-author {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }

        .home-author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255, 255, 255, 0.6);
        }

        .home-author-name {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .home-author-role {
            font-size: 0.9rem;
            opacity: 0.85;
        }

        /* Contact Section */
        .home-contact {
            padding: 6rem 2rem;
            background: var(--bg-primary);
        }

        .home-contact-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-top: 3rem;
        }

        .home-contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .home-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            padding: 1.5rem;
            background: var(--bg-secondary);
            border-radius: 16px;
            border: 2px solid var(--border);
            transition: all 0.3s ease;
        }

        .home-contact-item:hover {
            border-color: var(--color-1);
            transform: translateX(10px);
        }

        .home-contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            color: white;
            flex-shrink: 0;
        }

        .home-contact-details h4 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .home-contact-details p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .home-contact-form {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px var(--shadow-lg);
            border: 2px solid var(--border);
        }

        .home-form-group {
            margin-bottom: 1.5rem;
        }

        .home-form-group label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .home-form-group input,
        .home-form-group textarea {
            width: 100%;
            padding: 0.875rem 1.25rem;
            border: 2px solid var(--border);
            border-radius: 10px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .home-form-group input:focus,
        .home-form-group textarea:focus {
            outline: none;
            border-color: var(--color-1);
            background: var(--bg-primary);
        }

        .home-form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .home-form-submit {
            width: 100%;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .home-form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--shadow-lg);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .nav-center {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .nav-right .auth-btn {
                display: none;
            }

            .home-hero-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .home-about-grid,
            .home-contact-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .home-contact-item:hover {
                transform: translateY(-5px);
            }

            .home-hero-content h1 {
                font-size: 2.75rem;
            }

            .home-section-title {
                font-size: 2.25rem;
            }
        }

        @media (max-width: 768px) {
            .home-hero {
                padding: 3rem 1.5rem 0;
            }

            .home-hero-content h1 {
                font-size: 2.25rem;
            }

            .home-hero-content p {
                font-size: 1.05rem;
            }

            .home-hero-stats {
                grid-template-columns: 1fr;
                padding: 2rem 1.5rem;
            }

            .home-stat-number {
                font-size: 2.5rem;
            }

            .home-hero-buttons {
                flex-direction: column;
            }

            .home-btn {
                width: 100%;
                text-align: center;
            }

            .home-about,
            .home-courses,
            .home-features,
            .home-testimonials,
            .home-contact {
                padding: 4rem 1.5rem;
            }

            .home-section-title {
                font-size: 2rem;
            }

            .home-courses-grid,
            .home-features-grid,
            .home-testimonials-grid {
                grid-template-columns: 1fr;
            }

            .home-about-image home-img {
                height: 350px;
            }

            .home-contact-form {
                padding: 2rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.5rem;
            }

            .home-hero-content h1 {
                font-size: 1.85rem;
            }

            .home-icon-btn {
                width: 38px;
                height: 38px;
                font-size: 1rem;
            }

            .home-section-title {
                font-size: 1.75rem;
            }

            .home-stat-number {
                font-size: 2rem;
            }
        }
        /* ================= OUR STORY SECTION ================= */

.our-story {
    padding: 80px 10%;
    background: var(--bg-secondary);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.story-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-1);
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.story-btn:hover {
    transform: translateY(-3px);
}

/* RIGHT IMAGE COLLAGE */

.story-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.story-images img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    height: 200px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: 0.3s ease;
}

.story-images img:nth-child(1) {
    grid-column: span 2;
    height: 220px;
}

.story-images img:hover {
    transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-images {
        order: -1; /* Images move above text */
    }
}

@media (max-width: 600px) {
    .our-story {
        padding: 60px 5%;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .story-images img {
        height: 160px;
    }
}
        /*==========================
                   FAQ
        ===========================*/

         /* Page Header */
        .page-header {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            padding: 5rem 2rem 3rem;
            text-align: center;
            color: white;
        }

        .page-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .page-header p {
            font-size: 1.2rem;
            opacity: 0.95;
        }

        /* FAQ Section */
        .faq-section {
            padding: 5rem 2rem;
            background: var(--bg-primary);
        }

        .faq-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--bg-card);
            border: 2px solid var(--border);
            border-radius: 16px;
            margin-bottom: 1.5rem;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--color-1);
            box-shadow: 0 4px 20px var(--shadow);
        }

        .faq-question {
            padding: 1.5rem 2rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            color: var(--color-1);
        }

        .faq-icon {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        .faq-answer-content {
            padding: 0 2rem 1.5rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }

         /* Responsive */
        @media (max-width: 1024px) {
            .nav-center {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .nav-right .auth-btn {
                display: none;
            }

            .page-header h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .page-header {
                padding: 4rem 1.5rem 2rem;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .page-header p {
                font-size: 1.05rem;
            }

            .faq-section {
                padding: 3rem 1.5rem;
            }

            .faq-question {
                padding: 1.25rem 1.5rem;
                font-size: 1rem;
            }

            .faq-answer-content {
                padding: 0 1.5rem 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.5rem;
            }

            .page-header h1 {
                font-size: 1.75rem;
            }

            .faq-question {
                font-size: 0.95rem;
            }
        }
/*-------Login-------*/


        .login-body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 100%);
            color: var(--text-primary);
            transition: all 0.3s ease;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow-x: hidden;
        }

        [dir="rtl"] * { direction: rtl; }

        /* Theme Toggle Buttons */
        .theme-controls {
            position: fixed;
            top: 2rem;
            right: 2rem;
            display: flex;
            gap: 0.75rem;
            z-index: 1000;
        }

        [dir="rtl"] .theme-controls {
            right: auto;
            left: 2rem;
        }

        .login-icon-btn {
            width: 45px;
            height: 45px;
            border: 2px solid var(--border);
            background: var(--bg-card);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .login-icon-btn:hover {
            border-color: var(--color-1);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--shadow-lg);
        }

      /* Background Decoration */
.bg-decoration {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: -1;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  background: linear-gradient(135deg, #6c63ff, #20c997);
}

/* Top Left */
.bg-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

/* Bottom Left */
.bg-circle-2 {
  width: 350px;
  height: 350px;
  bottom: -150px;
  left: -150px;
}

/* Top Right */
.bg-circle-3 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

/* Bottom Right */
.bg-circle-4 {
  width: 250px;
  height: 250px;
  bottom: -120px;
  right: -120px;
}

        /* Login Container */
        .login-container {
            max-width: 450px;
            width: 100%;
            background: var(--bg-card);
            border-radius: 24px;
            padding: 3rem 2.5rem;
            box-shadow: 0 20px 60px var(--shadow-lg);
            border: 2px solid var(--border);
            position: relative;
            z-index: 1;
            animation: fadeInUp 0.6s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logoname {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 0.5rem;
            
        }
        /* Remove underline from logo link */
.logoname a {
  text-decoration: none;
  color: inherit;
}

.logoname a:hover {
  text-decoration: none;
}

        .login-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .login-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .login-header p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* Form Styles */
        .login-form-group {
            margin-bottom: 1.5rem;
        }

        .login-form-group label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .login-form-input {
            width: 100%;
            padding: 0.875rem 1.25rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .login-form-input:focus {
            outline: none;
            border-color: var(--color-1);
            background: var(--bg-primary);
            box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
        }

        .login-form-input.error {
            border-color: var(--error);
        }

        .login-form-input.login-success {
            border-color: var(--success);
        }

        .login-error-message {
            color: var(--error);
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: none;
        }

        .login-error-message.show {
            display: block;
        }

        .login-password-toggle {
            position: relative;
        }

        .login-password-toggle-btn {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--text-muted);
            transition: color 0.3s ease;
        }

        [dir="rtl"] .login-password-toggle-btn {
            right: auto;
            left: 1rem;
        }

        .login-password-toggle-btn:hover {
            color: var(--color-1);
        }

        .login-form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }

        .login-remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
        }

        .login-remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--color-1);
        }

        .login-forgot-password {
            color: var(--color-1);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .login-forgot-password:hover {
            color: var(--color-2);
        }

        .login-btn-login {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .login-btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--shadow-lg);
        }

        .login-btn-login:active {
            transform: translateY(0);
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 2rem 0;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--border);
        }

        .divider span {
            padding: 0 1rem;
        }

        .login-social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .login-social-btn {
            padding: 0.875rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .login-social-btn:hover {
            border-color: var(--color-1);
            background: var(--bg-primary);
        }

        .login-signup-link {
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .login-signup-link a {
            color: var(--color-1);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .login-signup-link a:hover {
            color: var(--color-2);
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding: 1.5rem;
            }

            .theme-controls {
                top: 1.5rem;
                right: 1.5rem;
            }

            [dir="rtl"] .theme-controls {
                right: auto;
                left: 1.5rem;
            }

            .login-container {
                padding: 2.5rem 2rem;
            }

            .logoname {
                font-size: 1.75rem;
            }

            .login-header h2 {
                font-size: 1.5rem;
            }

            .login-social-login {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .theme-controls {
                top: 1rem;
                right: 1rem;
                gap: 0.5rem;
            }

            [dir="rtl"] .theme-controls {
                right: auto;
                left: 1rem;
            }

            .login-icon-btn {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }

            .login-container {
                padding: 2rem 1.5rem;
            }

            .login-form-options {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
        }
        /*-----------signup----------*/


        .signup-body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 100%);
            color: var(--text-primary);
            transition: all 0.3s ease;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow-x: hidden;
        }

        [dir="rtl"] * { direction: rtl; }

        .theme-controls {
            position: fixed;
            top: 2rem;
            right: 2rem;
            display: flex;
            gap: 0.75rem;
            z-index: 1000;
        }

        [dir="rtl"] .theme-controls { right: auto; left: 2rem; }

        .signup-icon-btn {
            width: 45px;
            height: 45px;
            border: 2px solid var(--border);
            background: var(--bg-card);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px var(--shadow);
        }

        .signup-icon-btn:hover {
            border-color: var(--color-1);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--shadow-lg);
        }

        .bg-decoration {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
        }

        .bg-circle-1 {
            width: 500px;
            height: 500px;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            top: -250px;
            left: -250px;
        }

        .bg-circle-2 {
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, var(--color-2), var(--color-3));
            bottom: -200px;
            right: -200px;
        }

        .signup-container {
            max-width: 500px;
            width: 100%;
            background: var(--bg-card);
            border-radius: 24px;
            padding: 3rem 2.5rem;
            box-shadow: 0 20px 60px var(--shadow-lg);
            border: 2px solid var(--border);
            position: relative;
            z-index: 1;
            animation: fadeInUp 0.6s ease;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .logoname {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .signup-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .signup-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .signup-header p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .signup-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .signup-form-group {
            margin-bottom: 1.5rem;
        }

        .signup-form-group label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .signup-form-input {
            width: 100%;
            padding: 0.875rem 1.25rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .signup-form-input:focus {
            outline: none;
            border-color: var(--color-1);
            background: var(--bg-primary);
            box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
        }

        .signup-form-input.error { border-color: var(--error); }
        .signup-form-input.success { border-color: var(--success); }

        .signup-error-message {
            color: var(--error);
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: none;
        }

        .signup-error-message.show { display: block; }

        .signup-password-toggle {
            position: relative;
        }

        .signup-password-toggle-btn {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--text-muted);
            transition: color 0.3s ease;
        }

        [dir="rtl"] .signup-password-toggle-btn { right: auto; left: 1rem; }
        .signup-password-toggle-btn:hover { color: var(--color-1); }

        .signup-terms-agreement {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .signup-terms-agreement input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--color-1);
            margin-top: 0.2rem;
        }

        .signup-terms-agreement a {
            color: var(--color-1);
            text-decoration: none;
            font-weight: 600;
        }

        .signup-btn-signup {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px var(--shadow);
        }

        .signup-btn-signup:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--shadow-lg);
        }

        .signup-divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 2rem 0;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .signup-divider::before,
        .signup-divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--border);
        }

        .signup-divider span { padding: 0 1rem; }

        .signup-social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .signup-social-btn {
            padding: 0.875rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .signup-social-btn:hover {
            border-color: var(--color-1);
            background: var(--bg-primary);
        }

        .signup-login-link {
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .signup-login-link a {
            color: var(--color-1);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .signup-login-link a:hover { color: var(--color-2); }

        @media (max-width: 768px) {
            body { padding: 1.5rem; }
            .theme-controls { top: 1.5rem; right: 1.5rem; }
            [dir="rtl"] .theme-controls { right: auto; left: 1.5rem; }
            .signup-container { padding: 2.5rem 2rem; }
            .logoname { font-size: 1.75rem; }
            .signup-header h2 { font-size: 1.5rem; }
            .signup-form-row { grid-template-columns: 1fr; }
            .signup-social-login { grid-template-columns: 1fr; }
        }

        @media (max-width: 480px) {
            .theme-controls { top: 1rem; right: 1rem; gap: 0.5rem; }
            [dir="rtl"] .theme-controls { right: auto; left: 1rem; }
            .signup-icon-btn { width: 40px; height: 40px; font-size: 1.1rem; }
            .signup-container { padding: 2rem 1.5rem; }
        }
          .logoname {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 0.5rem;
            
        }
<!--/*------Admin Dashboard-------
[dir="rtl"] * { direction: rtl; }
    
   /* Sidebar Styles 
         .sidebar { 
            position: fixed; 
            left: 0; 
            top: 0; 
            height: 100vh; 
            width: var(--sidebar-width); 
            background: #1a1a2e; 
            color: white; 
            padding: 1.5rem 0; 
            z-index: 1000; 
            transition: transform 0.3s ease; 
            overflow-y: auto;
            transform: translateX(-100%);
        }
        
        [dir="rtl"] .sidebar { 
            left: auto; 
            right: 0; 
            transform: translateX(100%);
        }
        
        .sidebar.open { 
            transform: translateX(0); 
        }
        
        .sidebar-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 0 1.5rem 1.5rem; 
            border-bottom: 1px solid rgba(255,255,255,0.1); 
        }
        
        .sidebar-close { 
            background: none; 
            border: none; 
            color: white; 
            font-size: 1.75rem; 
            cursor: pointer; 
            width: 35px; 
            height: 35px; 
            display: flex;
            align-items: center; 
            justify-content: center; 
            border-radius: 8px; 
            transition: all 0.3s ease; 
        }
        
        .sidebar-close:hover { 
            background: rgba(255,255,255,0.1); 
        }
        
        .sidebar-logo { 
            display: flex; 
            align-items: center; 
            gap: 0.75rem; 
        }
        
        .logo-icon { 
            width: 40px; 
            height: 40px; 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            border-radius: 12px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 1.5rem; 
        }
        
        .logo-text { 
            font-size: 1.25rem; 
            font-weight: 800; 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent; 
        }
        
        .sidebar-nav { 
            padding: 1.5rem 0; 
        }
        
        .nav-item { 
            display: flex; 
            align-items: center; 
            gap: 1rem; 
            padding: 0.875rem 1.5rem; 
            color: rgba(255,255,255,0.7); 
            text-decoration: none; 
            transition: all 0.3s ease; 
            cursor: pointer; 
            border-left: 3px solid transparent;
            font-size: 0.95rem;
        }
        
        [dir="rtl"] .nav-item { 
            border-left: none; 
            border-right: 3px solid transparent; 
        }
        
        .nav-item:hover, 
        .nav-item.active { 
            color: white; 
            background: rgba(255,255,255,0.1); 
            border-left-color: var(--color-2); 
        }
        
        [dir="rtl"] .nav-item:hover, 
        [dir="rtl"] .nav-item.active { 
            border-right-color: var(--color-2); 
        }
        
        .nav-icon { 
            font-size: 1.25rem; 
            width: 24px; 
            text-align: center;
        }
        
        
        /* Overlay 
        .mobile-overlay { 
            display: none; 
            position: fixed; 
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0; 
            background: rgba(0, 0, 0, 0.5); 
            z-index: 999; 
            backdrop-filter: blur(3px); 
        }
        
        .mobile-overlay.active { 
            display: block; 
        }
        
        /* Main Content 
        .main-content { 
            margin-left: 0;
            min-height: 100vh; 
            transition: margin-left 0.3s ease; 
        }
        
        [dir="rtl"] .main-content { 
            margin-left: 0; 
            margin-right: 0;
        }
        
        /* Header 
        .admin-header { 
            background: var(--bg-secondary); 
            padding: 1rem; 
            box-shadow: 0 2px 15px var(--shadow); 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            gap: 0.75rem; 
            position: sticky; 
            top: 0; 
            z-index: 100; 
        }
        
        .admin-header-left { 
            display: flex; 
            align-items: center; 
            gap: 0.75rem; 
        }
        
        .admin-menu-toggle { 
            width: 40px; 
            height: 40px; 
            border: none; 
            background: var(--bg-primary); 
            cursor: pointer; 
            font-size: 1.25rem; 
            color: var(--text-primary); 
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .admin-menu-toggle:hover {
            background: var(--color-1);
            color: white;
        }
        
        .admin-header-title { 
            font-size: 1.25rem; 
            font-weight: 700; 
            color: var(--text-primary); 
            display: none;
        }
        
        .admin-header-right { 
            display: flex; 
            align-items: center; 
            gap: 0.5rem; 
        }
        
        .admin-header-icon-btn { 
            width: 40px; 
            height: 40px; 
            border: 2px solid var(--border); 
            background: var(--bg-primary); 
            border-radius: 10px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            cursor: pointer; 
            transition: all 0.3s ease; 
            font-size: 1.1rem; 
            position: relative; 
        }
        
        .admin-header-icon-btn:hover { 
            border-color: var(--color-1); 
            transform: translateY(-2px); 
        }
        
        .admin-notification-badge { 
            position: absolute; 
            top: -4px; 
            right: -4px; 
            background: var(--color-3); 
            color: white; 
            border-radius: 50%; 
            width: 18px; 
            height: 18px; 
            font-size: 0.65rem; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: 700; 
        }
        
        .admin-user-menu { 
            position: relative; 
        }
        
        .admin-user-button { 
            display: flex; 
            align-items: center; 
            gap: 0.5rem; 
            padding: 0.25rem; 
            background: var(--bg-primary); 
            border: 2px solid var(--border); 
            border-radius: 10px; 
            cursor: pointer; 
            transition: all 0.3s ease; 
        }
        
        .admin-user-button:hover { 
            border-color: var(--color-1); 
        }
        
        .admin-user-avatar { 
            width: 36px; 
            height: 36px; 
            border-radius: 8px; 
            object-fit: cover; 
        }
        
        .admin-user-name { 
            font-weight: 600; 
            color: var(--text-primary); 
            display: none;
            padding-right: 0.5rem;
        }
        
        .admin-user-dropdown { 
            position: absolute; 
            top: calc(100% + 0.5rem); 
            right: 0; 
            background: var(--bg-secondary); 
            min-width: 200px; 
            box-shadow: 0 8px 30px var(--shadow-lg); 
            border-radius: 12px; 
            padding: 0.5rem; 
            border: 1px solid var(--border); 
            display: none; 
        }
        
        [dir="rtl"] .admin-user-dropdown { 
            right: auto; 
            left: 0; 
        }
        
        .admin-user-dropdown.active { 
            display: block; 
        }
        
        .admin-dropdown-item { 
            display: flex; 
            align-items: center; 
            gap: 0.75rem; 
            padding: 0.75rem 1rem; 
            color: var(--text-primary); 
            text-decoration: none; 
            transition: all 0.3s ease;
            border-radius: 8px;
            font-size: 0.9rem;
        }
        
        .admin-dropdown-item:hover { 
            background: var(--bg-primary); 
        }
        
        /* Dashboard Content 
        .admin-dashboard-content { 
            padding: 1rem; 
        }
        
        .admin-welcome-card { 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            color: white; 
            padding: 1.5rem; 
            border-radius: 16px; 
            margin-bottom: 1.5rem; 
            box-shadow: 0 10px 30px var(--shadow-lg); 
        }
        
        .admin-welcome-card h1 { 
            font-size: 1.5rem; 
            font-weight: 800; 
            margin-bottom: 0.5rem; 
            line-height: 1.3;
        }
        
        .admin-welcome-card p { 
            font-size: 0.95rem; 
            opacity: 0.95; 
            line-height: 1.5;
        }
        
        /* Stats Grid 
        .admin-stats-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 1rem; 
            margin-bottom: 1.5rem; 
        }
        
        .admin-stat-card { 
            background: var(--bg-secondary); 
            padding: 1.25rem; 
            border-radius: 16px; 
            border: 2px solid var(--border); 
            box-shadow: 0 4px 15px var(--shadow); 
            transition: all 0.3s ease; 
        }
        
        .admin-stat-card:hover { 
            transform: translateY(-3px); 
            border-color: var(--color-1); 
            box-shadow: 0 8px 25px var(--shadow-lg); 
        }
        
        .admin-stat-icon { 
            width: 45px; 
            height: 45px; 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            border-radius: 12px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 1.3rem; 
            margin-bottom: 1rem; 
        }
        
        .admin-stat-value { 
            font-size: 1.75rem; 
            font-weight: 800; 
            color: var(--text-primary); 
            margin-bottom: 0.25rem; 
            line-height: 1;
        }
        
        .admin-stat-label { 
            color: var(--text-secondary); 
            font-size: 0.85rem; 
            font-weight: 500;
        }
        
        .admin-stat-change { 
            font-size: 0.8rem; 
            color: var(--color-2); 
            font-weight: 600; 
            margin-top: 0.5rem; 
        }
        
        /* Content Grid 
        .admin-content-grid { 
            display: grid; 
            grid-template-columns: 1fr; 
            gap: 1.5rem; 
            margin-bottom: 1.5rem; 
        }
        
        .admin-content-grid-bottom {
            display: grid; 
            grid-template-columns: 1fr; 
            gap: 1.5rem; 
            margin-bottom: 1.5rem;
        }
        
        /* Card 
        .admin-card { 
            background: var(--bg-secondary); 
            padding: 1.25rem; 
            border-radius: 16px; 
            border: 2px solid var(--border); 
            box-shadow: 0 4px 15px var(--shadow); 
        }
        
        .admin-card-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-bottom: 1.25rem; 
            gap: 1rem; 
        }
        
        .admin-card-title { 
            font-size: 1.15rem; 
            font-weight: 700; 
            color: var(--text-primary); 
        }
        
        .admin-card-link { 
            color: var(--color-1); 
            text-decoration: none; 
            font-weight: 600; 
            font-size: 0.85rem; 
            white-space: nowrap; 
        }
        
        .admin-card-link:hover { 
            text-decoration: underline; 
        }
        
        /* Table 
        .admin-table-container { 
            overflow-x: auto; 
            margin: 0 -1.25rem; 
            padding: 0 1.25rem; 
        }
        
        .admin-table { 
            width: 100%; 
            border-collapse: collapse; 
            min-width: 500px; 
        }
        
        .admin-table thead { 
            border-bottom: 2px solid var(--border); 
        }
        
        .admin-table th { 
            padding: 0.75rem 0.5rem; 
            text-align: left; 
            font-weight: 600; 
            color: var(--text-secondary); 
            font-size: 0.85rem; 
        }
        
        [dir="rtl"] .admin-table th { 
            text-align: right; 
        }
        
        .admin-table td { 
            padding: 0.875rem 0.5rem; 
            border-bottom: 1px solid var(--border); 
            font-size: 0.9rem; 
        }
        
        .admin-table tr:hover { 
            background: var(--bg-primary); 
        }
        
        .admin-student-info { 
            display: flex; 
            align-items: center; 
            gap: 0.75rem; 
        }
        
        .admin-student-avatar { 
            width: 32px; 
            height: 32px; 
            border-radius: 8px; 
            object-fit: cover; 
        }
        
        .admin-status-badge { 
            padding: 0.375rem 0.75rem; 
            border-radius: 20px; 
            font-size: 0.75rem; 
            font-weight: 600; 
            white-space: nowrap; 
        }
        
        .admin-status-active { 
            background: rgba(0, 212, 170, 0.15); 
            color: var(--color-2); 
        }
        
        .admin-status-pending { 
            background: rgba(255, 193, 7, 0.15); 
            color: #FFC107; 
        }
        
        /* Tutor Item 
        .admin-tutor-item { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 0.875rem; 
            background: var(--bg-primary); 
            border-radius: 12px; 
            margin-bottom: 0.75rem; 
            border: 2px solid var(--border); 
            transition: all 0.3s ease; 
            gap: 0.5rem;
        }
        
        .admin-tutor-item:hover { 
            border-color: var(--color-1); 
        }
        
        .admin-tutor-info { 
            display: flex; 
            align-items: center; 
            gap: 0.625rem; 
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }
        
        .admin-tutor-avatar { 
            width: 36px; 
            height: 36px; 
            border-radius: 8px; 
            object-fit: cover; 
            flex-shrink: 0;
        }
        
        .admin-tutor-details {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }
        
        .admin-tutor-details h4 { 
            font-size: 0.875rem; 
            font-weight: 700; 
            color: var(--text-primary); 
            margin-bottom: 0.2rem; 
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .admin-tutor-details p { 
            color: var(--text-secondary); 
            font-size: 0.75rem; 
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .admin-tutor-rating {
            color: var(--color-2); 
            font-weight: 700; 
            font-size: 0.85rem;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        /* Schedule Item 
        .admin-schedule-item { 
            display: flex; 
            align-items: flex-start; 
            gap: 0.75rem; 
            padding: 0.875rem; 
            background: var(--bg-primary); 
            border-radius: 12px; 
            margin-bottom: 0.75rem; 
            border: 2px solid var(--border); 
            transition: all 0.3s ease; 
        }
        
        .admin-schedule-item:hover { 
            border-color: var(--color-1); 
        }
        
        .admin-schedule-time { 
            font-size: 0.95rem; 
            font-weight: 700; 
            color: var(--color-1); 
            min-width: 50px; 
            text-align: center; 
            flex-shrink: 0;
        }
        
        .admin-schedule-time .admin-am-pm { 
            font-size: 0.65rem; 
            font-weight: 600; 
            color: var(--text-secondary); 
            display: block; 
            margin-top: 2px;
        }
        
        .admin-schedule-details {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }
        
        .admin-schedule-details h4 { 
            font-size: 0.875rem; 
            font-weight: 700; 
            color: var(--text-primary); 
            margin-bottom: 0.2rem; 
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .admin-schedule-details p { 
            color: var(--text-secondary); 
            font-size: 0.75rem; 
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        /* Attendance Week 
        .admin-attendance-week { 
            display: grid; 
            grid-template-columns: repeat(7, 1fr); 
            gap: 0.5rem; 
            margin-top: 1rem; 
        }
        
        .admin-attendance-day { 
            aspect-ratio: 1; 
            border-radius: 8px; 
            border: 2px solid var(--border); 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: 700; 
            font-size: 0.85rem; 
            color: var(--text-muted); 
        }
        
        .admin-attendance-day.admin-present { 
            background: rgba(0, 212, 170, 0.15); 
            border-color: var(--color-2); 
            color: var(--color-2); 
        }
        
        .admin-attendance-day.admin-absent { 
            background: rgba(255, 107, 107, 0.15); 
            border-color: var(--color-3); 
            color: var(--color-3); 
        }
        
        .admin-attendance-stats {
            margin-top: 1.25rem; 
            padding-top: 1.25rem; 
            border-top: 1px solid var(--border);
        }
        
        .admin-attendance-stat-row {
            display: flex; 
            justify-content: space-between; 
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .admin-attendance-stat-row:last-child {
            margin-bottom: 0;
        }
        
        .admin-attendance-stat-label {
            color: var(--text-secondary);
        }
        
        .admin-attendance-stat-value {
            font-weight: 700;
        }
        
        /* Performance Item *
        .admin-performance-item { 
            margin-bottom: 1rem; 
        }
        
        .admin-performance-item:last-child {
            margin-bottom: 0;
        }
        
        .admin-performance-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-bottom: 0.5rem; 
            gap: 0.5rem; 
        }
        
        .admin-performance-name { 
            font-weight: 600; 
            color: var(--text-primary); 
            font-size: 0.9rem; 
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .admin-performance-score { 
            font-weight: 700; 
            color: var(--color-1); 
            font-size: 0.95rem; 
        }
        
        .admin-performance-bar { 
            height: 8px; 
            background: var(--bg-primary); 
            border-radius: 10px; 
            overflow: hidden; 
        }
        
        .admin-performance-fill { 
            height: 100%; 
            background: linear-gradient(90deg, var(--color-1), var(--color-2)); 
            border-radius: 10px; 
            transition: width 0.5s ease; 
        }
        
        /* Responsive Breakpoints 
        
        /* Small Mobile (300px - 479px) 
        @media (max-width: 479px) {
            .admin-stats-grid {
                grid-template-columns: 1fr;
            }
            
            .admin-stat-card {
                padding: 1rem;
            }
            
            .admin-stat-value {
                font-size: 1.5rem;
            }
            
            .admin-header-icon-btn {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }
            
            .admin-menu-toggle {
                width: 36px;
                height: 36px;
            }
            
            .admin-user-avatar {
                width: 32px;
                height: 32px;
            }
        }
        
        /* Mobile (480px - 767px) 
        @media (min-width: 480px) {
            .admin-dashboard-content {
                padding: 1.25rem;
            }
            
            .admin-welcome-card {
                padding: 1.75rem;
            }
            
            .admin-welcome-card h1 {
                font-size: 1.75rem;
            }
            
            .admin-card {
                padding: 1.5rem;
            }
            
            .admin-tutor-avatar {
                width: 38px;
                height: 38px;
            }
            
            .admin-tutor-details h4 {
                font-size: 0.9rem;
            }
            
            .admin-tutor-details p {
                font-size: 0.775rem;
            }
            
            .admin-schedule-details h4 {
                font-size: 0.9rem;
            }
            
            .admin-schedule-details p {
                font-size: 0.775rem;
            }
        }
        
        /* Small Tablet (600px - 767px) 
        @media (min-width: 600px) {
            .admin-content-grid {
                grid-template-columns: 1fr 1fr;
                gap: 1.25rem;
            }
            
            .admin-content-grid-bottom {
                grid-template-columns: 1fr 1fr;
                gap: 1.25rem;
            }
        }
        
        /* Tablet (768px - 1023px) 
        @media (min-width: 768px) {
            .admin-header {
                padding: 1.25rem 1.5rem;
            }
            
            .admin-dashboard-content {
                padding: 1.5rem;
            }
            
            .admin-welcome-card {
                padding: 2rem;
            }
            
            .admin-welcome-card h1 {
                font-size: 2rem;
            }
            
            .admin-stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
            
            .admin-content-grid {
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
            
            .admin-content-grid-bottom {
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
            
            .admin-stat-card {
                padding: 1.5rem;
            }
            
            .admin-stat-value {
                font-size: 2rem;
            }
            
            .admin-card {
                padding: 1.75rem;
            }
            
            .admin-card-title {
                font-size: 1.25rem;
            }
            
            .admin-tutor-item {
                padding: 1rem;
            }
            
            .admin-tutor-avatar {
                width: 40px;
                height: 40px;
            }
            
            .admin-tutor-details h4 {
                font-size: 0.95rem;
            }
            
            .admin-tutor-details p {
                font-size: 0.8rem;
            }
            
            .admin-tutor-rating {
                font-size: 0.9rem;
            }
            
            .admin-schedule-item {
                padding: 1rem;
                gap: 1rem;
            }
            
            .admin-schedule-time {
                font-size: 1rem;
                min-width: 55px;
            }
            
            .admin-schedule-time .admin-am-pm {
                font-size: 0.7rem;
            }
            
            .admin-schedule-details h4 {
                font-size: 0.95rem;
            }
            
            .admin-schedule-details p {
                font-size: 0.8rem;
            }
        }
        
        /* Desktop (1024px+) 
        @media (min-width: 1024px) {
            .sidebar {
                transform: translateX(0);
            }
            
            [dir="rtl"] .sidebar {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: var(--sidebar-width);
            }
            
            [dir="rtl"] .main-content {
                margin-left: 0;
                margin-right: var(--sidebar-width);
            }
            
            .admin-menu-toggle {
                display: none;
            }
            
            .admin-header-title {
                display: block;
                font-size: 1.75rem;
            }
            
            .admin-header {
                padding: 1.25rem 2rem;
            }
            
            .admin-header-right {
                gap: 0.75rem;
            }
            
            .admin-header-icon-btn {
                width: 42px;
                height: 42px;
            }
            
            .admin-user-name {
                display: block;
            }
            
            .admin-user-avatar {
                width: 40px;
                height: 40px;
            }
            
            .admin-dashboard-content {
                padding: 2rem;
            }
            
            .admin-welcome-card {
                padding: 2.5rem;
            }
            
            .admin-welcome-card h1 {
                font-size: 2.25rem;
            }
            
            .admin-welcome-card p {
                font-size: 1.1rem;
            }
            
            .admin-stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.5rem;
            }
            
            .admin-content-grid {
                grid-template-columns: 2fr 1fr;
                gap: 2rem;
            }
            
            .admin-content-grid-bottom {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
            
            .admin-card {
                padding: 2rem;
            }
            
            .admin-card-title {
                font-size: 1.5rem;
            }
        }
        
        /* Large Desktop (1440px+) 
        @media (min-width: 1440px) {
            .admin-stats-grid {
                gap: 2rem;
            }
            
            .admin-stat-card {
                padding: 2rem;
            }
            
            .admin-stat-icon {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }
        }
        /* ================= FIX DASHBOARD OVERFLOW ================= */

/* Prevent horizontal scroll 
html, body {
    overflow-x: hidden;
}

/* Make all grids single column in small screens 
@media (max-width: 992px) {
    .admin-content-grid,
    .content-grid-bottom,
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ensure cards don’t overflow 
@media (max-width: 768px) {
    .admin-dashboard-content {
        padding: 0.75rem !important;
    }

    .admin-dashboard-content > div,
    .admin-content-grid > div,
    .admin-content-grid-bottom > div {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Fix table inside Recent Students 
@media (max-width: 768px) {
    admin-table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Fix tutor card flex overflow 
@media (max-width: 768px) {
    .admin-top-tutors-card,
    .admin-recent-students-card {
        width: 100% !important;
        overflow: hidden;
    }

    .admin-top-tutors-card img,
    .admin-recent-students-card img {
        max-width: 100%;
        height: auto;
    }
}

/* Extra small devices (300px) 
@media (max-width: 400px) {
    .admin-dashboard-content {
        padding: 0.5rem !important;
    }

    .admin-recent-students-card,
    .admin-top-tutors-card {
        padding: 0.75rem !important;
    }
}
/* ================= FIX 1024px TABLET VIEW ================= 

@media (max-width: 1200px) and (min-width: 769px) {

    /* Adjust main content spacing 
    .admin-dashboard-content {
        padding: 1rem 1.5rem !important;
    }

    /* Make stats 2 per row instead of 4 
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Stack bottom cards properly 
    .admin-content-grid,
    .admin-content-grid-bottom {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }

    /* Prevent card squeezing 
    .admin-card {
        width: 100%;
        min-width: 0;
    }
    /* Fix recent students table 
    .admin-card admin-table {
        width: 100%;
    }

    /* Better spacing inside cards 
    .admin-card {
        padding: 1.5rem !important;
    }
}
/* ================= FIX LAPTOP / 1024px VIEW ================= 

@media (max-width: 1400px) and (min-width: 992px) {

    /* Make layout use full width 
    body {
        padding: 0 !important;
    }

    .main-content {
        width: calc(100% - 250px);
        margin-left: 250px;
    }

    /* Make dashboard content fluid *
    .admin-dashboard-content {
        max-width: 100%;
        padding: 2rem 2.5rem !important;
    }

    /* Stats grid better spacing *
    .admin-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    /* Keep 2-column layout for mid sections *
    .admin-content-grid,
    .admin-content-grid-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Prevent squeeze *
    .admin-card {
        min-width: 0;
        width: 100%;
    }
}
-->




/*---Assignments---*/

  :root {
            /* Light Mode - 3 Color Palette */
            --color-1: #6C5CE7;  /* Primary Purple */
            --color-2: #00D4AA;  /* Accent Teal/Green */
            --color-3: #FF6B6B;  /* Accent Coral/Red */
            
            --bg-primary: #FFFFFF;
            --bg-secondary: #F8F9FE;
            --bg-card: #FFFFFF;
            --text-primary: #2D3436;
            --text-secondary: #636E72;
            --text-muted: #B2BEC3;
            --border: #DFE6E9;
            --shadow: rgba(108, 92, 231, 0.1);
            --shadow-sm: 0 1px 2px 0 rgba(108, 92, 231, 0.05);
            --shadow-lg: rgba(108, 92, 231, 0.2);
            --shadow-xl: 0 20px 25px -5px rgba(108, 92, 231, 0.25);
            --error: #FF6B6B;
            --success: #00D4AA;
            
            /* Keep for compatibility */
            --bg-tertiary: #F8F9FE;
            --text-tertiary: #B2BEC3;
            
            /* Add warning and danger for assignments */
            --warning: #FFA502;
            --danger: #FF6B6B;
        }

          .assignbody {
            font-family: 'Inter', sans-serif;
            background: var(--bg-secondary);
            color: var(--text-primary);
            line-height: 1.6;
            transition: background 0.3s ease, color 0.3s ease;
            overflow-x: hidden;
        }

        [dir="rtl"] {
            direction: rtl;
        }

          /* Main Content */
        .assign-main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        /* Stats Cards */
        .assign-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .assign-stat-card {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid var(--border);
            text-align: center;
            transition: all 0.3s ease;
            animation: fadeInUp 0.6s ease backwards;
        }

        .assign-stat-card:nth-child(1) { animation-delay: 0.1s; }
        .assign-stat-card:nth-child(2) { animation-delay: 0.2s; }
        .assign-stat-card:nth-child(3) { animation-delay: 0.3s; }
        .assign-stat-card:nth-child(4) { animation-delay: 0.4s; }

        .assign-stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .assign-stat-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .assign-stat-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .assign-stat-label {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Filter Section */
        .assign-filter-section {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 1.5rem 2rem;
            border: 1px solid var(--border);
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            animation: fadeInUp 0.6s ease 0.5s backwards;
        }

        .assign-filter-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .assign-filter-btn {
            padding: 0.7rem 1.5rem;
            border: 1px solid var(--border);
            background: var(--bg-secondary);
            border-radius: 10px;
            color: var(--text-secondary);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .assign-filter-btn.active {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
            border-color: transparent;
        }

        .assign-filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* Assignments Grid */
        .assignments-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            animation: fadeInUp 0.6s ease 0.6s backwards;
        }

        .assignment-card {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .assignment-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .assignment-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
            border-color: var(--color-1);
        }

        .assignment-card:hover::before {
            opacity: 1;
        }

        .assignment-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1.5rem;
        }

        .assignment-subject {
            display: inline-block;
            padding: 0.4rem 0.8rem;
            background: rgba(99, 102, 241, 0.1);
            color: var(--color-1);
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .assign-status-badge {
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .assign-status-badge.pending {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning);
        }

        .assign-status-badge.submitted {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .assign-status-badge.overdue {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }

        .assignment-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.8rem;
        }

        .assignment-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .assignment-meta {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .meta-icon {
            width: 20px;
            text-align: center;
        }

        .assignment-footer {
            display: flex;
            gap: 1rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .assign-btn {
            flex: 1;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }

        .assign-btn-primary {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
        }

        .assign-btn-outline {
            background: transparent;
            border: 2px solid var(--border);
            color: var(--text-secondary);
        }

        .assign-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
           

            .assignments-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
           
            .assign-main-content {
                padding: 2rem 1rem;
            }

            .assign-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .assign-filter-section {
                flex-direction: column;
                align-items: stretch;
            }

            .assign-filter-group {
                justify-content: center;
            }

            .assignments-grid {
                grid-template-columns: 1fr;
            }

            .assignment-footer {
                flex-direction: column;
            }

        }

        @media (max-width: 480px) {
            .assign-stats-grid {
                grid-template-columns: 1fr;
            }

            .assign-stat-card {
                padding: 1.5rem;
            }

            .assignment-card {
                padding: 1.5rem;
            }

            .assign-filter-btn {
                flex: 1;
            }
        }
        
        
        /*---Schedules---*/


          /* Main Content */
        .sche-main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        /* Schedule Controls */
        .schedule-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
            animation: fadeInUp 0.6s ease 0.3s backwards;
        }

        .view-toggles {
            display: flex;
            gap: 0.5rem;
            background: var(--bg-primary);
            padding: 0.5rem;
            border-radius: 12px;
            border: 1px solid var(--border);
        }

        .view-btn {
            padding: 0.7rem 1.5rem;
            border: none;
            background: transparent;
            color: var(--text-secondary);
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-btn.active {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
        }

        .filter-controls {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-select {
            padding: 0.7rem 1.2rem;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--bg-primary);
            color: var(--text-primary);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--color-1);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        /* Calendar View */
        .calendar-view {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid var(--border);
            animation: fadeInUp 0.6s ease 0.4s backwards;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .calendar-nav {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .nav-btn {
            width: 40px;
            height: 40px;
            border: 1px solid var(--border);
            background: var(--bg-secondary);
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: var(--color-1);
            color: white;
            border-color: var(--color-1);
        }

        .current-month {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0.5rem;
        }

        .calendar-day-header {
            text-align: center;
            font-weight: 600;
            color: var(--text-secondary);
            padding: 1rem 0;
            font-size: 0.9rem;
        }

        .calendar-day {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 80px;
        }

        .calendar-day:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: var(--color-1);
        }

        .calendar-day.has-event {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            border-color: var(--color-1);
        }

        .calendar-day.today {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
        }

        .day-number {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .day-events {
            font-size: 0.75rem;
            color: var(--text-tertiary);
        }

        .calendar-day.today .day-events {
            color: rgba(255, 255, 255, 0.9);
        }

        .event-indicator {
            position: absolute;
            bottom: 0.5rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 3px;
        }

        /*.event-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-1);
        }*/

        /* List View */
        .list-view {
            display: none;
            animation: fadeInUp 0.6s ease 0.4s backwards;
        }

        .list-view.active {
            display: block;
        }

        .schedule-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .schedule-card {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid var(--border);
            display: grid;
            grid-template-columns: 120px 1fr auto;
            gap: 2rem;
            align-items: center;
            transition: all 0.3s ease;
        }

        .schedule-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: var(--color-1);
        }

        .schedule-time {
            text-align: center;
        }

        .time-day {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .time-month {
            font-size: 0.9rem;
            color: var(--text-tertiary);
            text-transform: uppercase;
            font-weight: 600;
        }

        .schedule-info {
            flex: 1;
        }

        .schedule-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .schedule-details {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .schedule-actions {
            display: flex;
            gap: 0.75rem;
        }

        .action-btn {
            padding: 0.7rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .sche-btn-primary {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            color: white;
        }

        .sche-btn-outline {
            background: transparent;
            border: 2px solid var(--border);
            color: var(--text-secondary);
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

          /* Responsive Design */
        @media (max-width: 1024px) {
            
          

            .schedule-card {
                grid-template-columns: 80px 1fr;
            }

            .schedule-actions {
                grid-column: 1 / -1;
                justify-content: flex-start;
            }
        }

        @media (max-width: 768px) {
           
            .main-content {
                padding: 2rem 1rem;
            }

            .schedule-controls {
                flex-direction: column;
                align-items: stretch;
            }

            .view-toggles,
            .filter-controls {
                width: 100%;
                justify-content: center;
            }

            .calendar-view {
                padding: 1rem;
            }

            .calendar-header {
                flex-direction: column;
                gap: 1rem;
            }

            .current-month {
                font-size: 1.2rem;
            }

            .calendar-grid {
                gap: 0.15rem;
            }

            .calendar-day {
                padding: 0.4rem 0.2rem;
                font-size: 0.75rem;
                min-height: 50px;
            }

            .calendar-day-header {
                font-size: 0.7rem;
                padding: 0.3rem 0;
            }

            .day-number {
                font-size: 0.85rem;
                margin-bottom: 0.2rem;
            }

            .day-events {
                font-size: 0.65rem;
                line-height: 1.2;
            }

            .event-indicator {
                bottom: 0.2rem;
                gap: 2px;
            }

       

            .schedule-card {
                grid-template-columns: 1fr;
                padding: 1.5rem;
                gap: 1rem;
            }

            .schedule-time {
                display: flex;
                align-items: center;
                gap: 1rem;
            }

            .time-day {
                font-size: 1.5rem;
            }

            .schedule-details {
                gap: 1rem;
            }

            .schedule-actions {
                flex-direction: column;
            }

            .action-btn {
                width: 100%;
            }

        }

        @media (max-width: 480px) {
            .calendar-view {
                padding: 0.75rem;
            }

            .calendar-day {
                padding: 0.25rem 0.15rem;
                font-size: 0.7rem;
                min-height: 45px;
                aspect-ratio: auto;
            }

            .day-number {
                font-size: 0.75rem;
                font-weight: 600;
            }

            .day-events {
                display: none;
            }

            .event-indicator {
                bottom: 0.15rem;
                gap: 1px;
            }

        

            .filter-select {
                width: 100%;
            }

            .current-month {
                font-size: 1rem;
            }

            .nav-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
        }

        @media (max-width: 380px) {
            .calendar-day {
                padding: 0.2rem 0.1rem;
                font-size: 0.65rem;
                min-height: 40px;
            }

            .day-number {
                font-size: 0.7rem;
            }

           

            .calendar-grid {
                gap: 0.1rem;
            }
        }
        /* Extra Small Devices (300px - 400px) */
@media (max-width: 400px) {


    .calendar-container {
        padding: 1rem;
    }

    .calendar-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .calendar-header h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-grid div {
        padding: 8px 0;
        font-size: 0.75rem;
    }

    .calendar-day {
        height: 38px;
        font-size: 0.75rem;
    }

}
/* FIX MOBILE OVERFLOW 300px–400px */
@media (max-width: 400px) {

    html, body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }



    /* Main calendar wrapper */
    .calendar-container,
    .calendar-card,
    .calendar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        padding: 1rem !important;
    }

    /* Header month section */
    .calendar-header {
        flex-direction: column !important;
        align-items: center;
        gap: 0.5rem;
    }

    .calendar-header h2 {
        font-size: 1.1rem !important;
        text-align: center;
    }

    /* Grid Fix */
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 5px !important;
    }

    .calendar-grid div,
    .calendar-day {
        padding: 6px 0 !important;
        font-size: 0.7rem !important;
        height: 34px !important;
    }

}


 /*============================
                Subpage Hero
        ==============================*/

        /* Page Header */
        .subpage-header {
            background: linear-gradient(135deg, var(--color-1), var(--color-2));
            padding: 5rem 2rem 3rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
            min-height: 80;
        }

        .subpage-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.2), transparent 60%);
        }

        .subpage-header-content {
            position: relative;
            z-index: 1;
        }

        .subpage-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            animation: fadeInUp 0.6s ease;
        }

        .subpage-header p {
            font-size: 1.2rem;
            opacity: 0.95;
            animation: fadeInUp 0.6s ease 0.2s both;
        }


        /* Responsive */
        @media (max-width: 1024px) {
            .nav-center { display: none; }
            .hamburger { display: flex; }
            .nav-right .auth-btn { display: none; }
            .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
            .subpage-header h1 { font-size: 2.5rem; }
            .about-section-title { font-size: 2.25rem; }
        }

        @media (max-width: 768px) {
            .subpage-header { padding: 4rem 1.5rem 2rem; }
            .subpage-header h1 { font-size: 2rem; }
            .subpage-header p { font-size: 1.05rem; }
        }

        @media (max-width: 480px) {
            .logo { font-size: 1.5rem; }
          
        }


/*=============================
         About Page
============================*/

        
        /* Hero with Background Image */
        .about-hero-section { position: relative; min-height: 40px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .about-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
        .about-hero-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(0, 212, 170, 0.85)); z-index: 1; }
        .about-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
        .about-hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 5rem 2rem; max-width: 900px; animation: fadeInUp 0.8s ease; }
        .about-hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
        .about-hero-content p { font-size: 1.3rem; opacity: 0.95; margin-bottom: 2rem; line-height: 1.6; }
        .about-hero-btn { background: white; color: var(--color-1); padding: 1rem 2.5rem; border-radius: 12px; text-decoration: none; font-weight: 700; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(255,255,255,0.3); }
        .about-hero-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,255,255,0.5); }
        
        /* Mission Section - Redesigned */
        .mission { padding: 3rem 2rem; background: var(--bg-primary); position: relative; overflow: hidden; }
        .mission::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, rgba(108, 92, 231, 0.03), rgba(0, 212, 170, 0.03)); border-radius: 0 0 0 50%; }
        [dir="rtl"] .mission::before { right: auto; left: 0; border-radius: 0 0 50% 0; }
        .container { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
        .mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
        .mission-content { opacity: 0; transform: translateX(-100px); transition: all 0.8s ease; }
        .mission-content.visible { opacity: 1; transform: translateX(0); }
        [dir="rtl"] .mission-content { transform: translateX(100px); }
        [dir="rtl"] .mission-content.visible { transform: translateX(0); }
        .about-section-tag { color: var(--color-2); font-weight: 700; font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; display: inline-block; }
        .about-section-title { font-size: 2.75rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.2; }
        .mission-text { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
        .mission-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
        .mission-feature { display: flex; align-items: flex-start; gap: 1rem; }
        .feature-icon-small { width: 45px; height: 45px; background: linear-gradient(135deg, var(--color-1), var(--color-2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
        .feature-text h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
        .feature-text p { color: var(--text-secondary); font-size: 0.9rem; }
        .mission-image { opacity: 0; transform: translateX(100px); transition: all 0.8s ease 0.2s; }
        .mission-image.visible { opacity: 1; transform: translateX(0); }
        [dir="rtl"] .mission-image { transform: translateX(-100px); }
        [dir="rtl"] .mission-image.visible { transform: translateX(0); }
        .mission-image img { width: 100%; height: 550px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px var(--shadow-lg); }
        
        /* Vision Section - Bottom to Top Animation */
        .vision { padding: 3rem 2rem; background: var(--bg-secondary); }
        .vision-content { text-align: center; max-width: 900px; margin: 0 auto; opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
        .vision-content.visible { opacity: 1; transform: translateY(0); }
        .vision-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--color-1), var(--color-2)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 2rem; }
        .vision-text { font-size: 1.2rem; color: var(--text-secondary); line-height: 2; margin-bottom: 2rem; }
        
        /* Why Choose Us */
        .why-choose { padding: 6rem 2rem; background: var(--bg-primary); }
        .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
        .why-card { background: var(--bg-card); padding: 3rem 2.5rem; border-radius: 20px; box-shadow: 0 4px 25px var(--shadow); border: 2px solid var(--border); transition: all 0.4s ease; opacity: 0; transform: translateY(30px); }
        .why-card.visible { opacity: 1; transform: translateY(0); }
        .why-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px var(--shadow-lg); border-color: var(--color-1); }
        .why-number { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, var(--color-1), var(--color-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
        .why-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
        .why-description { color: var(--text-secondary); line-height: 1.8; }
        
        /* How We're Different */
        .different { padding: 6rem 2rem; background: linear-gradient(135deg, var(--color-1), var(--color-2)); color: white; position: relative; overflow: hidden; }
        .different::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.2), transparent 60%); }
        .different-content { position: relative; z-index: 1; }
        .different-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
        .different-card { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px); padding: 2.5rem 2rem; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.4s ease; opacity: 0; transform: translateY(30px); }
        .different-card.visible { opacity: 1; transform: translateY(0); }
        .different-card:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-10px); }
        .different-icon { width: 60px; height: 60px; background: white; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.5rem; }
        .different-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
        .different-description { opacity: 0.95; line-height: 1.8; }
        
        /* Values, Team, Stats - Keep existing */
        .values { padding: 6rem 2rem; background: var(--bg-secondary); }
        .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
        .value-card { background: var(--bg-card); padding: 3rem 2rem; border-radius: 20px; box-shadow: 0 4px 25px var(--shadow); border: 2px solid var(--border); transition: all 0.4s ease; text-align: center; }
        .value-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px var(--shadow-lg); border-color: var(--color-1); }
        .value-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--color-1), var(--color-2)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1.5rem; color: white; box-shadow: 0 8px 25px var(--shadow); transition: all 0.4s ease; }
        .value-card:hover .value-icon { transform: rotateY(360deg) scale(1.1); }
        .value-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
        .value-description { color: var(--text-secondary); line-height: 1.8; }
        
        .team { padding: 3rem 2rem; background: var(--bg-primary); }
        .about-section-header { text-align: center; margin-bottom: 4rem; }
        .about-section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
        .team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
        .team-member { background: var(--bg-card); padding: 2.5rem 2rem; border-radius: 20px; box-shadow: 0 4px 25px var(--shadow); border: 2px solid var(--border); transition: all 0.4s ease; text-align: center; }
        .team-member:hover { transform: translateY(-10px); box-shadow: 0 20px 50px var(--shadow-lg); border-color: var(--color-1); }
        .member-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--color-2); box-shadow: 0 8px 25px var(--shadow-lg); transition: all 0.4s ease; }
        .team-member:hover .member-avatar { transform: scale(1.1); border-color: var(--color-1); }
        .member-name { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
        .member-role { color: var(--color-1); font-weight: 600; margin-bottom: 1rem; }
        .member-bio { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
        
        .stats { padding: 6rem 2rem; background: linear-gradient(135deg, var(--color-1), var(--color-2)); color: white; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1400px; margin: 0 auto; }
        .stat-box { text-align: center; padding: 2rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s ease; }
        .stat-box:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px); }
        .stat-number { font-size: 3.5rem; font-weight: 800; display: block; margin-bottom: 0.5rem; }
        .stat-label { font-size: 1.1rem; opacity: 0.9; }
        
                
        @media (max-width: 1024px) {
            .nav-center { display: none; }
            .hamburger { display: flex; }
            .nav-right .auth-btn { display: none; }
            .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
            .mission-features { grid-template-columns: 1fr; }
            .about-hero-content h1 { font-size: 2.75rem; }
            .about-section-title { font-size: 2.25rem; }
        }
        @media (max-width: 768px) {
            .about-hero-section { min-height: 400px; }
            .about-hero-content { padding: 4rem 1.5rem; }
            .about-hero-content h1 { font-size: 2rem; }
            .about-hero-content p { font-size: 1.1rem; }
            .mission, .vision, .why-choose, .different, .values, .team, .stats { padding: 4rem 1.5rem; }
            .mission-image img { height: 350px; }
            .about-section-title { font-size: 2rem; }
            .why-grid, .different-grid, .values-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .logo { font-size: 1.5rem; }
            .about-hero-content h1 { font-size: 1.75rem; }
            .about-section-title { font-size: 1.75rem; }
            .nav-container { padding: 1rem 1rem; gap: 0.5rem; }
            .stat-number { font-size: 2.5rem; }
        }
        @media (max-width: 300px) {
            .logo { font-size: 1.2rem; }
            .logo-subtitle { font-size: 0.5rem; }
            .icon-btn { width: 35px; height: 35px; font-size: 1rem; }
            .nav-container { padding: 0.75rem 0.5rem; }
        }

/*=============================
         Contact Page
============================*/

       .contact-section { 
            padding: 2rem 2rem; 
            background: var(--bg-primary); 
        }
        .contact-container { 
            max-width: 1400px; 
            margin: 0 auto; 
        }
        
        .contact-grid { 
            display: grid; 
            grid-template-columns: 1fr 1.5fr; 
            gap: 4rem; 
            margin-top: 3rem; 
        }
        
        .contact-info { 
            display: flex; 
            flex-direction: column; 
            gap: 2rem; 
        }
        
        .contact-item { 
            display: flex; 
            align-items: flex-start; 
            gap: 1.5rem; 
            padding: 2rem; 
            background: var(--bg-card); 
            border-radius: 16px; 
            border: 2px solid var(--border); 
            transition: all 0.3s ease; 
            box-shadow: 0 4px 15px var(--shadow); 
        }
        .contact-item:hover { 
            border-color: var(--color-1); 
            transform: translateY(-5px); 
            box-shadow: 0 10px 30px var(--shadow-lg); 
        }
        
        .contact-icon { 
            width: 60px; 
            height: 60px; 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            border-radius: 16px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 1.75rem; 
            color: white; 
            flex-shrink: 0; 
        }
        
        .contact-details h4 { 
            font-size: 1.25rem; 
            font-weight: 700; 
            color: var(--text-primary); 
            margin-bottom: 0.5rem; 
        }
        .contact-details p { 
            color: var(--text-secondary); 
            line-height: 1.6; 
        }
        
        .contact-form { 
            background: var(--bg-card); 
            padding: 3rem; 
            border-radius: 20px; 
            box-shadow: 0 10px 40px var(--shadow-lg); 
            border: 2px solid var(--border); 
        }
        .contact-form h3 { 
            margin-bottom: 2rem; 
            color: var(--text-primary); 
            font-size: 1.75rem; 
        }
        
        .form-row { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 1.5rem; 
        }
        
        .form-group { margin-bottom: 1.5rem; }
        .form-group label { 
            display: block; 
            font-weight: 600; 
            color: var(--text-primary); 
            margin-bottom: 0.5rem; 
            font-size: 0.9rem; 
        }
        
        .form-input, .form-textarea { 
            width: 100%; 
            padding: 0.875rem 1.25rem; 
            border: 2px solid var(--border); 
            border-radius: 12px; 
            background: var(--bg-secondary); 
            color: var(--text-primary); 
            font-family: 'Inter', sans-serif; 
            font-size: 1rem; 
            transition: all 0.3s ease; 
        }
        .form-input:focus, .form-textarea:focus { 
            outline: none; 
            border-color: var(--color-1); 
            background: var(--bg-primary); 
            box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1); 
        }
        .form-input.error, .form-textarea.error { border-color: var(--error); }
        .form-input.success, .form-textarea.success { border-color: var(--success); }
        .form-textarea { resize: vertical; min-height: 150px; }
        
        .error-message { 
            color: var(--error); 
            font-size: 0.85rem; 
            margin-top: 0.5rem; 
            display: none; 
        }
        .error-message.show { display: block; }
        
        .success-message { 
            background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05)); 
            border: 2px solid var(--success); 
            color: var(--success); 
            padding: 1rem; 
            border-radius: 12px; 
            margin-bottom: 1.5rem; 
            display: none; 
        }
        .success-message.show { 
            display: block; 
            animation: fadeInUp 0.4s ease; 
        }
        
        .form-submit { 
            width: auto; 
            min-width: 200px; 
            background: linear-gradient(135deg, var(--color-1), var(--color-2)); 
            color: white; 
            padding: 1rem 2.5rem; 
            border: none; 
            border-radius: 12px; 
            font-weight: 600; 
            font-size: 1rem; 
            cursor: pointer; 
            transition: all 0.3s ease; 
            box-shadow: 0 4px 20px var(--shadow); 
            display: inline-block; 
        }
        .form-submit:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 8px 30px var(--shadow-lg); 
        }
        
        .map-section { 
            padding: 6rem 2rem; 
            background: var(--bg-secondary); 
        }
        .map-container { 
            width: 100%; 
            height: 450px; 
            border-radius: 20px; 
            overflow: hidden; 
            box-shadow: 0 10px 40px var(--shadow-lg); 
            border: 2px solid var(--border); 
        }
        /* TABLET RESPONSIVE - Enhanced for better layout */
        @media (max-width: 1024px) {
            body {
                padding-top: 0px;
            }
            
            .nav-container {
                padding: 0.875rem 1.5rem;
            }
            
            .nav-center { 
                display: none; 
            }
            
            .hamburger { 
                display: flex; 
            }
            
            .nav-right .auth-btn { 
                display: none; 
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .logo-subtitle {
                font-size: 0.55rem;
            }
            
            .page-header {
                padding: 4rem 1.5rem 2.5rem;
            }
            
            .page-header h1 { 
                font-size: 2.5rem; 
            }
            
            .page-header p {
                font-size: 1.1rem;
            }
            
            /* Single column layout for tablet */
            .contact-grid { 
                grid-template-columns: 1fr; 
                gap: 3rem; 
            }
            
            .contact-section {
                padding: 4rem 1.5rem;
            }
            
            .contact-item {
                padding: 1.75rem;
            }
            
            .contact-icon {
                width: 55px;
                height: 55px;
                font-size: 1.5rem;
            }
            
            .contact-form {
                padding: 2.5rem 2rem;
            }
            
            .map-section {
                padding: 4rem 1.5rem;
            }
            
            .map-container {
                height: 400px;
            }
        }
        
        /* MOBILE RESPONSIVE - Enhanced for small screens */
        @media (max-width: 768px) {
            body {
                padding-top: 0px;
            }
            
            .nav-container {
                padding: 0.75rem 1rem;
            }
            
            .logo {
                font-size: 1.35rem;
            }
            
            .logo-subtitle {
                font-size: 0.5rem;
            }
            
            .icon-btn {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }
            
            .page-header { 
                padding: 3.5rem 1rem 2rem; 
            }
            
            .page-header h1 { 
                font-size: 2rem; 
            }
            
            .page-header p {
                font-size: 1rem;
            }
            
            .contact-section, .map-section { 
                padding: 3rem 1rem; 
            }
            
            .contact-info {
                gap: 1.5rem;
            }
            
            .contact-item {
                padding: 1.5rem;
                gap: 1.25rem;
            }
            
            .contact-icon {
                width: 50px;
                height: 50px;
                font-size: 1.35rem;
            }
            
            .contact-details h4 {
                font-size: 1.1rem;
            }
            
            .contact-details p {
                font-size: 0.95rem;
            }
            
            .contact-form { 
                padding: 2rem 1.5rem; 
            }
            
            .contact-form h3 {
                font-size: 1.5rem;
            }
            
            /* Stack form fields vertically on mobile */
            .form-row { 
                grid-template-columns: 1fr; 
                gap: 0; 
            }
            
            .form-input, .form-textarea {
                padding: 0.75rem 1rem;
                font-size: 0.95rem;
            }
            
            .form-submit {
                width: 100%;
                padding: 0.875rem 2rem;
            }
            
            .map-container { 
                height: 350px; 
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        
        /* EXTRA SMALL MOBILE - Enhanced for very small screens */
        @media (max-width: 480px) {
            body {
                padding-top: 0px;
            }
            
            .nav-container {
                padding: 0.65rem 0.875rem;
            }
            
            .logo { 
                font-size: 1.25rem; 
            }
            
            .logo-subtitle {
                font-size: 0.45rem;
            }
            
            .icon-btn {
                width: 34px;
                height: 34px;
                font-size: 0.95rem;
            }
            
            .page-header {
                padding: 3rem 0.875rem 1.75rem;
            }
            
            .page-header h1 { 
                font-size: 1.75rem; 
            }
            
            .page-header p {
                font-size: 0.95rem;
            }
            
            .contact-section, .map-section {
                padding: 2.5rem 0.875rem;
            }
            
            .contact-item {
                padding: 1.25rem;
                gap: 1rem;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .contact-icon {
                width: 48px;
                height: 48px;
                font-size: 1.25rem;
            }
            
            .contact-form { 
                padding: 1.75rem 1.25rem; 
            }
            
            .contact-form h3 { 
                font-size: 1.35rem; 
            }
            
            .form-group label {
                font-size: 0.85rem;
            }
            
            .form-input, .form-textarea {
                padding: 0.7rem 0.875rem;
                font-size: 0.9rem;
            }
            
            .map-container {
                height: 300px;
            }
        }
        
     
        /*===============================
                    Courses
        ===============================*/

        .courses-section { padding: 3rem 2rem; background: var(--bg-primary); }
        .container { max-width: 1400px; margin: 0 auto; }
        .filters { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
        .filter-btn { padding: 0.75rem 2rem; border: 2px solid var(--border); background: var(--bg-card); color: var(--text-primary); border-radius: 12px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
        .filter-btn:hover, .filter-btn.active { background: linear-gradient(135deg, var(--color-1), var(--color-2)); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: 0 4px 15px var(--shadow); }
        .courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem; }
        .course-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 25px var(--shadow); border: 2px solid var(--border); transition: all 0.4s ease; }
        .course-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px var(--shadow-lg); border-color: var(--color-1); }
        .course-image-wrapper { position: relative; overflow: hidden; height: 220px; }
        .course-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .course-card:hover .course-image { transform: scale(1.1); }
        .course-badge { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(135deg, var(--color-2), var(--color-1)); color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 4px 15px var(--shadow); }
        [dir="rtl"] .course-badge { right: auto; left: 1rem; }
        .course-content { padding: 2rem; }
        .course-category { color: var(--color-1); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.75rem; text-transform: uppercase; }
        .course-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
        .course-description { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
        .course-meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-secondary); }
        .course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }
        .course-price { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--color-1), var(--color-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .course-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; -webkit-text-fill-color: var(--text-muted); }
        .btn-enroll { background: linear-gradient(135deg, var(--color-1), var(--color-2)); color: white; padding: 0.75rem 1.75rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; box-shadow: 0 4px 15px var(--shadow); display: inline-block; }
        .btn-enroll:hover { transform: translateY(-2px); box-shadow: 0 6px 25px var(--shadow-lg); }
        
        @media (max-width: 1024px) {
            .nav-center { display: none; }
            .hamburger { display: flex; }
            .nav-right .auth-btn { display: none; }
            .page-header h1 { font-size: 2.5rem; }
            .courses-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
        }
        @media (max-width: 768px) {
            .page-header { padding: 4rem 1.5rem 2rem; }
            .page-header h1 { font-size: 2rem; }
            .courses-section { padding: 4rem 1.5rem; }
            .courses-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .logo { font-size: 1.5rem; }
            .page-header h1 { font-size: 1.75rem; }
            .nav-container { padding: 1rem 1rem; gap: 0.5rem; }
        }
        @media (max-width: 300px) {
            .logo { font-size: 1.2rem; }
            .logo-subtitle { font-size: 0.5rem; }
            .icon-btn { width: 35px; height: 35px; font-size: 1rem; }
            .nav-container { padding: 0.75rem 0.5rem; }
        }
        /*====================
                Instructors
        =====================*/

        .instructors-section { padding: 2rem 2rem; background: var(--bg-primary); }
        .container { max-width: 1400px; margin: 0 auto; }
        .instructors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; margin-top: 3rem; }
        .instructor-card { background: var(--bg-card); border-radius: 20px; padding: 3rem 2.5rem; box-shadow: 0 4px 25px var(--shadow); border: 2px solid var(--border); transition: all 0.4s ease; text-align: center; }
        .instructor-card:hover { transform: translateY(-15px); box-shadow: 0 25px 60px var(--shadow-lg); border-color: var(--color-1); }
        .instructor-avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 2rem; border: 5px solid var(--color-2); box-shadow: 0 10px 30px var(--shadow-lg); transition: all 0.4s ease; }
        .instructor-card:hover .instructor-avatar { transform: scale(1.1); border-color: var(--color-1); }
        .instructor-name { font-size: 1.75rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
        .instructor-title { color: var(--color-1); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
        .instructor-specialty { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
        .specialty-tag { background: var(--bg-secondary); color: var(--text-primary); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }
        .instructor-bio { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
        .instructor-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--border); }
        .stat { text-align: center; }
        .stat-value { font-size: 1.75rem; font-weight: 800; background: linear-gradient(135deg, var(--color-1), var(--color-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; }
        .instr-label { font-size: 0.85rem; color: rgb(107, 103, 103); margin-top: 0.25rem; }
        
        
        @media (max-width: 1024px) {
            .nav-center { display: none; }
            .hamburger { display: flex; }
            .nav-right .auth-btn { display: none; }
            .page-header h1 { font-size: 2.5rem; }
            .instructors-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
        }
        @media (max-width: 768px) {
            .page-header { padding: 4rem 1.5rem 2rem; }
            .page-header h1 { font-size: 2rem; }
            .instructors-section { padding: 4rem 1.5rem; }
            .instructors-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .logo { font-size: 1.5rem; }
            .page-header h1 { font-size: 1.75rem; }
            .nav-container { padding: 1rem 1rem; gap: 0.5rem; }
            .instructor-card { padding: 2.5rem 2rem; }
        }
        @media (max-width: 300px) {
            .logo { font-size: 1.2rem; }
            .logo-subtitle { font-size: 0.5rem; }
            .icon-btn { width: 35px; height: 35px; font-size: 1rem; }
            .nav-container { padding: 0.75rem 0.5rem; }
        }



        /* ===============================
   MOBILE STICKY HEADER (300px–500px)
================================ */

@media (min-width:300px) and (max-width:500px){

  header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    transition: transform 0.35s ease, 
                background 0.3s ease,
                box-shadow 0.3s ease;

    will-change: transform;
  }

  /* hide header */
  header.hide-header{
    transform: translateY(-100%);
  }

  /* optional shadow when scrolling */
  header.scrolled{
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
  }

  /* prevent content jump */
  body{
    padding-top: 70px; /* adjust = header height */
  }

}


