/* ===== Reset & RTL Base Styles (No changes needed for mobile) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9f9f9;
    color: #333;
    text-align: right;
}

/* ===== Header ===== */
header {
    background: #fff;
    padding: 18px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    max-width: 330px;
    height: auto;
}

.logo svg {
    width: 100%;
    height: auto;
    fill: #00adb5;
}


/* ===== Auth Buttons ===== */
.auth-buttons .btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.login-btn {
    background: #292929;
    color: #fff;
}

.register-btn {
    background: #007BFF;
    color: #fff;
}

.register-btn:hover {
    background: #008c8c;
    transform: scale(1.05);
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 20px;
    background: #eef4ff;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    color: #007BFF;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #007BFF;
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #0056b3;
}

/* ===== Features Section ===== */
.features {
    padding: 60px 80px;
    background: #fff;
}

.features h3 {
    font-size: 32px;
    color: #007BFF;
    margin-bottom: 30px;
    text-align: right;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.feature-card {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.feature-card img {
    width: 65px;
    margin-bottom: 18px;
}

.feature-card h4 {
    color: #007BFF;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
}


/* ===== Footer ===== */
footer {
    width: 100%;
    padding: 15px;
    background: #8e9298;
    color: #fff;
    text-align: center;
    font-size: 15px;
    position: fixed;
    left: 0;
    bottom: 0;
}

/* ===== Media Query for Phone Mode ===== */
@media (max-width: 768px) {
    /* ===== Reset & RTL Base Styles (Mobile Optimized) ===== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        direction: rtl;
    }

    body {
        font-family: 'Inter', sans-serif;
        background: #f9f9f9;
        color: #333;
        text-align: right;
    }

    /* ===== Header (Sticky for Mobile) ===== */
    header {
        background: #fff;
        padding: 12px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo */
    .logo {
        max-width: 220px;
    }

    .logo svg {
        width: 100%;
        height: auto;
        fill: #00adb5;
    }

    /* Auth Buttons */
    .auth-buttons {
        display: flex;
        gap: 8px;
    }

    .auth-buttons .btn {
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 6px;
    }

    .login-btn {
        background: #292929;
        color: #fff;
    }

    .register-btn {
        background: #007BFF;
        color: #fff;
    }

    .register-btn:hover {
        background: #008c8c;
        transform: scale(1.05);
    }

    /* ===== Hero Section (Mobile Adjustments) ===== */
    .hero {
        padding: 100px 15px;
        background: #eef4ff;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 28px;
        margin-top: 50px;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cta-btn {
        display: inline-block;
        padding: 12px 28px;
        font-size: 16px;
        border-radius: 50px;
    }

    /* ===== Features Section (Mobile Adjustments) ===== */
    .features {
        padding: 40px 20px;
        background: #fff;
        text-align: center;
    }

    .features h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* Features Grid - Single Column for Mobile */
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
        border-radius: 8px;
    }

    .feature-card img {
        width: 50px;
    }

    .feature-card h4 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* ===== Footer (Mobile Adjustments) ===== */
    footer {
        width: 100%;
        padding: 10px;
        background: #8e9298;
        color: #fff;
        text-align: center;
        font-size: 14px;
        position: fixed;
        left: 0;
        bottom: 0;
    }

}