    /* ================= المتغيرات والألوان ================= */
        :root {
            --dark-brown: #5a3c0b; /* الهيدر والفوتر */
            --gold-brown: #c48b28; /* الخلفيات الذهبية */
            --gold-light: #ebc176; /* درجات فاتحة */
            --light-bg: #fff5e1;   /* خلفية الصفحة */
            --text-dark: #2c1e12;
            --text-gray: #555;
            --white: #ffffff;
        }
        html{
            scroll-behavior: smooth;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: var(--light-bg);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        p { line-height: 1.7; color: var(--text-gray); }

       header {
            position: fixed;
            background-color: var(--dark-brown);
            color: var(--white);
            padding: 10px 50px;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
        }
        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img {
            width: 60px;
            height: 60px;
            background-color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .logo-img img { width: 100%; }

        .logo-text h1 { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 2px;}
        .logo-text p { font-size: 0.8rem; color: #ddd; }

        .contact-info-top {
            display: flex;
            gap: 20px;
            font-size: 0.9rem;
        }
        
        .contact-info-top i { margin-left: 5px; color: var(--gold-brown); }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
        }

        .nav-links {
            display: flex;
            gap: 25px;
        }

        .nav-links li a {
            font-size: 0.95rem;
            font-weight: 600;
            transition: 0.3s;
        }
        .nav-links li a i { margin-left: 5px; font-size: 0.9rem; }
        .nav-links li a:hover { color: var(--gold-brown); }

        .cta-btn {
            background-color: #a82e2e;
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            font-weight: bold;
            font-size: 0.9rem;
        }
        .cta-btn:hover { background-color: #8b2626; }
        /* ================= Hero Section (صورة الغابة) ================= */
        .hero {
            position: relative;
            height: 85vh;
            background-color: #777; /* لون احتياطي */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 20px;
            margin-top: 120px;/* عشان الهيدر الثابت */
            overflow: hidden;/* عشان العناصر الداخلية ما تخرجش بره الهيرو */


        }

        /* العنصر الممثل للصورة الخلفية */
        .hero-bg-placeholder {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: #6c5b4c; /* لون رمادي بني يمثل الصورة */
            /* هنا تحط الصورة الخلفية بتاعتك */
            /* background-image: url('forest.jpg'); */
            background-size: cover;
            background-position: center;
            opacity: 0.9;
            z-index: 1;
        }

        /* طبقة تغميق عشان الكلام يظهر */
        .overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.4);
            z-index: 2;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
        }

        .hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
        .hero p { color: #f1f1f1; font-size: 1.2rem; margin-bottom: 40px; }

        .hero-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; }
        
        /* .btn-primary {
            background-color: var(--light-bg); color: var(--text-dark);
            padding: 12px 30px; border-radius: 5px; font-weight: bold; font-size: 1.1rem;
        } */
        .btn-outline,.btn-primary {
            background-color: transparent; color: white; border: 2px solid white;
            padding: 12px 30px; border-radius: 5px; font-weight: bold; font-size: 1.1rem;
        }
        .btn-outline:hover,.btn-primary:hover {
            color: #000;background-color: #fff;cursor: pointer;transition: 1s;
        }

        /* الإحصائيات أسفل الهيرو */
        .hero-stats {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 3;
            display: flex;
            justify-content: space-around;
            padding: 20px 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
        }

        .stat-item { text-align: center; }
        .stat-num { font-size: 1.5rem; font-weight: bold; color: var(--gold-brown); display: block;}
        .stat-label { font-size: 0.9rem; color: #ddd; }

        /* ================= قسم البرامج العلاجية ================= */
        .services-section { padding: 60px 10%; text-align: center; background-color: var(--light-bg); }
        
        .section-title { font-size: 2rem; color: var(--gold-brown); font-weight: 800; margin-bottom: 10px; }
        .section-subtitle { max-width: 600px; margin: 0 auto 50px auto; font-size: 0.9rem; }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            text-align: right;
        }

        .service-card { padding: 10px; }
        .service-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark); font-weight: 700; }
        .service-card p { font-size: 0.85rem; color: #666; }

        /* ================= قسم "نؤمن بشفائك التام" + المبنى ================= */
        .about-section {
            padding: 60px 10%;
            background-color: var(--light-bg);
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-text { flex: 1; }
        .about-text h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 20px; font-weight: 800; }
        .about-text p { margin-bottom: 20px; font-size: 0.95rem; text-align: justify; }

        .about-image {
            flex: 1;
            height: 350px;
            background-color: #ccc; /* مكان الصورة */
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            font-weight: bold;
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        /* ================= نهجنا العلاجي (الخلفية الذهبية) ================= */
        .methodology-section {
            background-color: var(--gold-brown); /* الخلفية الذهبية */
            padding: 60px 10%;
            text-align: center;
        }

        .methodology-section .section-title { color: var(--white); text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
        .methodology-section .section-subtitle { color: #fdfdfd; }

        .cards-container {
            display: flex;
            gap: 20px;
            margin-top: 40px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .method-card {
            background: var(--light-bg);
            padding: 30px 20px;
            border-radius: 10px;
            flex: 1;
            min-width: 200px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .method-card h3 { color: var(--dark-brown); font-size: 1.1rem; margin-bottom: 10px; }
        .method-card p { font-size: 0.85rem; }

        /* ================= قسم السلايدر (المربع الأبيض الكبير) ================= */
        .slider-wrapper {
            background-color: var(--gold-brown); /* استمرار للخلفية الذهبية */
            padding: 0 10% 60px 10%;
        }

        .slider-box {
            background-color: var(--white);
            border-radius: 20px;
            padding: 40px;
            display: flex;
            gap: 40px;
            align-items: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .slider-image {
            flex: 1;
            width: 100%;
            background-color: #ddd; /* مكان الصورة */
            border-radius: 15px;
            display: flex; align-items: center; justify-content: center; color: #666;
        }

        /* أسهم التنقل الوهمية */
        .nav-arrow {
            position: absolute; top: 50%; transform: translateY(-50%);
            width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ccc;
            display: flex; align-items: center; justify-content: center; cursor: pointer; color: #888;
            z-index: 10;
        }
        .nav-left { left: 10px; }
        .nav-right { right: 10px; }

        /* ================= سمات الفريق العلاجي ================= */
        .team-features {
            background-color: var(--gold-light); /* درجة ذهبية أفتح قليلاً كما بالصورة أسفل */
            background: linear-gradient(180deg, var(--gold-brown) 0%, #e8c48a 100%);
            padding: 60px 10%;
            text-align: center;
        }

        .team-features h2 { color: #2c1e12; font-size: 1.8rem; font-weight: 800; margin-bottom: 50px; }

        .features-row { display: flex; justify-content: space-around; text-align: center; gap: 30px; }
        .feature-item h3 { font-size: 1.2rem; color: #2c1e12; margin-bottom: 10px; }
        .feature-item p { font-size: 0.9rem; color: #444; }

        /* ================= الفوتر ================= */
        .footer {
            background-color: var(--dark-brown);
            color: #d8c2a3;
            padding: 50px 20px 30px;
            direction: rtl;
            font-size: 15px;
            border-top: 4px solid #cfaa76;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 30px;
        }

        /* --- العمود الأيمن (اللوجو + الاسم + الوصف) --- */
        .col-right {
            flex: 1.2; /* أعطيته مساحة أكبر قليلاً لاستيعاب اللوجو والاسم */
            min-width: 300px;
            text-align: right;
        }

        /* حاوية تجمع اللوجو والاسم بجانب بعض */
        .brand-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .logo-container {
            background: #fff;
            padding: 5px;
            border-radius: 10px;
            flex-shrink: 0; /* منع اللوجو من الانكماش */
        }

        .logo-container img {
            width: 70px;
            height: auto;
            display: block;
        }

        .brand-text h2 {
            font-size: 20px;
            color: #eaddcf;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .brand-text h4 {
            font-size: 14px;
            color: #cbbba6;
            font-weight: normal;
        }

        .col-right p {
            line-height: 1.8;
            margin-bottom: 20px;
            color: #dccfb8;
            font-size: 14px;
            text-align: justify; /* محاذاة النص ليبدو مرتباً */
            padding-left: 20px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            text-decoration: none;
            font-size: 18px;
            transition: 0.3s;
        }

        .social-icons .fb { background-color: #1877f2; color: white; }
        .social-icons .yt { background-color: #ff0000; color: white; }

        /* --- العمود الأوسط (الاقتباس ومعلومات الاتصال) --- */
        .col-center {
            flex: 1;
            min-width: 280px;
            text-align: center;
            padding-top: 20px; /* لضبط المحاذاة مع العمود اليمين */
        }

        .quote {
            font-size: 15px;
            margin-bottom: 30px;
            line-height: 1.7;
            color: #eaddcf;
            font-weight: bold;
        }

        .contact-label {
            margin-bottom: 15px;
            color: #cfaa76;
            font-weight: bold;
            font-size: 15px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #eaddcf;
            font-size: 14px;
            direction: ltr; /* لضبط ظهور الأرقام والكلمات الإنجليزية بشكل صحيح */
        }
        
        /* إعادة ترتيب المحتوى داخل عنصر الاتصال ليتناسب مع الاتجاه العربي */
        .contact-item span { order: 1; }
        .contact-item i { order: 2; color: #cfaa76; font-size: 16px; }

        /* --- العمود الأيسر (الروابط) --- */
        .col-left {
            flex: 0.8;
            min-width: 200px;
            text-align: right;
            padding-right: 20px;
        }

        .col-left h3 {
            font-size: 18px;
            margin-bottom: 25px;
            color: #eaddcf;
        }

        .links-list { list-style: none; }
        .links-list li { margin-bottom: 15px; }

        .links-list a {
            text-decoration: none;
            color: #dccfb8;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: 0.3s;
        }

        .links-list a:hover {
            color: #fff;
            transform: translateX(-5px);
        }

        .links-list i { color: #cfaa76; font-size: 14px; }

        /* الموبايل */
        @media (max-width: 768px) {
            .hero{ margin-top: 30px;}
            header .top-header, header .navbar { flex-direction: column; gap: 10px; }
            .nav-links { flex-direction: column; width: 100%; text-align: center; }
            header{ padding: 10px 20px; position: relative;  }
            .hero h1 { font-size: 1.8rem; }
            .hero-buttons { flex-direction: column; width: 100%; }
            .btn-primary, .btn-outline { width: 100%; }
            
            .about-section { flex-direction: column; }
            .about-image { width: 100%; }
            
            .slider-box { flex-direction: column-reverse; padding: 20px; }
            .slider-image { width: 100%; height: 200px; }
            
            .features-row { flex-direction: column; }
            .footer-content { flex-direction: column; text-align: center; }
            .social-icons { justify-content: center; }
            .bg_main_page{width: 100%; height: 100vh;}
        }
        img {
            width: 100%;
        }
        .build {
            border-radius: 10px;
            object-fit: cover;
            height: 100%;
        }
        .doctor {
            border-radius: 10px;
            object-fit: cover;
            height: 100%;
        }
            @media (max-width: 480px) {
            .hero{ margin-top: 30px;}
            header { padding: 10px 20px; width: 100%; position: relative; }
            .logo-text h1 { font-size: 1rem; }
            .contact-info-top { flex-direction: column; gap: 5px; font-size: 0.8rem; }
            .nav-links { flex-direction: column; gap: 15px; }
            .cta-btn { padding: 6px 12px; font-size: 0.8rem; }
            }
        @media (max-width: 480px) {
            .hero h1 { font-size: 1.5rem; }
            .hero p { font-size: 1rem; }
            .hero-buttons { gap: 15px; }
            .btn-primary, .btn-outline { font-size: 1rem; padding: 10px; }
            .services-section { padding: 40px 5%; }
            .about-section { padding: 40px 5%; }
            .methodology-section { padding: 40px 5%; }
            .slider-wrapper { padding: 0 5% 40px 5%; }
            .team-features { padding: 40px 5%; }
            .footer { font-size: 13px; padding: 30px 10px 20px; }
            .bg_main_page{width: 100%; height: 100vh;}
        }
        @media (max-width: 1180px) {
            .bg_main_page{width: 100%; height: 100vh;}
        }
        .dropdown-content {
        display: none;
        position: absolute;
        background-color: var(--dark-brown);
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 5px;
    }
    .dropdown-content a {
        color: white;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        font-size: 0.9rem;
        text-align: right;
    }
    .dropdown:hover .dropdown-content {
        transition: 0.3s;
        display: block;
    }
/* تنسيق الصفحة العام */
        .more_sction {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
        }

        /* حاوية الصور (الأب) */
        .gallery-container {
            display: grid;
            /* هنا بنقوله يقسم الصفحة عمودين قد بعض بالظبط */
            grid-template-columns: 1fr 1fr; 
            /* المسافة بين الصور وبعضها */
            gap: 10px; 
            max-width: 800px; /* أقصى عرض عشان متبقاش عريضة أوي */
            width: 100%;
            background: white;
            padding: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
        }

        /* تنسيق الصور نفسها */
        .gallery-container img {
            width: 100%;
            height: 250px; /* ارتفاع ثابت عشان الصور تبقى قد بعض */
            object-fit: cover; /* عشان الصورة تملا المكان من غير ما تتمط */
            border-radius: 4px;
            transition: transform 0.3s ease;
        }

        /* تأثير لما تقف بالماوس على الصورة */
        .gallery-container img:hover {
            transform: scale(1.02);
        }

        /* --- السحر كله هنا --- */

        /* أول صورة: خليها تاخد مساحة عمودين (العرض كله) */
        .gallery-container img:nth-child(1) {
            grid-column: span 2;
            height: 350px; /* ممكن نكبرها شوية في الطول */
        }

        /* آخر صورة (رقم 6): خليها تاخد مساحة عمودين برضه */
        .gallery-container img:nth-child(6) {
            grid-column: span 2;
        }

        /* عشان الموبايل: الصور كلها تبقى تحت بعض */
        @media (max-width: 600px) {
            .gallery-container {
                grid-template-columns: 1fr; /* عمود واحد بس */
            }
            .gallery-container img:nth-child(1),
            .gallery-container img:nth-child(6) {
                grid-column: span 1; /* يرجعوا ياخدوا مكان عادي */
            }
        }
