/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Lebanese flag colors */
    --red: #FF0000;
    --white: #FFFFFF;
    --green: #00A651;
    
    /* Purple gradient colors */
    --purple-primary: #667eea;
    --purple-secondary: #764ba2;
    
    /* Additional colors */
    --dark: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--purple-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 150px;
    height: 150px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title-arabic {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    direction: rtl;
}

.hero-title-english {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subdescription {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.app-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-button i {
    font-size: 2rem;
    margin-right: 1rem;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.large-text {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    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);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: white;
    line-height: 1.8;
}

.page-content h1 {
    color: var(--purple-primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.page-content h2 {
    color: var(--purple-secondary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.page-content ul,
.page-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-title-english {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .feature {
        padding: 1.5rem;
    }

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

    .page-content {
        padding: 2rem 1rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 100px;
        height: 100px;
    }

    .hero-title-arabic {
        font-size: 2rem;
    }

    .hero-title-english {
        font-size: 1.4rem;
    }

    .app-button {
        min-width: 180px;
        padding: 12px 20px;
    }

    .app-button i {
        font-size: 1.5rem;
    }
}
