@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box
}

body {
    direction: rtl;
    background-color: #f8fafc;
    min-height: 100vh;
    margin: 0;
    padding: 0
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

:root {
    --egypt-red: #CE1126;
    --egypt-gold: #FFD700;
    --nile-blue: #1E3A8A;
    --light-bg: #f8fafc
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: sticky;
    top: 0;
    z-index: 100
}

.mobile-sidebar {
    position: fixed;
    right: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 15px rgba(0,0,0,.1);
    transition: right .3s ease;
    z-index: 1000;
    overflow-y: auto
}

.mobile-sidebar.open {
    right: 0
}

.mobile-sidebar-toggle,
.mobile-menu-btn {
    display: none
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border: 1px solid #0000004a
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, var(--egypt-red));

    transition: all .3s ease;
    border: none
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(206,17,38,.3)
}

.form-input {
    border: 2px solid #e2e8f0;
    transition: all .3s ease
}

.form-input:focus {
    border-color: var(--nile-blue);
    box-shadow: 0 0 0 3px rgba(30,58,138,.1)
}

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);
    position: relative;
    overflow: hidden
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b
}

.highlight {
    color: var(--egypt-red)
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.7
}

.hero-buttons .btn {
    margin-left: 15px;
    margin-bottom: 10px
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center
}

.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    text-align: center;
    width: 140px;
    transition: transform .3s ease
}

.floating-card:hover {
    transform: translateY(-10px)
}

.floating-card i {
    font-size: 2rem;
    color: var(--nile-blue);
    margin-bottom: 10px
}

.floating-card h4 {
    font-size: 1rem;
    margin: 0;
    color: #334155
}

.card-1 {
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite
}

.card-2 {
    bottom: 60px;
    left: 40px;
    animation: float 3s ease-in-out infinite 1s
}

.card-3 {
    top: 100px;
    left: 20px;
    animation: float 3s ease-in-out infinite 2s
}

.main-hero-icon {
    font-size: 8rem;
    color: var(--nile-blue);
    opacity: .1
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-15px)
    }
}

.features-section {
    padding: 100px 0;
    background: #fff
}

.section-header {
    text-align: center;
    margin-bottom: 60px
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem
}

.section-description {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform .3s ease,box-shadow .3s ease;
    height: 100%
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.1)
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,var(--nile-blue),var(--egypt-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px
}

.feature-icon i {
    font-size: 2rem;
    color: #fff
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b
}

.feature-card p {
    color: #64748b;
    line-height: 1.6
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg,var(--nile-blue),var(--egypt-red));
    color: #fff
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.stat-item i {
    font-size: 3rem;
    margin-left: 20px;
    opacity: .8
}

.stat-content {
    display: flex;
    flex-direction: column
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px
}

.stat-label {
    font-size: 1.1rem;
    opacity: .9
}

.how-it-works {
    padding: 100px 0;
    background: #f8fafc
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    height: 100%
}

.step-number {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background: var(--egypt-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1)
}

.step-icon i {
    font-size: 2rem;
    color: var(--nile-blue)
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b
}

.step-card p {
    color: #64748b;
    line-height: 1.6
}

@media (max-width:768px) {
    .mobile-menu-btn {
        display: block
    }
    .desktop-nav {
        display: none
    }
    .hero-title {
        font-size: 2.5rem
    }
    .hero-description {
        font-size: 1.1rem
    }
    .hero-image {
        height: 300px;
        margin-top: 40px
    }
    .floating-card {
        width: 120px;
        padding: 15px
    }
    .floating-card i {
        font-size: 1.5rem
    }
    .main-hero-icon {
        font-size: 6rem
    }
    .section-title {
        font-size: 2rem
    }
    .stat-item {
        margin-bottom: 30px;
        flex-direction: column
    }
    .stat-item i {
        margin-left: 0;
        margin-bottom: 15px
    }
    .step-card {
        margin-bottom: 40px
    }
}

.fade-in {
    animation: fadeIn .6s ease-in
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.nav-link {
    position: relative;
    transition: all .3s ease
}

.nav-link:hover {
    color: var(--egypt-red)
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--egypt-red);
    transition: width .3s ease
}

.nav-link:hover::after {
    width: 100%
}