/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #1a202c;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header Styles */
.top-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 3px solid #4299e1;
}

.top-header .navbar {
    padding: 0;
    background: transparent !important;
    box-shadow: none;
}

.logo {
    height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.brand-name {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4299e1;
    margin: 0 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #4299e1, #3182ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Navigation Styles */
.navbar-nav {
    align-items: center;
    background: rgba(45, 55, 72, 0.9);
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-weight: 600;
    color: #e2e8f0 !important;
    padding: 10px 18px !important;
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.4);
}

.navbar-toggler {
    border: 2px solid #ffc107;
    outline: none;
    padding: 8px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.navbar-toggler:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    border-color: #ff8f00;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    background: linear-gradient(135deg, #4299e1, #3182ce);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Header Styles */
.header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

/* Smooth Transition Gradient */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(26, 32, 44, 0) 0%,
        rgba(26, 32, 44, 0.1) 20%,
        rgba(26, 32, 44, 0.2) 40%,
        rgba(26, 39, 64, 0.3) 60%,
        rgba(26, 39, 64, 0.6) 80%,
        rgba(26, 39, 64, 0.9) 100%
    );
    z-index: 10;
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    user-select: none;
}

.slider-container.dragging {
    cursor: grabbing;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease;
    cursor: grab;
}

.slide:active {
    cursor: grabbing;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #2d3748;
}

.slide-content {
    display: none; /* Hide slide content completely to remove black overlay */
}

.slider-nav {
    display: none; /* Hide navigation dots completely */
}

.nav-dot {
    display: none; /* Ensure dots are hidden */
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Section Transitions and Harmony */
section {
    position: relative;
    transition: all 0.3s ease;
}

section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02));
    pointer-events: none;
}

section:first-of-type::before {
    display: none;
}

/* Statistics Section */
.statistics {
    padding: 80px 0;
    background: linear-gradient(
        135deg, 
        #1a2740 0%, 
        rgba(26, 39, 64, 0.95) 10%,
        #2d3748 25%, 
        #3d4852 50%, 
        #4a5568 75%, 
        #2d3748 100%
    );
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 10%, rgba(255, 193, 7, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 30%, rgba(255, 193, 7, 0.04) 0%, transparent 50%);
    animation: gentleGlow 8s ease-in-out infinite alternate;
}

@keyframes gentleGlow {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.statistics::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(45, 55, 72, 0.05) 30%,
        rgba(45, 55, 72, 0.1) 70%,
        rgba(45, 55, 72, 1) 100%
    );
    z-index: 1;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.stat-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.2), transparent);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-number::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-label {
    color: #f8f9fa;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    position: relative;
    overflow: hidden;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(66, 153, 225, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.06) 0%, transparent 50%);
    animation: gentleGlow 8s ease-in-out infinite alternate;
}

.registration::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom, 
        transparent 0%,
        rgba(26, 39, 64, 0.05) 30%,
        rgba(26, 39, 64, 0.1) 70%,
        rgba(26, 39, 64, 0.2) 100%
    );
    z-index: 1;
}

.registration .container {
    position: relative;
    z-index: 2;
}

.registration h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #4299e1, #3182ce, #2b6cb0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    color: #cbd5e0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(45, 55, 72, 0.95), rgba(26, 32, 44, 0.9));
    padding: 50px;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    position: relative;
    border: 1px solid rgba(66, 153, 225, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(66, 153, 225, 0.2);
}

.registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(45deg, #4299e1, #ffc107, #4299e1);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    opacity: 0.6;
}

.form-error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: none;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
    border-left: 4px solid #ffffff;
}

.form-group {
    margin-bottom: 30px;
    text-align: right;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #e2e8f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid rgba(66, 153, 225, 0.3);
    border-radius: 15px;
    font-size: 1.1rem;
    background: rgba(26, 32, 44, 0.8);
    color: #e2e8f0;
    direction: rtl;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    background: rgba(26, 32, 44, 1);
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15), 0 8px 25px rgba(66, 153, 225, 0.25);
    transform: translateY(-2px);
}

.form-group input:hover {
    border-color: rgba(66, 153, 225, 0.5);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: #2d3748;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8f00, #f57c00);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.5);
    color: #2d3748;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.note {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    color: #cbd5e0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.note::before {
    content: '\f4ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffc107;
    font-size: 1.2rem;
}

/* Levels Section */
.levels-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    text-align: center;
    position: relative;
}

.levels-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffc107, transparent);
}

.levels-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(42, 63, 84, 0.1));
}

.levels-section h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
    margin-bottom: 40px;
    font-weight: 700;
}

.levels-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: stretch;
}

.level-card {
    background: linear-gradient(145deg, #1a202c, #2d3748);
    padding: 40px 30px;
    border-radius: 20px;
    min-width: 200px;
    max-width: 250px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #4299e1;
}

.level-card h3 {
    font-size: 3rem;
    color: #4299e1;
    margin-bottom: 15px;
    font-weight: 700;
}

.level-card p {
    color: #cbd5e0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

/* Level Buttons */
.level-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.level-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.level-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    transition: left 0.3s ease;
}

.level-btn:hover::before {
    left: 100%;
}

.book-course-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #007bff;
}

.book-course-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
    color: white;
}

.free-lecture-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    border-color: #28a745;
}

.free-lecture-btn:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.3);
    color: white;
}

.level-btn i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .level-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .level-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* Level Test Section */
.level-test {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #667eea 100%);
    color: white;
    text-align: center;
    position: relative;
}

.level-test::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    opacity: 0.8;
}

.level-test .container {
    position: relative;
    z-index: 1;
}

.level-test h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.level-test p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: #2d3748;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff8f00, #f57c00);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
    color: #2d3748;
    text-decoration: none;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    text-align: center;
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #28a745, transparent);
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 700;
    text-align: center;
}

/* Benefits List Styles */
.benefits-list {
    max-width: 900px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    text-align: right;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(145deg, rgba(45, 55, 72, 0.9), rgba(26, 32, 44, 0.8));
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    transition: width 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(66, 153, 225, 0.4);
}

.benefit-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #4299e1;
    margin-top: 5px;
    flex-shrink: 0;
}

.benefit-item.video-intro i {
    color: #ffc107;
    font-size: 1.8rem;
}

.benefit-content h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.benefit-content p {
    color: #cbd5e0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.benefit-item.video-intro {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border-color: rgba(255, 193, 7, 0.3);
}

.benefit-item.video-intro::before {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
}

.benefit-item.video-intro h3 {
    color: #ffc107;
    font-size: 1.3rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    text-align: center;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffc107, transparent);
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #e2e8f0;
    font-weight: 700;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-content h4 {
    font-size: 1.1rem;
    color: #4299e1;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #e2e8f0;
    font-weight: 700;
}

.faq-item {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(66, 153, 225, 0.4);
}

.faq-question {
    padding: 80px 25px 25px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: transparent;
    transition: background 0.3s ease;
    position: relative;
    text-align: center;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
    color: #1a202c !important;
    font-size: 1.4rem !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
    text-align: center !important;
    line-height: 50px !important;
}

.faq-question:hover {
    background: rgba(255, 193, 7, 0.08);
}

.faq-question:hover::before {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin: 0;
    padding-right: 40px;
}

.faq-question i {
    color: #4299e1;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question::before {
    background: linear-gradient(135deg, #28a745, #20c997);
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.5);
    color: white;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(26, 32, 44, 0.5);
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #cbd5e0;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* FAQ Icons for each question - using FontAwesome icons */
.faq-item:nth-child(1) .faq-question::before {
    content: '\f0a3'; /* fa-certificate */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(2) .faq-question::before {
    content: '\f201'; /* fa-chart-line */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(3) .faq-question::before {
    content: '\f017'; /* fa-clock */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(4) .faq-question::before {
    content: '\f059'; /* fa-question-circle */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(5) .faq-question::before {
    content: '\f0c0'; /* fa-users */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(6) .faq-question::before {
    content: '\f09d'; /* fa-credit-card */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(7) .faq-question::before {
    content: '\f086'; /* fa-comments */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(8) .faq-question::before {
    content: '\f555'; /* fa-wallet */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(9) .faq-question::before {
    content: '\f3fd'; /* fa-tachometer-alt */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(10) .faq-question::before {
    content: '\f3ed'; /* fa-shield-alt */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(11) .faq-question::before {
    content: '\f02d'; /* fa-book */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(12) .faq-question::before {
    content: '\f1fd'; /* fa-birthday-cake */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(13) .faq-question::before {
    content: '\f3cd'; /* fa-mobile-alt */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(14) .faq-question::before {
    content: '\f19d'; /* fa-graduation-cap */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.faq-item:nth-child(15) .faq-question::before {
    content: '\f140'; /* fa-target - هدف للدلالة على الضمان وتحقيق الهدف */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome' !important;
    font-weight: 900 !important;
}

/* Social Media Section */
.social-media {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    text-align: center;
}

.social-media h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #e2e8f0;
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    min-width: 150px;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.tiktok {
    background: #000;
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.social-link span {
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #333;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.whatsapp-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25d366;
    color: white;
    padding: 20px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.whatsapp-contact:hover {
    transform: scale(1.05);
}

.whatsapp-contact i {
    font-size: 1.5rem;
}

.contact p {
    opacity: 0.8;
    margin-top: 20px;
}

.copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 55vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    .slide img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }
    
    .statistics {
        padding: 60px 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .top-header {
        padding: 10px 0;
    }
    
    .logo {
        height: 35px;
        max-width: 100px;
    }
    
    .brand-name {
        font-size: 1.5rem;
        margin: 0 10px;
        letter-spacing: 0.5px;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 15px;
        background: linear-gradient(135deg, #1a202c, #2d3748);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
        position: relative;
        z-index: 9999;
        border: 2px solid #ffc107;
    }
    
    .nav-link {
        padding: 15px 25px !important;
        margin: 8px 0;
        font-size: 1rem;
        color: #e2e8f0 !important;
        background: linear-gradient(135deg, #4299e1, #3182ce);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        display: block;
        text-decoration: none;
        border: 2px solid rgba(255, 193, 7, 0.3);
        cursor: pointer;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    }
    
    .nav-link:hover,
    .nav-link:focus,
    .nav-link:active {
        background: linear-gradient(135deg, #ffc107, #ff8f00);
        transform: translateX(8px);
        color: #1a202c !important;
        text-decoration: none;
        border-color: #ff8f00;
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
        font-weight: 700;
    }
    
    .registration h2,
    .level-test h2,
    .video-section h2,
    .testimonials h2,
    .faq h2,
    .social-media h2,
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .registration {
        padding: 60px 0;
    }

    .registration-form {
        padding: 35px 25px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .registration h2 {
        font-size: 2.2rem;
    }
    
    .registration p {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .form-group input {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 18px 40px;
        font-size: 1.1rem;
        width: 100%;
    }    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .levels-container {
        flex-direction: column;
        align-items: center;
    }
    
    .level-card {
        min-width: 250px;
        margin-bottom: 20px;
        max-width: 300px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .benefit-item {
        padding: 20px;
        text-align: right;
        background: linear-gradient(145deg, rgba(45, 55, 72, 0.95), rgba(26, 32, 44, 0.9));
        border-color: rgba(66, 153, 225, 0.3);
    }
    
    .benefit-content h3 {
        font-size: 1.1rem;
        color: #e2e8f0;
    }
    
    .benefit-content p {
        font-size: 0.95rem;
        color: #cbd5e0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        height: 50vh;
        min-height: 320px;
        max-height: 400px;
    }
    
    .slide img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }
    
    .statistics {
        padding: 50px 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .logo {
        height: 30px;
        max-width: 80px;
    }
    
    .brand-name {
        font-size: 1.3rem;
        margin: 0 8px;
        letter-spacing: 0.5px;
    }
    
    .navbar {
        padding: 5px 0;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px !important;
    }
    
    .registration {
        padding: 50px 0;
    }
    
    .registration-form {
        padding: 25px 15px;
    }
    
    .registration h2 {
        font-size: 1.8rem;
    }
    
    .registration p {
        font-size: 1rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .benefits-list {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .benefit-item {
        padding: 18px;
        gap: 12px;
    }
    
    .benefit-item i {
        font-size: 1.3rem;
    }
    
    .benefit-content h3 {
        font-size: 1rem;
    }
    
    .benefit-content p {
        font-size: 0.9rem;
    }
    
    /* FAQ Mobile Adjustments */
    .faq-question {
        padding: 70px 20px 20px 20px;
    }
    
    .faq-question::before {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        top: 20px;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 30px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        text-align: center;
    }
}
