/* ============================================================
    GENERAL SETTINGS - الإعدادات العامة
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hacen-Eltaroute';
    scroll-behavior: smooth;
}

body {
    background: #f7f9fc;
    overflow-x: hidden;
    color: #0d1b2a;
}

@font-face {
    font-family: 'Hacen-Eltaroute';
    src: url('Rabie-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

a { text-decoration: none; }
ul { list-style: none; }

/* ============================================================
    NAVBAR - شريط التنقل
   ============================================================ */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
}

.logo span { color: #f18700; }

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    transition: .3s;
}

.nav-links a:hover { color: #f18700; }

.nav-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: .3s;
    display: inline-block;
}

.btn-outline { background: #fff; color: #f18700; }
.btn-main { background: #f18700; color: #fff; }
.btn-main:hover { background: #f18700; transform: translateY(-3px); }

/* ============================================================
    HERO SECTION - قسم الواجهة الرئيسي
   ============================================================ */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7,53,119,.88),rgba(61, 137, 243, 0.88)), url('https://images.unsplash.com/photo-1521790797524-b2497295b8a0?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    width: 50%;
    color: #fff;
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text h1 span { color: #f18700; }

.hero-text p {
    font-size: 19px;
    line-height: 2;
    opacity: .95;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
}

.hero-cards {
    display: flex;
    gap: 20px;
}
@media (max-width: 768px) {
    .hero-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
        margin-top: 20px;
    }

    .small-card {
        flex: 1 1 calc(45% - 10px); 
        min-width: 140px;
        max-width: 180px;
        padding: 12px 8px;
        border-radius: 15px;
        text-align: center;
    }

    .small-card h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .small-card p {
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    .small-card {
        flex: 1 1 100%;
        max-width: 280px;
    }
}
.small-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    padding: 20px;
    border-radius: 20px;
    width: 220px;
    text-align: center;
}

.small-card h3 { font-size: 18px; margin-bottom: 8px; }
.small-card p { font-size: 14px; margin: 0; }
@media (max-width: 480px) {
    .small-card {
        max-width: 45%; 
        padding: 15px 10px;
    }
    .small-card h3 {
        font-size: 16px;
    }
}

.hero-image {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone {
    width: 300px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
    z-index: 2;
    position: relative;
}

.phone2 {
    position: absolute;
    right: 120px;
    top: 50px;
    width: 260px;
    opacity: .9;
    transform: rotate(-10deg);
}

/* ============================================================
    DELIVERY SERVICES - خدمات التوصيل
   ============================================================ */
.delivery-services {
    direction: rtl;
    padding: 50px 20px;
    background-color: #fcfcfc;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background: #fff;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 90, 0, 0.15);
}

.image-box {
    height: 220px;
    background-size: cover;
    background-position: center;
    padding: 20px;
    position: relative;
}

.image-box h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.info-box {
    background-color: #4ea0ff;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    margin-top: -10px;
}

.info-box p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 10px 0 15px 0;
}

.action-btn {
    background-color: #f18700;
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 0.9rem;
    width: fit-content;
    align-self: center;
    transition: 0.3s;
    text-decoration: none;
}

.action-btn:hover { 
    background-color: #000; 
    transform: scale(1.05); 
}

@media (min-width: 600px) and (max-width: 1024px) {
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .services-wrapper {
        grid-template-columns: 1fr;
    }
    .service-card {
        max-width: 340px;
        margin: 0 auto;
    }
}

/* Service Backgrounds */
.flower-bg { background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://www.albayan.ae/assets/archives/images/2021/09/17/4249234.jpg'); }
.grocery-bg { background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://png.pngtree.com/thumb_back/fh260/background/20240720/pngtree-supermarket-grocery-store-aisle-and-shelves-blurred-background-image_15896050.jpg'); }
.food-bg { background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1561758033-d89a9ad46330?q=80&w=500'); }
.health-bg { background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://yalladealnow.com/cdn/shop/articles/Why-Are-Health-and-Beauty-Products-Essential-for-Your-Well-Being-blog-06-without.png?v=1750954161'); }
/* ============================================================
    STEPS & APP SECTIONS - الخطوات وتحميل التطبيق
   ============================================================ */
section { padding: 100px 0; }

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 42px;
    color: #458ce2;
    margin-bottom: 10px;
}

.section-title span {
    display: block;
    width: 100px;
    height: 5px;
    background: #f18700;
    margin: auto;
    border-radius: 50px;
}

.steps1 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.step1 {
    background: #fff;
    padding: 40px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
    transition: .3s;
}

.step1:hover { transform: translateY(-10px); }

.step1-number {
    width: 65px;
    height: 65px;
    background: #458ce2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step1 h3 { font-size: 24px; margin-bottom: 15px; color: #458ce2; }
.step1 p { line-height: 2; color: #555; }

.app {
    background: linear-gradient(135deg,#458ce2,#458ce2);
    border-radius: 45px;
    padding: 70px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
}

.app-text h2 { font-size: 48px; margin-bottom: 20px; }
.app-text p { font-size: 18px; line-height: 2; margin-bottom: 30px; }

.store-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store {
    background: #fff;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    color: #458ce2;
}
.store-img {
    display: flex;
    flex-wrap: wrap;     
    gap: 15px;           
    justify-content: center;
    margin-top: 20px;
}
.store-img img {
    width: 170px;         
    transition: .3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.18));
    display: block;    
}

.store-img img:hover { 
    transform: translateY(-6px) scale(1.03); 
}

@media (max-width: 480px) {
    .store-img img {
        width: 150px;     
    }
    .store-img {
        gap: 10px;        
    }
}
/* ============================================================
    FEATURES SECTION - قسم المميزات
   ============================================================ */
.features-section {
    padding: 120px 0;
    background: linear-gradient(to bottom,#f8fbff,#eef5ff);
    position: relative;
    overflow: hidden;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.feature {
    position: relative;
    background: #fff;
    padding: 45px 30px;
    border-radius: 35px;
    overflow: hidden;
    text-align: center;
    transition: .4s ease;
    box-shadow: 0 15px 35px rgba(13,71,161,.08);
    border: 1px solid rgba(13,71,161,.08);
    z-index: 2;
}

.feature:hover {
    transform: translateY(-14px);
    box-shadow: 0 25px 60px rgba(13,71,161,.18);
}

.feature-bg {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 180px;
    height: 180px;
    background: linear-gradient(to right,#0d47a1,#4ea0ff);
    opacity: .08;
    border-radius: 50%;
}

.feature-icon {
    width: 95px;
    height: 95px;
    margin: auto auto 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg,#0d47a1,#4ea0ff);
    box-shadow: 0 12px 30px rgba(13,71,161,.25);
    position: relative;
    color: #fff;
    transition: .4s;
}

.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }

.feature h3 { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: #0d47a1; }
.feature p { font-size: 16px; line-height: 2; color: #6b7280; }

.feature-line {
    width: 70px;
    height: 5px;
    border-radius: 50px;
    background: linear-gradient(to right,#f18700,#ffb347);
    margin: 30px auto 0;
    transition: .4s;
}

.feature:hover .feature-line { width: 120px; }

/* ============================================================
    RIDER SECTION - قسم المناديب
   ============================================================ */
.rider-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background: #0f172a;
    color: #fff;
    flex-wrap: wrap;
    gap: 40px;
}

.rider-text { flex: 1; min-width: 280px; }
.rider-text h2 { font-size: 32px; margin-bottom: 15px; }
.rider-text p { opacity: 0.8; line-height: 1.7; margin-bottom: 25px; max-width: 400px; }

.buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.primary {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg,#22c55e,#16a34a);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.primary:hover { transform: scale(1.05); }

.secondary {
    padding: 12px 22px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.secondary:hover { background: #1e293b; }

.rider-image { flex: 1; display: flex; justify-content: center; min-width: 280px; }
.rider-image img { width: 320px; max-width: 100%; animation: float 3s ease-in-out infinite; }

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
    SIGNUP SECTION - قسم التسجيل
   ============================================================ */
.delivery-signup-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f9fc;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    padding: 40px 20px;
}

.signup-container {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(135deg, #3884f3 0%, #3074d6 100%);
    border-radius: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(56, 132, 243, 0.2);
}

.signup-content { padding: 60px; color: #fff; width: 55%; z-index: 2; }
.signup-content h2 { font-size: 36px; font-weight: 800; margin: 0 0 15px 0; line-height: 1.3; }
.signup-content p { font-size: 16px; opacity: 0.9; margin: 0 0 35px 0; line-height: 1.8; max-width: 450px; }

.signup-btns { display: flex; gap: 20px; margin-bottom: 45px; }

.btn-primary {
    background-color: #fff;
    color: #f18700 !important;
    padding: 12px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.btn-secondary {
    color: #fff;
    padding: 12px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.6);
    transition: 0.3s ease;
}

.delivery-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    direction: rtl; 
}
.delivery-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
    justify-content: flex-start; 
    width: 100%;
    max-width: 100%;     
    gap: 15px;           
    margin-bottom: 35px;
}

.delivery-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 15px;
    flex: 1;           
    min-width: 160px;   
    transition: 0.3s;
}

.delivery-icon {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.15);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 12px; 
}

.delivery-item span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap; 
}

@media (max-width: 480px) {
    .delivery-list {
        flex-direction: column;
        align-items: center;
    }
    .delivery-item {
        width: 100%;
        max-width: 280px;
    }
}
.store-img {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.store-img img {
    width: 145px; 
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

@media (max-width: 375px) {
    .store-img {
        flex-direction: column; 
        align-items: center;
    }
    .store-img img {
        width: 180px;
    }
    .delivery-item {
        padding: 12px 15px;
    }
}
.signup-image { width: 45%; display: flex; justify-content: flex-end; position: relative; }
.signup-image img { max-width: 280px; height: auto; display: block; position: relative; z-index: 2; margin-left: 50px; }

.circle-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    z-index: 1;
}

.dots { position: absolute; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; opacity: 0.2; }
.dots div { width: 5px; height: 5px; background: #fff; border-radius: 50%; }
.dots-1 { top: 20%; left: 30%; }
.dots-2 { top: 60%; left: 20%; }

/* ============================================================
    FOOTER SECTION - التذييل
   ============================================================ */
.custom-orange-footer {
    background-color: #f18700;
    color: #ffffff;
    padding: 12px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.social-icons { display: flex; gap: 10px; }
.social-icons .icon {
    background-color: #ffffff;
    color: #f18700;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.custom-footer {
    background-color: #52a1fc;
    padding: 80px 0 30px;
    position: relative;
    margin-top: 100px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 102, 0, 0.1);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-info p { color: #fff; line-height: 1.8; max-width: 350px; }
.footer-links h3, .footer-apps h3 { font-size: 20px; color: #fff; margin-bottom: 25px; position: relative; padding-bottom: 10px; }

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
}
.social-links I {
    color: #f18700;
}
.footer-links ul li a { color: #fff; transition: 0.3s; }
.footer-links ul li a:hover { padding-right: 8px; }

.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
}

.app-btns img { height: 40px; margin-bottom: 15px; display: block; transition: 0.3s; }

/* ============================================================
    RESPONSIVE DESIGN - التجاوب مع الشاشات
   ============================================================ */

/* Medium Screens (Tablets) */
@media (max-width: 991px) {
    .container { width: 92%; }
    .hero { height: auto; padding: 150px 0 60px; border-radius: 0 0 40px 40px; }
    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text { width: 100%; }
    .hero-text h1 { font-size: 48px; }
    .hero-buttons, .hero-cards { justify-content: center; }
    .hero-image { width: 100%; margin-top: 20px; }
    .phone2 { display: none; }
    .app { flex-direction: column; padding: 40px 20px; text-align: center; }
    .rider-section { padding: 60px 5%; text-align: center; }
    .rider-text p { margin: 0 auto 25px; }
    .buttons { justify-content: center; }
    .signup-container { flex-direction: column; align-items: center; text-align: center; padding-bottom: 0; }
    .signup-content { width: 100%; padding: 40px 20px; }
    .signup-image { display: none; }
    .nav-links { display: none; }
}

/* Phones */
@media (max-width: 768px) {
    .section-title h2 { font-size: 32px; }
    .hero-text h1 { font-size: 36px; }
    .hero-image { display: none; }
    .services-wrapper, .features, .steps1 { gap: 15px; }
    .service-card, .feature, .step1 { width: 100%; max-width: 100%; }
    .nav-btns { display: none; }
    .logo { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info p { margin: 0 auto; }
    .social-links { justify-content: center; }
    .custom-footer { border-top-left-radius: 40px; border-top-right-radius: 40px; }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 28px; }
    .hero-text p { font-size: 16px; }
    .btn { width: 100%; margin-bottom: 10px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .footer-container { flex-direction: column; gap: 15px; text-align: center; }
    .signup-content h2 { font-size: 28px; }
    .signup-btns { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) {

    .custom-footer {
        padding: 40px 0 20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        margin-bottom: 25px;
    }

    .footer-info p {
        max-width: 100%;
        margin: auto;
    }

    .footer-links h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .app-btns {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .app-btns img {
        height: 35px;
    }
}
@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 0 20px;
        margin-top: 50px;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0;
        list-style: none;
    }

    .footer-links h3, .footer-apps h3 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer-links h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-info p {
        font-size: 14px;
        max-width: 100%;
        padding: 0 15px;
    }

    .social-links {
        justify-content: center;
        margin-top: 15px;
    }

    .app-btns {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .app-btns img {
        height: 35px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}