/* General */
body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background-color: #f4f4f4;
}

/* Navbar Container */
.navbar {
    background-color: #1f2933;
    display: flex;
    align-items: center;
    padding: 20px 24px; /* زودنا الحجم */
    gap: 20px;
    flex-wrap: wrap; /* السماح بالانكسار بدلاً من Scroll */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo span {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* كل الروابط تنكسر لسطور جديدة بدل Scroll */
    flex: 1;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-links a i {
    color: #fbbf24;
    font-size: 14px;
}

.nav-links a:hover {
    background-color: #fbbf24;
    color: #1f2933;
}

.nav-links a:hover i {
    color: #1f2933;
}

/* Desktop */
@media (min-width: 768px) {
    .navbar {
        padding: 14px 40px;
    }

    .logo span {
        font-size: 18px;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links a {
        font-size: 15px;
    }
}






/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh; /* زيادة ارتفاع الصفحة */
    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px 24px; /* زيادة padding لجعل المحتوى أكبر */
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Content */
.hero-content {
    position: relative;
    max-width: 650px;
    color: #ffffff;
}




/* Heading */
.hero-content h1 {
    font-size: 44px; /* تكبير العنوان */
    line-height: 1.4;
    margin-bottom: 16px;
}

/* Paragraph */
.hero-content p {
    font-size: 18px;
    line-height: 2;
    color: #e5e7eb;
    margin-bottom: 24px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2933;
}

.btn-primary:hover {
    background-color: #f59e0b;
}

.btn-outline {
    border: 2px solid #fbbf24;
    color: #fbbf24;
}

.btn-outline:hover {
    background-color: #fbbf24;
    color: #1f2933;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn i {
    font-size: 18px;
}


.whatsapp-btn {
    background-color: #25D366;
    color: #ffffff;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}



/* Stats */
.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-size: 16px;
    color: #fbbf24;
}

.hero-stats span {
    font-size: 12px;
    color: #e5e7eb;
}

/* Desktop */
@media (min-width: 768px) {
    .hero {
        padding: 60px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-content {
        max-width: 720px;
    }
}




/* About Us Section */
.about-us {
    padding: 40px 16px;
    background-color: #f9fafb;
}

/* Mobile First */
.about-container {
    display: flex;
    flex-direction: column; /* نص فوق الفيديو */
    gap: 20px;
}

/* النص */
.about-text h2 {
    font-size: 36px;
    color: #fbbf24;
    margin-bottom: 16px;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #1f2933;
    margin-bottom: 24px;
    font-family: 'Cairo', sans-serif;
}

/* عوامل الثقة */
.about-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.about-stats .stat {
    background: #1f2933;
    color: #fbbf24;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-stats .stat i {
    font-size: 24px;
    color: #fbbf24;
}

.about-stats .stat strong {
    font-size: 22px;
}

.about-stats .stat span {
    font-size: 14px;
    color: #ffffff;
}

/* الفيديو */
.about-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);


}

/* Desktop */


/* Desktop */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row-reverse; /* يجعل النص على اليمين والفيديو على اليسار */
        align-items: center;
        gap: 40px;
    }

    .about-text {
        flex: 1;
    }

    .about-video {
        flex: 1;
    }
}





/* Services Section */
.services {
    padding: 60px 16px;
    background-color: #ffffff;
}

.services-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header h2 {
    font-size: 36px;
    color: #1f2933;
    margin-bottom: 12px;
    font-weight: bold;
}

.services-header p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Card */
.service-card {
    background: #f9fafb;
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card i {
    font-size: 36px;
    color: #fbbf24;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 18px;
    color: #1f2933;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Tablet */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}





/* Dark Service Cards */
.service-card {
    position: relative;
    background: linear-gradient(145deg, #1f2933, #111827);
    padding: 28px 22px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Glow effect */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top,
        rgba(251,191,36,0.15),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

/* Hover حركة */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Icon */
.service-card i {
    font-size: 42px;
    color: #fbbf24;
    margin-bottom: 16px;
}

/* Title */
.service-card h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Description */
.service-card p {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.8;
}



.workflow-projects {
    background: #0f172a;
    padding: 80px 16px;
    color: #ffffff;
}

/* عناوين */
.workflow-projects h2 {
    text-align: center;
    color: #fbbf24;
    font-size: 36px;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: #cbd5f5;
    line-height: 1.8;
}

/* آلية العمل */
.workflow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 80px;
}

.step {
    background: linear-gradient(145deg, #1f2933, #111827);
    padding: 26px 22px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.step i {
    font-size: 40px;
    color: #fbbf24;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #d1d5db;
}

/* المشاريع */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #fbbf24;
    font-size: 18px;
}

/* Responsive */
@media (min-width: 768px) {
    .workflow-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}







/* Why Us Section */
.why-us {
    background-color: #0f172a;
    padding: 70px 16px;
    color: #ffffff;
}

.why-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.why-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-header h2 {
    font-size: 34px;
    color: #fbbf24;
    margin-bottom: 16px;
    font-weight: 800;
}

.why-header p {
    font-size: 16px;
    line-height: 1.9;
    color: #e5e7eb;
    max-width: 800px;
    margin: auto;
}

/* Cards */
.why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-card {
    background: linear-gradient(145deg, #1e293b, #020617);
    padding: 30px 22px;
    border-radius: 18px;
    text-align: center;
    transition: 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.why-card i {
    font-size: 40px;
    color: #fbbf24;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.why-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5f5;
}

/* Hover Effect */
.why-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 45px rgba(251,191,36,0.25);
}

/* Mobile تحسين */
@media (max-width: 768px) {
    .why-header h2 {
        font-size: 28px;
    }
}



.testimonials {
    background: #020617;
    padding: 70px 16px;
    color: #ffffff;
}

.testimonials-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.testimonials h2 {
    font-size: 34px;
    color: #fbbf24;
    margin-bottom: 12px;
}

.section-desc {
    color: #cbd5f5;
    margin-bottom: 50px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(145deg, #1e293b, #020617);
    padding: 30px;
    border-radius: 18px;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.testimonial-card i {
    font-size: 26px;
    color: #fbbf24;
    margin-bottom: 16px;
}

.testimonial-card p {
    line-height: 1.8;
    font-size: 15px;
    color: #e5e7eb;
}

.client {
    margin-top: 18px;
}

.client strong {
    display: block;
    color: #fbbf24;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}



.faq {
    background: #0f172a;
    padding: 70px 16px;
    color: #ffffff;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq h2 {
    text-align: center;
    font-size: 34px;
    color: #fbbf24;
    margin-bottom: 40px;
}

.faq-item {
    background: #020617;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 18px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.faq-item p {
    color: #e5e7eb;
    line-height: 1.7;
}



.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* أو أكثر حسب طول الإجابة */
    padding: 20px 26px 26px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}


.footer {
    background: #020617;
    color: #ffffff;
    padding: 50px 16px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer h3, .footer h4 {
    color: #fbbf24;
    margin-bottom: 12px;
}

.footer p, .footer a, .footer span {
    color: #cbd5f5;
    font-size: 14px;
    line-height: 1.8;
}

.footer a {
    display: block;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 12px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
    color: #94a3b8;
}
