@import url('https://fonts.googleapis.com/css2?family=Tajawal&display=swap');

body {
    font-family: 'Tajawal';
    direction: rtl;
    text-align: right;
}
body, h1, h2, h3, p, button, .hero-title, .hero-subtitle, .section-title, .section-subtitle, .service-title, .service-description, .stat-card {
    font-family: 'Tajawal', sans-serif;
}

.header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.globe-icon {
    width: 16px;
    height: 16px;
}

.navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    letter-spacing: 0.05em;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Navbar styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a !important;
}

.navbar-nav .nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #1a1a1a !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero section with video */
.hero-section {
    padding: 0;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23f3f4f6" fill-opacity="0.4"%3E%3Cpath d="m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

/* Stats section */
.video-stats {
    background: #f8f9fa;
    padding: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 1rem;
}

/* Services section */
.services-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 3rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.service-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.service-content {
    padding: 2.5rem;
}

.service-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.service-description {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.explore-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.explore-btn:hover {
    background: #2d3748;
    transform: scale(1.05);
    color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: white;
}

.company-info {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-item {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Dark mode */
body.dark-mode {
    background-color: #1a1a1a;
    color: white;
}

body.dark-mode .navbar {
    background: rgba(26, 26, 26, 0.95);
    border-bottom-color: #374151;
}

body.dark-mode .hero-content {
    background: linear-gradient(135deg, #2d3748 0%, #1a1a1a 100%);
}

body.dark-mode .services-section {
    background: linear-gradient(180deg, #2d3748 0%, #1a1a1a 100%);
}

body.dark-mode .service-card {
    background: #2d3748;
    color: white;
}

body.dark-mode .stat-card {
    background: #2d3748;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .video-container {
        height: 50vh;
    }

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