/*
Theme Name: الشاطر - Elementor Native
Theme URI: https://elshatr.com
Author: الشاطر
Author URI: https://elshatr.com
Description: نسخة V3.1 مدمجة فوق V2 الحالية: الصفحات الداخلية Elementor Native + إدارة سهلة للصفحة الرئيسية والهيدر والفوتر والسلايدر والسوشيال والألوان.
Version: 3.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elshatr
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns

الشاطر - نحوّل التفكير التسويقي إلى نتائج حقيقية
*/

/* ========================================
   الشاطر - Marketing Agency Website
   Modern & Premium Design
======================================== */

/* CSS Variables */
:root {

    --primary-color: #1a1a1a;

    --secondary-color: #2d2d2d;

    --accent-color: #4a4a4a;

    --white: #ffffff;

    --light-gray: #f5f5f5;

    --medium-gray: #e0e0e0;

    --dark-gray: #333333;

    --text-color: #1a1a1a;

    --text-light: #666666;



    --font-family: 'Cairo', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);

    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);

    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    --border-radius: 12px;

}



/* Reset & Base Styles */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: var(--font-family);

    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f6f7f9 60%, #ecefe6 100%) fixed;

    color: var(--text-color);

    line-height: 1.7;

    overflow-x: hidden;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



a {

    text-decoration: none;

    color: inherit;

}



ul {

    list-style: none;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



/* ========================================
   1. Main Navbar Style (Desktop)
======================================== */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 25px 38px !important;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container,
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* لتوسيط القائمة الوسطى */
    width: 100% !important;
    position: relative !important; /* مرجع لتثبيت الشعار والزر على الأطراف */
}

/* --- الشعار (أقصى اليمين) --- */
.logo {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.logo img {
    height: 120px;
    width: auto;
    filter: none !important;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* --- القائمة الرئيسية (توسيط في منتصف Navbar) --- */
.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
    list-style: none !important;
}

.nav-links li {
    margin: 0 !important;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
    text-decoration: none !important;
}

/* خط التأثير السفلي للروابط العادية فقط */
.nav-links li:not(:last-child) a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li:not(:last-child) a:hover::after {
    width: 100%;
}

/* --- زر (تواصل معنا) الأخير (مثبت أقصى الشمال) --- */
.nav-links li:last-child {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

.nav-links li:last-child a,
.nav-links li.nav-btn a {
    background-color: #000 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* إزالة أي خط سفلي للزر عند التمرير */
.nav-links li:last-child a::after,
.nav-links li.nav-btn a::after {
    display: none !important;
    content: none !important;
}

.nav-links li:last-child a:hover,
.nav-links li.nav-btn a:hover {
    background: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* --- زر الموبايل (مخفي افتراضياً على الشاشات الكبيرة) --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}


/* ========================================
   2. Responsive Styles (Mobile & Tablet)
======================================== */

@media only screen and (max-width: 991px) {
    /* ضبط الحاوية الرئيسية للهيدر في الموبايل */
    .navbar {
        top: 10px;
        width: 92%;
        padding: 12px 20px !important;
        border-radius: 30px;
    }

    .nav-container,
    .navbar .container {
        justify-content: space-between !important;
        position: relative !important;
    }

    /* إلغاء التموضع المطلق وتصغير الشعار على الموبايل */
    .logo {
        position: static !important;
        transform: none !important;
    }

    .logo img {
        height: 45px !important; /* تصغير حجم اللوجو ليناسب الموبايل */
    }

    /* إظهار زر قائمة الموبايل */
    .mobile-menu-btn {
        display: flex !important;
        z-index: 1001;
    }

    /* تحويل القائمة الرئيسية إلى قائمة منسدلة */
    .nav-links {
        position: absolute !important;
        top: calc(100% + 15px) !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        backdrop-filter: blur(15px) !important;
        flex-direction: column !important;
        gap: 18px !important;
        padding: 25px 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        
        /* إخفاء القائمة افتراضياً */
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
    }

    /* تفعيل إظهار القائمة عند الضغط على الزر */
    .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* إزالة التموضع المطلق لزر تواصل معنا داخل القائمة المنسدلة */
    .nav-links li:last-child {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px !important;
    }

    .nav-links li:last-child a,
    .nav-links li.nav-btn a {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--medium-gray);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    
    /* 1. التدرج الرأسي الأساسي (رمادي في الأعلى يتدرج للأبيض في الأسفل) */
    background-color: #ffffff !important;
    background-image: linear-gradient(180deg, #dce1e8 0%, #ffffff 100%) !important;
    
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important; /* لضمان الالتحام التام مع السكشن التالي */
}

/* 2. عنصر الخصائص الزائفة رسم شبكة المربعات + التلاشي التدريجي (Mask) */
.hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    
    /* رسم خطوط الشبكة الهندسية بالرمادي الخفيف */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    
    /* تأثير القناع لتلاشي الشبكة بنعومة مع وصولها لقاع السكشن */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%) !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 85%) !important;
    
    pointer-events: none !important;
    z-index: 1 !important;
}

/* 3. ضمان رفع كافة محتويات الهيرو فوق الشبكة للتأكد من سهولة القراءة والتفاعل */
.hero .container, 
.hero-content, 
.hero-images {
    position: relative !important;
    z-index: 2 !important;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-images {
    position: relative;
}

/* ========================================
   تنسيق الإطارات المائلة وتأثير الصور الجدية
======================================== */
.hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.hero-img-grid img {
    border-radius: 20px !important;
    border: 4px solid #ffffff !important;
    background-color: #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease !important;
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: grayscale(100%) contrast(125%);
}

/* الصورة الأولى: مائلة للـ الشمال (-1deg) */
.hero-img-grid img:first-child {
    margin-top: 0;
    transform: rotate(-1deg);
}

/* الصورة الثانية: مائلة للـ اليمين (2deg) ومزاحة للأسفل قليلاً */
.hero-img-grid img:last-child {
    margin-top: 35px;
    transform: rotate(2deg);
}

/* عند حوم الماوس: ترجع للوضع الطبيعي وتستعيد ألوانها */
.hero-img-grid img:hover {
    transform: rotate(0deg) scale(1.02) !important;
    filter: grayscale(0%) contrast(100%) !important;
}



/* ========================================
   Banner wrapper
======================================== */
.banner {
    background: var(--white) !important;
    overflow-x: clip;       /* hides only the sideways overflow */
    overflow-y: visible;    /* lets the tilted edges show */
    padding: 120px 0;       /* room for the rotation */
    position: relative;
}

/* ========================================
   Dark banner
======================================== */
.ticker-banner-section {
    width: 120%;
    margin-left: -10%;
    background-color: #2B2A2A;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotate(-4deg);
}

/* ========================================
   Light banner
======================================== */
.ticker-banner-section2 {
    width: 120%;
    margin-left: -10%;
    background-color: #FCFCFC;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotate(6deg);
    /* margin-top: -60px;  <- remove the comment to bring the banners closer */
}

/* ========================================
   Ticker track
======================================== */
.outer,
.outer2 {
    overflow: hidden;
    width: 100%;
    direction: ltr;                 /* the movement math stays LTR */
}

.loop,
.loop2 {
    display: flex;
    width: max-content;
    direction: rtl;                 /* Arabic order stays correct inside */
    will-change: transform;
    animation: loop-anim 30s linear infinite;   /* JS overrides the duration */
}

.loop2 {
    animation-direction: reverse;
}

.group {
    display: flex;
    flex-shrink: 0;
}

/* ========================================
   Items
======================================== */
.item {
    flex-shrink: 0;
    white-space: nowrap;
    unicode-bidi: isolate;
    font-family: Cairo, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding-inline: 0.5em;
}

.item::after {
    content: "✦";
    margin-inline-start: 1em;       /* space between the phrase and the star */
}

.ticker-banner-section  .item { color: #F5F2F2; }
.ticker-banner-section2 .item { color: #2B2A2A; }

/* ========================================
   Keyframes
======================================== */
@keyframes loop-anim {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========================================
   Mobile
======================================== */
@media only screen and (max-width: 767px) {
    .banner {
        padding: 80px 0;
    }

    .ticker-banner-section,
    .ticker-banner-section2 {
        padding: 15px 0;
    }

    .item {
        font-size: 1.5rem;
    }
}


/* ========================================
   Section Styles
======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title.dark {
    color: var(--primary-color);
}

.section-title.dark::after {
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* ========================================
   Section Styles
======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title.dark {
    color: var(--primary-color);
}

.section-title.dark::after {
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* ========================================
   Why Us Section
======================================== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    /* Changed from hidden to visible for ::after stack effect */
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: 2;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Stack Effect Layer */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    transform: translate(0, 0);
    transition: var(--transition);
    opacity: 0;
}

.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
    transform: translateY(-10px);
}

.feature-card:hover::before {
    height: 100%;
}



.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: var(--light-gray);
    border-radius: 10px;
    flex-shrink: 0;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    width: auto;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================================
   Clients Section
======================================== */
.clients {
    padding: 80px 0;
    background: var(--white);
}

.clients-image {
    width: 100%;
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.clients-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Crop top part to hide the Elshater logo */
    margin-top: -18%;
}

/* ========================================
   Gallery Section
======================================== */
.gallery {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(100%);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ========================================
   Services Section
======================================== */
.services {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f4f5f7 50%, #e2e5eb 100%);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 1.3rem;
}

.service-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========================================
   Hexagon Services Section
======================================== */
.hexagon-services {
    padding: 100px 0;
    background: var(--light-gray);
}

.hexagon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 50px 0;
}

.hexagon-item {
    transition: var(--transition);
}

.hexagon-item.offset-down {
    margin-top: 80px;
}

.hexagon {
    width: 160px;
    height: 180px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.hexagon:hover {
    transform: scale(1.05);
    background: var(--secondary-color);
}

.hexagon-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hex-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
    line-height: 1.4;
}

.hex-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.hex-link {
    font-size: 0.7rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ========================================
   Works Section
======================================== */
.works {
    padding: 100px 0;
    background: var(--white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.work-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.works-cta {
    text-align: center;
    margin-top: 50px;
}

#works .section-title,
.works-slider-section .section-title {
    position: relative !important;
    display: block !important;
    margin-bottom: 12px !important; /* مسافة فاصلة بين العنوان والوصف */
    line-height: 1.3 !important;
    top: auto !important;
    bottom: auto !important;
}

#works .section-subtitle,
.works-slider-section .section-subtitle {
    position: relative !important;
    display: block !important;
    margin-top: 0 !important;
    line-height: 1.6 !important;
    top: auto !important;
    bottom: auto !important;
}

/* ========================================
   How We Work Section
======================================== */
.how-we-work {
    padding: 100px 0;
    background: var(--white);
    font-family: 'Inter', 'Cairo', sans-serif;
}

.how-header {
    max-width: 400px;
    margin-bottom: 60px;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--medium-gray);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.how-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.how-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.process-timeline {
    position: relative;
    min-height: 800px;
}

.process-line {
    position: absolute;
    top: 50px;
    right: 200px;
    width: 2px;
    height: 700px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='10'%3E%3Crect fill='%23ccc' width='2' height='5'/%3E%3C/svg%3E") repeat-y;
}

.process-step {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-card {
    background: var(--white);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    width: 280px;
    transition: var(--transition);
    position: relative;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-left: 1px solid var(--medium-gray);
    border-top: 1px solid var(--medium-gray);
    transform: rotate(45deg);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.step-number {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.step-1 {
    top: 50px;
    right: 50px;
}

.step-2 {
    top: 200px;
    right: 350px;
}

.step-3 {
    top: 450px;
    right: 50px;
}

.step-4 {
    top: 600px;
    right: 350px;
}

.ready-text {
    position: absolute;
    bottom: 20px;
    right: 50px;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white);
    margin-top: 10px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact list icons */
.contact-list .icon {
    margin-left: 8px;
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-content,
.hero-images {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-images {
    animation-delay: 0.2s;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-images {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-timeline {
        min-height: auto;
        padding: 20px 0;
    }

    .process-line {
        display: none;
    }

    .process-step {
        position: relative;
        top: auto !important;
        right: auto !important;
        margin-bottom: 30px;
        flex-direction: row-reverse;
    }

    .step-dot {
        display: none;
    }

    .step-card {
        width: 100%;
    }

    .ready-text {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    .hexagon-item.offset-down {
        margin-top: 0;
    }

    .hexagon-grid {
        gap: 20px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        margin: 10px auto 0;
    }

    .social-links {
        justify-content: center;
    }

    .how-header {
        text-align: center;
        max-width: 100%;
    }

    .how-header h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .feature-card {
        padding: 25px;
    }

    .hexagon {
        width: 140px;
        height: 160px;
    }

    .hex-title {
        font-size: 0.7rem;
    }

    .service-item {
        width: 100%;
        justify-content: center;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-logo {
        padding: 15px;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-auto {
    margin-top: auto;
}

/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   Admin Bar Fix
======================================== */
body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

/* ========================================
   ENHANCED PAGE HEADER
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 50%, var(--light-gray) 100%);
    color: var(--primary-color);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Logo Slider - Stripe Style */
.clients-slider {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    direction: ltr;
    background: #fafafa;
}

/* Edge Fades (Stripe Effect) */
.clients-slider::before,
.clients-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.clients-track {
    display: flex;
    width: max-content;
    animation: scroll 300s linear infinite;
    align-items: center;
}

.clients-track .client-logo-item {
    width: 320px;
    /* Larger containers so logos are clearly visible */
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 0 12px;
}

.clients-track .client-logo-item img {
    max-width: 260px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.5) brightness(0.6);
    opacity: 1;
    transition: filter 0.4s ease, transform 0.3s ease;
}

.clients-track .client-logo-item:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.05);
}

.clients-track .client-logo-item:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .clients-slider {
        padding: 30px 0;
    }

    .clients-slider::before,
    .clients-slider::after {
        width: 80px;
    }

    .client-logo-item {
        width: 160px;
        padding: 0 25px;
    }

    .client-logo-item img {
        max-width: 100px;
        max-height: 40px;
    }

    .clients-track {
        animation-duration: 80s;
    }
}


/* ========================================
   Responsive - Page Header (inner pages)
   ملاحظة: CSS الصفحات الداخلية انتقل إلى assets/css/pages/
======================================== */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 150px 0 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }
}

/* ========================================
   HOME CONTACT FORM (NEW CTA)
======================================== */
.cta-contact-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Left Side (Text) */
.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

.cta-content .btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-content .btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Right Side (Form) */
.cta-form-container {
    flex: 1;
    max-width: 550px;
}

.home-contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.home-contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.home-contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.home-contact-form .form-group {
    width: 100%;
}

.home-contact-form .form-row .form-group {
    margin-bottom: 0;
}

.home-contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
}

.home-contact-form .submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.home-contact-form .submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

/* ========================================
   HEXAGON SERVICES UPDATE
======================================== */
.hexagon-services {
    padding: 80px 0;
    background: #fdfdfd;
}

.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
}

.hexagon-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hexagon {
    width: 260px;
    /* Reduced Size */
    height: 300px;
    /* Reduced Size */
    background: var(--primary-color);
    /* Black Default */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.hexagon:hover {
    transform: translateY(-8px) scale(1.02);
    background: #000;
    /* Darker Black */
}

.hexagon:hover .hex-title,
.hexagon:hover .hex-link {
    color: var(--white);
}

.hexagon:hover .hex-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hexagon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    width: 80%;
}

.hex-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    /* Transparent White */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    /* White Icon */
    transition: all 0.3s ease;
    margin: 0 auto;
}

.hex-icon svg {
    width: 30px;
    height: 30px;
}

.hex-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    /* White Title */
    line-height: 1.3;
}

.hex-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    /* White Link */
    opacity: 0.8;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 1100px) {
    .hexagon-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cta-form-container {
        width: 100%;
        max-width: 100%;
    }

    .cta-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hexagon-grid {
        grid-template-columns: 1fr !important;
    }

    .home-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .home-contact-form .form-group {
        margin-bottom: 15px;
    }

}

/* ========================================
   WORKS SLIDER SECTION (GLOBAL)
======================================== */
.works-slider-section {
    padding: 100px 0;
    background: #000;
    /* Pure Black Background */
    color: #fff;
    overflow: hidden;
    position: relative;
    direction: ltr;
    /* Ensure LTR for sliding track */
}

.works-slider-section .section-title {
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.works-slider-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
    text-align: center;
}

.works-slider-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

/* Infinite Animation Track */
.works-track {
    display: flex;
    /* Horizontal Layout */
    gap: 30px;
    width: max-content;
    /* Allow content to overflow horizontally */
    animation: scrollWorks 30s linear infinite;
}

.works-track:hover {
    animation-play-state: paused;
}

@keyframes scrollWorks {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Work Slide Item */
.work-slide {
    position: relative;
    width: 350px !important;
    /* Fixed Width */
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    /* Prevent shrinking */
    cursor: pointer;
    transition: all 0.4s ease;
    background: #111;
}

.work-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* B&W by default */
    transition: all 0.5s ease;
}

/* Hover Effects */
.work-slide:hover img {
    filter: grayscale(0%);
    /* Color on hover */
    transform: scale(1.1);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-align: right;
}

.work-slide:hover .work-info {
    opacity: 1;
    transform: translateY(0);
}

.work-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.work-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eee;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* ========================================
   WhatsApp Floating Button
======================================== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 90px;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    animation: fadeInWhatsapp 0.5s ease-in-out 1s forwards;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInWhatsapp {
    to {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 20px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}


/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

/* Brand Column */
.footer-brand {
    padding-left: 40px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 400px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.social-icon:hover svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Footer Heading */
.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '◄';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    opacity: 1;
    right: -25px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.footer-contact svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.footer-contact li:hover svg {
    color: var(--white);
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-heading::after {
        right: auto;
        left: 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-main {
        padding: 60px 0 30px;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Smaller social icons on mobile */
    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .footer-contact svg {
        width: 18px;
        height: 18px;
    }
}

/* Elementor Native v2 — preserve legacy section geometry inside Elementor. */
.elementor-widget-elshatr_clients_page > .elementor-widget-container,
.elementor-widget-elshatr_services_page > .elementor-widget-container,
.elementor-widget-elshatr_works_page > .elementor-widget-container,
.elementor-widget-elshatr_why_page > .elementor-widget-container,
.elementor-widget-elshatr_contact_page > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-widget-elshatr_clients_page,
.elementor-widget-elshatr_services_page,
.elementor-widget-elshatr_works_page,
.elementor-widget-elshatr_why_page,
.elementor-widget-elshatr_contact_page { width: 100%; max-width: none; }
.form-feedback { padding:15px; margin-bottom:20px; border-radius:8px; font-weight:500; }
.form-feedback.success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.form-feedback.error { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }

/* Swiper Custom Styling */
.myCustomSwiper {
  width: 100%;
  padding: 60px 0;
  overflow: visible; 
}

.myCustomSwiper .swiper-slide {
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.4;
  transform: scale(0.85); 
  filter: blur(1px); 
}


.myCustomSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.1); 
  filter: blur(0px);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
}

.myCustomSwiper .swiper-slide img {
  width: 130%;
  height: 500px;
  object-fit:cover;
  display: block;
  border-radius: 16px;
}

.myCustomSwiper,
.myCustomSwiper *,
.elementor-shortcode,
.elementor-widget-shortcode,
.elementor-widget-container {
  background: transparent !important;
  background-color: transparent !important;
}


/* ==========================================
   Horizontal Accordion Styles (Larger Size)
   ========================================== */
.horizontal-accordion-section {
    padding: 80px 0;
    direction: rtl;
}

.custom-accordion-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 1300px; /* زيادة العرض الأقصى ليصبح أكبر */
    height: 520px;     /* زيادة الارتفاع ليصبح أكبر وأوضح */
    margin: 0 auto;
}

.accordion-card {
    position: relative;
    flex: 1;
    height: 100%;
    border-radius: 48px; /* تدوير أطراف أكبر ليتناسب مع الحجم */
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;

    /* جعل الصورة بالأبيض والأسود افتراضياً */
    filter: grayscale(100%);
    
    /* تنقل سلس للألوان والتمدد */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

/* استرجاع الألوان والتمدد عند Hover */
.accordion-card:hover {
    flex: 5.5;
    filter: grayscale(0%);
}

/* طبقة التدرج الداكن بأسفل كل بطاقة */
.accordion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.1) 60%);
    border-radius: inherit;
    transition: background 0.4s ease;
}

.card-content {
    position: absolute;
    bottom: 30px;
    right: 25px;
    left: 25px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    color: #ffffff;
}

/* دائرة الأيقونة بحجم أكبر */
.card-icon {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* إخفاء وتنسيق النصوص للبطاقات المغلقة */
.card-text {
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, visibility 0.4s;
    white-space: normal;
}

/* إظهار النص والزر عند الفتح */
.accordion-card:hover .card-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.card-title {
    margin: 0 0 6px 0;
    font-size: 24px; /* تكبير عنوان الخدمة */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.card-subtitle {
    margin: 0 0 16px 0;
    font-size: 15px; /* تكبير الوصف النصي */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 400px;
}

/* زر "اعرف أكثر" بحجم أكبر */
.accordion-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: #ffffff;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.accordion-btn:hover {
    background-color: #f0f0f0;
    color: #000000;
    transform: translateY(-2px);
}

.accordion-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* الاستجابة للهواتف والشاشات الصغيرة */
@media (max-width: 768px) {
    .custom-accordion-wrapper {
        flex-direction: column;
        height: 780px;
    }
}

