﻿
/* تنعيم التمرير عند الضغط على روابط الأقسام */
html {
    scroll-behavior: smooth;
}

/* ضبط لون وشكل الروابط عند التمرير عليها */
.nav-link {
    transition: color 0.2s ease-in-out;
}

    .nav-link:hover {
        color: var(--bs-primary) !important;
    }

/* الحفاظ على Footer أسفل الشاشة دائماً */
body {
    min-height: 100vh;
}



/* ==========================================================================
           1. COLOR PALETTE & VARIABLES (Matched with Logo)
           ========================================================================== */
:root {
    --primary-navy: #0B1B2B; /* Deep navy blue from text */
    --primary-dark: #07121E; /* Dark shade for headers/footers */
    --accent-gold: #B89E68; /* Gold/beige from lighthouse icon */
    --accent-gold-hover: #9E8450; /* Hover state gold */
    --bg-light: #F8F8F5; /* Warm soft background */
    --text-main: #2D3748; /* High readability charcoal */
    --text-muted: #64748B; /* Muted slate text */
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* ==========================================================================
           2. GLOBAL RESETS
           ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
    border: 2px solid var(--accent-gold);
}

    .btn-primary:hover {
        background-color: var(--accent-gold-hover);
        border-color: var(--accent-gold-hover);
    }

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

    .btn-outline:hover {
        background-color: var(--white);
        color: var(--primary-navy);
    }

/* ==========================================================================
           3. HEADER & NAVIGATION
           ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.top-info span {
    margin-right: 20px;
}

.lang-switch {
    color: var(--accent-gold);
    font-weight: 600;
}

header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-placeholder img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: var(--primary-navy);
        font-weight: 600;
        transition: var(--transition);
    }

        .nav-links a:hover {
            color: var(--accent-gold);
        }
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--accent-gold);
}
/* ==========================================================================
           4. HERO SECTION
           ========================================================================== */
.hero {
    background: linear-gradient(135deg, rgba(11, 27, 43, 0.92) 0%, rgba(7, 18, 30, 0.88) 100%), url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 100px;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #D1D5DB;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
           5. STATS STRIP
           ========================================================================== */
.stats-section {
    background-color: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    border-right: 1px solid #E2E8F0;
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
           6. SERVICES SECTION
           ========================================================================== */
.services-section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #E2E8F0;
    border-top: 4px solid var(--accent-gold);
    transition: var(--transition);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    }

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(184, 158, 104, 0.15);
    color: var(--accent-gold);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-navy);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
           7. FOOTER SECTION
           ========================================================================== */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 15px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

    .footer-col ul li a {
        color: #9CA3AF;
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .footer-col ul li a:hover {
            color: var(--white);
        }

.copyright {
    text-align: center;
    color: #6B7280;
    font-size: 0.85rem;
    padding-top: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
/* الكلاس الأساسي (للخلفيات الفاتحة مثل صفحة Contact Us) */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-gold, #9E8B63);
    color: var(--brand-navy, #0B192C) !important; /* أزرق كحلي داكن للخلفية الفاتحة */
    background-color: transparent;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background-color: var(--brand-gold, #9E8B63);
        color: #ffffff !important;
        border-color: var(--brand-gold, #9E8B63);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(158, 139, 99, 0.3);
    }

/* تعديل خاص بالخلفيات الداكنة (مثل الفوتر) */
.social-btn-dark {
    color: #ffffff !important; /* لون أبيض للخلفية الداكنة */
    background-color: rgba(255, 255, 255, 0.05);
}

    .social-btn-dark:hover {
        background-color: var(--brand-gold, #9E8B63);
        color: var(--brand-navy, #0B192C) !important;
    }
/* حاوية الشريط */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 10px 0;
}

/* العنصر المتحرك */
.marquee-content {
    display: inline-flex;
    gap: 20px;
    animation: marquee-scroll 25s linear infinite;
}

/* إيقاف الحركة عند تحريك الماوس فوق الشريط للتسهيل على المستخدم */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* تصميم كارت العميل */
.client-card {
    flex: 0 0 auto;
    width: 200px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .client-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        border-color: #0d6efd;
    }

.client-link {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: grayscale(30%); /* لجعل اللوجوهات متناسقة وتتضح ألوانها عند الـ hover */
        transition: filter 0.3s ease;
    }

.client-card:hover .logo-box img {
    filter: grayscale(0%);
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* أنيميشن التحريك السلس لليمين/اليسار */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%); /* يتحرك نصف العرض المتكرر */
    }
}

/* دعم الاتجاه العربي RTL */
[dir="rtl"] .marquee-content {
    animation: marquee-scroll-rtl 25s linear infinite;
}

@keyframes marquee-scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}
.herocoversection {
    /* Ensure the background image covers the entire container without stretching */
    background-position: center center;
    /* Give the section enough height to display the image content */
    min-height: 500px; /* Adjust height based on your layout requirements */
    width: 100%;
    /* Centering overlay text inside the section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg-image) center/cover no-repeat;
    color: #ffffff; /* Switch text color to light for better accessibility */
}
/* ==========================================================================
           6. VISION, MISSION & VALUES
           ========================================================================== */
.vmv-card {
    background-color: #ffffff;
    border-radius: 8px;
    border-top: 4px solid var(--primary-dark); /* Gives border-top-color a base to animate from */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    /* Smooth transition for hover effects */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    /* Hover state */
    .vmv-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border-top-color: var(--accent-gold) !important; /* Ensure override over Bootstrap defaults */
    }

    .vmv-card h3 {
        color: var(--primary-navy);
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .vmv-card p {
        color: var(--text-muted);
        font-size: 0.95rem;
    }
