/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */    
        /* --- 3. CSS Styles --- */
        :root {
            --eh-primary: #002B49;    /* Navy Blue */
            --eh-secondary: #0A3D62;  /* Lighter Blue */
            --eh-accent: #FF9900;     /* Orange */
            --eh-bg-light: #F9F9F9;
            --eh-white: #FFFFFF;
            --eh-text: #555555;
            --eh-radius: 15px;
            --eh-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        body {
            font-family: 'Cairo', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--eh-bg-light);
            color: var(--eh-text);
            direction: rtl;
            text-align: right;
            line-height: 1.6;
        }

        a { text-decoration: none; transition: 0.3s; }
        ul { list-style: none; padding: 0; margin: 0; }
        * { box-sizing: border-box; }

        .eh-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Hero Section */
        .eh-hero {
            background: linear-gradient(135deg, var(--eh-primary) 0%, var(--eh-secondary) 100%);
            color: #fff;
            padding: 80px 0 60px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom: 5px solid var(--eh-accent);
        }

        .eh-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            margin-bottom: 15px;
            color: #fff;
        }

        .eh-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto 30px auto;
        }

        .eh-brand-badge {
            background: rgba(255,255,255,0.1);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.95rem;
            color: var(--eh-accent);
            border: 1px solid var(--eh-accent);
            display: inline-block;
            margin-bottom: 20px;
            font-weight: 700;
        }

        /* Filter Section */
        .eh-categories {
            background: #fff;
            padding: 20px 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid #eee;
        }

        .eh-cat-list {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .eh-cat-btn {
            background: transparent;
            border: 2px solid #eee;
            padding: 10px 25px;
            border-radius: 50px;
            color: var(--eh-text);
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
            font-family: 'Cairo';
        }

        .eh-cat-btn:hover, .eh-cat-btn.active {
            background: var(--eh-primary);
            color: #fff;
            border-color: var(--eh-primary);
        }

        /* Courses Grid */
        .eh-section { padding: 60px 0; }
        
        .eh-section-title {
            text-align: center;
            margin-bottom: 10px;
            color: var(--eh-primary);
            font-size: 2.2rem;
            font-weight: 800;
        }

        .eh-section-subtitle {
            text-align: center;
            margin-bottom: 50px;
            color: #777;
            font-size: 1.1rem;
        }

        .eh-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        /* Card Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .eh-course-card {
            background: #fff;
            border-radius: var(--eh-radius);
            overflow: hidden;
            box-shadow: var(--eh-shadow);
            border: 1px solid #eee;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            position: relative;
            animation: fadeIn 0.4s ease-in-out;
        }

        .eh-course-card:hover {
            transform: translateY(-7px);
            border-color: var(--eh-accent);
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        }

        .eh-card-img {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .eh-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.3s;
        }

        .eh-course-card:hover .eh-card-img img { transform: scale(1.05); }

        .eh-card-body {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .eh-cat-tag {
            font-size: 0.85rem;
            color: var(--eh-accent);
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 10px;
            display: block;
        }

        .eh-card-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--eh-primary);
            margin: 0 0 15px 0;
            line-height: 1.4;
        }

        .eh-card-desc {
            font-size: 0.95rem; 
            color: #666;
            margin-bottom: 20px;
        }

        .eh-card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            border-top: 1px dashed #e0e0e0;
            padding-top: 15px;
        }

        .eh-price {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--eh-primary);
        }

        .eh-btn-view {
            background: var(--eh-primary);
            color: #fff;
            padding: 10px 25px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 700;
        }

        .eh-btn-view:hover { 
            background: var(--eh-accent); 
            color: #fff;
        }

        /* Features Section */
        .eh-features {
            background: #fff;
            padding: 60px 0;
            margin-top: 60px;
            text-align: center;
        }

        .eh-feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .eh-feat-item i {
            color: var(--eh-accent);
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .eh-feat-item h3 {
            color: var(--eh-primary);
            margin-bottom: 10px;
            font-weight: 800;
        }

        /* Footer CTA */
        .eh-footer-cta {
            background: var(--eh-primary);
            color: #fff;
            text-align: center;
            padding: 80px 0;
            border-top: 5px solid var(--eh-accent);
        }

        .eh-btn-cta {
            background: var(--eh-accent);
            color: #fff;
            padding: 18px 50px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.3rem;
            display: inline-block;
            margin-top: 30px;
            box-shadow: 0 10px 25px rgba(255, 153, 0, 0.3);
        }
        
        .eh-btn-cta:hover { transform: scale(1.05); }

        /* Responsive */
        @media (max-width: 768px) {
            .eh-hero h1 { font-size: 2rem; }
            .eh-grid { grid-template-columns: 1fr; }
            .eh-cat-list { overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; white-space: nowrap; }
        }
    

