:root {
    --primary-color: #1E88E5;
    --secondary-color: #03A9F4;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: relative;
}

.logo img {
    height: 50px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 2rem;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 6px;
    z-index: 1001;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.mobile-menu.active {
    display: flex;
    max-height: 800px;
    opacity: 1;
    padding: 1.5rem 5%;
}


.mobile-menu .menu-section {
    margin-bottom: 1.5rem;
}

.mobile-menu .menu-section:last-child {
    margin-bottom: 0;
}

.mobile-menu .menu-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu .menu-section a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    padding-right: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2rem 5%;
    padding-top: 3rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Button Styles */
.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

.primary-btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.secondary-btn {
    border: 2px solid var(--white);
    color: var(--white);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 5rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* How it Works Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Download Section */
#download {
    background: var(--light-bg);
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.store-button img {
    height: 50px;
}

/* Join Us Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

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

.footer-logo img {
    height: 40px;
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin: 0.5rem 0;
}

.footer-contact p {
    margin: 0.5rem 0;
}

.footer-contact i {
    margin-left: 0.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-contact .contact-info {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-right: 1.8rem;
}

.footer-social .social-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-social .social-links a:hover {
    color: #FFF;
    transform: translateX(-5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-social .social-links i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 5%;
    }

    nav {
        padding: 1rem 5%;
    }
}