
      /* ===== THREE COLORS ONLY ===== */
      :root {
        --blue: #2563eb;
        --blue-dark: #1e40af;
        --blue-light: #60a5fa;
        
        --red: #dc2626;
        --red-dark: #b91c1c;
        --red-light: #f87171;
        
        --dark: #0a0a0a;
        --dark-light: #262626;
        --dark-lighter: #525252;
        --white: #ffffff;
        --offwhite: #fafafa;
        --gray: #f5f5f5;
        
        --section-gap: 100px;
        --transition: cubic-bezier(0.22, 0.61, 0.36, 1);
        --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
        --radius: 12px;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: 'Cairo', 'Tajawal', sans-serif;
        background: var(--offwhite);
        color: var(--dark);
        line-height: 1.6;
        overflow-x: hidden;
      }

      .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
      }

      /* ---------- Typography ---------- */
      .section-label {
        display: inline-block;
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--blue);
        margin-bottom: 16px;
        position: relative;
        padding-right: 48px;
      }
      
      .section-label::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 32px;
        height: 2px;
        background: var(--blue);
        transform: translateY(-50%);
      }

      .section-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        font-weight: 900;
        color: var(--dark);
        line-height: 1.2;
        margin-bottom: 20px;
      }

      .section-desc {
        font-size: 1.1rem;
        color: var(--dark-lighter);
        max-width: 600px;
        margin: 0 auto;
      }

      /* ---------- Buttons ---------- */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 32px;
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: var(--radius);
        text-decoration: none;
        transition: all 0.25s var(--transition);
        border: none;
        cursor: pointer;
      }

      .btn-blue {
        background: var(--blue);
        color: var(--white);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
      }
      
      .btn-blue:hover {
        background: var(--blue-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
        color: var(--white);
        text-decoration: none;
      }

      .btn-outline {
        background: transparent;
        color: var(--dark);
        border: 1.5px solid rgba(0, 0, 0, 0.1);
      }
      
      .btn-outline:hover {
        border-color: var(--blue);
        background: rgba(37, 99, 235, 0.04);
        transform: translateY(-2px);
        text-decoration: none;
      }

      .btn-white-outline {
        background: transparent;
        color: var(--white);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
      }
      
      .btn-white-outline:hover {
        border-color: var(--white);
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        color: var(--white);
        text-decoration: none;
      }

      /* ---------- Scroll Progress ---------- */
      #scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 0%;
        height: 3px;
        background: linear-gradient(90deg, var(--blue), var(--red));
        z-index: 9999;
        transition: width 0.1s linear;
      }

      /* =============================================
         HERO - Simple gradient, clean typography
      ============================================= */
      .hero {
        position: relative;
        min-height: 90vh;
        display: flex;
        align-items: center;
        background: linear-gradient(145deg, var(--dark) 0%, #1a1a1a 100%);
        overflow: hidden;
      }

      .hero-bg {
        position: absolute;
        inset: 0;
        background: 
          radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
          radial-gradient(circle at 20% 70%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
        z-index: 1;
      }

      .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 80px 0;
      }

      .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
      }

      .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 20px;
        background: rgba(37, 99, 235, 0.1);
        border: 1px solid rgba(37, 99, 235, 0.2);
        border-radius: 100px;
        color: var(--blue-light);
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 24px;
        backdrop-filter: blur(8px);
      }

      .hero-badge-dot {
        width: 6px;
        height: 6px;
        background: var(--blue);
        border-radius: 50%;
        animation: pulse 2s ease-in-out infinite;
      }

      @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.5); }
      }

      .hero-title {
        font-size: clamp(2.2rem, 6vw, 4rem);
        font-weight: 900;
        line-height: 1.1;
        color: var(--white);
        margin-bottom: 24px;
      }

      .hero-title span {
        color: var(--blue);
        background: linear-gradient(135deg, var(--blue), var(--blue-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .hero-desc {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 32px;
        max-width: 500px;
      }

      .hero-actions {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
      }

      .hero-stats {
        display: flex;
        gap: 40px;
        margin-top: 48px;
      }

      .hero-stat {
        display: flex;
        flex-direction: column;
      }

      .hero-stat-number {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--white);
        line-height: 1;
      }

      .hero-stat-number span {
        color: var(--blue);
        margin-left: 4px;
      }

      .hero-stat-label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-top: 4px;
      }

      .hero-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 32px;
        position: relative;
      }

      .hero-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.05));
        pointer-events: none;
      }

      .hero-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
      }

      .hero-card-icon {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, var(--blue), var(--blue-dark));
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.2rem;
      }

      .hero-card-title {
        color: var(--white);
        font-weight: 800;
        font-size: 1.1rem;
      }

      .hero-card-subtitle {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.8rem;
      }

      .hero-course {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      }

      .hero-course:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      .hero-course-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
      }

      .hero-course-info {
        flex: 1;
      }

      .hero-course-name {
        color: var(--white);
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
      }

      .hero-course-bar {
        height: 4px;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 2px;
        overflow: hidden;
      }

      .hero-course-progress {
        height: 100%;
        background: var(--blue);
        border-radius: 2px;
        transition: width 1.5s var(--transition);
      }

      .hero-course-percent {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.8rem;
      }

      .scroll-down {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        text-decoration: none;
        z-index: 3;
        animation: bounce 2s ease-in-out infinite;
      }

      @keyframes bounce {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(8px); }
      }

      /* =============================================
         TRUST BAR
      ============================================= */
      .trust {
        background: var(--white);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 24px 0;
        overflow: hidden;
      }

      .trust-track {
        display: flex;
        gap: 60px;
        animation: scroll 30s linear infinite;
        white-space: nowrap;
      }

      .trust-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--dark-lighter);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.05em;
      }

      .trust-item svg {
        color: var(--blue);
      }

      @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }

      /* =============================================
         FEATURES
      ============================================= */
      .features {
        padding: var(--section-gap) 0;
        background: var(--offwhite);
      }

      .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 60px;
      }

      .feature {
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 24px;
        padding: 32px;
        transition: all 0.3s var(--transition);
        position: relative;
        overflow: hidden;
      }

      .feature:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
      }

      .feature::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--blue);
        transition: width 0.4s var(--transition);
      }

      .feature:hover::after {
        width: 100%;
      }

      .feature-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
        font-size: 1.4rem;
      }

      .feature h3 {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 12px;
      }

      .feature p {
        color: var(--dark-lighter);
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 0;
      }

      .feature-number {
        position: absolute;
        top: 20px;
        right: 24px;
        font-size: 3rem;
        font-weight: 900;
        color: rgba(0, 0, 0, 0.03);
        line-height: 1;
      }

      /* =============================================
         STATS
      ============================================= */
      .stats {
        background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
      }

      .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
      }

      .stat {
        text-align: center;
        position: relative;
        z-index: 2;
      }

      .stat-icon {
        width: 56px;
        height: 56px;
        background: rgba(37, 99, 235, 0.12);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        color: var(--blue);
        transition: transform 0.3s;
      }

      .stat:hover .stat-icon {
        transform: scale(1.1) rotate(8deg);
      }

      .stat-number {
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--white);
        line-height: 1;
        margin-bottom: 6px;
      }

      .stat-number span {
        color: var(--blue);
      }

      .stat-label {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.9rem;
        font-weight: 500;
      }

      /* =============================================
         SPECIALIZATIONS - Livewire preserved
      ============================================= */
      .specializations {
        padding: var(--section-gap) 0;
        background: linear-gradient(180deg, var(--offwhite) 0%, #eef2ff 100%);
        position: relative;
        overflow: hidden;
      }

      /* =============================================
         LEVELS - Livewire preserved
      ============================================= */
      .levels {
        padding: var(--section-gap) 0;
        background: var(--dark);
        position: relative;
        overflow: hidden;
      }

      .levels .section-title {
        color: var(--white);
      }

      .levels .section-desc {
        color: rgba(255, 255, 255, 0.6);
      }

      .levels .section-label {
        color: var(--blue);
      }

      .levels .section-label::after {
        background: var(--blue);
      }

      .levels-watermark {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: clamp(5rem, 15vw, 12rem);
        font-weight: 900;
        color: rgba(255, 255, 255, 0.02);
        white-space: nowrap;
        pointer-events: none;
        letter-spacing: 0.1em;
      }

      /* =============================================
         BLOG
      ============================================= */
      .blog {
        padding: var(--section-gap) 0;
        background: var(--offwhite);
      }

      .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 60px;
      }

      .post {
        background: var(--white);
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s var(--transition);
        display: flex;
        flex-direction: column;
      }

      .post:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
      }

      .post-image {
        height: 220px;
        background-size: cover;
        background-position: center;
        position: relative;
      }

      .post-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
        opacity: 0;
        transition: opacity 0.3s;
      }

      .post:hover .post-image::after {
        opacity: 1;
      }

      .post-content {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      .post-category {
        display: inline-block;
        padding: 4px 14px;
        background: rgba(37, 99, 235, 0.08);
        color: var(--blue);
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        border-radius: 100px;
        margin-bottom: 16px;
        align-self: flex-start;
      }

      .post-title {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark);
        line-height: 1.5;
        margin-bottom: 12px;
        text-decoration: none;
        transition: color 0.2s;
      }

      .post-title:hover {
        color: var(--blue);
      }

      .post-excerpt {
        color: var(--dark-lighter);
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
        flex: 1;
      }

      .post-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
      }

      .post-author {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .post-author-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--gray);
        background-size: cover;
        background-position: center;
      }

      .post-author-name {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--dark);
      }

      .post-date {
        font-size: 0.75rem;
        color: var(--dark-lighter);
      }

      .post-link {
        color: var(--blue);
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: gap 0.2s;
      }

      .post-link:hover {
        gap: 8px;
        color: var(--red);
      }

      /* =============================================
         CTA
      ============================================= */
      .cta {
        background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
        padding: 80px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
      }

      .cta h2 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        font-weight: 900;
        color: var(--white);
        margin-bottom: 16px;
      }

      .cta p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        margin-bottom: 32px;
      }

      /* =============================================
         CONTACT - Livewire preserved
      ============================================= */
      .contact {
        padding: var(--section-gap) 0;
        background: linear-gradient(135deg, #eef2ff 0%, var(--offwhite) 100%);
        position: relative;
        overflow: hidden;
      }

      /* =============================================
         COUNTERS
      ============================================= */
      .counter-value {
        display: inline-block;
      }

      /* =============================================
         RESPONSIVE
      ============================================= */
      @media (max-width: 992px) {
        .hero-grid {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        
        .hero-content {
          text-align: center;
        }
        
        .hero-desc {
          margin-left: auto;
          margin-right: auto;
        }
        
        .hero-actions {
          justify-content: center;
        }
        
        .hero-stats {
          justify-content: center;
        }
        
        .hero-card {
          max-width: 500px;
          margin: 0 auto;
        }
        
        .stats-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 40px;
        }
        
        :root {
          --section-gap: 70px;
        }
      }

      @media (max-width: 768px) {
        .hero-stats {
          flex-wrap: wrap;
          gap: 24px;
        }
        
        .hero-stat {
          flex: 0 0 calc(50% - 12px);
        }
        
        .stats-grid {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        
        .features-grid,
        .blog-grid {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- AOS ---------- */
      [data-aos] {
        transition-timing-function: var(--transition) !important;
      }


          
    /* ===== LEVELS SHOWCASE ===== */
    .levels-showcase {
        position: relative;
        padding: 20px 0;
    }

    .levels-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    /* Level Card */
    .level-card {
        background: var(--white, #ffffff);
        border-radius: 24px;
        padding: 32px 24px;
        position: relative;
        transition: all 0.3s var(--transition, cubic-bezier(0.22, 0.61, 0.36, 1));
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }

    .level-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.05));
        border-color: transparent;
    }

    /* Card Accent Line - Top */
    .level-accent {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .level-card:hover .level-accent {
        opacity: 1;
    }

    /* Order Badge */
    .level-order {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--blue, #2563eb);
        background: rgba(37, 99, 235, 0.1);
        transition: all 0.3s ease;
    }

    .level-card:hover .level-order {
        transform: scale(1.1);
    }

    /* Icon */
    .level-icon-wrapper {
        margin-bottom: 24px;
    }

    .level-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s var(--transition);
    }

    .level-card:hover .level-icon {
        transform: scale(1.1) rotate(-5deg);
    }

    /* Content */
    .level-content {
        flex: 1;
        margin-bottom: 24px;
    }

    .level-title {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark, #0a0a0a);
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .level-description {
        color: var(--dark-lighter, #525252);
        font-size: 0.95rem;
        line-height: 1.7;
        margin: 0;
    }

    /* Footer */
    .level-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .level-stage {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--dark-lighter, #525252);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .level-progress {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .level-progress-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .level-progress-dot:first-child {
        background: var(--blue, #2563eb);
        transform: scale(1.2);
    }

    .level-card:hover .level-progress-dot:first-child {
        transform: scale(1.4);
    }

    /* Empty State */
    .levels-empty {
        grid-column: 1 / -1;
        text-align: center;
        padding: 80px 20px;
        background: var(--white, #ffffff);
        border-radius: 24px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .levels-empty .empty-icon {
        width: 96px;
        height: 96px;
        background: rgba(37, 99, 235, 0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        color: var(--blue, #2563eb);
    }

    .levels-empty h4 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark, #0a0a0a);
        margin-bottom: 12px;
    }

    .levels-empty p {
        color: var(--dark-lighter, #525252);
        font-size: 1rem;
    }

    /* RTL Specific */
    [dir="rtl"] .level-order {
        right: auto;
        left: 24px;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .levels-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .levels-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .level-card {
            padding: 28px 20px;
        }

        .level-order {
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        [dir="rtl"] .level-order {
            left: 20px;
        }

        .level-icon {
            width: 64px;
            height: 64px;
        }

        .level-title {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 480px) {
        .level-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .level-progress {
            align-self: flex-start;
        }
    }

    /* Animation */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .level-card {
        animation: slideIn 0.6s var(--transition) forwards;
    }

    /* Dark mode support if needed */
    @media (prefers-color-scheme: dark) {
        .level-card {
            background: var(--dark-light, #1a1a1a);
            border-color: rgba(255, 255, 255, 0.05);
        }

        .level-title {
            color: var(--white, #ffffff);
        }

        .level-description {
            color: rgba(255, 255, 255, 0.7);
        }

        .level-footer {
            border-top-color: rgba(255, 255, 255, 0.05);
        }

        .level-stage {
            color: rgba(255, 255, 255, 0.5);
        }
    }
   /* ===== SPECIALIZATIONS GRID ===== */
    .specializations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .specialization-card {
        background: var(--white, #ffffff);
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        transition: all 0.3s var(--transition, cubic-bezier(0.22, 0.61, 0.36, 1));
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .specialization-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.05));
        border-color: transparent;
    }

    /* Card top accent line */
    .specialization-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--blue, #2563eb), var(--red, #dc2626));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .specialization-card:hover::before {
        opacity: 1;
    }

    .specialization-icon-wrapper {
        padding: 30px 30px 0 30px;
    }

    .specialization-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s var(--transition);
    }

    .specialization-card:hover .specialization-icon {
        transform: scale(1.1) rotate(-5deg);
    }

    .specialization-content {
        padding: 24px 30px 30px 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .specialization-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 20px;
    }

    .specialization-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--dark, #0a0a0a);
        line-height: 1.4;
        margin: 0;
        flex: 1;
    }

    .specialization-cost {
        display: inline-flex;
        align-items: center;
        padding: 6px 14px;
        background: rgba(37, 99, 235, 0.08);
        color: var(--blue, #2563eb);
        font-weight: 700;
        font-size: 0.9rem;
        border-radius: 100px;
        white-space: nowrap;
    }

    .specialization-meta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .specialization-duration,
    .specialization-levels {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--dark-lighter, #525252);
        font-size: 0.95rem;
    }

    .specialization-duration svg,
    .specialization-levels svg {
        color: var(--blue, #2563eb);
        flex-shrink: 0;
    }

    .specialization-footer {
        margin-top: auto;
    }

    .specialization-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--blue, #2563eb);
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.2s ease;
        padding: 8px 0;
    }

    .specialization-link:hover {
        gap: 12px;
        color: var(--red, #dc2626);
        text-decoration: none;
    }

    /* Empty state */
    .specializations-empty {
        grid-column: 1 / -1;
        text-align: center;
        padding: 80px 20px;
        background: var(--white, #ffffff);
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .empty-icon {
        width: 96px;
        height: 96px;
        background: rgba(37, 99, 235, 0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        color: var(--blue, #2563eb);
    }

    .specializations-empty h4 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark, #0a0a0a);
        margin-bottom: 12px;
    }

    .specializations-empty p {
        color: var(--dark-lighter, #525252);
        font-size: 1rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .specializations-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .specialization-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }
        
        .specialization-icon-wrapper {
            padding: 24px 24px 0 24px;
        }
        
        .specialization-content {
            padding: 20px 24px 24px 24px;
        }
    }

    /* RTL specific adjustments */
    [dir="rtl"] .specialization-link svg {
        transform: rotate(180deg);
    }
    
    [dir="rtl"] .specialization-card::before {
        left: 0;
        right: 0;
    }