/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


/* الإعدادات العامة */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* تصميم القسم الرئيسي */
.hero-section {
    position: relative;
    height: 80vh;
    /* يفضل 80 ليعطي مساحة كافية للنص */
    width: 100%;
    background-image: url('face/head.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* طبقة التظليل */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3f2f058e;
    /* لون بنفسجي احترافي داكن */
    z-index: 1;
}

/* محتوى النصوص */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    color: #ffc955;
    font-weight: bold;

    /* جعل اللون الأساسي أبيض للوضوح */
}

/* العنوان الرئيسي h1 */
.hero-content h1 {
    font-size: 2.8rem;
    /* حجم مناسب للكمبيوتر */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* اسم العلامة التجارية / الكلمات الدلالية */
.brand-name {
    font-size: 2.0rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
    color: #ffffff;
    /* لون وردي خفيف جداً للتفرقة */
}

.hero-content .description {
    font-size: 1.2rem;

    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-weight: bold;
    color: #ffffff;
}


/* تصميم الزر */
.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: #ffffff;
    /* الخلفية بيضاء */
    color: #FF9B00;
    /* النص برتقالي */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    /* هذا السطر هو الأهم لجعل الحركة سلسة جداً */
    transition: all 1.10s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-button:hover {
    background-color: #f8a933;
    /* يتحول للخلفية البرتقالية عند التمرير */
    color: #ffffff;
    /* يتحول النص للأبيض */
    transform: translateY(-5px);
    /* يرتفع للأعلى قليلاً */
    box-shadow: 0 8px 20px rgba(255, 155, 0, 0.3);
    /* ظل ملون يعطي عمق */
}

/* 📱 تعديلات الشاشات الصغيرة (Responsive) */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        /* في الموبايل يفضل ملء الشاشة بالكامل */
        background-position: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        /* حجم خط مريح للقراءة في الموبايل */

    }

    .brand-name {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .description {
        font-size: 0.95rem;
        padding: 0px 10px;
    }

    .cta-button {
        width: 80%;
        /* زر عريض لسهولة الضغط */
        padding: 1px 20px;
        background-color: #ff5a5a;
        /* لون جديد */
        color: white;
    }
}




.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* لون خلفية خفيف جداً */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* تنسيق الصورة والنقاط */
.image-side {
    position: relative;
    left: 13%;

}

.profile-img {
    width: 100%;
    max-width: 750px;
    margin-left: -60px;
    position: relative;
    z-index: 2;
}

.dot-pattern {
    position: absolute;
    top: 20%;

    right: 30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#FFC900 3px, transparent 3px);
    /* نمط النقاط */
    background-size: 15px 15px;
    z-index: 1;
}

/* تنسيق النصوص */
.subtitle {
    display: block;
    color: #FF9B00;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.quote {
    font-size: 2.2rem;
    color: #0b214a;
    /* لون داكن جداً كما في الصورة */
    line-height: 1.2;
    margin-bottom: 25px;
}

.description {
    font-size: 1rem;
    color: #646464;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* الحالة الأساسية للزر */
.btn-dark {
    display: inline-block;
    padding: 14px 40px;
    background-color: #ffffff;
    /* خلفية بيضاء */
    color: #FF9B00;
    /* نص برتقالي */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* ظل خفيف */

    /* ضمان سلاسة الحركة عند الدخول والخروج */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* حالة التمرير - تم حذف المسافة الزائدة */
.btn-dark:hover {
    background-color: #FF9B00;
    /* يتحول للخلفية البرتقالية */
    color: #ffffff;
    /* يتحول النص للأبيض */
    transform: translateY(-5px);
    /* يرتفع للأعلى قليلاً */
    box-shadow: 0 8px 20px rgba(255, 155, 0, 0.3);
    /* ظل ملون يعطي عمق */
}

/* حالة الضغط (لإعطاء شعور حقيقي بالزر) */
.btn-dark:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* حركة خفيفة عند التمرير */
/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-right: 0%;
    }

    .image-side {
        margin-left: -10%;
        margin-right: -20%;
    }

    .dot-pattern {
        display: none;
    }

    .cta-button {
        display: inline-block;
        padding: 14px 40px;
        background-color: #ffffff;
        color: #ffc31c;
        /* لون متناسق مع الـ overlay */
        text-decoration: none;
        border-radius: 50px;
        /* زوايا دائرية أكثر عصرية */
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .subtitle {
    display: block;
    color: #FF9B00;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
    .profile-img {
        max-width: 500px; /* ضبط عرض أصغر للتابلت */
        margin-left: 2%;   /* إعادة المحاذاة */
        left: 0;
      
    }

    .image-side {
        left: 0;
        margin-left: 0;
        top: -16%;
    }
}



.services-section {
    padding: 100px 0;
    background-color: #fcfaf2;
    /* الخلفية الرمادية الفاتحة التي تظهر في الصورة */
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #0b214a;
    margin-bottom: 50px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 3 أعمدة */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* ظل ناعم */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    /* تأثير بسيط عند المرور بالماوس */
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #eeedeb;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    width: 50px;
    /* ضبط حجم الأيقونة */
}

.service-card h3 {
    font-size: 1.4rem;
    color: #0b214a;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* التجاوب مع الجوال */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* عمودين للأجهزة المتوسطة */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* عمود واحد للجوال */
    }
}




body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
}

.testimonial-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: url('background-spa-items.jpg') no-repeat left center;
    /* خلفية اختيارية لليسار */
    background-size: 30%;
}

.testimonial-container {
    display: flex;
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 5px;
}

.testimonial-content {
    flex: 1;
    padding: 60px;
    position: relative;
}

.testimonial-tag {
    color: #FF9B00;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonial-title {
    color: #1a2a4e;
    font-size: 2.5rem;
    margin: 0 0 20px 0;
}

.stars {
    color: #ffb400;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    color: #4d4d4d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    color: #1a2a4e;
}

.user-job {
    font-size: 0.8rem;
    color: #888;
}

/* .testimonial-image {
    flex: 1;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.testimonial-images-wrapper {
    position: relative;
    width: 500px;
    /* يمكنك تعديل العرض حسب حاجتك */
    height: 500px;
    /* نفس العرض لضمان شكل مربع */
    overflow: hidden;
    border-radius: 5px;
}

.testimonial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* مخفية افتراضياً */
    transition: opacity 0.8s ease-in-out;
    /* سرعة التلاشي */
    z-index: 1;
}

.testimonial-image.active {
    opacity: 1;
    /* إظهار الصورة النشطة */
    z-index: 2;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* لضمان ملء المربع بالكامل */
}

/* لتغيير الترتيب في الهواتف المحمولة */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column-reverse;
    }

    .testimonial-content {
        padding: 30px;
    }
}
/* التابلت */
@media (min-width: 769px) and (max-width: 992px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center; /* لتوسيط المحتوى */
         padding: 20px 20px; 
    }

    .testimonial-content {
        padding: 20px 20px ; /* مساحة جيدة حول النص */
        text-align: center; /* محاذاة النص في التابلت */
    }

    .testimonial-images-wrapper {
        position: relative;
        width: 100%;
        max-width: 400px; /* الحجم المناسب للتابلت */
        height: 400px; /* ارتفاع متناسب */
        overflow: hidden;
        border-radius: 10px;
        margin-bottom: 40px; /* مسافة أسفل الصور */
    }

    .testimonial-image {
        position: absolute; /* absolute داخل wrapper */
        top:  0;
        left: 0;
        padding-left: -60%;
        width: 100%;
        height: 100%;
        opacity: 0; /* مخفية افتراضياً */
        transition: opacity 0.8s ease-in-out;
        z-index: 1;
    }

    .testimonial-image.active {
        opacity: 1; /* إظهار الصورة النشطة */
        z-index: 2;
    }
}



:root {
    --primary-blue: #1a2a4e;
    --text-gray: #4d4d4d;
    --bg-light: #ffffff;
}

.features-section {
    padding: 80px 10%;
    background-color: #fcfaf2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.features-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.features-text-content {
    flex: 1.2;
}

.section-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.feature-icon {
    background: #f0f4f8;
    width: 60px;
    /* قمت بزيادة الحجم قليلاً لتناسب الصور */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    /* لضمان عدم خروج الصورة عن الدائرة */
}

.feature-icon img {
    width: 60%;
    /* حجم الصورة بالنسبة للدائرة */
    height: 60%;
    object-fit: contain;
    /* يحافظ على أبعاد الصورة دون تشويه */
}

/* تنسيق إضافي لشبكة المميزات لتبدو أفضل */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.main-image {
    width: 70%;
    border-radius: 5px;
    z-index: 2;

    position: relative;
}

.dots-decoration {
    position: absolute;
    top: 40px;
    left: -30px;
    width: 80px;
    height: 100px;
    background-image: radial-gradient(#ffd341 2px, transparent 2px);
    /* النقاط الخضراء */
    background-size: 15px 15px;
    z-index: 1;
}

/* الحاوية الكبرى للصورة والزخرفة */
.features-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* لدفع الصورة لليمين كما في التصميم */
    padding-top: 40px;
    /* مساحة للنقاط التي تبرز بالأعلى */
    flex: 1;
}

.main-image {
    width: 75%;
    /* حجم الصورة بالنسبة للحاوية */
    height: auto;
    border-radius: 8px;
    z-index: 2;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* ظل خفيف ليعطي عمق */
}

/* النقاط الزخرفية (المنقطة) */
.dots-decoration {
    position: absolute;
    top: 0;
    /* تظهر من أعلى الصورة */
    left: 0;
    /* تبرز من خلف الصورة من جهة اليسار */
    width: 120px;
    /* عرض منطقة النقاط */
    height: 150px;
    /* طول منطقة النقاط */
    background-image: radial-gradient(#FF9B00 3px, transparent 3px);
    /* لون أخضر/تركواز للنقاط كما في الصورة */
    background-size: 15px 15px;
    z-index: 1;
    /* خلف الصورة */
}

/* لجعل النص والصورة بجانب بعضهما (في الشاشات الكبيرة) */
.features-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.features-text-content {
    flex: 1.2;
}



@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .features-image-wrapper {
        order: -1;
        /* لجعل الصورة تظهر قبل النص */
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 20px;
    }

    /* هذا هو الجزء الأهم لإظهار الصور */
    .main-image-slider {
        position: relative;
        width: 100%;
        max-width: 400px;
        /* حجم الصورة في الجوال */
        width: 100%;
        aspect-ratio: 1 / 1.5;
        /* يجب تحديد ارتفاع ثابت هنا لأن الصور absolute */
        margin: 0 auto;
        left: -3%;
    }

    .main-image {
        width: 100% !important;
        /* لضمان أخذ العرض كاملاً */
        height: 100%;
        object-fit: cover;
    }

    .dots-decoration {
        display: none;
        /* إخفاء النقاط في الجوال لتفادي مشاكل المحاذاة */
    }
}





/* إعدادات السلايدر */
.testimonial-slider-wrapper {
    position: relative;
    min-height: 250px;
    /* يحافظ على ثبات الارتفاع أثناء التنقل */
}

.testimonial-item {
    display: none;
    /* إخفاء كافة التعليقات افتراضياً */
    animation: fadeEffect 0.6s ease;
}

.testimonial-item.active {
    display: block;
    /* إظهار التعليق النشط فقط */
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}





.cta-section {
    background-color: #f9f9f9;
    /* لون خلفية هادئ */
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #edf2f7;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #4d4d4d;
    /* اللون الذي اخترناه سابقاً */
    margin-bottom: 30px;
}

.btn-contact {
    /* التعديل الأهم: استخدام inline-flex للمحاذاة */
    display: inline-flex;
    align-items: center;
    /* توسيط الأيقونة والنص عمودياً */
    justify-content: center;
    /* توسيط المحتوى أفقياً */
    gap: 12px;
    /* مسافة ثابتة بين الأيقونة والنص */

    background-color: #29a71a;
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    /* إزالة المارجن القديم لأنه يسبب عدم توازن */
    width: 24px;
    /* حجم ثابت للأيقونة */
    height: 24px;
    display: flex;
    align-items: center;
}

.btn-contact:hover {
    background-color: #21a316;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}




.testimonial-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* ليغطي الشاشة بالكامل */

    /* إضافة الصورة كخلفية */
    background-image: (rgba(239, 237, 240, 0.932), rgba(247, 229, 229, 0.774)), url('');

    /* ضبط تموضع الصورة */
    background-size: cover;
    /* لتغطية المساحة بالكامل */
    background-position: center;
    /* لتوسيط الصورة */
    /* (اختياري) يعطي تأثير Parallax جميل عند التمرير */

    /* توسيط المحتوى الأبيض */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #eeedeb;
    border-radius: 50%;


}


.section-title {
    font-size: 2.4rem;
    color: #0b214a;
    font-weight: 700;
    margin-bottom: 30px;
}

.features-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}


.features-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    /* اضبط الارتفاع ليناسب صورك */
    margin: 0 auto;
}

/* النقاط الزخرفية خلف الصور */
.dots-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 120px;
    background-size: 15px 15px;
    z-index: 1;
    /* خلف الصور */
}

/* حاوية الصور المتبدلة */
.main-image-slider {
    position: relative;
    width: 100%;
    height: 120%;
    z-index: 2;
    /* أمام النقاط */
}

.main-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    /* مخفية افتراضياً */
    transition: opacity 1s ease-in-out;
    /* حركة التلاشي الناعمة */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



/* الصورة النشطة تظهر */
.main-image.active {
    opacity: 1;
}




@media (max-width: 600px) {

    .testimonial-images-wrapper,
    .features-image-wrapper {
        width: 100%;
        height: 320px;
    }

    .main-image {
        border-radius: 8px;
    }

    .testimonial-content {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .cta-button {
        width: 80%;
        background: #ffffff;
        color: #FF9B00;
    }

    .testimonial-container {
        flex-direction: column-reverse;
    }

    .features-image-wrapper {
        width: 100%;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}