body {
    font-family: 'Cairo', sans-serif;
    background: var(--body-color);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.733);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;

}

.navbar .logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--main-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 2rem 1rem;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-header .logo img {
    height: 40px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: var(--main-color);
}

/* Hero Section */
.hero-section {
    background: var(--bg-body);

    border-radius: 24px;
    box-shadow: var(--shadow);
    min-height: 95vh;
    padding: 100px 16px 32px 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 80% 20%, #0d6efd22 0%, #fff 80%);

    animation: heroMove 8s infinite alternate;
}

@keyframes heroMove {
    0% {
        background-position: 80% 20%;
    }

    100% {
        background-position: 20% 80%;
    }
}

.hero-section>* {
    z-index: 1;
    position: relative;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;

}

.hero-image {
    width: 400px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content h1 {
    color: var(--main-color);
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background: var(--main-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    background: #0b5ed7;
}

/* تنسيقات عامة للزر */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    width: fit-content;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    z-index: 1;

}

/* زر رئيسي */
.btn-primary {
    background-color: var(--main-color);
    color: white;
    border: 2px solid var(--main-color);
}

/* تأثير عند المرور */
.btn-primary:hover {
    background-color: transparent;
    color: var(--main-color);
}


/* تأثير عند الضغط */
.btn-primary:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Plans Section */
.plans-section .card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 16px 0 rgba(13, 110, 253, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plans-section .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(13, 110, 253, 0.13);
}

.plans-section .card-title {
    color: var(--main-color);
}

.plan-icon {
    margin-bottom: 12px;
    font-size: 2rem;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 10px 0;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-lg:hover,
.btn-lg:focus {
    box-shadow: 0 4px 24px 0 #0d6efd33;
    opacity: 0.95;
}

.card ul li {
    font-size: 1.08rem;
    margin-bottom: 8px;
    text-align: right;
}

/* Why Choose Section */
.why-choose {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 48px 0 0 0;
    padding: 40px 0 20px 0;
}

.why-choose .section-title h2 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 2rem;
}

.why-choose .section-title p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
    padding: 0 20px;
}

.benefit-card {
    background: #f9fcff;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(13, 110, 253, 0.06);
    padding: 28px 18px 18px 18px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 230px;
}

.benefit-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(13, 110, 253, 0.13);
}

.benefit-icon {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 12px;
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.benefit-desc {
    color: #555;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    background: var(--bg-body);
    color: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 48px 0 0 0;
    padding: 40px 0 32px 0;
    text-align: center;
}

.cta h2 {
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 2rem;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: var(--main-color);
    color: var(--text-light);
    border-radius: 30px;
    padding: 12px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px 0 #19875433;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--bg-light);
    color: var(--main-color);
}

/* Contact Section */







/* =====================================================
           تنسيق الشاشات الكبيرة (Desktop)
        ===================================================== */
@media (min-width: 1400px) {
    .hero-container {
        gap: 6rem;
    }

    .hero-image {
        width: 500px;
        height: 500px;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .plans-section .row {
        justify-content: center;
        gap: 2rem;
    }

    .plans-section .col-md-4 {
        max-width: 350px;
    }
}

/* =====================================================
           تنسيق الأجهزة اللوحية (Tablet)
        ===================================================== */
@media (min-width: 769px) and (max-width: 1399px) {
    .hero-container {
        gap: 3rem;
    }

    .hero-image {
        width: 350px;
        height: 350px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .plans-section .row {
        justify-content: center;
        gap: 1.5rem;
    }

    .plans-section .col-md-4 {
        margin-bottom: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 40px;
    }

    .benefit-card {
        min-height: 250px;
        padding: 32px 20px;
    }

    .why-choose {
        padding: 48px 20px;
    }

    .cta {
        padding: 48px 20px;
    }

    .section-7 .row {
        align-items: flex-start;
    }

    .section-7 .col-md-4 {
        margin-bottom: 2rem;
    }

    .section-7 .col-md-8 {
        margin-bottom: 2rem;
    }

    footer .row .col-md-4 {
        margin-bottom: 2rem;
    }

    footer .div-content ul li {
        margin-bottom: 0.5rem;
    }
}

/* =====================================================
           تنسيق الشاشات المتوسطة
        ===================================================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .plans-section .row {
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .benefit-card {
        min-height: 220px;
    }
}

/* =====================================================
           تنسيق الموبايل (Mobile)
        ===================================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        margin-top: 80px;
        padding: 32px 15px;
        min-height: auto;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero-image {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .plans-section .col-md-4 {
        margin-bottom: 30px;
    }

    .plans-section .card {
        padding: 1.5rem;
    }

    .plans-section .card-title {
        font-size: 1.3rem;
    }

    .plans-section .card h4 {
        font-size: 1.1rem;
    }

    .plans-section .card ul li {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .why-choose,
    .cta {
        padding: 32px 15px;
        margin: 32px 0;
    }

    .why-choose .section-title h2 {
        font-size: 1.8rem;
    }

    .why-choose .section-title p {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }

    .benefit-card {
        padding: 24px 16px;
        min-height: 200px;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .benefit-title {
        font-size: 1.1rem;
    }

    .benefit-desc {
        font-size: 0.95rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .cta-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .section-7 {
        padding: 40px 0;
    }

    .section-7 .head-section h3 {
        font-size: 1.8rem;
    }

    .section-7 .row {
        gap: 2rem;
    }

    .section-7 .col-md-4,
    .section-7 .col-md-8 {
        margin-bottom: 2rem;
    }

    .form-floating.mb-3.w-100.ms-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .d-flex.justify-content-between.w-100 .form-floating {
        width: 48% !important;
    }



}

/* =====================================================
           تنسيق الشاشات الصغيرة جداً
        ===================================================== */
@media (max-width: 576px) {
    .hero-image {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .plans-section .card {
        margin-bottom: 20px;
        padding: 1.2rem;
    }

    .plans-section .card-title {
        font-size: 1.2rem;
    }

    .plans-section .card h4 {
        font-size: 1rem;
    }

    .plans-section .card ul li {
        font-size: 0.95rem;
    }

    .benefit-card {
        padding: 20px 14px;
    }

    .section-7 .d-flex.justify-content-between.w-100 .form-floating {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .section-7 .form-floating.mb-3.w-100.ms-3 {
        margin-left: 0 !important;
    }

    footer .div-img img {
        width: 150px;
    }
}

/* Loader */
#loader {
    background: #fff;
    z-index: 9999;
}

#loader .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

#loader p {
    color: #333;
    font-weight: 500;
    margin-top: 15px;
}