/* Custom CSS for Rakaz Company */

:root {
    --primary-color: #FF6210;
    --primary-color-rgb: 255, 98, 16;
    --secondary-color: #F15808;
    --dark-color: #1b3942;
    --light-color: #FEF1E4;
    --white-color: #FFFFFF;
    --gray-color: #E5D7D1;
    --text-dark: #2c3e50;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', 'IBM Plex Sans Arabic', sans-serif;
    line-height: 1.7;
    color: #333;
    direction: ltr;
    font-weight: 500;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: var(--dark-color);
    line-height: 1.4;
}


h1 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* تحسين العناوين الرئيسية */
.display-5 {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.3;
}

.fw-bold {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-light {
    color: var(--white-color);
    border-color: var(--white-color);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--dark-color);
    border-color: var(--white-color);
}

/* Header */
.navbar {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1.2rem 0;
    background: linear-gradient(-135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid rgba(255, 98, 16, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    position: relative;

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-brand:hover {
    transform: translateY(-5px) scale(1.08);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    left: -3px;
    bottom: -3px;
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color));
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar-brand:hover::before {
    opacity: 1;
}

.navbar-brand img {
    transition: all 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    height: 65px !important;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover img {
    transform: scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 12px 24px rgba(255, 98, 16, 0.4));
}

.nav-link {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1rem 1.2rem !important;
    margin: 0 0.4rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    color: var(--dark-color) !important;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.15), transparent);
    transition: right 0.8s ease;
}

.nav-link:hover::before {
    right: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: all 0.4s ease;
    transform: translateX(50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: linear-gradient(-145deg, rgba(255, 98, 16, 0.08) 0%, rgba(255, 98, 16, 0.03) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 98, 16, 0.15);
    text-shadow: 0 2px 4px rgba(255, 98, 16, 0.1);
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(255, 98, 16, 0.15);
    padding: 1.5rem 0;
    margin-top: 1rem;
    background: linear-gradient(-145deg, var(--white-color) 0%, #fefefe 100%);
    border: 2px solid rgba(255, 98, 16, 0.1);
    backdrop-filter: blur(20px);
    animation: dropdownFadeIn 0.4s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.2rem 2.5rem;
    color: var(--dark-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0;
    position: relative;
    margin: 0.4rem 1.5rem;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.dropdown-item:hover {
    background: linear-gradient(-90deg, rgba(255, 98, 16, 0.1) 0%, rgba(255, 98, 16, 0.05) 100%);
    color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(255, 98, 16, 0.15);
    text-shadow: 0 1px 2px rgba(255, 98, 16, 0.1);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.dropdown-item:hover::before {
    width: 30px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border: 2px solid transparent;
    border-radius: 30px;
    text-decoration: none;
    color: var(--white-color);
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(-135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 30px rgba(255, 98, 16, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: right 0.8s ease;
}

.lang-btn:hover::before {
    right: 100%;
}

.lang-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 98, 16, 0.4);
    background: linear-gradient(-135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.lang-btn:hover .flag-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
    min-height: 70vh;
}

.hero-content {
    min-height: 60vh;
}

.hero-section h1 {
    color: var(--white-color);
    text-shadow: -2px 2px 8px rgba(0,0,0,0.7);
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(209, 162, 162, 0.6);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-title {
    text-shadow: -3px 3px 12px rgba(0,0,0,0.9), -1px 1px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 3;
    font-weight: 800;
}

.hero-subtitle {
    text-shadow: -2px 2px 8px rgba(0,0,0,0.9), -1px 1px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 3;
    font-weight: 500;
}

.hero-text-content {
    padding: 3rem 2rem;
    text-align: center;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* تحسين الأزرار على الموبايل */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        max-width: 250px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}


.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.6s ease;
}

.hero-buttons .btn:hover::before {
    right: 100%;
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(255, 98, 16, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 98, 16, 0.5);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white-color);
    color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.hero-secondary-title {
    text-shadow: -3px 3px 12px rgba(0,0,0,0.9), -1px 1px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 3;
    font-weight: 800;
    line-height: 1.3;
}

.hero-secondary-subtitle {
    color: var(--white-color);
    text-shadow: -2px 2px 8px rgba(0,0,0,0.9), -1px 1px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 3;
    font-weight: 600;
    line-height: 1.8;
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.hero-multiline-title {
    color: var(--white-color);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 2px;
}

.title-line {
    display: block;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 3;
    line-height: 1.2;
}

.title-line:nth-child(1) {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: -4px 4px 16px rgba(0,0,0,0.9), -2px 2px 8px rgba(0,0,0,0.8);
}

.title-line:nth-child(2) {
    color: #f59c6d;
    font-size: 3.2rem;
    font-weight: 800;
    text-shadow: -4px 4px 16px rgba(0,0,0,0.9), -2px 2px 8px rgba(0,0,0,0.8);
}

.title-line:nth-child(3) {
    color: #4491ce;
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: -5px 5px 20px rgba(0,0,0,0.95), -3px 3px 12px rgba(0,0,0,0.9);
}

/* About Section Styling */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-135deg, rgba(255, 98, 16, 0.03) 0%, rgba(254, 241, 228, 0.1) 100%);
    z-index: -1;
}

.about-section .display-5 {
    position: relative;
    margin-bottom: 1.5rem;
}

.about-section .display-5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-section hr {
    border-width: 3px;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.about-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-color);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* New About Text Styling */
.about-description-new {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(-135deg, rgba(255, 255, 255, 0.9) 0%, rgba(254, 241, 228, 0.8) 100%);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 98, 16, 0.1);
}

.about-text-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.about-main-text-new {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--dark-color);
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.8px;
}

.about-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    margin: 2rem auto;
    border-radius: 2px;
    position: relative;
}

.about-divider::before,
.about-divider::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.about-divider::before {
    right: -20px;
}

.about-divider::after {
    left: -20px;
}

.about-secondary-text-new {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    opacity: 0.95;
    font-style: italic;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.about-section .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: linear-gradient(-145deg, var(--white-color) 0%, #fafafa 100%);
}

.about-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.1), transparent);
    transition: right 0.6s ease;
}

.about-section .card:hover::before {
    right: 100%;
}

.about-section .card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 98, 16, 0.15);
}

.about-section .card-body {
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.about-section .icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(-135deg, var(--light-color) 0%, var(--white-color) 100%);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-section .icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.about-section .card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(255, 98, 16, 0.3);
}

.about-section .card:hover .icon-wrapper::before {
    opacity: 1;
}

.about-section .icon-wrapper i {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.about-section .card:hover .icon-wrapper i {
    color: var(--white-color) !important;
    transform: scale(1.2);
}

.about-section .card-title {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 4px rgba(255, 98, 16, 0.1);
}

.about-section .card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.about-section .card:hover .card-title::after {
    width: 60px;
}

.about-section .card-text {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #666;
    line-height: 1.9;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.about-section .card:hover .card-text {
    color: var(--dark-color);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Enhanced Service Cards */
.service-card-enhanced {
    background: linear-gradient(-145deg, var(--white-color) 0%, #fafafa 100%);
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 400px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 98, 16, 0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.05), transparent);
    transition: right 0.6s ease;
}

.service-card-enhanced:hover::before {
    right: 100%;
}

.service-card-enhanced:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 98, 16, 0.2);
    border-color: rgba(255, 98, 16, 0.4);
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(-135deg, var(--light-color) 0%, var(--white-color) 100%);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    margin-top: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 98, 16, 0.15);
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.service-card-enhanced:hover .service-icon-wrapper {
    transform: scale(1.15) rotate(-8deg);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 35px rgba(255, 98, 16, 0.4);
    margin-top: 5px;
}

.service-card-enhanced:hover .service-icon-wrapper::before {
    opacity: 1;
}

.service-icon-wrapper i {
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card-enhanced:hover .service-icon-wrapper i {
    color: var(--white-color) !important;
    transform: scale(1.2);
}

.service-content {
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    line-height: 1.4;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.service-card-enhanced:hover .service-title::after {
    width: 60px;
}

.service-description {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-bottom: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.service-card-enhanced:hover .service-description {
    color: var(--dark-color);
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: all 0.4s ease;
    transform-origin: right;
    box-shadow: 0 2px 8px rgba(255, 98, 16, 0.3);
    border-radius: 0 0 25px 25px;
    z-index: 3;
}

.service-card-enhanced:hover .service-hover-effect {
    transform: scaleX(1);
    height: 8px;
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.6);
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

/* Investment Section Header */
.investment-section-header {
    position: relative;
}

.investment-section-header .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.investment-section-header .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.1), transparent);
    transition: right 0.6s ease;
}

.investment-section-header .btn-outline-primary:hover::before {
    right: 100%;
}

.investment-section-header .btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 98, 16, 0.3);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.investment-section-header .btn-outline-primary i {
    transition: transform 0.3s ease;
}

.investment-section-header .btn-outline-primary:hover i {
    transform: scale(1.2);
}

/* Enhanced Investment Cards */
.investment-card {
    background: linear-gradient(-145deg, var(--white-color) 0%, #fafafa 100%);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 98, 16, 0.1);
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.05), transparent);
    transition: right 0.6s ease;
}

.investment-card:hover::before {
    right: 100%;
}

.investment-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 98, 16, 0.2);
    border-color: rgba(255, 98, 16, 0.3);
}

/* Investment Image Wrapper */
.investment-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.investment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.investment-card:hover .investment-image {
    transform: scale(1.1);
}

/* Investment Content */
.investment-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.investment-title {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(255, 98, 16, 0.1);
    line-height: 1.4;
}

.investment-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
    transition: width 0.3s ease;
}

.investment-card:hover .investment-title::after {
    width: 60px;
}

.investment-description {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-bottom: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.investment-card:hover .investment-description {
    color: var(--dark-color);
}

/* Companies Slider */
.companies-slider-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.companies-slider {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.company-item {
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(-145deg, var(--white-color) 0%, #fafafa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 98, 16, 0.1);
    position: relative;
    overflow: hidden;
}

.company-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 98, 16, 0.1), transparent);
    transition: right 0.6s ease;
}

.company-item:hover::before {
    right: 100%;
}

.company-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 98, 16, 0.15);
    border-color: rgba(255, 98, 16, 0.3);
}

.company-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.company-logo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(-145deg, var(--white-color) 0%, var(--light-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 98, 16, 0.1);
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 98, 16, 0.1);
}

.company-item:hover .company-logo-wrapper {
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 98, 16, 0.3);
}

.company-logo {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.company-item:hover .company-logo {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(255, 98, 16, 0.2));
}

.company-name {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
    margin: 0;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
}

.company-item:hover .company-name {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(255, 98, 16, 0.1);
}

/* تخطيط الشركات بدون حركة */

/* Mobile Responsive for Companies */
@media (max-width: 1200px) {
    .companies-slider {
        justify-content: center;
    }
    
    .company-item {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .companies-slider-container {
        padding: 1rem 0;
    }
    
    .companies-slider {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .company-item {
        min-width: 180px;
        padding: 1.2rem;
        border-radius: 15px;
        flex: 1 1 calc(50% - 0.75rem);
        max-width: 220px;
    }
    
    .company-logo-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .company-logo {
        max-width: 70px;
        max-height: 70px;
    }
    
    .company-name {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .companies-slider {
        gap: 1rem;
    }
    
    .company-item {
        min-width: 160px;
        padding: 1rem;
        flex: 1 1 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .company-logo-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 0.8rem;
    }
    
    .company-logo {
        max-width: 60px;
        max-height: 60px;
    }
    
    .company-name {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Icons */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.service-card:hover .icon-wrapper i {
    color: var(--white-color) !important;
}

/* Contact Form */
.form-control {
    border: 2px solid var(--gray-color);
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 98, 16, 0.25);
}

/* Contact Info */
.contact-info {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Scroll to Top Button */
#scrollToTop {
    transition: all 0.3s ease;
    z-index: 1000;
}

#scrollToTop:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: 60vh;
    }
    
    .hero-content {
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-secondary-title {
        font-size: 2rem;
    }
    
    .hero-multiline-title {
        font-size: 2.2rem;
    }
    
    .title-line:nth-child(1) {
        font-size: 2rem;
    }
    
    .title-line:nth-child(2) {
        font-size: 2.3rem;
    }
    
    .title-line:nth-child(3) {
        font-size: 2.5rem;
    }
    
    .hero-secondary-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-text-content {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    /* Hero Buttons Mobile */
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.3rem;
    }
    
    /* About Section Mobile */
    .about-section .card-body {
        padding: 2rem 1.5rem;
    }
    
    .about-section .icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .about-section .card-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .about-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* New About Text Mobile */
    .about-description-new {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .about-main-text-new {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .about-secondary-text-new {
        font-size: 1.1rem;
    }
    
    .about-divider {
        width: 60px;
        margin: 1.5rem auto;
    }
    
    .about-divider::before,
    .about-divider::after {
        width: 10px;
        height: 10px;
    }
    
    .about-divider::before {
        right: -15px;
    }
    
    .about-divider::after {
        left: -15px;
    }
    
    .service-card,
    .investment-card,
    .company-card {
        margin-bottom: 2rem;
    }
    
    /* Investment Section Header Mobile */
    .investment-section-header .btn-outline-primary {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Investment Cards Mobile */
    .investment-image-wrapper {
        height: 180px;
    }
    
    .investment-content {
        padding: 1.2rem;
    }
    
    .investment-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .investment-description {
        font-size: 0.9rem;
    }
    
    /* Enhanced Service Cards Mobile */
    .service-card-enhanced {
        border-radius: 20px;
        padding-top: 15px;
        height: 350px;
    }
    
    .service-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
        margin-top: 8px;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 0 1.5rem 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-multiline-title {
        font-size: 1.8rem;
    }
    
    .title-line:nth-child(1) {
        font-size: 1.6rem;
    }
    
    .title-line:nth-child(2) {
        font-size: 1.8rem;
    }
    
    .title-line:nth-child(3) {
        font-size: 2rem;
    }
    
    .hero-secondary-subtitle {
        font-size: 1rem;
    }
    
    .hero-text-content {
        padding: 1.5rem 1rem;
    }
    
    /* Hero Buttons Small Mobile */
    .hero-buttons {
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        margin: 0.2rem;
        display: block;
        width: 100%;
        max-width: 250px;
        margin-right: auto;
        margin-left: auto;
    }
    
    /* About Section Small Mobile */
    .about-section .card-body {
        padding: 1.5rem 1rem;
    }
    
    .about-section .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .about-section .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .about-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* New About Text Small Mobile */
    .about-description-new {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .about-main-text-new {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .about-secondary-text-new {
        font-size: 1rem;
    }
    
    .about-divider {
        width: 50px;
        margin: 1rem auto;
    }
    
    .about-divider::before,
    .about-divider::after {
        width: 8px;
        height: 8px;
    }
    
    .about-divider::before {
        right: -12px;
    }
    
    .about-divider::after {
        left: -12px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Enhanced Service Cards Small Mobile */
    .service-card-enhanced {
        border-radius: 18px;
        padding-top: 12px;
        height: 320px;
    }
    
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
        margin-top: 6px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-content {
        padding: 0 1rem 1.5rem;
    }
    
    /* Investment Section Header Small Mobile */
    .investment-section-header .btn-outline-primary {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Investment Cards Small Mobile */
    .investment-image-wrapper {
        height: 160px;
    }
    
    .investment-content {
        padding: 1rem;
    }
    
    .investment-title {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
    
    .investment-description {
        font-size: 0.85rem;
    }
}

/* RTL Specific Styles */
.navbar-nav .nav-link {
    margin-left: 0;
}

/* تحسين زر القائمة للموبايل */
.navbar-toggler {
    border: 2px solid rgba(255, 98, 16, 0.2);
    border-radius: 15px;
    padding: 0.6rem 1rem;
    transition: all 0.4s ease;
}

.navbar-toggler:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 98, 16, 0.05);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.3rem rgba(255, 98, 16, 0.25);
}

/* تحسين القائمة عند التمرير */
.navbar.scrolled {
    background: linear-gradient(-135deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 100%) !important;
    box-shadow: 0 15px 40px rgba(255, 98, 16, 0.15);
    border-bottom: 3px solid rgba(255, 98, 16, 0.2);
    padding: 1rem 0;
}

.navbar.scrolled .navbar-brand {
    /* الشعار يبقى بدون خلفية حتى عند التمرير */
}

/* تحسين أيقونة Home */
.nav-link i.fa-home {
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.nav-link:hover i.fa-home {
    transform: scale(1.2) rotate(-10deg);
    color: var(--primary-color);
}

/* تأثيرات إضافية للقائمة */
.navbar-nav .nav-item {
    position: relative;
}

/* Mobile Responsive for Header */
@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(-145deg, var(--white-color) 0%, #fefefe 100%);
        border-radius: 25px;
        margin-top: 2rem;
        padding: 2rem;
        box-shadow: 0 20px 50px rgba(255, 98, 16, 0.15);
        border: 2px solid rgba(255, 98, 16, 0.1);
        backdrop-filter: blur(20px);
        animation: mobileMenuSlideIn 0.5s ease-out;
    }
    
    @keyframes mobileMenuSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-nav {
        margin-bottom: 2rem;
    }
    
    .nav-item {
        margin-bottom: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 1.2rem 2rem !important;
        text-align: center;
        border-radius: 20px;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: linear-gradient(-135deg, rgba(255, 98, 16, 0.05) 0%, rgba(255, 98, 16, 0.02) 100%);
        margin-top: 0;
        padding: 1rem 0;
        border-radius: 20px;
        animation: none;
    }
    
    .dropdown-item {
        padding: 1rem 2rem;
        margin: 0.3rem 1rem;
        border-radius: 15px;
        text-align: center;
    }
    
    .dropdown-item:hover {
        transform: none;
        background: linear-gradient(-90deg, rgba(255, 98, 16, 0.1) 0%, rgba(255, 98, 16, 0.05) 100%);
        box-shadow: 0 8px 20px rgba(255, 98, 16, 0.15);
    }
    
    .language-switcher {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .lang-btn {
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }
}

.me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

.me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.ms-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.text-md-start {
    text-align: left !important;
}

.text-md-end {
    text-align: right !important;
}

/* Custom Utilities */
.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-primary {
    box-shadow: 0 5px 20px rgba(255, 98, 16, 0.2);
}

.bg-light-custom {
    background-color: var(--light-color);
}

/* Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    #scrollToTop {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        padding-top: 0;
    }
}

/* Custom Footer */
.custom-footer {
    background: linear-gradient(-135deg, #1b3942 0%, #2c5f6f 100%);
    color: var(--white-color);
    padding: 4rem 0 2rem;
    position: relative;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(255, 98, 16, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.custom-footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(-90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* معلومات التواصل المبسطة */
.footer-contact-simple {
    margin-top: 1rem;
}

.contact-simple {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-simple i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    min-width: 18px;
    text-align: center;
}

/* أيقونات التواصل الاجتماعي */
.footer-social {
    margin-top: 2rem;
}

.social-title {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 98, 16, 0.3);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* روابط القائمة */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
    font-size: 1rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--white-color);
    transform: translateX(-5px);
    text-shadow: 0 2px 4px rgba(255, 98, 16, 0.3);
}

.footer-link:hover::before {
    width: 10px;
}

/* حول الشركة */
.footer-about {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.company-description {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    margin: 1.5rem 0 0 0;
    display: flex;
    justify-content: flex-start;
    align-self: flex-start;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* قسم حقوق النشر في الأسفل */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.copyright-bottom {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', 'IBM Plex Sans Arabic', sans-serif;
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Footer */
@media (max-width: 768px) {
    .custom-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
        left: auto;
    }
    
    .footer-about {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin: 1rem 0 0 0;
        align-self: center;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding: 1rem 0;
    }
    
    .copyright-bottom {
        font-size: 0.85rem;
    }
    
    .company-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        margin: 1.5rem 0;
    }
    
    .footer-logo-img {
        height: 70px;
    }
    
    .contact-simple {
        font-size: 0.95rem;
    }
    
    .footer-link {
        font-size: 0.95rem;
    }
    
    .footer-social {
        margin-top: 1.5rem;
    }
    
    .social-title {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .custom-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .company-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        margin: 1rem 0;
    }
    
    .footer-logo-img {
        height: 60px;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding: 0.8rem 0;
    }
    
    .copyright-bottom {
        font-size: 0.8rem;
    }
    
    .contact-simple {
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-social {
        margin-top: 1rem;
    }
    
    .social-title {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

/* Map Section Styles */
.map-container {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Map Control Buttons - داخل الخريطة */
.map-distance-control {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.map-distance-btn,
.map-google-btn {
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: var(--white-color);
}

.map-distance-btn {
    background: var(--primary-color);
}

.map-distance-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(var(--primary-color-rgb), 0.3);
}

.map-distance-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.map-google-btn {
    background: #4285f4;
    color: var(--white-color);
}

.map-google-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.3);
}

.map-google-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

/* Working Hours Section */
.working-hours-section {
    padding: 1.5rem;
    height: 100%;
}

.section-header h5 {
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.hours-container {
    background: var(--white-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
}

.working-day:last-child {
    border-bottom: none;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.day-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.day-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.time-range {
    font-weight: 500;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    min-width: 120px;
}

.time-range.open {
    background: linear-gradient(-135deg, #e8f5e8, #d4edda);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.time-range.closed {
    background: linear-gradient(-135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.time-range.partial {
    background: linear-gradient(-135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Distance Result Card */
.distance-result-card {
    margin-top: 2rem;
    background: linear-gradient(-135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--white-color);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
}

.distance-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distance-icon {
    font-size: 1.8rem;
    color: var(--white-color);
    opacity: 0.9;
}

.distance-info {
    flex: 1;
}

.distance-label {
    display: block;
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.distance-value {
    display: block;
    font-family: 'Cairo', 'Noto Kufi Arabic', 'Amiri', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Custom marker styles */
.custom-marker {
    background-color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive for Map Section */
@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
    
    .working-hours-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .hours-container {
        padding: 1rem;
    }
    
    .working-day {
        padding: 0.8rem 0;
    }
    
    .day-name {
        font-size: 0.9rem;
    }
    
    .time-range {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        min-width: 100px;
    }
    
    .map-distance-btn,
    .map-google-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .distance-result-card {
        padding: 1rem;
    }
    
    .distance-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 300px;
    }
    
    .working-hours-section {
        padding: 0.8rem;
    }
    
    .section-header h5 {
        font-size: 1.1rem;
    }
    
    .hours-container {
        padding: 0.8rem;
    }
    
    .working-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }
    
    .day-header {
        gap: 0.5rem;
    }
    
    .day-name {
        font-size: 0.9rem;
    }
    
    .time-range {
        align-self: flex-end;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .map-distance-control {
        top: 8px;
        right: 8px;
        padding: 6px;
    }
    
    .map-distance-btn,
    .map-google-btn {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .distance-result-card {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .distance-content {
        gap: 0.8rem;
    }
    
    .distance-icon {
        font-size: 1.5rem;
    }
    
    .distance-label {
        font-size: 0.8rem;
    }
    
    .distance-value {
        font-size: 1rem;
    }
}

/* تحسين القائمة المنسدلة على الموبايل */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        background-color: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0;
        max-height: 300px !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #f1f1f1;
    }
    
    /* تخصيص شريط التمرير للويب كيت */
    .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .dropdown-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
        transition: background 0.3s ease;
    }
    
    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
    
    .dropdown-menu .dropdown-item {
        color: #495057;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e9ecef;
        background-color: #f8f9fa;
        margin: 0.25rem 0;
        border-radius: 0.375rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .dropdown-menu .dropdown-item:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }
    
    .dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .dropdown-menu .dropdown-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        margin: 0.375rem 0;
    }
}
