/* --- Hero Video Section --- */
.hero-video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.video-container video { width: 100%; height: 100%; object-fit: cover; }

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
    padding-top: 100px;
}

/* Hero Content Elements */
.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary-red);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid var(--primary-red);
    margin-bottom: 15px;
    font-size: 0.8rem;
    animation: fadeInDown 0.8s forwards 0.2s;
}

.main-title {
    font-size: clamp(35px, 6vw, 85px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    animation: fadeInRight 0.8s forwards 0.5s;
}
.main-title span { color: var(--primary-sky); text-shadow: 0 0 30px rgba(0, 204, 255, 0.3); }

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 100%;
    line-height: 1.6;
    animation: fadeInUp 0.8s forwards 0.8s;
}

/* Hero Buttons */
.hero-btns { 
    display: flex; 
    gap: 15px; 
    animation: popIn 0.6s forwards 1.1s; 
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; 
    background: var(--primary-red); color: #fff;
    padding: 12px 30px; 
    font-weight: 800; font-size: 0.95rem; border-radius: 50px;
    border: 2px solid var(--primary-red); transition: var(--transition); 
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}
.btn-primary:hover { background: transparent; border-color: var(--primary-sky); color: var(--primary-sky); transform: translateY(-5px); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; 
    padding: 12px 30px; color: var(--primary-sky);
    font-weight: 700; font-size: 0.95rem; border: 2px solid var(--primary-sky); border-radius: 50px;
    transition: var(--transition); background: rgba(0, 204, 255, 0.05);
}
.btn-outline:hover { border-color: var(--primary-red); color: var(--primary-red); transform: translateY(-5px); }

/* Animations */
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { to { opacity: 1; transform: scale(1); } }

/* --- Mobile Responsive Hero (Fixed Size) --- */
@media (max-width: 992px) {
    .hero-content { 
        text-align: center; 
        padding-top: 50px; /* تقليل المسافة العلوية بشكل كبير */
    }
    
    /* تصغير الشارة (Badge) */
    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    /* تصغير العنوان الرئيسي */
    .main-title {
        font-size: 1.6rem; /* تصغير كبير من 2.2rem */
        line-height: 1.2;
        margin-bottom: 12px; /* تقليل المسافة السفلية */
    }
    
    /* تصغير الوصف */
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px; /* تقليل المسافة السفلية */
        padding: 0 10px; /* حواف جانبية صغيرة لمنع التصاق */
    }

    /* ضبط الأزرار */
    .hero-btns { 
        justify-content: center; 
        flex-direction: column; 
        width: 100%;
        max-width: 260px; /* تصغير عرض الحاوية */
        margin: 0 auto;
        gap: 10px; /* تقريب المسافة بين الأزرار */
    }

    /* تصبير حجم الأزرار نفسها */
    .btn-primary, .btn-outline {
        padding: 10px 24px; /* تقليل الحشو الداخلي */
        font-size: 0.9rem;
    }
}