.hero-container {
    /* تأكد أن الاسم bg.jpg يطابق اسم صورتك بالضبط */
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                      url('../../bg.jpg'); 
    
     background-size: cover; /* يخلي الصورة كاملة */
    background-position: center top;
  


    height: 100vh;
    width: 100%;
    display: flex;
      
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
}

/* ========= Header ========= */
.header {
    background: #0f172a;
    height: 70px;              /* ارتفاع ثابت */
    padding: 0 0; 
    position: sticky;
    top: 0;
    z-index: 100;
    flex: 0 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    color: #cfa14a;
    font-size: 28px;
    font-weight: bold;
}

.nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.nav a:hover, .nav a:focus {
    color: #0f172a;
    background: #cfa14a;
}

.mobile-menu {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}


.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 25px;
}

.hero .btn {
    background: #cfa14a;
    color: #0f172a;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #b38c3f;
    color: #ffffff;
}

/* ========= Sections ========= */
section {
    padding: 80px 0 60px 0;
    background: #ffffff;
    color: #0f172a;
    scroll-margin-top: 80px; /* عند التنقل برابط، يظهر أسفل Header */
}

.about h3, .services h3, .contact-info h3, .gallery h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
    color: #0f172a;
}

.about p, .services p, .contact-info p {
    text-align: center;
    font-size: 18px;
    max-width: 700px;
    margin: auto;
    color: #333;
}


/* ========= Services Box ========= */
.services-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service {
    background: #f5f5f5;
    padding: 25px;
    flex: 1 1 250px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}


.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* ========= Gallery ========= */
.gallery-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-box img {
    width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.gallery-box img:hover {
    transform: scale(1.05);
}

/* ========= Contact Form ========= */
#contactForm {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
    gap: 15px;
}

#contactForm input, #contactForm textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#contactForm button {
    background: #cfa14a;
    color: #0f172a;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}



#contactForm button:hover {
    background: #b38c3f;
    color: #ffffff;
}

/* ========= Footer ========= */
.footer {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
}

/* ========= Responsive ========= */
@media screen and (max-width: 768px) {
    .nav {
        display: none;
    }
      .mobile-menu {
        display: block;
    }

    .services-box {
        flex-direction: column;
    }

    .gallery-box img {
        width: 100%;
        max-width: 300px;
    }
}


/* ===== FORCE NAV VISIBILITY FIX ===== */
.header {
    position: relative !important;
    z-index: 9999 !important;
    background: #0f172a !important;
}

.nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    background: transparent !important;
}

.nav a {
    color: #ffffff !important;
    display: inline-block !important;
    font-size: 16px !important;
}


.header {
    position: relative;
    z-index: 9999;
}

.nav {
    display: flex;
    visibility: visible;
}


.header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav a {
    font-size: 15px;
    letter-spacing: 0.5px;
}


.hero h2 {
    font-size: 48px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    line-height: 1.8;
}
section h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0f172a;
}

section p {
    font-size: 17px;
    max-width: 800px;
    line-height: 1.9;
}
.footer {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}


/* ===== Contact Page ===== */
.contact-section {
    background: #f8fafc;
    text-align: center;
}

.contact-section h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 17px;
    margin-bottom: 40px;
    color: #475569;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}

.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #cfa14a;
    color: #0f172a;
}

.contact-info {
    text-align: right;
    background: #0f172a;
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    max-width: 350px;
}

.contact-info h4 {
    margin-bottom: 15px;
    color: #cfa14a;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 15px;
}


/* ===== Services Section ===== */
.services-section {
    text-align: center;
    background: #ffffff;
}

.services-section h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services-section p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: #f8fafc;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

.service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}


/* ===== About Page ===== */
.about-section {
    background: #f8fafc;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0f172a;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #1f2933;
}

.about-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #cfa14a;
    font-weight: bold;
}

.about-box {
    flex: 0.8;
    background: #0f172a;
    color: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-box h4 {
    color: #cfa14a;
    margin-bottom: 15px;
    font-size: 22px;
}

.about-box p {
    font-size: 15px;
    line-height: 1.8;
}

/* ===== Home Hero ===== */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(15,23,42,0.75), rgba(15,23,42,0.75)),
                url("images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-content {
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #cfa14a;
    color: #0f172a;
}

.btn.secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
}

/* ===== Home Features ===== */
.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 80px auto;
}

.feature {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

.feature p {
    font-size: 15px;
    color: #334155;
}



/* ===== Footer ===== */
.site-footer {
    background: #0f172a;
    color: #ffffff;
    margin-top: 0px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #cfa14a;
}

.footer-box p {
    font-size: 15px;
    line-height: 1.8;
    color: #e5e7eb;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-box ul li a:hover {
    color: #cfa14a;
}

.footer-bottom {
    background: #020617;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}


/* ===== Contact Page ===== */
.contact-section {
    background: #f8fafc;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #334155;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 14px;
}

.contact-form textarea {
    resize: none;
    height: 130px;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    border: none;
    background: #cfa14a;
    color: #0f172a;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #b8923e;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* =======================
   القاعدة الأساسية للموقع
======================= */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 100%;
width: 100%;
    margin: auto;
    padding: 0 15px;
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
}

/* الصور والخدمات */
img, .gallery-box img, .services-grid .service-card img {
    max-width: 100%;
    height: auto;
}

/* =======================
   Media Queries للشاشات الصغيرة
======================= */

/* الشاشات أقل من 992px (تابلت) */
@media screen and (max-width: 992px) {
    header .header-container {
        flex-direction: column;
        text-align: center;
    }
    .nav {
        margin-top: 10px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr; /* صفين بدل 4 */
    }
}


/* الشاشات أقل من 768px (موبايل) */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 20px;
    }

    .gallery-box {
        flex-direction: column;
        gap: 15px;
    }

    header .header-container h1.logo {
        font-size: 24px; /* تصغير العنوان */
    }

    .nav a {
        display: block;
        margin: 5px 0;
    }
}

/* أزرار وروابط */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn.primary {
    background-color: #cfa14a;
    color: #000;
}

.btn.secondary {
    background-color: #fff;
    border: 2px solid #cfa14a;
    color: #cfa14a;
}

/* Hero Section */
.hero-content h1 {
    font-size: 40px;
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
}
/* ===== تصحيح العرض على الموبايل ===== */
@media screen and (max-width: 768px) {
    /* منع أي تجاوز للعرض */
    body, html {
        overflow-x: hidden;
    }

    .container, .hero-content, .services-grid, .gallery-box {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Hero */
    .hero {
        padding: 80px 10px 40px 10px !important;
        text-align: center;
    }

    .hero-content h1, .hero h2 {
        font-size: 24px !important;
        line-height: 1.3em;
        word-wrap: break-word;
    }

    .hero-content p, .hero p {
        font-size: 14px !important;
        line-height: 1.5em;
        max-width: 100%;
    }

    /* أزرار الهيرو */
    .hero-content .btn {
        width: 100%;
        max-width: 200px;
        margin: 10px auto;
        display: block;
        text-align: center;
    }

    /* القائمة */
    .nav {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
    }

    .nav a {
        margin: 5px 0 !important;
        text-align: center;
        white-space: normal;
        font-size: 16px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Gallery */
    .gallery-box {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center;
    }

    .gallery-box img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== Base & Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    overflow-x: hidden;
    font-family: "Tajawal", sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 10px;
}

/* ===== Header ===== */
.header {
    width: 100%;
    background: #0f172a;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 10px;
}

.logo {
    font-size: 28px;
    color: #cfa14a;
    font-weight: bold;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    color: #fff;
    margin: 5px 10px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

/* ===== Hero ===== */
.hero {
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)),
                url("images/hero.jpg") center/cover no-repeat;
    padding: 20px;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.2em;
    word-wrap: break-word;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0;
}

.hero-content .btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 10px auto;
}

/* ===== Sections ===== */
section {
    padding: 60px 10px;
}

/* ===== Services & Gallery ===== */
.services-grid, .gallery-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-box img, .service-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Contact ===== */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-form, .contact-info {
    flex: 1 1 300px;
}

/* ===== Footer ===== */
.footer {
    width: 100%;
    text-align: center;
    background: #0f172a;
    color: #fff;
    padding: 20px 10px;
}


.content h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 63px;          /* حجم كبير */
    font-weight: 900;         /* عريض */
    color: #01010a;           /* أبيض */
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.content h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 58px;
    font-weight: 900;
    color: #010608;   /* ذهبي */
    margin-bottom: 20px;
    font-size: clamp(20px, 5vw, 32px);
}

.content p {
    font-family: 'Cairo', sans-serif;
    font-size: 30px;
     font-weight: 700;
    line-height: 1.8;
    color: #000003;
    max-width: 1200px;
     
}

/* لو الصور داخل div عنده class "gallery" */
.gallery {
    background-color: #024f97; /* أزرق فاتح */
    padding: 20px;             /* مسافة بسيطة حول الصور */
    display: flex;             /* لو تستخدم flex لعرض الصور */
    flex-wrap: wrap;           /* تخلي الصور تنتقل للسطر الجديد */
    gap: 20px;                 /* المسافة بين الصور */
}

.gallery img {
    width: 100%;   /* الصورة تاخذ عرض كامل العنصر */
    display: block;
    margin-bottom: 20px; /* المسافة بين الصور */
}


@media (max-width: 768px) {

    .header {
        padding: 15px;
    }

    .header h2 {
        font-size: 18px;
    }

    .hero-container {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
        text-align: center;
        background-position: center;
        background-size: cover;
    }

    .content {
        width: 100%;
    }

    .content h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .content p {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 10px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .hero-buttons a {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

}

@media (max-width: 768px) {

    .nav a:nth-child(1),
    .nav a:nth-child(2),
    .nav a:nth-child(3),
    .nav a:nth-child(4),
    .nav a:nth-child(5)
   
    
    {
        display: none !important;
    }

}

