/* 
 * SADAF Website - Main Stylesheet
 * Version: 2.0 - Updated: Dec 1, 2025
 * Fixed: coins-background.png path for service cards
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Elegant Gold & Black Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --accent-primary: #C9A961;
    --accent-secondary: #B8860B;
    --accent-tertiary: #DAA520;
    --accent-dark: #85754E;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --border-color: rgba(201, 169, 97, 0.3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.7);
    --gradient-primary: linear-gradient(135deg, #85754E 0%, #C9A961 50%, #B8860B 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

html {
    /* scroll-behavior تم تعطيله للسرعة - يتم التحكم به من JavaScript */
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
    /* scroll-behavior تم تعطيله للسرعة - يتم التحكم به من JavaScript */
    position: relative;
}

/* Luxury Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201, 169, 97, 0.03) 35px, rgba(201, 169, 97, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(201, 169, 97, 0.02) 35px, rgba(201, 169, 97, 0.02) 70px);
    z-index: 0;
    pointer-events: none;
}

/* Gold Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.2;
    /* animation: float 15s infinite ease-in-out; - معطل للسرعة */
    /* box-shadow: 0 0 10px rgba(201, 169, 97, 0.5); - معطل للسرعة */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-tertiary));
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

/* Menu Bar */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    /* backdrop-filter: blur(10px); - معطل للسرعة */
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
}

.menu-bar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-toggle:hover {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.lang-text {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.lang-toggle:hover .lang-text {
    color: #ffffff;
}

.lang-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 1;
}

.lang-toggle:hover::before {
    left: 0;
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.menu-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA Buttons Container - styled like active menu section */
.cta-buttons-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    background: #111111;
    /* Darker background to match image */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.header-btn {
    color: #ffffff;
    /* Force white text to pop */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.header-btn:hover {
    color: var(--text-primary);
    background: rgba(42, 42, 42, 0.7);
}

/* Red gradient buttons for service & talent */
.header-btn-red {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #FF6347 100%);
    color: #ffffff;
}

.header-btn-red:hover {
    background: linear-gradient(135deg, #85754E 0%, #C9A961 50%, #B8860B 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.5);
}

.menu-link.active {
    color: #ffffff !important;
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 15px rgba(241, 203, 99, 0.4) !important;
    font-weight: 800 !important;
}

.menu-toggle {
    display: none !important;
    /* Default: Hidden (Desktop) */
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        /* Force Show on Mobile */
    }
}

.menu-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
    z-index: 999;
    font-family: 'Cairo', sans-serif;
    border: none;
    overflow: hidden;
}

.floating-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.floating-contact-btn:hover::before {
    width: 300px;
    height: 300px;
}

.floating-contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.7), 0 0 40px rgba(201, 169, 97, 0.3);
    background: linear-gradient(135deg, #B8860B 0%, #C9A961 50%, #DAA520 100%);
}

.floating-contact-btn i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    /* animation: envelope-pulse 2s ease-in-out infinite; - معطل للسرعة */
}

.floating-contact-btn span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@keyframes envelope-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== Contact Form Styles ===== */
.contact-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.contact-form:hover::before {
    opacity: 0.03;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

/* صف خاص بثلاث خانات في فورم طلب الخدمة */
.form-row.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: #DC143C;
    font-size: 0.95rem;
}

.projects-carousel-wrapper,
.projects-carousel {
    direction: ltr !important;
}

/* Text-only RTL */
body.rtl .project-modal,
body.rtl .project-modal * {
    direction: rtl;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    height: 48px;
    line-height: 1.5;
    box-sizing: border-box;
}

/* Fix for invisible options in dropdowns */
.form-control option,
.modal-form-select option,
select option {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.form-control:focus {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: #DC143C;
}

.form-control:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
    max-height: 300px;
}

/* حقل التاريخ مع أيقونة */
.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input {
    width: 100%;
    padding-left: 45px !important;
    cursor: pointer;
}

/* إخفاء أيقونة التقويم الافتراضية من المتصفح */
.date-input::-webkit-calendar-picker-indicator {
    display: none;
    opacity: 0;
}

.date-input::-webkit-inner-spin-button,
.date-input::-webkit-clear-button {
    display: none;
}

.date-icon {
    position: absolute;
    left: 15px;
    color: #ffffff;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

/* أزرار اختيار الخدمات المطلوبة في فورم طلب الخدمة */
.service-options-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.service-option-btn {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: 'Cairo', sans-serif;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: normal;
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.service-option-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.service-option-btn.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .service-options-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-options-row {
        grid-template-columns: 1fr;
    }
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A961' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 45px;
    height: 48px;
    line-height: 1.5;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row-reverse;
}

.phone-code-select {
    flex: 0 0 100px;
    padding: 12px 16px;
    padding-left: 35px;
    font-size: 0.85rem;
    direction: ltr;
    text-align: left;
    height: 48px;
    line-height: 1.5;
}

.phone-number-input {
    flex: 1;
    padding-left: 16px !important;
    height: 48px;
    line-height: 1.5;
}

.form-submit {
    margin-top: 28px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.7), 0 0 35px rgba(201, 169, 97, 0.3);
    background: linear-gradient(135deg, #B8860B 0%, #C9A961 50%, #DAA520 100%);
}

.submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.submit-btn i {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.submit-btn span {
    position: relative;
    z-index: 1;
}

/* Success Message */
/* Success Message - Standardized with Idea Modal */
.contact-success-message {
    display: none;
    text-align: center;
    padding: 60px 40px;
    animation: successFadeIn 0.5s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-success-message.active {
    display: flex;
}

.contact-success-message .success-icon {
    font-size: 5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    animation: successIconPulse 1s ease infinite;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    display: block;
}

.contact-success-message .success-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.contact-success-message .success-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

/* Standardized success buttons - from Idea Modal */
.idea-btn-submit {
    background: linear-gradient(135deg, #C9A961 0%, #A68948 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.idea-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
    background: linear-gradient(135deg, #D4B97C 0%, #B69A57 100%);
}

.contact-success-message .idea-btn-submit {
    margin-top: 30px;
}

/* Ensure consistent button style for success close */
.contact-success-message .submit-btn {
    margin-top: 30px;
    background: linear-gradient(135deg, #c9a961 0%, #a68948 100%);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.contact-success-message .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.6);
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes successIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .phone-input-wrapper {
        flex-direction: row-reverse;
    }

    .phone-code-select {
        flex: 0 0 90px;
        padding: 12px 16px;
        padding-left: 35px;
        direction: ltr;
        text-align: left;
        height: auto;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-subtitle {
        font-size: 0.85rem;
        margin-bottom: 28px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-control {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .phone-input-wrapper {
        gap: 8px;
        flex-direction: row-reverse;
    }

    .phone-code-select {
        flex: 0 0 85px;
        padding: 10px 14px;
        padding-left: 30px;
        font-size: 0.75rem;
        direction: ltr;
        text-align: left;
        height: auto;
    }

    .phone-number-input {
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 13px 32px;
        font-size: 0.85rem;
    }

    .contact-success-message {
        padding: 32px 20px;
    }

    .contact-success-message i {
        font-size: 3.2rem;
    }

    .contact-success-message h3 {
        font-size: 1.3rem;
    }

    .contact-success-message p {
        font-size: 0.8rem;
    }
}

/* Page Sections */
.page-section {
    min-height: 100vh;
    display: block;
    padding: 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.page-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.page-section.hero-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animated Elements Inside Sections */
.page-section .page-title,
.page-section .section-subtitle,
.page-section .clients-subtitle,
.page-section .hero-main-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s ease 0.15s, transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s;
}

.page-section.animate-in .page-title,
.page-section.animate-in .section-subtitle,
.page-section.animate-in .clients-subtitle,
.page-section.animate-in .hero-main-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.page-section .stat-card,
.page-section .service-card,
.page-section .feature-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.page-section.animate-in .stat-card,
.page-section.animate-in .service-card,
.page-section.animate-in .feature-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Animation for Cards - تقليل التأخير */
.page-section.animate-in .stat-card:nth-child(1),
.page-section.animate-in .service-card:nth-child(1) {
    transition-delay: 0.05s;
}

.page-section.animate-in .stat-card:nth-child(2),
.page-section.animate-in .service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.page-section.animate-in .stat-card:nth-child(3),
.page-section.animate-in .service-card:nth-child(3) {
    transition-delay: 0.15s;
}

.page-section.animate-in .stat-card:nth-child(4),
.page-section.animate-in .service-card:nth-child(4) {
    transition-delay: 0.2s;
}

.page-section.animate-in .stat-card:nth-child(5),
.page-section.animate-in .service-card:nth-child(5) {
    transition-delay: 0.25s;
}

.page-section.animate-in .stat-card:nth-child(6),
.page-section.animate-in .service-card:nth-child(6) {
    transition-delay: 0.3s;
}

/* Hero Section Specific */
.page-section#home {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Non-Hero Sections */
.page-section:not(#home) {
    padding: 120px 20px 80px;
}

/* Featured Projects Section - لا نريد ارتفاع شاشة كاملة ولا مسافات كبيرة */
#featured-projects.page-section {
    min-height: auto;
    padding: 40px 20px 20px;
}

#featured-projects .content-container {
    padding: 0 20px;
    max-width: 100%;
}

#featured-projects .page-title {
    margin-bottom: 12px;
}

#featured-projects .clients-subtitle {
    margin-bottom: 24px;
}

/* Contact Section - Specific Height */
.page-section#contact {
    min-height: auto;
    height: auto;
    padding: 120px 20px 100px;
}

.page-section:nth-child(even) {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Section Divider */
.page-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

/* Content Pages */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.page-content {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    margin-top: 30px;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-right: 4px solid var(--accent-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.services-list li:hover {
    background: var(--bg-primary);
    border-right-color: var(--accent-secondary);
    transform: translateX(-5px);
}

.contact-info {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--accent-primary);
}

/* ==============================================
   HERO SECTION - NEW ADVANCED DESIGN
   ============================================== */

/* Background Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Background Video Option */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
}

/* Background Image with Parallax */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/hero01.png') center/cover no-repeat;
    background-attachment: fixed;
    will-change: transform;
    transition: transform 0.1s ease-out;
    /* تأثير blur معطل للسرعة */
    /* filter: blur(8px); */
    transform: scale(1.1);
    /* filter: blur(6px); */
    transform: scale(1);
}

/* Parallax Effect */
.parallax-bg {
    transform: translateY(0) scale(1);
    filter: blur(6px);
}

/* Additional blur layer for depth - زيادة التشويش */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* backdrop-filter: blur(12px); - معطل للسرعة */
}

/* Overlay Gradient - زيادة التعتيم */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 75% 50%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.5) 55%, transparent 80%),
        radial-gradient(circle at 15% 80%, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
    backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}

/* صور خاصة لكل صفحة */
/* جميع صفحات الـ Hero تستخدم نفس الصورة مع تأثير الوفوكس */
#home .hero-bg-image,
#about-hero .hero-bg-image,
#services-hero .hero-bg-image,
#projects-hero .hero-bg-image {
    background-image: url('/image/hero01.png');
    filter: blur(10px);
    transform: scale(1.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* Hero Container */
.hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    padding: 0;
    padding-top: 80px;
    display: flex;
    align-items: stretch;
}

/* Text Layer - Fixed Marketing Text */
.hero-text-layer {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    min-height: 100%;
    height: 100%;
    z-index: 4;
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: none;
    pointer-events: none;
}

.hero-text-layer * {
    pointer-events: auto;
}

.hero-main-title {
    font-size: 5.4rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: titleFadeIn 0.8s ease-out;
}

.hero-main-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
    animation: subtitleFadeIn 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
    /* animation: subtitleFadeIn 1.2s ease-out 0.4s both; - معطل للسرعة */
}

/* Search Bar - HIDDEN */
.hero-search-wrapper {
    display: none;
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    /* animation: buttonsFadeIn 1.4s ease-out 0.6s both; - معطل للسرعة */
}

.hero-btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Cairo', sans-serif;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #FF6347 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #85754E 0%, #C9A961 50%, #B8860B 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.6);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.hero-btn.secondary:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Animations */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes searchFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

@keyframes buttonsFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Slider Cards Container */
.hero-slider-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
    /* خلف النص وتحت الـ overlay */
    perspective: 1000px;
    pointer-events: auto;
    /* السماح بالتفاعل اليدوي */
    padding-right: 3%;
}

.slider-cards-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: grab;
    will-change: transform;
}

.slider-cards-container:active {
    cursor: grabbing;
}

/* Individual Card */
.project-card {
    position: absolute;
    width: 22%;
    height: 68%;
    top: 55%;
    transform: translateY(-50%);
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid rgba(201, 169, 97, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.3s ease,
        filter 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, filter;
    /* يمنع التفاعل لأنها خلفية */
}

/* Card States */
.project-card.prev {
    left: -20%;
    opacity: 0.3;
    transform: translateY(-50%) translateX(-6%) scale(0.85);
    /* filter: blur(6px); - معطل للسرعة */
    z-index: 1;
    pointer-events: all;
}

.project-card.active {
    left: 3%;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    z-index: 3;
    pointer-events: all;
    /* filter: none; */
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.project-card.next {
    left: 27%;
    opacity: 0.7;
    transform: translateY(-50%) translateX(3%) scale(0.96);
    /* filter: blur(1.5px); - معطل للسرعة */
    z-index: 2;
    pointer-events: all;
}

/* Third visible card - blur معطل للسرعة */
.project-card.next2 {
    left: 51%;
    opacity: 0.5;
    transform: translateY(-50%) translateX(3%) scale(0.92);
    /* filter: blur(3.5px); - معطل للسرعة */
    z-index: 1;
    pointer-events: all;
}

/* Fourth visible card - blur معطل للسرعة */
.project-card.next3 {
    left: 72%;
    opacity: 0.3;
    transform: translateY(-50%) translateX(2%) scale(0.88);
    /* filter: blur(5.5px); - معطل للسرعة */
    z-index: 0;
    pointer-events: all;
}

.project-card:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 35px 90px rgba(201, 169, 97, 0.5);
}

.project-card.active:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Card Image */
.card-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    will-change: transform;
}

.project-card:hover .card-image {
    transform: scale(1.1);
}

/* Card Overlay with Info */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card.active .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-cta {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.5);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    bottom: 80px;
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.2);
    /* backdrop-filter: blur(20px); - معطل للأداء */
    /* -webkit-backdrop-filter: blur(20px); */
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 150;
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.slider-nav:hover {
    background: rgba(201, 169, 97, 0.4);
    color: #ffffff;
    transform: scale(1.18);
    box-shadow: 0 14px 45px rgba(201, 169, 97, 0.5),
        0 0 70px rgba(201, 169, 97, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(201, 169, 97, 0.6);
}

.slider-nav svg {
    width: 30px;
    height: 30px;
    stroke-width: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.slider-nav.prev-btn {
    left: 5%;
}

.slider-nav.next-btn {
    left: calc(5% + 75px);
}

/* Slider Indicators (Dots) */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 5%;
    transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.3);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.indicator-dot:hover {
    background: rgba(201, 169, 97, 0.6);
    transform: scale(1.2);
}

.indicator-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.6);
    width: 16px;
    height: 16px;
}

.hero-slider-cards .slider-nav {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.hero-slider-cards .slider-indicators {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}

.hero-slider-cards:hover .slider-indicators {
    opacity: 1;
    pointer-events: auto;
}

.ad-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    display: block;
}

/* Gold Shine Effect */
.ad-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            transparent 40%,
            rgba(201, 169, 97, 0.3) 50%,
            transparent 60%,
            transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.ad-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Shimmer Border Animation */
.ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    animation: shimmer 3s ease-in-out infinite;
}

.ad-card:hover::before {
    opacity: 1;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.ad-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.6), 0 0 30px rgba(201, 169, 97, 0.3);
}

.ad-card:active {
    transform: scale(0.98);
}

/* Favorite Button - Removed */

.ad-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-card:hover .ad-image {
    transform: scale(1.08);
}

/* Hide all text content - only images */
.ad-content {
    display: none !important;
}

/* ===== Ad Modal Styles (مطابق لتصميم مودل المشاريع) ===== */
.ad-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.ad-modal[style*="flex"] {
    display: flex !important;
}

.ad-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.ad-modal-content {
    position: relative;
    background-color: var(--bg-secondary);
    border-radius: 24px;
    max-width: 650px;
    width: 100%;
    /* لجعل المودل بنسبة 16:9 تقريباً */
    aspect-ratio: 16 / 9;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    animation: modalSlideUp 0.4s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* طبقة تعتيم فوق خلفية البوستر */
.ad-modal-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.5));
    z-index: 0;
}

.ad-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.ad-modal-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: rotate(90deg) scale(1.1);
}

/* دعم RTL لزر الإغلاق */
[dir="rtl"] .ad-modal-close {
    left: auto;
    right: 20px;
}

[dir="ltr"] .ad-modal-close {
    left: 20px;
    right: auto;
}

.ad-modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    position: relative;
    z-index: 1;
    height: 100%;
}

.ad-modal-body-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    flex: 1;
}

/* Right Side: Poster - نصف الحجم */
.ad-modal-poster {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.ad-poster-img {
    display: none;
    /* الصورة أصبحت خلفية للمودل */
}

.ad-badge-wrapper {
    /* لم تعد مستخدمة كمربع منفصل خلف الشارة */
    text-align: inherit;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.ad-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-primary);
    color: #1a1a1a;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Left Side: Details */
.ad-modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ad-modal-title {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ad-modal-description-container {
    background: rgba(255, 255, 255, 0.05);
    border-right: 4px solid var(--accent-primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.ad-modal-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.ad-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
}

.ad-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
    height: auto;
    min-height: 48px;
}

.ad-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.6);
    gap: 12px;
}

.ad-action-button i {
    font-size: 1rem;
}

/* Responsive للأجهزة المتوسطة */
@media (max-width: 992px) {
    .ad-modal-body {
        padding: 20px;
    }

    .ad-modal-body-content {
        flex-direction: column;
    }

    .ad-modal-poster {
        flex: 0 0 auto;
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
    }

    .ad-poster-img {
        height: 200px;
    }
}

/* Responsive للأجهزة الصغيرة */
@media (max-width: 768px) {
    .ad-modal-content {
        max-width: 90%;
    }

    .ad-modal-title {
        font-size: 20px;
    }

    .ad-modal-body {
        padding: 20px;
    }

    .ad-action-button {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .ad-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .ad-modal-actions {
        padding-top: 15px;
        gap: 10px;
    }

    .ad-poster-img {
        height: 180px;
    }
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes imageZoomIn {
    from {
        transform: scale(1.3);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes descSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes buttonSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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


/* Grid Hero */
.ads-grid {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.ads-grid-wrapper {
    display: flex;
    gap: 20px;
    animation: scrollInfinite 25s linear infinite;
    width: fit-content;
}

.ads-grid-wrapper:hover {
    animation-play-state: paused;
}

.ads-grid .ad-card {
    flex-shrink: 0;
}

/* Masonry Hero */
.ads-masonry {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.ads-masonry-wrapper {
    display: flex;
    gap: 20px;
    animation: scrollInfiniteReverse 35s linear infinite;
    width: fit-content;
}

.ads-masonry-wrapper:hover {
    animation-play-state: paused;
}

.ads-masonry .ad-card {
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Slider Animations - Removed old infinite scroll animations */

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        flex-direction: column;
    }

    .hero-text-layer {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 60vh;
        padding: 60px 40px;
        background: transparent;
    }

    .hero-main-title {
        font-size: 3.6rem;
        text-align: center;
    }

    .hero-main-subtitle {
        text-align: center;
        font-size: 1.56rem;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .hero-slider-cards {
        flex: 0 0 auto;
        width: 100%;
        height: 500px;
    }

    .project-card {
        width: 45%;
    }

    .project-card.prev {
        left: -10%;
    }

    .project-card.active {
        left: 27.5%;
    }

    .project-card.next {
        right: -10%;
        left: auto;
    }
}

@media (max-width: 768px) {
    .hero-container {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .hero-text-layer {
        position: relative;
        width: 100%;
        padding: 50px 30px;
        min-height: 50vh;
        background: transparent;
    }

    .hero-main-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-main-subtitle {
        font-size: 1.44rem;
        text-align: center;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .hero-slider-cards {
        height: 500px;
        /* Increased from 450px to prevent clipping */
        overflow: visible !important;
    }

    .project-card {
        width: 70%;
        padding-bottom: 20px !important;
        /* BREATHING ROOM */
    }

    .project-card.prev {
        left: -30%;
        opacity: 0.2;
    }

    .project-card.active {
        left: 15%;
    }

    .project-card.next {
        right: -30%;
        left: auto;
        opacity: 0.2;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev-btn {
        right: -15px;
    }

    .slider-nav.next-btn {
        left: -15px;
    }

    .main-nav {
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
    }

    .nav-btn {
        width: 100%;
    }

    .ads-carousel {
        flex: 0 0 auto;
        width: 100%;
        height: 500px;
        order: 2;
    }

    .carousel-container {
        gap: 10px;
    }

    .menu-list {
        gap: 15px;
    }

    .menu-link {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .ad-card {
        height: 260px;
    }

    .modal-content {
        max-width: 700px;
    }

    .modal-image-container {
        height: 350px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-details {
        padding: 30px;
    }

    .ad-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        left: 20px;
        padding: 14px 22px;
        font-size: 0.9rem;
    }

    .floating-contact-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .floating-contact-btn {
        bottom: 15px;
        left: 15px;
        padding: 12px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .floating-contact-btn i {
        font-size: 1rem;
    }

    .floating-contact-btn span {
        display: none;
    }

    .floating-contact-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .hero-section {
        padding: 60px 10px 100px;
    }

    .hero-container {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .hero-text-layer {
        position: relative;
        width: 100%;
        padding: 40px 20px;
        min-height: 45vh;
        background: transparent;
    }

    .hero-main-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .hero-main-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-search-input {
        font-size: 1rem;
        padding: 15px 55px 15px 20px;
    }

    .hero-search-btn {
        width: 40px;
        height: 40px;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .hero-slider-cards {
        height: 400px;
    }

    .project-card {
        width: 85%;
    }

    .project-card.prev,
    .project-card.next {
        opacity: 0;
        pointer-events: none;
    }

    .project-card.active {
        left: 7.5%;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .menu-container {
        padding: 0 15px;
    }

    .menu-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .lang-toggle {
        width: 45px;
        height: 36px;
        font-size: 0.85rem;
    }

    .menu-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
    }

    .ad-card {
        height: 220px;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-image-container {
        height: 280px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .modal-details {
        padding: 25px;
    }

    .modal-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-container {
        padding: 20px;
    }

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

/* ===== About Section Styles ===== */
#about {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#about .content-container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 60px;
}

.about-description {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-secondary);
    text-align: center;
    background: var(--bg-secondary);
    padding: 50px 60px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.about-description:hover::before {
    opacity: 0.05;
}

.about-description p {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* CEO Message Section */
.ceo-message {
    margin-top: 60px;
}

.section-subtitle {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ceo-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 50px 60px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ceo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.ceo-card:hover::before {
    opacity: 0.08;
}

.ceo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.4);
}

.ceo-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.ceo-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.ceo-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.ceo-message-content {
    position: relative;
    z-index: 1;
}

.ceo-message-content p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

/* Statistics Section */
.about-statistics {
    margin-top: 80px;
}

.section-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 15px auto 0;
    line-height: 1.6;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-card:hover::before {
    opacity: 0.08;
}

.stat-card:hover::after {
    opacity: 1;
    transform: translate(25%, 25%);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow:
        0 25px 60px rgba(201, 169, 97, 0.4),
        0 0 40px rgba(201, 169, 97, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Icon Wrapper */
.stat-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(201, 169, 97, 0.35),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95px;
    height: 95px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.12);
    box-shadow:
        0 12px 35px rgba(201, 169, 97, 0.5),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.stat-card:hover .stat-glow {
    opacity: 1;
    width: 110px;
    height: 110px;
}

.stat-icon i {
    font-size: 2.2rem;
    color: var(--bg-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Stat Content */
.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
    position: relative;
    display: inline-block;
    line-height: 1;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.3));
}

.stat-plus {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-right: -6px;
    vertical-align: top;
    margin-top: 4px;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: 0.3px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--accent-primary);
    transform: scale(1.04);
}

/* Responsive Design for About */
@media (max-width: 1200px) {
    .statistics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 28px 22px;
    }

    .stat-icon-wrapper {
        margin-bottom: 18px;
    }

    .stat-icon {
        width: 65px;
        height: 65px;
    }

    .stat-icon i {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-plus {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-description {
        padding: 40px 30px;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .section-subtitle {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .ceo-card {
        padding: 40px 30px;
    }

    .ceo-name {
        font-size: 1.7rem;
    }

    .ceo-title {
        font-size: 1.1rem;
    }

    .ceo-message-content p {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .about-statistics {
        margin-top: 60px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-icon-wrapper {
        margin-bottom: 16px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-glow {
        width: 80px;
        height: 80px;
    }

    .stat-icon i {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .stat-plus {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stat-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-description {
        padding: 30px 20px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-subtitle {
        font-size: 1.7rem;
    }

    .ceo-card {
        padding: 30px 20px;
    }

    .ceo-name {
        font-size: 1.5rem;
    }

    .ceo-title {
        font-size: 1rem;
    }

    .ceo-message-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-statistics {
        margin-top: 50px;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-icon-wrapper {
        margin-bottom: 15px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-glow {
        width: 80px;
        height: 80px;
    }

    .stat-icon i {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-plus {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stat-description {
        font-size: 0.8rem;
    }
}

/* ===== Projects Section Styles ===== */
#projects .content-container {
    position: relative;
    overflow: visible;
    /* تقليل الحواف حول سلايدر المشاريع لتقليل الفراغ */
    padding: 20px 20px 24px;
}

/* Projects Carousel Wrapper - Similar to Featured Works */
.projects-carousel-wrapper {
    width: 100%;
    position: relative;
    padding: 16px 0;
    margin-bottom: 0;
}

/* السلايدر الأول فقط يحتاج direction: rtl */

/* تقليل الفراغات الداخلية في قسم المشاريع فقط */
#featured-projects .projects-carousel-wrapper {
    padding: 8px 0;
    margin: 0;
}

.projects-carousel {
    width: 100%;
}

.projects-carousel .slide {
    padding: 0 15px;
    outline: none;
}

.projects-carousel .slick-slide {
    transition: all 0.3s ease;
}

.projects-carousel .slick-list {
    margin: 0 -15px;
    padding: 20px 0 !important;
}

/* Project Card Styling - Similar to Featured Works */
.project-work-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
}

.project-work-wrapper:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.project-work-wrapper img {
    width: 100%;
    height: 320px;
    /* تصغير من 380px إلى 320px */
    object-fit: cover;
    display: block;
}

/* تصميم المشاريع بدون بوستر - خلفية ذهبية */
.project-work-wrapper.no-poster {
    background: linear-gradient(135deg, #C9A961 0%, #B8860B 50%, #85754E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-no-poster-bg {
    width: 100%;
    height: 320px;
    /* نفس ارتفاع الصور في السلايدر - سيتم تعديلها في المودل */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3) 0%, rgba(184, 134, 11, 0.4) 50%, rgba(133, 117, 78, 0.3) 100%);
}

.project-no-poster-title {
    color: #2a2a2a;
    /* Dark for golden background in grids */
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    max-width: 100%;
}

/* تكبير الكرت داخل مودل المشاريع ليملأ مساحة البوستر */
.project-modal-poster .project-no-poster-bg {
    height: 480px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-primary);
}

.project-work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 30px 20px;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.project-work-wrapper:hover .project-work-overlay {
    /* إلغاء التوهج الذهبي، الإبقاء على نفس التدرج الداكن */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.project-work-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: right;
    direction: rtl;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Custom Slick Arrows for Projects Carousel */
.projects-carousel .slick-prev-custom,
.projects-carousel .slick-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 55px;
    height: 55px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 169, 97, 0.6);
    border-radius: 50%;
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.projects-carousel .slick-prev-custom {
    left: 25px;
    padding-right: 2px;
    /* تعديل طفيف لتوسيط السهم */
}

.projects-carousel .slick-next-custom {
    right: 25px;
    padding-left: 2px;
    /* تعديل طفيف لتوسيط السهم */
}

.projects-carousel .slick-prev-custom:hover,
.projects-carousel .slick-next-custom:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.8) 0%, rgba(184, 134, 11, 0.8) 100%);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
}

.projects-carousel .slick-prev-custom:active,
.projects-carousel .slick-next-custom:active {
    transform: translateY(-50%) scale(1.05);
}

/* Hide dots */
.projects-carousel .slick-dots {
    display: none !important;
}

/* Responsive Styles for Projects Carousel */
@media (max-width: 1400px) {

    .project-work-wrapper img,
    .project-no-poster-bg {
        height: 300px;
        /* تصغير من 360px إلى 300px */
    }
}

@media (max-width: 1200px) {

    .project-work-wrapper img,
    .project-no-poster-bg {
        height: 280px;
        /* تصغير من 340px إلى 280px */
    }

    .project-work-title {
        font-size: 18px;
    }

    .project-no-poster-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {

    .project-work-wrapper img,
    .project-no-poster-bg {
        height: 260px;
        /* تصغير من 320px إلى 260px */
    }

    .projects-carousel-wrapper {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {

    .project-work-wrapper img,
    .project-no-poster-bg {
        height: 240px;
        /* تصغير من 300px إلى 240px */
    }

    .project-work-title {
        font-size: 16px;
    }

    .project-no-poster-title {
        font-size: 1rem;
    }

    .projects-carousel-wrapper {
        padding: 25px 0;
    }
}

@media (max-width: 480px) {

    .project-work-wrapper img,
    .project-no-poster-bg {
        height: 300px;
        /* الهواتف - حجم جيد */
    }

    .project-work-title {
        font-size: 18px;
    }

    .project-no-poster-title {
        font-size: 1.3rem;
    }

    .projects-carousel-wrapper {
        padding: 20px 0;
    }
}

/* Old Projects Grid Styles - Keep for compatibility */
.projects-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.2);
    /* backdrop-filter: blur(20px); - معطل للأداء */
    /* -webkit-backdrop-filter: blur(20px); */
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.projects-nav:hover {
    background: rgba(201, 169, 97, 0.4);
    color: #ffffff;
    transform: translateY(-50%) scale(1.18);
    box-shadow: 0 14px 45px rgba(201, 169, 97, 0.5),
        0 0 70px rgba(201, 169, 97, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(201, 169, 97, 0.6);
}

.projects-nav svg {
    width: 30px;
    height: 30px;
    stroke-width: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.prev-projects-btn {
    right: 20px;
}

.next-projects-btn {
    left: 20px;
}

/* Show arrows on wrapper hover */
.projects-slider-wrapper .projects-nav {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.projects-slider-wrapper:hover .projects-nav {
    opacity: 1;
}

/* Projects Indicators (Dots) - HIDDEN */
.projects-indicators {
    display: none;
}


.project-card-item {
    flex: 0 0 auto;
    width: 220px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.project-card-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.project-poster-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.project-card-item:hover .project-poster-wrapper {
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.project-poster-wrapper img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card-item:hover .project-poster-wrapper img {
    transform: scale(1.1);
}

.project-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-item:hover .project-poster-overlay {
    opacity: 1;
}

.project-card-name {
    display: none;
}


/* ===== Project Modal Styles ===== */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.project-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    animation: modalSlideUp 0.4s ease;
}

.project-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.project-modal-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: rotate(90deg) scale(1.1);
}

/* دعم RTL لزر الإغلاق */
[dir="rtl"] .project-modal-close {
    left: auto;
    right: 20px;
}

[dir="ltr"] .project-modal-close {
    left: 20px;
    right: auto;
}

.project-modal-body {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    padding: 50px;
}

/* Right Side: Poster */
.project-modal-poster {
    flex: 0 0 320px;
    position: relative;
    display: flex;
}

.project-poster-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-primary);
}

/* نوع العمل الفني داخل البوستر - سنتر ذهبي */
.project-genres {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 90%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 10;
}

.project-genres::-webkit-scrollbar {
    display: none;
}

.genre-chip {
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.genre-chip:hover {
    background: linear-gradient(135deg, #E5C676 0%, #C9A961 50%, #A67C1A 100%);
}

.project-platforms {
    text-align: center;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.project-platforms h3 {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.4px;
}

.platforms-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.watch-now-btn {
    display: inline-block;
}

.platform-logo {
    height: 35px;
    width: 80px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.platform-logo:hover {
    transform: scale(1.05);
}

/* Left Side: Details */
.project-modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}

.project-modal-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(201, 169, 97, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
}

.project-info-item:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: var(--accent-primary);
    transform: translateX(-3px);
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ممثلون - كونتينرات بسيطة وجميلة */
.project-actors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.actor-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.09);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.actor-chip:hover {
    background: rgba(201, 169, 97, 0.18);
    color: var(--text-primary);
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* صف الممثلين في سطر واحد (الليبل + التشيبس) */
.project-info-item-actors {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
}

.project-info-item-actors .info-label {
    margin-top: 2px;
    min-width: 70px;
}

.project-info-item-actors .project-actors {
    flex: 1;
}

/* صف بلد التنفيذ + سنة الإنتاج + المدة في سطر واحد مع حقول مستقلة */
.project-info-row-meta {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    grid-column: 1 / -1;
}

.project-info-row-meta .meta-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-info-row-meta .meta-field .info-label {
    text-transform: none;
    letter-spacing: 0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

/* Responsive Projects Slider */
@media (max-width: 1200px) {
    .prev-projects-btn {
        right: 10px;
    }

    .next-projects-btn {
        left: 10px;
    }
}

@media (max-width: 992px) {
    .projects-nav {
        width: 50px;
        height: 50px;
    }

    .projects-nav svg {
        width: 24px;
        height: 24px;
    }

    .prev-projects-btn {
        right: 5px;
    }

    .next-projects-btn {
        left: 5px;
    }

    .project-modal-body {
        flex-direction: column;
        padding: 30px;
    }

    .project-modal-poster {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        gap: 20px;
        padding: 20px 5px;
    }

    .project-card-item {
        width: 180px;
    }

    .project-poster-wrapper img {
        height: 270px;
    }

    .projects-nav {
        width: 45px;
        height: 45px;
    }

    .projects-nav svg {
        width: 22px;
        height: 22px;
    }

    .project-modal-title {
        font-size: 28px;
    }

    .project-modal-body {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .project-card-item {
        width: 150px;
    }

    .project-poster-wrapper img {
        height: 230px;
    }


    .projects-grid {
        gap: 15px;
        padding: 20px 5px;
    }

    .projects-nav {
        width: 40px;
        height: 40px;
    }

    .projects-nav svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Featured Works Section Styles ===== */
#featured-works {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
    padding: 80px 20px;
}

#featured-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#featured-works .content-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    padding: 40px 20px;
    width: 100%;
    margin: 0 auto;
}

.featured-works-wrapper {
    width: 100%;
    position: relative;
    padding: 40px 0;
    direction: ltr;
}

.featured-works-slider {
    width: 100%;
}

.featured-works-slider .slide {
    padding: 0 15px;
    outline: none;
}

.featured-works-slider .slick-slide {
    transition: all 0.3s ease;
}

.featured-works-slider .slick-list {
    margin: 0 -15px;
    padding: 20px 0 !important;
}

/* Featured Work Card Styling */
.featured-work-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    pointer-events: auto;
    /* يتأكد أن الكرت قابل للضغط */
}

.featured-work-wrapper:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.featured-work-wrapper img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: none;
    /* لا تمنع الضغط على الكرت */
}

.featured-work-wrapper:hover img {
    transform: scale(1.1);
}

.featured-work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    /* لا يمنع الضغط على الكرت */
}

.featured-work-wrapper:hover .featured-work-overlay {
    opacity: 1;
}

.featured-work-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Hide Slick Arrows and Dots */
.featured-works-slider .slick-arrow,
.featured-works-slider .slick-dots {
    display: none !important;
}

/* ===== Our Clients Section Styles ===== */
#clients {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
    padding: 80px 20px;
}

#clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#clients .content-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    padding: 40px 20px;
    width: 100%;
    margin: 0 auto;
}

.clients-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-weight: 400;
    line-height: 1.6;
}

/* Slick Carousel Wrapper */
.customer-logos-wrapper {
    width: 100%;
    position: relative;
    padding: 40px 0;
    direction: ltr;
    /* Override RTL for carousel */
}

.customer-logos {
    width: 100%;
}

/* Slick Slide Styling */
.customer-logos .slide {
    padding: 0 15px;
    outline: none;
    height: 100%;
    /* ارتفاع كامل للشريحة */
    display: flex !important;
    /* لضمان المحاذاة */
}

.customer-logos .slick-slide {
    transition: all 0.3s ease;
    height: auto;
    /* للتناسق */
}

.customer-logos .slick-track {
    display: flex !important;
    /* لضمان محاذاة جميع الشرائح */
    align-items: center;
    /* توسيط عمودي */
}

.customer-logos .slick-list {
    margin: 0 -15px;
    padding: 20px 0 !important;
}

/* Client Card Styling */
.client-logo-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* عرض كامل داخل الشريحة */
    height: 180px;
    /* ارتفاع ثابت */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.35);
    box-sizing: border-box;
    /* للحفاظ على الأحجام مع padding */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Shimmer Border Animation */
.client-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg,
            var(--accent-primary),
            var(--accent-secondary),
            var(--accent-tertiary),
            var(--accent-primary));
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    animation: shimmer 3s ease-in-out infinite;
}

.client-logo-wrapper:hover::before {
    opacity: 1;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Gold Shine Effect */
.client-logo-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            transparent 40%,
            rgba(201, 169, 97, 0.3) 50%,
            transparent 60%,
            transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.client-logo-wrapper:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.client-logo-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.4), 0 0 30px rgba(201, 169, 97, 0.2);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(42, 42, 42, 0.95));
}

.client-logo {
    width: 160px;
    /* عرض ثابت */
    height: 100px;
    /* ارتفاع ثابت */
    object-fit: contain;
    /* للحفاظ على نسب الصورة */
    filter: brightness(1) opacity(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.client-logo-wrapper:hover .client-logo {
    filter: brightness(1.1) opacity(1);
    transform: scale(1.08);
}

/* Hide Slick Arrows and Dots */
.customer-logos .slick-arrow,
.customer-logos .slick-dots {
    display: none !important;
}

/* Responsive Design for Clients */
@media (max-width: 1200px) {
    .client-logo-wrapper {
        padding: 35px 25px;
        height: 160px;
        /* حجم ثابت */
    }

    .client-logo {
        width: 140px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .clients-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .client-logo-wrapper {
        padding: 30px 20px;
        height: 140px;
        /* حجم ثابت */
        border-radius: 16px;
    }

    .customer-logos .slide {
        padding: 0 10px;
    }

    .client-logo {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .client-logo-wrapper {
        padding: 25px 15px;
        height: 120px;
        /* حجم ثابت */
        border-radius: 12px;
    }

    .customer-logos .slide {
        padding: 0 8px;
    }

    .client-logo {
        width: 100px;
        height: 70px;
    }
}

/* ===== Services Section Enhanced Styles ===== */
#services {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    min-height: auto;
    padding: 80px 20px;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ما يميز خدماتنا */
/* ===== New Vertical Layout ===== */
/* ما يميز خدماتنا - في الأعلى */
.services-features-section {
    margin-top: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* قسم خدماتنا الذهبي يكون في الأعلى */
/* قسم ما يميز خدماتنا يكون بخط أبيض */
.services-features-section.white-bg .services-section-title {
    color: #ffffff;
}

.services-features-section.white-bg .feature-content h3 {
    color: #ffffff;
}

.services-features-section.white-bg .feature-content p {
    color: rgba(255, 255, 255, 0.9);
}

.features-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    margin-top: 50px;
}

.features-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: right;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.features-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.4);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: transparent;
    border: none;
    padding: 0 0 35px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 60px;
    height: 1px;
    background: var(--accent-primary);
    opacity: 0.5;
}

.feature-icon-small {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    margin-top: 9px;
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.4);
}

.feature-icon-small::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 50%;
}

.feature-icon-small svg {
    display: none;
}

.feature-content {
    flex: 1;
    position: relative;
}

.feature-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.feature-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* أقسام الخدمات - تحت ما يميز خدماتنا */
#services-categories {
    padding-bottom: 40px !important;
}

.services-categories-section {
    position: relative;
    z-index: 1;
}

.services-section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.services-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.4);
}

.services-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.services-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid-3col .service-card {
    width: 100%;
    min-height: 220px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.services-grid-3col .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--service-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 0;
}

.services-grid-3col .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.services-grid-3col .service-card:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.services-grid-3col .service-card:hover::after {
    opacity: 1;
}

.services-grid-3col .service-icon {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.services-grid-3col .service-card:hover .service-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.services-grid-3col .service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.services-grid-3col .service-card:hover h3 {
    color: #ffffff;
    transform: translateY(-5px);
}

.service-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.service-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
}

.service-details-btn i {
    transition: transform 0.3s ease;
}

.service-details-btn:hover i {
    transform: translateX(-4px);
}

.services-grid-3col .service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.4);
    transform: translateY(-8px);
}

.services-grid-horizontal .service-card {
    width: 100%;
    min-height: 180px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* Background Image on Hover - will be set via JavaScript using data-image */
.services-grid-horizontal .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--service-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 0;
    filter: blur(0px);
}

/* Dark Overlay for Text Readability */
.services-grid-horizontal .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.services-grid-horizontal .service-card:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.services-grid-horizontal .service-card:hover::after {
    opacity: 1;
}

.services-grid-horizontal .service-icon {
    font-size: 2.8rem;
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hide Icon on Hover */
.services-grid-horizontal .service-card:hover .service-icon {
    opacity: 0;
    transform: scale(0.5);
}

.services-grid-horizontal .service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

/* وصف قصير داخل كرت الخدمة في الصفحة الرئيسية */
.services-grid-horizontal .service-card .service-card-desc {
    position: relative;
    z-index: 2;
    margin-top: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 260px;
    max-height: 3.1em;
    /* حوالي سطرين */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* تحسين الوضوح عند الـ hover مع الخلفية الداكنة */
.services-grid-horizontal .service-card:hover .service-card-desc {
    color: #e5e7eb;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Enhance Text on Hover */
.services-grid-horizontal .service-card:hover h3 {
    color: #ffffff;
    transform: translateY(-15px) scale(1.05);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(201, 169, 97, 0.5);
    font-size: 1.15rem;
}

/* Enhanced Border and Shadow on Hover */
.services-grid-horizontal .service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.5),
        0 0 50px rgba(201, 169, 97, 0.3),
        inset 0 0 100px rgba(201, 169, 97, 0.1);
    transform: translateY(-8px);
}

/* Old Styles - Keep for Backwards Compatibility */
.services-features {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}


.features-grid {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 40px;
    justify-content: space-between;
    align-items: stretch;
}

.feature-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex: 1;
    min-width: 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.4), 0 0 30px rgba(201, 169, 97, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-primary);
    stroke-width: 2.5;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* أقسام الخدمات */
.services-sections {
    position: relative;
    z-index: 1;
}

.sections-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.sections-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Removed conflicting gradient border animation - using image background instead */


.service-icon {
    font-size: 3.5rem;
    margin-bottom: 0;
    z-index: 1;
    position: relative;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 10px rgba(201, 169, 97, 0.3));
}

.service-icon i {
    color: var(--accent-primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-3px);
}

.service-card:hover .service-icon i {
    color: var(--accent-tertiary);
    filter: drop-shadow(0 0 15px rgba(201, 169, 97, 0.6));
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(201, 169, 97, 0.4);
}


/* ===== Service Details Modal ===== */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* الخلفية الفعلية تأتي من .service-modal-overlay لتطابق الإعلانات والمشاريع */
    background: transparent;
    z-index: 10000;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
}

.service-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    animation: modalSlideUp 0.4s ease;
    z-index: 10001;
}

/* Close Button - Same as Project Modal */
.service-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* backdrop-filter: blur(10px); - معطل للسرعة */
}

/* دعم RTL - الزر يكون على اليمين في العربي */
[dir="rtl"] .service-modal-close {
    left: auto;
    right: 20px;
}

[dir="ltr"] .service-modal-close {
    left: 20px;
    right: auto;
}

.service-modal-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: rotate(90deg) scale(1.1);
}

/* Fixed Header */
.service-modal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.service-modal-navigation-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(184, 134, 11, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    flex: 1;
    justify-content: center;
    max-width: 400px;
}

.service-modal-navigation-hint i {
    color: var(--accent-primary);
    font-size: 1.1rem;
    animation: bounceArrowHeader 1.5s ease-in-out infinite;
}

@keyframes bounceArrowHeader {

    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    25% {
        transform: translateX(-6px) scale(1.08);
    }

    75% {
        transform: translateX(3px) scale(0.95);
    }
}

.service-modal-navigation-hint span {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

/* Language-specific visibility */
html[dir="rtl"] .service-modal-navigation-hint .lang-en {
    display: none;
}

html[dir="ltr"] .service-modal-navigation-hint .lang-ar {
    display: none;
}

html:not([dir]) .service-modal-navigation-hint .lang-en {
    display: none;
}


/* Scrollable Body */
.service-modal-body {
    padding: 0 !important;
    position: relative;
    z-index: 10;
}

/* Background Image - Full Coverage - uses CSS variable set by JavaScript */
.service-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg-image, url('../coins-background.png')) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
    transition: all 0.5s ease;
}

/* Show background when modal has image or on hover */
.service-modal-content.has-bg-image::before,
.service-modal-content.show-bg::before {
    opacity: 0.2;
}

/* Additional overlay for better text readability */
.service-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 26, 26, 0.4) 70%, rgba(26, 26, 26, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
    transition: all 0.5s ease;
}

/* Service Slider Container */
.service-slider-container {
    position: relative;
    z-index: 10;
}

.service-slider-wrapper {
    position: relative;
    min-height: 350px;
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Service Slide - REMOVED - conflicts with services-dynamic.css modal system */
/*
.service-slide {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.service-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.5s ease-out;
}
*/

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Service Slide Content */
.service-slide-content {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(42, 42, 42, 0.6) 100%);
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    z-index: 5;
}

/* Removed rotating animation effect */

/* Service Slide Header */
.service-slide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.service-slide-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
    }

    50% {
        box-shadow: 0 15px 40px rgba(201, 169, 97, 0.8);
        transform: scale(1.05);
    }
}

.service-slide-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Service Slide List */
.service-slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: visible;
    /* scroll-behavior: smooth; - تم تعطيله للسرعة */
    padding-right: 10px;
}

.service-slide-list li {
    padding: 6px 0 6px 30px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
    position: relative;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-wrap: break-word;
    word-break: break-word;
}

.service-slide-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-slide-list li:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
    background: rgba(201, 169, 97, 0.05);
    padding-right: 12px;
    border-radius: 8px;
}

.service-slide-list .bullet-icon {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-slide-list li:hover .bullet-icon {
    color: var(--accent-tertiary);
    transform: scale(1.3) rotate(45deg);
}

/* Custom Scrollbar for Service List */
.service-slide-list::-webkit-scrollbar {
    width: 6px;
}

.service-slide-list::-webkit-scrollbar-track {
    background: rgba(201, 169, 97, 0.1);
    border-radius: 10px;
}

.service-slide-list::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.service-slide-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Service Slider Controls */
.service-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.service-nav-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.service-slider-btn {
    width: 55px;
    height: 55px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-primary);
    backdrop-filter: blur(10px);
}

.service-slider-btn:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.6);
}

.service-slider-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

/* Slider Dots */
.service-slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.service-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-slider-dot:hover {
    background: rgba(201, 169, 97, 0.6);
    transform: scale(1.2);
}

.service-slider-dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 10px;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.8);
}

/* Service Bottom Bar */
.service-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Slider Counter */
.service-slider-counter {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 2px;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.service-slider-counter .current-slide {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 900;
}

.service-slider-counter .total-slides {
    color: var(--text-secondary);
}

/* Request Service Button - Header */
.service-request-btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.service-request-btn-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.service-request-btn-header:hover::before {
    width: 300px;
    height: 300px;
}

.service-request-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.6);
}

.service-request-btn-header i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.service-request-btn-header span {
    position: relative;
    z-index: 1;
}

/* Request Service Button - Bottom (in navigation controls) */
.service-request-btn-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.service-request-btn-bottom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.service-request-btn-bottom:hover::before {
    width: 300px;
    height: 300px;
}

.service-request-btn-bottom:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.6);
}

.service-request-btn-bottom i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.service-request-btn-bottom span {
    position: relative;
    z-index: 1;
}

/* Custom Scrollbar for Modal Body */
.service-modal-body::-webkit-scrollbar {
    width: 10px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-tertiary);
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-tertiary));
}

/* Responsive Modal */
@media (max-width: 992px) {
    .service-modal-header {
        flex-wrap: wrap;
        padding: 25px;
        gap: 15px;
    }

    .service-modal-title {
        font-size: 26px;
        text-align: center;
        flex: 1 1 100%;
    }

    .service-modal-navigation-hint {
        flex: 1 1 auto;
        max-width: none;
    }

    .service-modal-body {
        padding: 0 !important;
    }

    .service-modal-body::before {
        opacity: 0.04;
    }

    .service-slider-wrapper {
        min-height: 450px;
        height: 450px;
    }

    .service-slide-content {
        padding: 25px;
    }

    .service-slide-header {
        margin-bottom: 15px;
        gap: 15px;
    }

    .service-slide-number {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .service-slide-title {
        font-size: 20px;
    }

    .service-slide-list li {
        font-size: 15px;
        padding: 9px 0 9px 30px;
        gap: 10px;
        margin-bottom: 7px;
        line-height: 1.5;
    }

    .service-slider-btn {
        width: 50px;
        height: 50px;
    }

    .service-bottom-bar {
        margin-top: 20px;
    }

    .service-request-btn-bottom {
        padding: 11px 26px;
    }
}

@media (max-width: 768px) {
    .service-modal-header {
        padding: 20px;
        flex-direction: column;
    }

    .service-modal-title {
        font-size: 24px;
        text-align: center;
    }

    .service-modal-navigation-hint {
        width: 100%;
        max-width: none;
        padding: 10px 16px;
    }

    .service-modal-navigation-hint span {
        font-size: 0.85rem;
    }

    .service-modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .service-modal-body {
        padding: 0 !important;
    }

    .service-modal-body::before {
        opacity: 0.03;
    }

    .service-slider-wrapper {
        min-height: 420px;
        height: 420px;
    }

    .service-slide-content {
        padding: 22px;
    }

    .service-slide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .service-slide-number {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .service-slide-title {
        font-size: 18px;
    }

    .service-slide-list li {
        font-size: 14px;
        padding: 8px 0 8px 28px;
        gap: 10px;
        margin-bottom: 6px;
        line-height: 1.5;
    }

    .service-slider-controls {
        gap: 20px;
    }

    .service-slider-btn {
        width: 45px;
        height: 45px;
    }

    .service-slider-btn svg {
        width: 24px;
        height: 24px;
    }

    .service-slider-counter {
        font-size: 16px;
    }

    .service-slider-counter .current-slide {
        font-size: 20px;
    }

    .service-bottom-bar {
        flex-direction: column;
        gap: 15px;
    }

    .service-request-btn-bottom {
        width: 100%;
        justify-content: center;
    }

    .service-request-btn-bottom span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .service-modal-header {
        padding: 18px;
    }

    .service-modal-title {
        font-size: 20px;
    }

    .service-modal-navigation-hint {
        padding: 8px 14px;
    }

    .service-modal-navigation-hint span {
        font-size: 0.8rem;
    }

    .service-modal-navigation-hint i {
        font-size: 1rem;
    }

    .service-modal-close {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .service-modal-body {
        padding: 0 !important;
    }

    .service-modal-body::before {
        opacity: 0.025;
    }

    .service-slider-wrapper {
        min-height: 400px;
        height: 400px;
    }

    .service-slide-content {
        padding: 18px;
        border-radius: 16px;
    }

    .service-slide-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .service-slide-number {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .service-slide-title {
        font-size: 16px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .service-slide-list li {
        font-size: 13px;
        padding: 7px 0 7px 25px;
        gap: 8px;
        margin-bottom: 5px;
        line-height: 1.4;
    }

    .service-slide-list .bullet-icon {
        font-size: 12px;
    }

    .service-slider-controls {
        gap: 15px;
        margin-top: 25px;
    }

    .service-slider-btn {
        width: 40px;
        height: 40px;
    }

    .service-slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .service-slider-dots {
        gap: 8px;
    }

    .service-slider-dot {
        width: 10px;
        height: 10px;
    }

    .service-slider-dot.active {
        width: 24px;
    }

    .service-bottom-bar {
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
    }

    .service-slider-counter {
        font-size: 14px;
        padding: 10px 20px;
    }

    .service-slider-counter .current-slide {
        font-size: 18px;
    }

    .service-request-btn-bottom {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .service-request-btn-bottom i {
        font-size: 1rem;
    }
}

/* Additional Enhancements */
.service-slider-wrapper {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Loading state */
.service-slide-content {
    will-change: transform, opacity;
}

/* Smooth transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Responsive Design for Services */
@media (max-width: 1200px) {

    .features-main-title,
    .services-section-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    .features-grid-2x2 {
        gap: 35px 40px;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .feature-content p {
        font-size: 1.02rem;
    }

    .services-grid-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .services-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .services-grid-horizontal .service-card h3 {
        font-size: 1.1rem;
    }

    .features-grid {
        flex-wrap: wrap;
        gap: 25px;
    }

    .feature-card {
        flex: 1 1 calc(50% - 15px);
        min-width: 280px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-features-section {
        margin-bottom: 60px;
    }

    .features-main-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .features-main-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 140px;
    }

    .features-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .feature-item {
        gap: 15px;
        padding: 0 0 25px 0;
        margin-bottom: 15px;
    }

    .feature-icon-small {
        margin-top: 6px;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .services-section-title {
        font-size: 2.2rem;
    }

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

    .services-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid-3col .service-card {
        min-height: 240px;
        padding: 30px 25px;
    }

    .services-grid-horizontal .service-card {
        padding: 25px 20px;
    }

    .features-title,
    .sections-title {
        font-size: 2rem;
    }

    .features-grid {
        flex-direction: column;
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
        flex: 1 1 auto;
        min-width: 100%;
    }

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

    .service-card {
        padding: 30px 20px;
        min-height: 180px;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .services-features-section {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .features-main-title {
        font-size: 2rem;
        margin-bottom: 35px;
        padding-bottom: 20px;
    }

    .features-main-title::after {
        width: 120px;
        height: 4px;
    }

    .features-grid-2x2 {
        gap: 20px;
        margin-top: 30px;
    }

    .feature-item {
        padding: 0 0 20px 0;
        margin-bottom: 15px;
        gap: 12px;
    }

    .feature-icon-small {
        width: 10px;
        height: 10px;
        margin-top: 6px;
    }

    .feature-content h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .feature-content p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .services-section-title {
        font-size: 2rem;
        margin-bottom: 35px;
        padding-bottom: 20px;
    }

    .services-section-title::after {
        width: 120px;
        height: 4px;
    }

    .services-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid-3col .service-card {
        min-height: 220px;
        padding: 30px 20px;
    }

    .service-details-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .services-grid-horizontal .service-card {
        padding: 25px 20px;
        gap: 12px;
    }

    .services-grid-horizontal .service-icon {
        font-size: 2.5rem;
    }

    .services-grid-horizontal .service-card h3 {
        font-size: 1.05rem;
    }

    .features-title,
    .sections-title {
        font-size: 1.7rem;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
        min-width: 100%;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        min-height: 160px;
    }

    .service-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .service-icon {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-overlay p {
        font-size: 0.85rem;
    }
}

/* ===== Footer Section ===== */
.site-footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    border-top: 2px solid rgba(201, 169, 97, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    direction: rtl;
}

.footer-copyright::before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    margin: 0 auto 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 15px;
    }

    .footer-copyright {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 25px 10px;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

/**
 * Language Support CSS
 * دعم تعدد اللغات - CSS
 */

/* Default: Hide English content */
.lang-en {
    display: none;
}

.lang-ar {
    display: inline;
}

/* When English is active */
body.lang-en .lang-en {
    display: inline;
}

body.lang-en .lang-ar {
    display: none;
}

/* RTL/LTR adjustments */
body.lang-en {
    direction: ltr;
    text-align: left;
}

body.lang-ar {
    direction: rtl;
    text-align: right;
}

/* Font adjustments for English */
body.lang-en {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar adjustments for English */
body.lang-en .menu-list {
    flex-direction: row;
}

/* Floating button adjustments */
body.lang-en .floating-contact-btn {
    left: 30px;
    right: auto;
}

/* Hero section text alignment */
body.lang-en .hero-text-layer {
    text-align: left;
}

body.lang-ar .hero-text-layer {
    text-align: right;
}

/* Project info grid adjustments */
body.lang-en .project-info-grid {
    direction: ltr;
}

body.lang-en .project-modal-body {
    flex-direction: row-reverse;
}

/* Service modal adjustments */
body.lang-en .service-modal-content {
    direction: ltr;
}

/* Ensure inline elements maintain proper display */
.lang-ar,
.lang-en {
    display: inline;
}

/* Block-level language elements */
.hero-main-title .lang-ar,
.hero-main-title .lang-en,
.hero-main-subtitle .lang-ar,
.hero-main-subtitle .lang-en,
.hero-description .lang-ar,
.hero-description .lang-en {
    display: block;
}

body.lang-en .hero-main-title .lang-ar,
body.lang-en .hero-main-subtitle .lang-ar,
body.lang-en .hero-description .lang-ar {
    display: none;
}

body.lang-en .hero-main-title .lang-en,
body.lang-en .hero-main-subtitle .lang-en,
body.lang-en .hero-description .lang-en {
    display: block;
}

/**
 * Skeleton Loaders - تحسين تجربة المستخدم أثناء التحميل
 * بدلاً من شاشة فارغة، يرى المستخدم هيكل الصفحة
 */

/* ===== Skeleton Animation ===== */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* ===== Services Grid Skeleton ===== */
.skeleton-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
    grid-column: 1 / -1;
}

.skeleton-service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skeleton-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.2) 0%,
            rgba(212, 175, 55, 0.4) 50%,
            rgba(212, 175, 55, 0.2) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton-service-title {
    width: 70%;
    height: 24px;
    border-radius: 6px;
}

.skeleton-service-desc {
    width: 90%;
    height: 16px;
    border-radius: 4px;
}

.skeleton-service-count {
    width: 50%;
    height: 18px;
    border-radius: 4px;
    margin-top: auto;
}

/* ===== Projects Slider Skeleton ===== */
.skeleton-projects-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 20px 0;
}

.skeleton-project-card {
    min-width: 280px;
    height: 420px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.skeleton-project-poster {
    width: 100%;
    height: 350px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton-project-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-project-title {
    width: 80%;
    height: 20px;
    border-radius: 4px;
}

.skeleton-project-meta {
    width: 60%;
    height: 14px;
    border-radius: 4px;
}

/* ===== Clients Carousel Skeleton ===== */
.skeleton-clients-carousel {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.skeleton-client-logo {
    width: 150px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Pulse Effect (Alternative Animation) ===== */
@keyframes skeleton-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.skeleton-pulse {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ===== Text Skeleton Lines ===== */
.skeleton-text-line {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-text-line.short {
    width: 60%;
}

.skeleton-text-line.medium {
    width: 80%;
}

.skeleton-text-line.long {
    width: 95%;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .skeleton-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skeleton-projects-slider {
        gap: 15px;
    }

    .skeleton-project-card {
        min-width: 240px;
        height: 360px;
    }

    .skeleton-project-poster {
        height: 300px;
    }

    .skeleton-clients-carousel {
        gap: 20px;
    }

    .skeleton-client-logo {
        width: 120px;
        height: 60px;
    }
}

/* ===== Fade In Animation (للمحتوى الحقيقي عند التحميل) ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* ===== Loading Spinner (Alternative) ===== */
.spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: rgba(212, 175, 55, 1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: light) {
    .skeleton {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 0.05) 0%,
                rgba(0, 0, 0, 0.15) 50%,
                rgba(0, 0, 0, 0.05) 100%);
    }

    .skeleton-service-card,
    .skeleton-project-card,
    .skeleton-client-logo {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
    }
}


/**
 * Language Change Progress Bar
 * شريط التقدم لتغيير اللغة - تصميم جميل ومناسب للموقع
 */

/* ===== Language Progress Overlay ===== */
.language-progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-progress-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Progress Container ===== */
.language-progress-container {
    background: linear-gradient(135deg,
            rgba(30, 30, 35, 0.95) 0%,
            rgba(20, 20, 25, 0.98) 100%);
    padding: 40px 50px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.2);
    text-align: center;
    min-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.language-progress-overlay.active .language-progress-container {
    transform: scale(1);
}

/* ===== Icon Container ===== */
.progress-icon-container {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.progress-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1e1e23;
    animation: icon-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

/* ===== Progress Text ===== */
.progress-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Cairo', sans-serif;
}

.progress-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-family: 'Cairo', sans-serif;
}

/* ===== Progress Bar Container ===== */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    animation: progress-fill 1.5s ease-in-out forwards, progress-shimmer 2s linear infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes progress-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===== Progress Percentage ===== */
.progress-percentage {
    font-size: 0.9rem;
    color: #d4af37;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    margin-top: 10px;
}

/* ===== Loading Dots ===== */
.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    animation: dot-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== Success State ===== */
.language-progress-container.success .progress-icon {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    animation: success-bounce 0.5s ease;
}

@keyframes success-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.language-progress-container.success .progress-bar-fill {
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .language-progress-container {
        min-width: 320px;
        padding: 30px 35px;
        margin: 0 20px;
    }

    .progress-title {
        font-size: 1.3rem;
    }

    .progress-subtitle {
        font-size: 0.9rem;
    }

    .progress-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ===== RTL/LTR Support ===== */
[dir="rtl"] .loading-dots {
    margin-left: 0;
    margin-right: 8px;
}

[dir="ltr"] .loading-dots {
    margin-left: 8px;
    margin-right: 0;
}

/* تأكد من أن النصوص بالاتجاه الصحيح */
[dir="rtl"] .progress-title,
[dir="rtl"] .progress-subtitle,
[dir="rtl"] .progress-percentage {
    text-align: center;
    direction: rtl;
}

[dir="ltr"] .progress-title,
[dir="ltr"] .progress-subtitle,
[dir="ltr"] .progress-percentage {
    text-align: center;
    direction: ltr;
}

/* Modal LTR Alignment */
body.lang-en #contactModal,
body.lang-en #contactModal .service-modal-content {
    direction: ltr !important;
    text-align: left !important;
}

body.lang-en #contactModal .form-group label {
    text-align: left !important;
    display: block;
}

body.lang-en #contactModal .phone-input-wrapper {
    flex-direction: row !important;
}

body.lang-en #contactModal .form-submit {
    text-align: left !important;
}


/**
 * Contact Modal - Uses service-modal structure
 * مودال تواصل معنا - يستخدم بنية مودال الخدمات
 * 
 * Note: This file only contains specific customizations.
 * Main styles are inherited from service-modal in style.css
 */

/* Contact Modal specific width - Matching Share Idea Modal */
#contactModal.service-modal .service-modal-content {
    max-width: 900px;
    width: 90%;
    height: auto !important;
    min-height: 0 !important;
}

/* Shrink the box by hiding header during success */
#contactModal.success-state .service-modal-header,
#contactModal.success-state .service-modal-navigation-hint {
    display: none !important;
}

#contactModal.success-state .service-modal-body {
    padding: 0 !important;
}

#contactModal.success-state .contact-success-message {
    padding: 60px 40px;
}

/* Body padding */
#contactModal .service-modal-body {
    padding: 30px;
}

/* Form styling */
#contactModal .contact-form {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contactModal.service-modal .service-modal-body {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    #contactModal.service-modal .service-modal-body {
        padding: 20px 16px;
    }
}