/*
 * ملف الأنماط الرئيسي (CSS) لموقع بالدايموند - Paldiamond
 * تصميم احترافي، عصري، للشركات (RTL)
 */

:root {
    /* الألوان الأساسية */
    --primary: #1A2B4A;
    --primary-light: #243B63;
    --primary-dark: #0F1A2E;
    
    /* الألوان الذهبية */
    --gold: #D4A843;
    --gold-light: #E8C56D;
    --gold-dark: #B8922F;
    
    /* ألوان عامة */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    
    /* ألوان النصوص */
    --text-color: #2D2D2D;
    --text-light: #666666;
    
    /* ألوان أخرى */
    --accent: #2E86AB;
    --success: #27AE60;
    
    /* الظلال (Shadows) */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.3);
    
    /* الحواف الدائرية (Border Radius) */
    --radius: 12px;
    --radius-lg: 20px;
    
    /* الانتقالات (Transitions) */
    --transition: all 0.3s ease;
    
    /* الخطوط (Fonts) */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

/* التصفير والإعدادات الأساسية (Reset & Base Settings) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: var(--font-ar);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

::selection {
    background-color: var(--gold);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* الحاوية الرئيسية (Container) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--primary);
    color: var(--white);
}

/* شريط التقدم (Progress Bar) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.2s ease;
}

/* الأزرار (Buttons) */
.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
    background-color: var(--gold-light);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* عناوين الأقسام (Section Headers) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin: 16px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* القائمة العلوية (Navbar) */
#header, .navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--transition);
    background-color: var(--primary);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
}

.nav-link:hover {
    background-color: rgba(212, 168, 67, 0.1);
    color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
}

.nav-cta {
    background-color: var(--gold);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.nav-cta:hover {
    background-color: var(--gold-light);
    box-shadow: var(--shadow-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* قسم البطل (Hero Section) — see hero-bg.css for background styles */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 2;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* قسم من نحن (About) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-stats-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(26, 43, 74, 0.3);
}

.about-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-en);
    margin-bottom: 6px;
}

.about-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.about-highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.15);
}

.about-highlight-item i {
    font-size: 1.5rem;
    color: var(--gold);
}

.about-highlight-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* الرؤية، الرسالة، والقيم (Vision, Mission, Values) */
.vm-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    border-bottom: 3px solid var(--gold);
}

.vm-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 168, 67, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.vm-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 700;
}

.vm-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(212, 168, 67, 0.15);
    border-color: var(--gold);
}

.value-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.value-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.value-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* الخدمات (Services) */
#services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(212, 168, 67, 0.15);
    border-top-color: var(--gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-feature {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-feature:last-child {
    border-bottom: none;
}

.service-feature::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    color: var(--gold);
    font-size: 0.85rem;
}

/* لماذا نحن (Why Us) */
#why-us {
    background-color: #f0f2f5;
}

#why-us .section-title {
    color: var(--primary);
}

/* كيف نعمل (How We Work) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.process-step {
    position: relative;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.process-number {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.process-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(212, 168, 67, 0.15);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    background: rgba(212, 168, 67, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.why-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* معرض الأعمال (Portfolio) */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--medium-gray);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
    color: var(--text-light);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(212, 168, 67, 0.2);
}

.portfolio-item > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 46, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 1;
    transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(15, 26, 46, 0.3);
}

.portfolio-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(212, 168, 67, 0.2);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.8rem;
    align-self: flex-start;
}

.portfolio-item.hidden {
    display: none;
}

/* شركاء النجاح (Partners) */
#partners {
    overflow: hidden;
    padding: 100px 0;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-slider::before, .partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.partners-slider::after {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.partners-track {
    display: flex;
    gap: 30px;
    animation: scroll-rtl 30s linear infinite;
    width: max-content;
}

@keyframes scroll-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    min-width: 200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 0 20px;
    white-space: nowrap;
}

.partner-logo:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.2);
    transform: scale(1.05);
    color: var(--gold);
}

/* فريق العمل (Team) */
#team {
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(212, 168, 67, 0.15);
}

.team-photo {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.team-card:nth-child(1) .team-photo { background: linear-gradient(135deg, #1A2B4A, #2E86AB); }
.team-card:nth-child(2) .team-photo { background: linear-gradient(135deg, #D4A843, #E8C56D); }
.team-card:nth-child(3) .team-photo { background: linear-gradient(135deg, #2E86AB, #1A2B4A); }
.team-card:nth-child(4) .team-photo { background: linear-gradient(135deg, #1A2B4A, #D4A843); }

.team-info {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* الإحصائيات (Stats) */
#stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-en);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* التقييمات وآراء العملاء (Testimonials) */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    text-align: center;
}

.testimonial-card .fa-quote-right {
    font-size: 3rem;
    color: rgba(212, 168, 67, 0.3);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    z-index: 5;
}

.slider-arrow:hover {
    background-color: var(--gold);
    color: var(--white);
}

.slider-prev {
    right: -60px;
}

.slider-next {
    left: -60px;
}

/* المدونة (Blog) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(212, 168, 67, 0.15);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-card:nth-child(1) .blog-image { background: linear-gradient(135deg, #1A2B4A, #2E86AB); }
.blog-card:nth-child(2) .blog-image { background: linear-gradient(135deg, #D4A843, #B8922F); }
.blog-card:nth-child(3) .blog-image { background: linear-gradient(135deg, #2E86AB, #1A2B4A); }

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    color: var(--gold);
    font-weight: 600;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-link:hover {
    color: var(--gold-dark);
}

.blog-link:hover i {
    transform: translateX(-4px); /* For RTL */
}

/* الأسئلة الشائعة (FAQ) */
#faq {
    background-color: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    transition: var(--transition);
    gap: 16px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--gold);
}

.faq-item.active .faq-question {
    color: var(--gold);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* اتصل بنا (Contact) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    direction: rtl;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-color);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-btn:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-self: start;
    padding-top: 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-item .contact-text h4 {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-item .contact-text a,
.contact-item .contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: rgba(212, 168, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact-social a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

/* تذييل الصفحة (Footer) */
#footer {
    background-color: var(--primary-dark);
    padding: 80px 0 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    padding: 6px 0;
    display: block;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    padding-left: 8px; /* RTL logic */
}

.footer-link a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* العناصر العائمة (Floating Elements) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: var(--transition);
    animation: whatsapp-bounce 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    25% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    75% {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
    }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9998;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--gold-dark);
    transform: translateY(-3px);
}

/* حركة الكشف عند التمرير (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* التصميم المتجاوب (Responsive Design) */

/* الأجهزة اللوحية (Tablet) */
@media screen and (max-width: 1024px) {
    .about-grid, 
    .services-grid, 
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .about-stats-card {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* الهواتف الذكية (Mobile) */
@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-frame {
        inset: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats-card {
        grid-template-columns: repeat(3, 1fr);
        padding: 24px 16px;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .about-highlight-item {
        padding: 14px 8px;
    }

    .about-highlight-item span {
        font-size: 0.75rem;
    }

    .vm-cards {
        grid-template-columns: 1fr;
    }

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

    .services-grid, 
    .process-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        display: none;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(15, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        align-items: stretch;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        text-align: right;
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-actions {
        gap: 8px;
    }
    
    .nav-cta {
        display: none;
    }

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

    .nav-logo-img {
        width: 48px;
        height: 48px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

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

    .portfolio-item {
        aspect-ratio: 1/1;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px;
    }

    .form-input, .form-textarea, .form-select {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

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

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 16px;
        left: 16px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }

    .partner-logo {
        min-width: 160px;
        height: 60px;
        font-size: 0.85rem;
        padding: 0 14px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1rem;
    }

    .vm-card {
        padding: 28px 20px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .process-step {
        padding: 30px 16px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-frame {
        display: none;
    }
}

/* الهواتف الصغيرة (Small Mobile) */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo-img {
        width: 40px;
        height: 40px;
    }

    .section-title {
        font-size: 1.4rem;
    }

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

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .contact-grid {
        gap: 30px;
    }
}
