/* ====================================================================== */
/* === 1. BASE AND VARIABLES (FROM style.css) =========================== */
/* ====================================================================== */
:root {
    /* الألوان الرئيسية - أزرق نيلي أنيق */
    --primary-dark: #1A1F36;
    /* أزرق نيلي داكن */
    --primary-color: #2D3748;
    /* أزرق نيلي متوسط */
    --primary-light: #4A5568;
    /* أزرق نيلي فاتح */
    --primary-lighter: #718096;
    /* أزرق نيلي فاتح جداً */

    /* ألوان التمييز - ذهبي فاخر */
    --accent-gold: #D4AF37;
    /* ذهبي تقليدي */
    --accent-gold-dark: #B8860B;
    /* ذهبي داكن */
    --accent-gold-light: #F7EF8A;
    /* ذهبي فاتح */

    /* ألوان محايدة */
    --neutral-white: #FFFFFF;
    --neutral-cream: #F8FAFC;
    /* كريمي بارد */
    --neutral-light: #E2E8F0;
    /* رمادي فاتح */
    --neutral-dark: #2D3748;
    /* رمادي داكن */

    --text-dark: #1A202C;
    --text-light: #718096;
    --text-white: #FFFFFF;

    --shadow: 0 8px 30px rgba(26, 31, 54, 0.08);
    --shadow-heavy: 0 20px 50px rgba(26, 31, 54, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--neutral-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 80px;
    /* لتعويض الهيدر الثابت */
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Shared Buttons & Actions --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 31, 54, 0.3);
}

/* --- Header --- */
.header {
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    border-bottom: 2px solid var(--accent-gold);
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    position: relative;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop a {
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark);
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid transparent;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    color: var(--accent-gold);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--accent-gold);
    z-index: 1001;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    text-align: right;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.mobile-menu-backdrop.active {
    display: block;
}

/* --- Hero Section & Shared Page Hero Styles --- */
.modern-hero,
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    margin-top: -80px;
    overflow: hidden;
    color: var(--neutral-white);
    text-align: center;
}

/* Hero Content */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(26, 31, 54, 0.95) 0%, rgba(45, 55, 72, 0.9) 100%),
        url('https://res.cloudinary.com/dobxzewej/image/upload/v1763500176/WhatsApp_Image_2025-11-18_at_10.58.04_PM_r29gai.jpg');
    background-size: 120% 120%;
    background-position: center;
    animation: backgroundPan 30s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(26, 31, 54, 0.4) 70%);
    animation: overlayPulse 10s ease-in-out infinite;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    font-size: 3.5rem;
}

.title-subline {
    font-size: 2rem;
}

.hero-description {
    font-size: 1.3rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-gold);
    animation: floatX 5s ease-in-out infinite alternate;
}

/* --- Section Titles (Shared) --- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    animation: titleColorShift 4s ease-in-out infinite;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-dark));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: linePulse 3s ease-in-out infinite alternate;
}

/* --- Features Section (Home) --- */
.features-section {
    padding: 6rem 0;
    background: var(--neutral-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--neutral-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--neutral-light);
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1A252F 100%);
    color: var(--neutral-white);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--accent-gold);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--neutral-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* ====================================================================== */
/* === 2. SERVICES STYLES (FROM services.css) =========================== */
/* ====================================================================== */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.service-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--neutral-light);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    animation: cardFloat 6s ease-in-out infinite;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05) rotate(-2deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-gold);
    animation: none; /* إيقاف أنيميشن cardFloat عند التفاعل */
}

.service-icon {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 3rem;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    animation: iconBackgroundShift 8s ease-in-out infinite;
}

.service-icon i {
    animation: floatX 4s ease-in-out infinite;
}

/* Service Content */
.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    min-height: 3.5rem;
    transition: var(--transition);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--accent-gold);
}

.whatsapp-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--neutral-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    flex-shrink: 0;
}

/* ====================================================================== */
/* === 3. PROJECTS STYLES (FROM projects.css) - Manual Scroll/Arrows ==== */
/* ====================================================================== */
.projects-filter {
    padding: 2rem 0;
    background: var(--neutral-light);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--neutral-white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 31, 54, 0.3);
}

.projects-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.projects-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.projects-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; /* 🔥 السماح بالتمرير اليدوي */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    width: 100% !important;
    min-width: unset !important;
    padding: 2rem 0 !important;
    position: relative !important;
    z-index: 2 !important;
    animation: none !important;
}

.project-item {
    background: #ffffff !important;
    border-radius: var(--border-radius) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e9ecef !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 450px !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    width: 350px !important;
    margin-inline-end: 2rem !important;
    scroll-snap-align: start; /* تثبيت البطاقة */
    transform: none !important;
    animation: none !important;
}

.project-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.project-image {
    height: 250px !important;
    background: #f8f9fa !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.project-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.project-content {
    padding: 1.5rem !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.project-category {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.8rem !important;
    align-self: flex-start;
}

.project-content h3 {
    font-size: 1.3rem !important;
    margin: 0 0 0.8rem 0 !important;
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.project-description {
    color: var(--text-light) !important;
    line-height: 1.6 !important;
    margin: 0 0 1rem 0 !important;
    font-size: 0.95rem !important;
    flex-grow: 1 !important;
}

.project-meta {
    margin-top: auto !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f3f4 !important;
    color: var(--text-light) !important;
    font-size: 0.85rem !important;
}

/* CSS for Scroll Arrows (Manual Carousel) */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--accent-gold) !important;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    transition: var(--transition);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    background: transparent !important;
    color: var(--accent-gold-dark) !important;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.prev-arrow {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.next-arrow {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

/* ====================================================================== */
/* === 4. PRICING STYLES (FROM pricing.css) ============================= */
/* ====================================================================== */
.pricing-notice {
    padding: 2rem 0;
}

.notice-box {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--primary-dark);
    animation: noticePulse 3s ease-in-out infinite;
}

.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    animation: featuredPulse 4s ease-in-out infinite;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    animation: priceGlow 2s ease-in-out infinite alternate;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--accent-gold);
}

.what-included h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.included-item i {
    animation: floatX 4s ease-in-out infinite;
}

/* ====================================================================== */
/* === 5. CALCULATOR STYLES (FROM calculator.css) ======================= */
/* ====================================================================== */
.calculator-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.calculator-form {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: formSlide 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.calculator-result {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: resultSlide 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(50px);
}

.result-placeholder i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    animation: calculatorSpin 4s linear infinite;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-light);
    animation: resultItemSlide 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.result-item.total {
    border-bottom: none;
    border-top: 2px solid var(--accent-gold);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
    animation: totalPulse 2s ease-in-out infinite;
}

#totalPrice {
    color: var(--accent-gold);
    font-weight: 800;
    animation: priceJump 1s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--neutral-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    animation: whatsappPulse 2s ease-in-out infinite;
}

/* ====================================================================== */
/* === 6. WHY US STYLES (FROM why-us.css) =============================== */
/* ====================================================================== */
.why-us-section {
    padding: 6rem 0;
    background: var(--neutral-white);
}

.why-us-section .why-us-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.why-us-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    text-align: center;
}

.why-us-text>p {
    margin-bottom: 3rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--neutral-cream);
    border: 1px solid var(--neutral-light);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    
    /* 💥 الحالة الابتدائية: مخفي ويتم تحديد اتجاه الحركة بالكلاسات الإضافية 💥 */
    opacity: 0;
    transform: translateX(0);
}

.feature-item.slide-right {
    opacity: 0;
    transform: translateX(100px);
}

.feature-item.slide-left {
    opacity: 0;
    transform: translateX(-100px);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-gold);
}

.feature-item.slide-right.animated {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s ease-out forwards;
}

.feature-item.slide-left.animated {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-out forwards;
}


.feature-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--primary-dark);
    animation: floatX 4s ease-in-out infinite;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us-image {
    display: none !important;
}

/* Stats Section (Why Us Footer) */
.stats-section {
    padding: 3rem 2rem;
    background: var(--primary-dark);
    color: var(--neutral-white);
    border-top: 1px solid var(--accent-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stats-section .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stats-section .stat-item i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.stats-section .stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neutral-white);
    animation: floatX 5s ease-in-out infinite alternate;
}

.stats-section .stat-item p {
    font-size: 0.9rem;
    color: var(--neutral-light);
}

/* ====================================================================== */
/* === 7. TESTIMONIALS STYLES (FROM testimonials.css) =================== */
/* ====================================================================== */
.testimonials-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--neutral-cream) 100%);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-light);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-gold);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--neutral-light);
}

.customer-info h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.project-type {
    background: var(--primary-dark);
    color: var(--neutral-white);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.rating-stars {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 0;
    font-style: italic;
    border-right: 4px solid var(--accent-gold);
    padding-right: 1.2rem;
    font-size: 1.05rem;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-light);
    margin-top: 1rem;
    flex-shrink: 0;
}

.recommendation {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA Section (Footer) */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--neutral-white);
}

.cta-section .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: var(--neutral-white);
    transform: translateY(-3px);
}
.stat-label {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    animation: priceGlow 2s ease-in-out infinite alternate;
}

/* ====================================================================== */
/* === 8. CONTACT STYLES (FROM contact.css) ============================= */
/* ====================================================================== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: infoSlide 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.contact-form-container {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: formSlide 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(50px);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--neutral-cream);
    border-radius: var(--border-radius);
    animation: methodFloat 6s ease-in-out infinite;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.method-icon i {
    animation: floatX 4s ease-in-out infinite;
}

/* ====================================================================== */
/* === 9. ADMIN STYLES (FROM admin.css) - Kept for clarity ============= */
/* ====================================================================== */
.admin-body {
    font-family: 'Tajawal', sans-serif;
    background: #f8f9fa;
    direction: rtl;
}

/* لوحة التحكم */
.login-section {
    min-height: 100vh;
}

.admin-dashboard {
    min-height: 100vh;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-main {
    display: flex;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    width: 280px;
    background: #2c3e50;
    color: white;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.menu-item.active {
    border-right-color: #667eea;
}

/* ====================================================================== */
/* === 10. KEYFRAMES & SHARED ANIMATIONS ================================ */
/* ====================================================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 💥 إطار الحركة للدخول من اليمين 💥 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px); /* يبدأ من اليمين */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* ينتهي في مكانه الأصلي */
    }
}

/* 💥 إطار الحركة للدخول من اليسار 💥 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px); /* يبدأ من اليسار */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* ينتهي في مكانه الأصلي */
    }
}

@keyframes backgroundPan {
    0% {
        background-position: 0% 0%;
        background-size: 120% 120%;
    }
    50% {
        background-position: 100% 50%;
        background-size: 120% 120%;
    }
    100% {
        background-position: 0% 0%;
        background-size: 120% 120%;
    }
}

@keyframes overlayPulse {
    0%,
    100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
}

@keyframes subtitleFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes titleColorShift {
    0%,
    100% {
        color: var(--primary-dark);
    }
    50% {
        color: var(--accent-gold);
    }
}

@keyframes linePulse {
    0%,
    100% {
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        transform: translateX(-50%) scaleX(1.05);
        opacity: 0.9;
    }
}

@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1deg);
    }
    66% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes floatX {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
}

@keyframes formSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes resultSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes resultItemSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes calculatorSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes whatsappPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes methodFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes noticePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes totalPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes priceGlow {
    0% { text-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    100% { text-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
}

@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.5), var(--shadow-heavy); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.8), var(--shadow-heavy); }
}

@keyframes priceJump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes iconBackgroundShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ====================================================================== */
/* === 11. RESPONSIVE & MOBILE FIXES ==================================== */
/* ====================================================================== */

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
    .menu-button {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nav-desktop {
        display: none !important;
    }
    .menu-button {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    .features-list {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container,
    .calculator-container,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .projects-grid,
    .services-grid,
    .pricing-cards,
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .testimonials-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    /* Projects Carousel Fix for Mobile Arrows */
    .project-item {
        width: 280px !important;
        margin-inline-end: 1rem !important;
    }

    .scroll-arrow {
        display: flex !important; /* إظهار الأسهم */
        font-size: 1.8rem;
        width: 35px;
        height: 35px;
        opacity: 0.9;
    }

    .prev-arrow {
        right: 0.5rem !important;
        transform: translateY(-50%) translateX(0);
    }

    .next-arrow {
        left: 0.5rem !important;
        transform: translateY(-50%) translateX(0);
    }
    
    .projects-grid {
        /* إخفاء شريط التمرير الطبيعي (اختياري) */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 1.8rem;
    }
    .hero-title .title-subline {
        font-size: 1.2rem;
    }
    .project-item {
        width: 250px !important;
    }
}
@keyframes featureMobileIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {

    /* كروت لماذا تختارنا على الموبايل */
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        opacity: 0;                  /* يبدأ مخفي */
        transform: translateY(30px);  /* نازل لتحت شوية */
        animation: featureMobileIn 0.8s ease-out forwards;
    }

    /* لو عايز الكرت الأول (سرعة التنفيذ) يكون مميز أكتر */
    .feature-item:first-child {
        animation-delay: 0.1s;
    }

    .feature-item:nth-child(2) {
        animation-delay: 0.25s;
    }

    .feature-item:nth-child(3) {
        animation-delay: 0.4s;
    }
}
/* === FIX FEATURE CARD & ADD ANIMATION (MOBILE FIRST) === */

/* شكل الكرت النهائي */
.feature-card {
    background: var(--neutral-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--neutral-light);
    position: relative;
    overflow: hidden;
}

/* لمعة بتعدي على الكرت */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

/* خط صغير ثابت فوق الكرت */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}
@keyframes featureEnterRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 768px) {
    /* كل كروت لماذا تختارنا على الموبايل */
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        opacity: 0;
        transform: translateX(60px);
        animation: featureEnterRight 0.7s ease-out forwards;
    }

    /* تأخير بسيط بين الكروت (أول واحد سرعة التنفيذ) */
    .feature-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.25s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.4s;
    }
}
.feature-card:hover::before {
    left: 100%;
}

@keyframes featureEnterRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* كروت لماذا تختارنا – ديسكتوب وموبايل */
.features-section .feature-card {
    opacity: 0;
    transform: translateX(60px);
    animation: featureEnterRight 0.7s ease-out forwards;
}

/* تأخير بسيط بين الكروت (أول واحد سرعة التنفيذ) */
.features-section .feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.features-section .feature-card:nth-child(2) {
    animation-delay: 0.25s;
}
.features-section .feature-card:nth-child(3) {
    animation-delay: 0.4s;
}
.features-section .feature-card:nth-child(4) {
    animation-delay: 0.55s;
}
@media (max-width: 768px) {
    .features-section .feature-card {
        opacity: 0;
        transform: translateX(60px);
        animation: featureEnterRight 0.7s ease-out forwards;
    }

    .features-section .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .features-section .feature-card:nth-child(2) { animation-delay: 0.25s; }
    .features-section .feature-card:nth-child(3) { animation-delay: 0.4s; }
    .features-section .feature-card:nth-child(4) { animation-delay: 0.55s; }
}
.features-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.features-section .feature-card:hover::before {
    left: 120%;
}
/* ====================================================================== */
/* === 10. KEYFRAMES & SHARED ANIMATIONS ================================ */
/* ====================================================================== */



/* 💥 إطار الحركة للدخول من اليمين (موجودة بالفعل) 💥 */
@keyframes featureEnterRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 💥 إطار الحركة للدخول من اليسار (مضافة جديدة) 💥 */
@keyframes featureEnterLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px); /* يبدأ من اليسار */
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* أنيميشن للكروت في Features Section */
.feature-card.animated-card {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card.animated-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* تأثير خاص لكل كارت */
.feature-card.animated-card:nth-child(1).animate-in {
    animation: cardBounceIn 0.8s ease-out forwards;
}

.feature-card.animated-card:nth-child(2).animate-in {
    animation: cardSlideInRight 0.8s ease-out forwards;
}

.feature-card.animated-card:nth-child(3).animate-in {
    animation: cardSlideInLeft 0.8s ease-out forwards;
}

.feature-card.animated-card:nth-child(4).animate-in {
    animation: cardFlipIn 0.8s ease-out forwards;
}

/* مفاتيح الحركة */
@keyframes cardBounceIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    60% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes cardSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes cardFlipIn {
    0% {
        opacity: 0;
        transform: rotateY(180deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotateY(0) scale(1);
    }
}
/* تأثيرات عند المرور على الكروت */
.feature-card.animated-card:hover {
    transform: translateY(-15px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.feature-card.animated-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

.feature-card.animated-card:hover h3 {
    color: var(--accent-gold);
    transform: translateY(-5px);
}

.feature-card.animated-card h3 {
    transition: all 0.3s ease;
}

.feature-card.animated-card .feature-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* أنيميشن لأيقونات المشاريع فقط */
.project-icon-animated {
    position: relative;
    overflow: hidden;
}

.project-icon-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    animation: iconSlide 3s ease-in-out infinite;
    z-index: 2;
}

.project-icon-animated img {
    transition: all 0.5s ease;
    animation: gentleZoom 6s ease-in-out infinite;
}

@keyframes iconSlide {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes gentleZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* تأثير hover على الأيقونات */
.project-icon-animated:hover::before {
    animation: iconSlideFast 1s ease-in-out;
}

.project-icon-animated:hover img {
    transform: scale(1.1);
    animation: none;
}

@keyframes iconSlideFast {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
/* Services Section - ثابت مع أيقونات متحركة */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.service-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-light);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* أيقونة الخدمة مع الحركة والـ Glow */
.service-icon {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 3rem;
    overflow: hidden;
    flex-shrink: 0;
}

/* تأثير الـ Glow حول الأيقونة */
.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: serviceGlowPulse 3s ease-in-out infinite;
    z-index: 1;
}

/* حركة الأيقونة نفسها */
.service-icon i {
    position: relative;
    z-index: 2;
    animation: serviceIconFloat 4s ease-in-out infinite;
}

/* حركة الطفو للأيقونة */
@keyframes serviceIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(5deg);
    }
    66% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* نبض الـ Glow */
@keyframes serviceGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* تأثير إضافي عند الـ Hover */
.service-card:hover .service-icon::before {
    animation: serviceGlowIntense 1.5s ease-in-out infinite;
}

.service-card:hover .service-icon i {
    animation: serviceIconSpin 0.6s ease-in-out;
}

@keyframes serviceGlowIntense {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
        background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, transparent 70%);
    }
}

@keyframes serviceIconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* محتوى الكارت (ثابت) */
.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    min-height: 3.5rem;
    transition: var(--transition);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--accent-gold);
}

.whatsapp-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--neutral-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* تأثيرات إضافية للـ Glow */
.service-icon.glow-intense i {
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 40px rgba(212, 175, 55, 0.4),
        0 0 60px rgba(212, 175, 55, 0.2);
    animation: iconShine 2s ease-in-out infinite alternate;
}

@keyframes iconShine {
    from {
        filter: brightness(1) drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    }
    to {
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    }
}
/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .service-card {
        min-height: 450px;
    }
    
    .service-icon {
        height: 100px;
        font-size: 2.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .service-card {
        min-height: 400px;
    }
    
    .service-icon {
        height: 90px;
        font-size: 2rem;
    }
}
/* Services أيقونات متحركة */
.service-icon.animated-icon {
    position: relative;
    overflow: visible;
}

.service-icon.animated-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: serviceGlowPulse 3s ease-in-out infinite;
    border-radius: 50%;
    z-index: 1;
}

.service-icon.animated-icon i {
    position: relative;
    z-index: 2;
    animation: serviceIconFloat 4s ease-in-out infinite;
}

@keyframes serviceGlowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes serviceIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(3deg);
    }
    66% {
        transform: translateY(-4px) rotate(-3deg);
    }
}

/* تأثير عند hover */
.service-card:hover .service-icon.animated-icon::before {
    animation: serviceGlowIntense 1s ease-in-out infinite;
}

.service-card:hover .service-icon.animated-icon i {
    animation: serviceIconSpin 0.6s ease-in-out;
}

@keyframes serviceGlowIntense {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes serviceIconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* تأثيرات إضافية اختيارية */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card {
    position: relative;
    overflow: hidden;
}

/* تأثير Border متحرك */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}
/* إعادة تعيين الكروت لتبقى ثابتة تماماً */
.service-card {
    animation: none !important;
    transform: none !important;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) !important; /* بس حركة بسيطة لأسفل */
}

/* تأكد من إزالة أي اهتزاز من الأيقونات أيضاً */
.service-icon i {
    animation: serviceIconFloat 4s ease-in-out infinite; /* ديه حركة طفو عادية */
}

@keyframes serviceIconFloat {
    0%, 100% {
        transform: translateY(0px); /* بدون rotate علشان ميحصلش اهتزاز */
    }
    33% {
        transform: translateY(-8px); /* بس حركة طفو */
    }
    66% {
        transform: translateY(-4px); /* بس حركة طفو */
    }
}
/* حركة الأيقونة يمين وشمال فقط */
.service-icon i {
    animation: iconMoveLeftRight 3s ease-in-out infinite;
}

@keyframes iconMoveLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

/* تأثير الـ Glow حول الأيقونة */
.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: serviceGlowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes serviceGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}
/* حركة محددة لأيقونة الأسقف (fa-layer-group) يمين وشمال */
.fa-layer-group {
    animation: layersMoveLeftRight 3s ease-in-out infinite !important;
}

@keyframes layersMoveLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

/* تأثير الـ Glow حول أيقونة الأسقف */
.service-icon .fa-layer-group {
    position: relative;
    z-index: 2;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: serviceGlowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes serviceGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}
/* حركة لجميع أيقونات الخدمات يمين وشمال */
.service-icon i {
    animation: iconMoveLeftRight 3s ease-in-out infinite !important;
}

@keyframes iconMoveLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: serviceGlowPulse 3s ease-in-out infinite;
    z-index: 1;
}
/* حركة أيقونة الواتساب يمين وشمال */
.fa-whatsapp {
    animation: whatsappMoveLeftRight 2.5s ease-in-out infinite !important;
}

@keyframes whatsappMoveLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* تأثير glow أخضر لأيقونة الواتساب */
.whatsapp-service-btn .fa-whatsapp {
    position: relative;
    z-index: 2;
}

.whatsapp-service-btn {
    position: relative;
    overflow: hidden;
}

.whatsapp-service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: whatsappGlowPulse 2s ease-in-out infinite;
    z-index: 1;
    border-radius: 8px;
}

@keyframes whatsappGlowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}
/* حركة سريعة لأيقونة الواتساب */
.fa-whatsapp {
    animation: whatsappMoveFast 1.5s ease-in-out infinite !important;
}

@keyframes whatsappMoveFast {
    0%, 100% {
        transform: translateX(0px);
    }
    33% {
        transform: translateX(-6px);
    }
    66% {
        transform: translateX(6px);
    }
}
.fa-check {
    animation: checkSpinGlow 3s ease-in-out infinite !important;
}

@keyframes checkSpinGlow {
    0%, 100% {
        transform: rotate(0deg);
        color: var(--accent-gold);
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    25% {
        transform: rotate(90deg);
        color: var(--accent-gold-light);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    }
    50% {
        transform: rotate(180deg);
        color: var(--accent-gold);
        text-shadow: 0 0 15px rgba(212, 175, 55, 1);
    }
    75% {
        transform: rotate(270deg);
        color: var(--accent-gold-light);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    }
}
.projects-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.projects-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.8s ease-in-out !important;
    width: 100% !important;
}

.project-item {
    flex: 0 0 100% !important; /* كل صورة تأخذ العرض كامل */
    min-height: 500px !important;
    margin-inline-end: 0 !important;
}

.project-image {
    height: 350px !important; /* أكبر */
}
/* Projects Section للعدد الكبير من الصور */
.projects-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.projects-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 2rem 0;
    transition: transform 0.8s ease-in-out;
    width: max-content;
}

/* تصميم البطاقات الكبيرة */
.project-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    flex-shrink: 0;
    width: 450px;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* الصور الكبيرة */
.project-image {
    height: 350px !important;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: #1a1f36;
    font-weight: 700;
    line-height: 1.4;
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    flex-grow: 1;
}

/* الأسهم */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    right: 20px;
}

.next-arrow {
    left: 20px;
}

/* تأثير التلاشي على الجوانب */
.projects-carousel-wrapper::before,
.projects-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 5;
    pointer-events: none;
}

.projects-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--neutral-cream) 0%, transparent 100%);
}

.projects-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--neutral-cream) 0%, transparent 100%);
}

/* مؤشر التقدم */
.carousel-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}
/* Projects Section ثابت بدون حركة تلقائية */
.projects-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.projects-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 2rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* إخفاء شريط التمرير */
.projects-grid::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* تصميم البطاقات الكبيرة */
.project-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    flex-shrink: 0;
    width: 450px;
    transition: all 0.3s ease;
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* الصور الكبيرة */
.project-image {
    height: 350px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Overlay لأزرار المعاينة والتحميل */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 54, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-image:hover .image-overlay {
    opacity: 1;
}

.image-actions {
    display: flex;
    gap: 1rem;
}

.preview-btn, .download-btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-btn:hover, .download-btn:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.preview-btn i, .download-btn i {
    font-size: 1.1rem;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: #1a1f36;
    font-weight: 700;
    line-height: 1.4;
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    flex-grow: 1;
}

/* الأسهم للتمرير اليدوي */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    right: 20px;
}

.next-arrow {
    left: 20px;
}
/* Projects Section ثابت بدون حركة تلقائية */
.projects-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--neutral-cream) 0%, #f0f4f8 100%);
}

.projects-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 2rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* إخفاء شريط التمرير */
.projects-grid::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* تصميم البطاقات الكبيرة */
.project-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    flex-shrink: 0;
    width: 450px;
    transition: all 0.3s ease;
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* الصور الكبيرة */
.project-image {
    height: 350px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Overlay لأزرار المعاينة والتحميل */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 54, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-image:hover .image-overlay {
    opacity: 1;
}

.image-actions {
    display: flex;
    gap: 1rem;
}

.preview-btn, .download-btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-btn:hover, .download-btn:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.preview-btn i, .download-btn i {
    font-size: 1.1rem;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: #1a1f36;
    font-weight: 700;
    line-height: 1.4;
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    flex-grow: 1;
}

/* الأسهم للتمرير اليدوي */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    right: 20px;
}

.next-arrow {
    left: 20px;
}
/* نسخة CSS فقط للدوران */
@keyframes textRotate {
    0%, 25% {
        opacity: 1;
        transform: translateY(0);
    }
    30%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.hero-description:nth-child(1) {
    animation: textRotate 12s infinite 0s;
}

.hero-description:nth-child(2) {
    animation: textRotate 12s infinite 4s;
}

.hero-description:nth-child(3) {
    animation: textRotate 12s infinite 8s;
}

.hero-description {
    position: absolute;
    opacity: 0;
}



.hero-buttons{
    margin-top: 20px;
}

#typewriter-output {
    height: 40px;          /* ارتفاع ثابت للنص */
    overflow: hidden;      /* يخفي أي جزء خارج الصندوق */
    display: flex;
    align-items: center;   /* يحافظ على النص في المنتصف عموديًا */
    justify-content: center; /* يحافظ على النص في المنتصف أفقيًا */
}

#typewriter-output p.typewriter-text {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}
/* إعداد الانيميشن للعناوين */
.hero-title .title-line,
.hero-title .title-subline {
    opacity: 0;                /* البداية غير مرئية */
    transform: translateY(-20px); /* يبدأ من فوق */
    transition: all 0.8s ease-out;
}

/* class يتم إضافتها عند تحميل الصفحة لإظهار النص */
.hero-title.show .title-line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s; /* يظهر بعد قليل */
}

.hero-title.show .title-subline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s; /* يظهر بعد heroTitle1 */
}

/* لو حابب، يمكن إضافة glow effect */
.glow-text {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}
.hero-title .title-line,
.hero-title .title-subline {
    display: block;
}

/* حالة البداية – مخفيين */
#heroTitle1,
#heroTitle2 {
    opacity: 0;
}

/* العنوان الأول: يدخل من اليمين */
#heroTitle1 {
    animation: heroFromRight 1s ease-out forwards;
    animation-delay: 0.2s;  /* يبدأ بعد كسرة ثانية بسيطة */
}

/* العنوان الثاني: يدخل من الشمال بعده بـ 1 ثانية */
#heroTitle2 {
    animation: heroFromLeft 1s ease-out forwards;
    animation-delay: 1.2s;  /* 0.2 + 1 ثانية فرق عن الأول */
}

/* انيميشن دخول من اليمين */
@keyframes heroFromRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    60% {
        opacity: 1;
        transform: translateX(-5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* انيميشن دخول من الشمال */
@keyframes heroFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    60% {
        opacity: 1;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* اللمعة على العنوان الأول */
.glow-text {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* ======================================= */
/* 1. تنسيق قائمة التقييمات المعلقة العامة */
/* ======================================= */

.pending-testimonials {
    display: grid;
    /* عرض عمودين للمراجعات على شاشات الكمبيوتر */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px;
    padding-top: 20px;
}

/* بطاقة التقييم الفردية */
.pending-testimonial {
    background-color: #ffffff; /* خلفية بيضاء */
    border: 1px solid #e0e0e0; /* إطار خفيف */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* ظل خفيف للبروز */
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.pending-testimonial:hover {
    transform: translateY(-3px); /* تأثير رفع عند مرور المؤشر */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* ======================================= */
/* 2. تنسيق رأس البطاقة والبيانات الأساسية */
/* ======================================= */

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.customer-info h4 {
    margin: 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 700;
}

.project-info {
    font-size: 0.85em;
    color: #7f8c8d;
    margin-top: 5px;
    display: flex;
    gap: 10px;
}

/* نجوم التقييم */
.rating-stars {
    font-size: 1.3em;
    color: #f39c12; /* لون ذهبي/أصفر للنجوم */
    /* ضمان أن النجوم المعروضة لا تتأثر بالخط */
    line-height: 1; 
}

/* ======================================= */
/* 3. تنسيق محتوى التقييم */
/* ======================================= */

.testimonial-content {
    flex-grow: 1; /* للسماح للمحتوى بأخذ المساحة المتبقية */
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95em;
    color: #34495e;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border-right: 4px solid #3498db; /* شريط جانبي مميز */
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #95a5a6;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ecf0f1;
}

/* ======================================= */
/* 4. تنسيق أزرار الإجراءات (الموافقة/الرفض) */
/* ======================================= */

.testimonial-actions {
    display: flex;
    justify-content: flex-end; /* وضع الأزرار على اليسار (في تصميم RTL) */
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-actions .btn {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 8px;
    font-weight: 500;
}

.btn-approve {
    background-color: #2ecc71; /* أخضر */
    color: white;
    border: none;
}

.btn-reject {
    background-color: #e74c3c; /* أحمر */
    color: white;
    border: none;
}

/* تنسيق حالة الإفراغ */
.no-pending {
    margin-top: 50px;
    text-align: center;
}

.empty-state {
    color: #95a5a6;
}

.empty-state i {
    font-size: 3em;
    color: #bdc3c7;
    margin-bottom: 10px;
}
/* ======================================= */
/* تنسيق شارة/شارة نوع المشروع .project-type */
/* ======================================= */

.project-type, 
.project-category /* يتم تطبيق هذا التنسيق أيضاً على تصنيف المشروع */
{
    /* التنسيق الأساسي للشارة */
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75em; /* أصغر قليلاً من النص المحيط */
    font-weight: 600;
    line-height: 1;
    margin-inline-end: 8px; /* مسافة عن العنصر التالي في التصميم العربي */
    
    /* الألوان */
    background-color: #ecf0f1; /* خلفية رمادية فاتحة */
    color: #34495e; /* لون نص رمادي داكن */
    border: 1px solid #dcdde1;
}

/* تعديل طفيف للعنصر عندما يكون داخل قسم التقييمات */
/* (لضمان ظهوره بشكل جيد بجوار رقم الهاتف) */
.pending-testimonial .project-info .project-type {
    font-weight: 700;
    font-size: 0.8em;
    padding: 2px 7px;
    background-color: #3498db; /* لون أزرق مميز */
    color: #ffffff;
    border: none;
    border-radius: 4px;
}

/* ========================================= */
/* Media Query: لضبط العرض على شاشات الموبايل (حتى 768 بكسل) */
/* ========================================= */

@media (max-width: 768px) {
    
    /* 1. إخفاء الشريط الجانبي الافتراضي وتفعيل وضع القائمة المخفية */
    .admin-dashboard {
        grid-template-columns: 1fr; /* إلغاء تقسيم الشاشة إلى شريط جانبي ومحتوى */
        grid-template-areas: 
            "header"
            "content";
    }

    .admin-sidebar {
        display: none; /* إخفاء الشريط الجانبي في العرض الافتراضي */
        position: fixed;
        top: 0;
        right: 0; /* يبدأ من اليمين في تصميم RTL */
        width: 280px;
        height: 100%;
        z-index: 1000;
        background-color: #34495e;
        overflow-y: auto;
        /* يمكن إضافة زر لفتح/إغلاق القائمة باستخدام JavaScript */
    }

    /* 2. تحسين عرض المحتوى الرئيسي */
    .admin-main {
        padding: 10px;
    }

    /* 3. تنسيق بطاقات التقييمات (لجعلها عمود واحد) */
    .pending-testimonials {
        grid-template-columns: 1fr; /* عرض كل بطاقة في عمود كامل */
        gap: 15px;
    }
    
    .pending-testimonial {
        padding: 15px;
    }

    /* 4. تنسيق الإحصائيات (جعلها عمود واحد) */
    .testimonials-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-card {
        flex-basis: 100%;
        padding: 15px;
    }

    /* 5. تنسيق الهيدر والأزرار في الموبايل */
    .admin-header-container {
        padding: 10px 15px;
    }
    
    .admin-brand h1 {
        font-size: 1.2em;
    }
    
    .admin-brand span {
        display: none; /* إخفاء اسم الشركة لتوفير مساحة */
    }
    
    .admin-actions {
        /* ترتيب زر تسجيل الخروج ليكون مع العناصر الأخرى */
        order: 1; 
    }
    
    .admin-actions .btn {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    /* 6. تنسيق عناصر التقييم لتقليل الهوامش */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating-stars {
        order: -1; /* وضع النجوم في الأعلى */
        margin-bottom: 5px;
    }

    .testimonial-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .testimonial-actions {
        flex-direction: column; /* وضع أزرار الموافقة والرفض فوق بعض */
    }
    
    .testimonial-actions .btn {
        width: 100%;
    }

    /* تنسيق صفحات الإعدادات (مثل الآلة الحاسبة) */
    .price-settings, .discount-settings, .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-row > .form-group {
        width: 100%;
    }
}
@media (max-width: 768px) {
    /* ... باقي التنسيقات الخاصة بالموبايل ... */
    
    /* 1. تقليل حجم الشارة العامة لنوع المشروع والتصنيف */
    .project-type, 
    .project-category {
        font-size: 0.7em; /* تصغير الخط أكثر */
        padding: 2px 6px; /* تقليل الهوامش الداخلية */
        margin-inline-end: 5px; /* تقليل المسافة عن العنصر التالي */
    }

    /* 2. تقليل حجم شارة النوع داخل التقييمات */
    .pending-testimonial .project-info .project-type {
        font-size: 0.75em; 
        padding: 1px 5px; 
    }
    
    /* 3. تصغير خط معلومات المشروع لتوفير مساحة */
    .project-info {
        font-size: 0.8em; 
    }
}


/* التنسيق اللازم لتطبيق نظام الـ Carousel/Scroll الأفقي */

.pending-testimonials {
    /* تغيير التنسيق ليصبح أفقي بدلاً من Grid */
    display: flex !important;
    flex-wrap: nowrap !important; /* منع نزول الكروت لسطر جديد */
    overflow-x: auto !important; /* تمكين التمرير الأفقي */
    scroll-behavior: smooth; /* حركة تمرير سلسة */
    gap: 20px !important;
    padding: 20px 5px 20px 0 !important; /* مساحة للتمرير */
    /* إخفاء شريط التمرير الافتراضي */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.pending-testimonials::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.pending-testimonial {
    /* كل بطاقة تأخذ عرض ثابت وتمنع من الانكماش */
    flex-shrink: 0;
    width: 380px; /* عرض ثابت لكل كارت */
    min-width: 380px;
    height: auto; /* لضمان أخذ المحتوى الارتفاع اللازم */
    scroll-snap-align: start; /* تثبيت التمرير عند بداية الكارت */
}

/* تنسيق قائمة التقييمات اليدوية أيضاً لتكون سكرول أفقي */
.testimonials-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    gap: 20px !important;
    padding: 20px 5px 20px 0 !important;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.testimonials-list::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex-shrink: 0;
    width: 350px; 
    min-width: 350px;
    height: auto;
    scroll-snap-align: start; 
}

@media (max-width: 768px) {
    .pending-testimonial {
        width: 300px; /* أصغر على الموبايل */
        min-width: 300px;
    }
    .testimonial-item {
        width: 280px;
        min-width: 280px;
    }
}
/* التنسيق اللازم لتطبيق نظام الـ Carousel/Scroll الأفقي في لوحة التحكم */

/* التقييمات المعلقة */
.pending-testimonials,
.testimonials-list {
    display: flex !important;
    flex-wrap: nowrap !important; 
    overflow-x: auto !important; 
    scroll-behavior: smooth;
    gap: 20px !important;
    padding: 20px 5px 20px 0 !important; 
    /* إخفاء شريط التمرير الافتراضي */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pending-testimonials::-webkit-scrollbar,
.testimonials-list::-webkit-scrollbar {
    display: none;
}

.pending-testimonial {
    flex-shrink: 0;
    width: 380px; 
    min-width: 380px;
    height: auto; 
    scroll-snap-align: start; 
}

.testimonial-item {
    flex-shrink: 0;
    width: 350px; 
    min-width: 350px;
    height: auto;
    /* تنسيقات شكل البطاقة */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .pending-testimonial {
        width: 300px; 
        min-width: 300px;
    }
    .testimonial-item {
        width: 280px;
        min-width: 280px;
    }
}
/* ====================================================================== */
/* === TESTIMONIALS STYLES (FIXED VERSION) ============================== */
/* ====================================================================== */

.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--neutral-cream) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    animation: priceGlow 2s ease-in-out infinite alternate;
}

.stat-label {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 🔥 التصميم الجديد للكاروسيل 🔥 */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2.5rem;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    
    /* إخفاء شريط التمرير */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0 !important;
    width: 450px !important;
    min-width: 450px !important;
    scroll-snap-align: start;
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-light);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-gold);
}

/* تنسيق محتوى البطاقة */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--neutral-light);
}

.customer-info h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.project-type {
    background: var(--primary-dark);
    color: var(--neutral-white);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.rating-stars {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 0;
    font-style: italic;
    border-right: 4px solid var(--accent-gold);
    padding-right: 1.2rem;
    font-size: 1.05rem;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-light);
    margin-top: 1rem;
    flex-shrink: 0;
}

.recommendation {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 🔥 أزرار التمرير 🔥 */
.testimonials-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-scroll-arrow:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.testimonials-prev-arrow {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.testimonials-next-arrow {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

/* حالة الإفراغ */
.no-testimonials {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-testimonials i {
    font-size: 4rem;
    color: var(--neutral-light);
    margin-bottom: 1rem;
}

/* 🔥 إصلاحات الموبايل 🔥 */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 1rem;
    }
    
    .testimonials-carousel-wrapper {
        padding: 0 40px;
    }
    
    .testimonial-card {
        width: 85vw !important;
        min-width: 85vw !important;
        padding: 1.5rem;
    }
    
    .testimonials-scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonials-prev-arrow {
        right: 10px;
        transform: translateY(-50%) translateX(0);
    }
    
    .testimonials-next-arrow {
        left: 10px;
        transform: translateY(-50%) translateX(0);
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-wrapper {
        padding: 0 20px;
    }
    
    .testimonial-card {
        width: 90vw !important;
        min-width: 90vw !important;
        padding: 1.25rem;
    }
    
    .customer-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        padding-right: 0.8rem;
    }
}

/* تأثيرات التلاشي على الجوانب */
.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.testimonials-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--neutral-cream) 0%, transparent 100%);
}

.testimonials-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--neutral-cream) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper::before,
    .testimonials-carousel-wrapper::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-wrapper::before,
    .testimonials-carousel-wrapper::after {
        width: 20px;
    }
}
/* لو عندك .container عامة في المشروع */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* تأكيد إن الـ container جوه testimonials بياخد العرض كله */
.testimonials-section {
    width: 100%;
}

.testimonials-section .container {
    max-width: 100%;
    width: 100%;
}
.testimonials-carousel-wrapper {
    max-width: 480px;
    margin: 0 auto;
}
/* 1️⃣ خلي القسم نفسه في السنتر */
.testimonials-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.testimonials-section .container {
    width: 100%;
    max-width: 480px;   /* عرض مريح للموبايل */
    margin: 0 auto;     /* في النص */
    padding: 0 1rem;    /* مسافة بسيطة من الجنبين */
}

/* 2️⃣ الكاروسيل نفسه في النص 100% */
.testimonials-carousel-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 2.5rem; /* مساحة الأسهم يمين وشمال */
    display: flex;
    justify-content: center;
}

/* 3️⃣ لو في أي ميلان من flex في الأب */
.testimonials-section,
.testimonials-section .container,
.testimonials-carousel-wrapper {
    text-align: center;
    align-items: center;
}
@media (min-width: 1025px) {
    .testimonials-section {
        padding: 4rem 0;
        display: flex;
        justify-content: center;
    }
    
    .testimonials-section .container {
        width: 100%;
        max-width: 1100px;   /* ما تكبرش عن كده في اللاب */
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .testimonials-section .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-section .section-header p {
        font-size: 1rem;
        max-width: 500px;
    }
    
    .testimonials-carousel-wrapper {
        width: 100%;
        max-width: 1000px;   /* نخلي الكاروسيل نفسه متلم */
        margin: 0 auto;
        padding: 0 4rem;     /* مساحة الأسهم بس */
        display: flex;
        justify-content: center;
    }
    
    .testimonials-container {
        justify-content: flex-start;
    }

    .testimonial-card {
        width: 340px !important;
        min-width: 340px !important;
        padding: 1.5rem;
    }
    
    .testimonials-scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .testimonials-actions .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
}
.logo-image {
    all: unset;
}
.map-section {
    padding: 40px 0;
}

.map-section iframe {
    max-width: 100%;
    display: block;
}
/* تخلي الكونتنت صفين يمين/شمال على الشاشات الكبيرة */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* على الشاشات الأكبر من 992px نخليها عمودين */
@media (min-width: 992px) {
    .contact-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form-container {
        flex: 1;
    }
}

/* شوية تنعيم للشكل */
.contact-info,
.contact-form-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
}

/* تنسيق أفضل للنص الجديد */
.working-hours h4 {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 8px;
}

.working-hours p {
    margin: 0 0 8px;
    line-height: 1.8;
}
/* إخفاء القيمة المبدئية "0" في HTML */
.counter-h3 {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* إظهار القيمة عندما يبدأ الـ JS بالعد */
.counter-h3.is-counting {
    opacity: 1;
}
@media (max-width: 480px) {
    .testimonial-card {
        width: 60vw !important;
        min-width: 60vw !important;
        padding: 1.25rem;
    }}

    .testimonials-carousel-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: center;
}

