.elementor-8465 .elementor-element.elementor-element-928bacc{margin-top:-11px;margin-bottom:0px;}.elementor-8465 .elementor-element.elementor-element-db67709{width:var( --container-widget-width, 102.437% );max-width:102.437%;--container-widget-width:102.437%;--container-widget-flex-grow:0;}.elementor-8465 .elementor-element.elementor-element-db67709.elementor-element{--flex-grow:0;--flex-shrink:0;}/* Start custom CSS for html, class: .elementor-element-db67709 */:root {
    --gold: #a09170;
    --dark-green: #113531;
    --white: #ffffff;
    --transition: all 0.5s ease;
}

.premium-hero {
    position: relative;
    width: 100%;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    overflow: hidden;
    direction: rtl;
}

/* Slider */
.hero-slider {
    height: 90vh;
    position: relative;
    width: 100%;
    background-color: var(--dark-green);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 53, 49, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 3;
}

/* المحتوى بدون المربع الشفاف */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
      top: 35px;
}

.experience-badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.6);
    
    color: white;
}

.gold-divider {
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.hero-btn:hover {
    background: transparent;
    color: var(--gold);
}

/* ----------------------------------- */
/* Services Grid (Desktop) */
/* ----------------------------------- */
.services-overlap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px; /* مسافة بين الكروت على الديسكتوب */
    margin-top: -100px;
    position: relative;
    z-index: 10;
   padding: 0 32px;
     margin-left: 33px;
}

.service-card {
    background-color: var(--gold);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    padding: 20px;
}

/* حل قص الأيقونات */
.card-icon {
    width: 55px; /* مساحة ثابتة للأيقونة */
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
}

/* Hover Effect */
.service-card:hover {
    background-color: var(--dark-green);
    transform: translateY(-15px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.3);
}

.service-card:hover .card-icon svg {
    transform: scale(1.15);
    color: var(--gold);
}

.service-card:hover a {
    opacity: 1;
    transform: translateY(0);
    color: var(--gold);
}

/* ----------------------------------- */
/* Responsive Grid (Mobile) */
/* ----------------------------------- */
@media (max-width: 992px) {
    .services-overlap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slider { height: 80vh; }
    .hero-content h1 { font-size: 2.2rem; }

    .services-overlap {
        grid-template-columns: repeat(2, 1fr); /* كرتين في كل صف */
        /* المسافات: 15px من فوق وتحت، و 0 من اليمين والشمال */
        gap: 15px 0; 
        margin-top: -60px;
        padding: 0; /* إلغاء مسافات الحواف تماماً */
    }

    .service-card {
        min-height: 200px;
        border-radius: 0; /* زوايا حادة لالتصاق الكروت بشكل أنيق */
        border: 1px solid rgba(255, 255, 255, 0.15); /* خط فاصل خفيف بين الكروت الملتحمة */
    }

    /* الكرت الخامس والأخير يأخذ العرض بالكامل */
    .service-card:nth-child(5) {
        grid-column: span 2; 
        min-height: 160px;
    }
    
    .service-card a {
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Video Background Settings */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh; /* نفس ارتفاع القسم */
    z-index: 1;
    overflow: hidden;
    background-color: var(--dark-green);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* عشان الفيديو يملأ الشاشة بدون ما يتمطط */
    pointer-events: none; /* عشان العميل ميعرفش يوقف الفيديو */
}

/* التدرج اللوني فوق الفيديو */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 53, 49, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

/* تعديل الـ Z-index للمحتوى عشان يظهر فوق الفيديو */
.hero-content {
    position: relative;
    z-index: 10; /* كان 4 خليناه 10 عشان نضمن ظهوره */
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
    margin: 0 auto; /* توسيط المحتوى */
    height: 90vh; /* ضبط الارتفاع للتوسيط العمودي */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* باقي أكواد الـ CSS للكروت والخدمات (services-overlap) تظل كما هي تماماً بدون تغيير */

/* Text Slider Logic */
.text-slider-container {
    position: relative;
    width: 100%;
    height: 95vh; /* نفس ارتفاع الفيديو */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.text-slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px); /* تأثير الدخول من أسفل لأعلى */
    transition: opacity 1s ease-in-out, transform 1s ease-out;
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تعديل الـ hero-content عشان يتناسب مع السلايدر الجديد */
.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
}

/* ----------------------------------- */
/* 3D Flip Services Grid (Desktop) */
/* ----------------------------------- */
.services-overlap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding: 0 40px;
}

/* الحاوية الأساسية للكرت */
.flip-card {
    background-color: transparent;
    min-height: 320px;
    perspective: 1000px; /* المسؤولة عن العمق الـ 3D */
    cursor: pointer;
}

/* العنصر الداخلي الذي يدور */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة دوران ناعمة وفيها مرونة */
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
}

/* حركة الدوران عند الهوفر */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
    box-shadow: 0 25px 40px rgba(0,0,0,0.4);
}

/* إعدادات مشتركة للوجهين الأمامي والخلفي */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* إخفاء الوجه الآخر أثناء الدوران */
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--white);
}

/* الوجه الأمامي (الذهبي) */
.flip-card-front {
    background-color: var(--gold);
}

/* الوجه الخلفي (الأخضر الداكن) */
.flip-card-back {
    background-color: var(--dark-green);
    transform: rotateY(180deg); /* مقلوب افتراضياً عشان يتعدل لما تلف */
    border: 2px solid var(--gold);
}

/* تنسيق الأيقونة والعنوان في الأمام */
.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.flip-card-front h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #113531;
}

/* تنسيق النص والزر في الخلف */
.flip-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.flip-card-back a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 20px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.flip-card-back a:hover {
    background-color: var(--gold);
    color: var(--dark-green);
}

/* ----------------------------------- */
/* Responsive Grid (Mobile) */
/* ----------------------------------- */
@media (max-width: 992px) {
    .services-overlap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-overlap {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 0; 
        margin-top: -60px;
        padding: 0; 
    }

    .flip-card {
        min-height: 220px; /* تصغير الكرت في الموبايل */
    }

    .flip-card-inner, .flip-card-front, .flip-card-back {
        border-radius: 0; /* إلغاء الزوايا الدائرية في الموبايل للشبكة الملتصقة */
    }

    .flip-card-front {
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .flip-card:nth-child(5) {
        grid-column: span 2; 
        min-height: 180px;
    }

    /* تصغير النصوص في الوجه الخلفي للموبايل لتناسب المساحة */
    .flip-card-back p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}
/* إعدادات السهم المتحرك في الوجه الأمامي */
.hover-hint {
    position: absolute;
    bottom: 15px; /* المسافة من أسفل الكارت */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: bounce-arrow 2s infinite; /* تشغيل الحركة باستمرار */
    color: var(--white);
}

.hover-hint svg {
    width: 24px;
    height: 24px;
}

/* حركة القفز الناعمة (Bouncing) */
@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-8px) translateX(-50%);
    }
    60% {
        transform: translateY(-4px) translateX(-50%);
    }
}

/* إخفاء السهم في الموبايل لو المساحة ضيقة (اختياري) */
@media (max-width: 768px) {
    .hover-hint {
        bottom: 10px;
    }
    .hover-hint svg {
        width: 18px;
        height: 18px;
    }
}/* End custom CSS */