/* =====================================================
   AVIATION HRP - Landing Page Styles
   Professional Marketing Landing Page
   ===================================================== */

/* Hide loading spinner by default */
.loading-spinner,
[class*="loading"],
[class*="spinner"] {
    display: none !important;
}

/* Ensure page content is visible */
.hero-section,
.features-section,
.about-section,
.contact-section,
.target-audience,
.professional-footer {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =====================================================
   Splash Screen Styles - Cinematic Landing Animation
   ===================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.splash-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255, 165, 0, 0.1) 0%, transparent 30%);
}

/* Real Runway */
.runway-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.real-runway {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(0.7) contrast(1.3) saturate(1.2);
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    mix-blend-mode: multiply;
}

/* Real Airport Terminal */
.airport-terminal-container {
    position: absolute;
    bottom: 250px;
    left: 5%;
    width: 400px;
    height: 200px;
    z-index: 5;
}

.real-terminal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.2) saturate(1.1);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    mix-blend-mode: normal;
}

/* Real Control Tower */
.control-tower-container {
    position: absolute;
    bottom: 250px;
    right: 10%;
    width: 120px;
    height: 300px;
    z-index: 6;
}

.real-control-tower {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.2) saturate(1.1);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    mix-blend-mode: normal;
}

/* Real Aircraft */
.aircraft-container {
    position: absolute;
    top: 10%;
    right: -400px;
    width: 400px;
    height: 150px;
    animation: aircraftLanding 4s ease-in-out forwards;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.real-aircraft {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2) saturate(1.1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    transform: scaleX(-1);
    /* Flip horizontally for landing approach */
    mix-blend-mode: normal;
}

.aircraft-lights-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 11;
}

.nav-light {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: navLights 1s ease-in-out infinite;
}

.nav-light.red {
    left: 10px;
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.nav-light.green {
    right: 10px;
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.landing-light {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: landingLight 0.5s ease-in-out infinite;
}

.aircraft-smoke {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: aircraftSmoke 2s ease-in-out infinite;
}

/* Clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: cloudFloat 20s linear infinite;
}

.cloud-1 {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 40px;
    animation-delay: 0s;
}

.cloud-2 {
    top: 30%;
    right: 20%;
    width: 60px;
    height: 30px;
    animation-delay: -10s;
}

.cloud-3 {
    top: 15%;
    left: 60%;
    width: 100px;
    height: 50px;
    animation-delay: -5s;
}

/* Stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(1.2) contrast(1.1);
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.star-2 {
    top: 30%;
    left: 80%;
    animation-delay: -1s;
}

.star-3 {
    top: 60%;
    left: 30%;
    animation-delay: -2s;
}

.star-4 {
    top: 40%;
    left: 70%;
    animation-delay: -0.5s;
}

.star-5 {
    top: 70%;
    left: 60%;
    animation-delay: -1.5s;
}

/* Splash Content */
.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.splash-logo img {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.logo-text {
    text-align: left;
    flex: 1;
}

.logo-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out forwards;
}

.loading-text {
    font-size: 1rem;
    opacity: 0.8;
    animation: loadingText 1s ease-in-out infinite;
}

/* Animations */
@keyframes aircraftLanding {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scaleX(-1);
        opacity: 0;
        filter: brightness(1.1) contrast(1.2) saturate(1.1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    }

    10% {
        opacity: 1;
    }

    30% {
        transform: translateX(-30vw) translateY(10px) rotate(-1deg) scaleX(-1);
        filter: brightness(1.2) contrast(1.3) saturate(1.2) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    }

    60% {
        transform: translateX(-60vw) translateY(25px) rotate(-3deg) scaleX(-1);
        filter: brightness(1.1) contrast(1.2) saturate(1.1) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
    }

    100% {
        transform: translateX(-120vw) translateY(50px) rotate(-5deg) scaleX(-1);
        opacity: 1;
        filter: brightness(1.0) contrast(1.1) saturate(1.0) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
    }
}

@keyframes runwayLights {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes terminalLights {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes towerLight {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes navLights {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes landingLight {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

@keyframes aircraftSmoke {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(1.5);
    }
}

@keyframes cloudFloat {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes loadingText {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Hide splash screen after animation */
.splash-screen.fade-out {
    animation: splashFadeOut 1s ease-in-out forwards;
}

@keyframes splashFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Video styles removed as requested */
/* Video container styles removed */

@keyframes logoSlideIn {
    0% {
        transform: translateX(-120px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes logoGlow {
    0% {
        filter: brightness(1.1) contrast(1.2) drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
    }

    100% {
        filter: brightness(1.2) contrast(1.3) drop-shadow(0 0 20px rgba(59, 130, 246, 0.7));
    }
}

@keyframes textPulse {

    0%,
    100% {
        color: #1e3a8a;
        text-shadow: none;
    }

    50% {
        color: #3b82f6;
        text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    }
}

/* Video unmute button styles removed */

/* Responsive Design for Splash Screen */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        max-width: 90%;
    }

    .logo-text {
        text-align: center;
    }

    .logo-text h1 {
        font-size: 2.2rem;
    }

    .logo-text p {
        font-size: 1rem;
    }

    .splash-logo img {
        width: 120px;
        height: 120px;
    }

    .aircraft-container {
        width: 300px;
        height: 120px;
        top: 8%;
    }

    .runway-container {
        height: 200px;
    }

    .airport-terminal-container {
        width: 300px;
        height: 150px;
        bottom: 200px;
    }

    .control-tower-container {
        width: 100px;
        height: 250px;
        bottom: 200px;
    }

    .loading-bar {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.8rem;
    }

    .logo-text p {
        font-size: 0.9rem;
    }

    .splash-logo img {
        width: 100px;
        height: 100px;
    }

    .aircraft-container {
        width: 250px;
        height: 100px;
    }

    .runway-container {
        height: 150px;
    }

    .airport-terminal-container {
        width: 250px;
        height: 120px;
        bottom: 150px;
    }

    .control-tower-container {
        width: 80px;
        height: 200px;
        bottom: 150px;
    }

    .loading-bar {
        width: 200px;
    }
}

/* =====================================================
   CSS Variables for Consistent Design
   ===================================================== */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --white: #ffffff;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* =====================================================
   Logo Popup Modal Styles
   ===================================================== */
.logo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.logo-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.logo-popup-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: scale(0.5);
    transition: all 0.3s ease;
    max-width: 90vw;
    max-height: 90vh;
    min-width: 500px;
    border: 3px solid rgba(59, 130, 246, 0.3);
}

.logo-popup-overlay.show .logo-popup-content {
    transform: scale(1);
}

.logo-popup-img {
    width: 400px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.4) saturate(1.3) hue-rotate(5deg);
    animation: logoPulse 2s ease-in-out infinite;
    background: transparent;
}

.logo-popup-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-popup-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.logo-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.logo-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =====================================================
   Reset and Base Styles
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #374151;
    overflow-x: hidden;
    padding-top: 80px;
    /* تقليل مساحة الهيدر الثابت */
}

/* =====================================================
   Modern Header Styles
   ===================================================== */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0;
    backdrop-filter: blur(25px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
    cursor: pointer;
    background: transparent;
}

.logo-section img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.logo-section img:active {
    transform: scale(0.95);
}

.brand-name {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.brand-name:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 600;
    background: rgba(30, 58, 138, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.main-navigation a:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: rgba(30, 58, 138, 0.8);
    color: var(--white);
    border: 2px solid rgba(59, 130, 246, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-login:hover {
    background: rgba(59, 130, 246, 0.9);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.btn-demo {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-demo:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   Hero Section with Dynamic Background
   ===================================================== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8)),
        url('/images/atc_controller.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding-top: 100px;
    /* تقليل المسافة للهيدر الثابت */
    margin-top: 0;
    /* إزالة الـ margin السالب */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.8) 0%,
            rgba(59, 130, 246, 0.6) 100%);
    z-index: 1;
}

/* Dynamic Elements */
.dynamic-clouds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: cloud-drift 30s linear infinite;
    opacity: 0.6;
    z-index: 2;
}

/* Aircraft animations removed - replaced with static hero image */

.runway-lights {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 0, 0.8) 50%,
            transparent 100%);
    animation: runway-blink 3s ease-in-out infinite;
    z-index: 2;
}

/* Animations */
@keyframes cloud-drift {
    0% {
        transform: translateX(-50px) translateY(0px);
    }

    25% {
        transform: translateX(25px) translateY(-10px);
    }

    50% {
        transform: translateX(50px) translateY(5px);
    }

    75% {
        transform: translateX(25px) translateY(-5px);
    }

    100% {
        transform: translateX(-50px) translateY(0px);
    }
}

@keyframes aircraft-fly {
    0% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(-120vw) translateY(-20px) rotate(-5deg);
        opacity: 0;
    }
}

@keyframes aircraft-fly-2 {
    0% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translateX(-100vw) translateY(15px) rotate(3deg);
        opacity: 0;
    }
}


@keyframes runway-blink {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    overflow: visible;
    white-space: nowrap;
    text-overflow: unset;
    width: 100%;
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    text-decoration: none;
}

/* =====================================================
   Marketing Tabs Container
   ===================================================== */
.tabs-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tabs-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--medium-gray);
    overflow-x: auto;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-gray);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn:hover:not(.active) {
    background: var(--light-gray);
    color: var(--secondary-blue);
}

.tab-btn i {
    font-size: 1.1rem;
}

.tabs-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

/* =====================================================
   Features Tab Styles
   ===================================================== */
.features-showcase {
    display: grid;
    gap: 2rem;
}

.feature-highlight {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--secondary-blue);
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-highlight .feature-icon {
    background: var(--secondary-blue);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: "✅";
    font-size: 1rem;
}

/* =====================================================
   Demo Tab Styles
   ===================================================== */
.demo-container {
    display: grid;
    gap: 3rem;
}

.demo-video-section {
    text-align: center;
}

.video-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.demo-video,
.video-placeholder {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 3rem;
    text-align: center;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.video-placeholder h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    color: var(--dark-gray);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-blue);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    background: var(--white);
    transform: scale(1.1);
}

.video-description {
    margin-top: 1rem;
}

.video-description h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.screenshots-gallery {
    margin-top: 2rem;
}

.screenshots-gallery h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.screenshot-item img,
.screenshot-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--primary-blue);
    font-size: 2rem;
    gap: 0.5rem;
}

.screenshot-placeholder span {
    font-size: 1rem;
    font-weight: 600;
}

.screenshot-item:hover img,
.screenshot-item:hover .screenshot-placeholder {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* =====================================================
   Demo Request Tab Styles
   ===================================================== */
.demo-request-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.demo-benefits {
    background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--secondary-blue);
}

.demo-benefits h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    font-size: 1.2rem;
    color: var(--success-green);
}

.demo-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
}

.demo-form h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* =====================================================
   About Tab Styles
   ===================================================== */
.about-content {
    display: grid;
    gap: 3rem;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.problem-section,
.solution-section {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.problem-section {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left: 4px solid var(--danger-red);
}

.solution-section {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 4px solid var(--success-green);
}

.problem-section h4,
.solution-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.problem-section h4 {
    color: var(--danger-red);
}

.solution-section h4 {
    color: var(--success-green);
}

.challenges-list,
.solutions-list {
    display: grid;
    gap: 1rem;
}

.challenge-item,
.solution-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.challenge-item i {
    color: var(--danger-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.solution-item i {
    color: var(--success-green);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.challenge-item h5,
.solution-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.statistics-section {
    text-align: center;
}

.statistics-section h4 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-blue);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    background: var(--secondary-blue);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
}

.technology-section {
    text-align: center;
}

.technology-section h4 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tech-item i {
    font-size: 2rem;
    color: var(--secondary-blue);
}

.tech-item span {
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
}

/* =====================================================
   Target Audience Section
   ===================================================== */
.target-audience {
    padding: 4rem 0;
    background: var(--white);
}

.target-audience h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 2.5rem;
}

.audience-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.audience-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.audience-tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.audience-tab-button:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    transform: translateY(-2px);
}

.audience-tab-button.active {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.audience-tab-button i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.audience-tab-button span {
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.audience-content {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    min-height: 300px;
}

.audience-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.audience-tab-content.active {
    display: block;
}

.audience-content-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.audience-icon {
    margin-bottom: 1rem;
}

.audience-icon i {
    font-size: 3rem;
    color: var(--secondary-blue);
}

.audience-content-inner h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.challenge-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.challenge,
.solution {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.challenge h4,
.solution h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.challenge h4 {
    color: var(--danger-red);
}

.solution h4 {
    color: var(--success-green);
}

.challenge p,
.solution p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design for Audience Tabs */
@media (max-width: 768px) {
    .audience-tabs {
        flex-direction: column;
        align-items: center;
    }

    .audience-tab-button {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .audience-tab-button i {
        margin-right: 0.5rem;
        margin-bottom: 0;
    }

    .audience-content {
        padding: 1.5rem;
    }

    .challenge-solution {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .audience-content-inner h3 {
        font-size: 1.5rem;
    }
}

/* =====================================================
   Professional Footer
   ===================================================== */
.professional-footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   Modal Styles for Demo Request
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger-red);
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 90px;
        /* مساحة أقل للهواتف */
    }

    .hero-section {
        padding-top: 110px;
        /* مساحة أقل للهواتف */
    }

    /* Video container removed */

    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .header-logo {
        width: 80px;
        height: 80px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .main-navigation {
        gap: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .tabs-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        justify-content: center;
    }

    .demo-request-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .problem-solution {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tabs-container {
        padding: 1rem;
    }

    .feature-highlight {
        flex-direction: column;
        text-align: center;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Features Section Styles
   ===================================================== */
.features-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.features-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 2.5rem;
}

.features-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.tab-button:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.tab-button i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.tab-button span {
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.features-content {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    min-height: 200px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

.feature-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.features-content .feature-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Features Tabs */
@media (max-width: 768px) {
    .features-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .tab-button i {
        margin-right: 0.5rem;
        margin-bottom: 0;
    }

    .features-content {
        padding: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1rem;
    }
}

/* =====================================================
   About Section Styles
   ===================================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-blue);
}

.stat-label {
    display: block;
    color: var(--dark-gray);
    margin-top: 0.5rem;
}

/* =====================================================
   Contact Section Styles
   ===================================================== */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-blue);
}

.contact-item span {
    color: var(--dark-gray);
    font-weight: 500;
}

/* =====================================================
   Hero Carousel Styles
   ===================================================== */
.hero-carousel {
    flex: 1;
    max-width: 500px;
    margin-left: 3rem;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.indicator.active {
    background: var(--secondary-blue);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Carousel Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-slide.active {
    animation: slideIn 0.8s ease-out;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        margin-left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }

    .carousel-container {
        height: 300px;
    }
}

/* =====================================================
   Lightbox Styles
   ===================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Make carousel images clickable */
.carousel-slide img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

/* Lightbox responsive design */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: -60px;
    }

    .lightbox-next {
        right: -60px;
    }

    .lightbox-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* =====================================================
   Enhanced Logo Animations - Professional & Beautiful
   ===================================================== */

/* Logo floating animation */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Logo rotation animation */
@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1deg);
    }

    75% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Logo pulse animation */
@keyframes logoPulse {

    0%,
    100% {
        filter: brightness(0.7) contrast(0.8) saturate(0.6);
        transform: scale(1);
    }

    50% {
        filter: brightness(0.8) contrast(0.9) saturate(0.7);
        transform: scale(1.05);
    }
}

/* Enhanced logo glow animation */
@keyframes logoGlow {
    0% {
        filter: brightness(1.3) contrast(1.4) drop-shadow(0 0 30px rgba(59, 130, 246, 0.8));
    }

    100% {
        filter: brightness(1.5) contrast(1.6) drop-shadow(0 0 45px rgba(59, 130, 246, 1));
    }
}

/* Text glow animation */
@keyframes textGlow {
    0% {
        text-shadow:
            0 0 15px rgba(59, 130, 246, 0.9),
            0 0 25px rgba(59, 130, 246, 0.7),
            0 0 35px rgba(59, 130, 246, 0.5),
            3px 3px 6px rgba(0, 0, 0, 0.9);
    }

    100% {
        text-shadow:
            0 0 20px rgba(59, 130, 246, 1),
            0 0 30px rgba(59, 130, 246, 0.9),
            0 0 40px rgba(59, 130, 246, 0.7),
            3px 3px 6px rgba(0, 0, 0, 0.9);
    }
}

/* Text floating animation */
@keyframes textFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Gradient shift animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Enhanced logo slide in animation */
@keyframes logoSlideIn {
    0% {
        transform: translateX(-120px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translateX(10px) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translateX(0px) scale(1);
        opacity: 1;
    }
}

/* Logo hover effects */
.intro-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.4) contrast(1.5) saturate(1.4);
    transition: all 0.3s ease;
}

.intro-logo:hover .intro-brand {
    transform: scale(1.05);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .intro-logo {
        top: 15px;
        left: 15px;
    }

    .intro-logo img {
        width: 160px;
        height: 160px;
    }

    .video-header-text {
        font-size: 1.8rem;
        letter-spacing: 1.2px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .intro-logo {
        top: 10px;
        left: 10px;
    }

    .intro-logo img {
        width: 130px;
        height: 130px;
    }

    .video-header-text {
        font-size: 1.3rem;
        letter-spacing: 0.8px;
        top: 10px;
    }

    .logo-container-enhanced {
        padding: 1.5rem;
        gap: 0.8rem;
    }

    .logo-enhanced {
        width: 150px;
        height: 150px;
    }

    .logo-title {
        font-size: 2rem;
    }

    .logo-subtitle {
        font-size: 1rem;
    }

    .header-logo {
        width: 75px;
        height: 75px;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }
}

/* Enhanced Logo Container Styles */
.logo-container-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    animation: logoSlideIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform: translateX(-120px) scale(0.8);
    opacity: 0;
}

/* إضافة مساحة إضافية للهواتف الصغيرة */
@media (max-width: 480px) {
    body {
        padding-top: 100px;
        /* مساحة أقل للهواتف الصغيرة */
    }

    .hero-section {
        padding-top: 120px;
        /* مساحة أقل للهواتف الصغيرة */
    }

    /* Video container removed */
}

.logo-glow-effect {
    position: relative;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-enhanced {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    object-fit: contain;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.logo-text-overlay {
    text-align: center;
}

.logo-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    color: var(--white);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    animation: none;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Header Logo Enhancements */
.header-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.header-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.4);
    filter: brightness(1.2) contrast(1.2);
}

.header-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}