/* ==========================================================================
   1. Root Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #11223f;    /* الأزرق الملكي الداكن */
    --accent-color: #c99836;     /* الذهبي الفاخر */
    --accent-hover: #b08227;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(17, 34, 63, 0.15);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Section Header Typography */
.section-header {
    margin-bottom: 45px;
}

.sub-title {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(201, 152, 54, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.3;
}

.section-desc {
    max-width: 780px;
    margin: 15px auto 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-whatsapp-header {
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.88rem;
}

.btn-whatsapp-header:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==========================================================================
   2. Navbar Section
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile menu active state */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid #e2e8f0;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-actions .btn-whatsapp-header span {
        display: none;
    }
}

/* ==========================================================================
   3. Hero Section & Golden Shadow Typography
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 34, 63, 0.93) 0%, rgba(11, 20, 38, 0.85) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
    color: var(--white);
}

.hero-content .badge {
    display: inline-block;
    background: rgba(201, 152, 54, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* التنسيق الذهبي الاحترافي مع Drop Shadow للنصوص المطلوب تعديلها */
.golden-text-shadow {
    color: var(--accent-color) !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.75), 0 2px 25px rgba(201, 152, 54, 0.4);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-content p.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   4. Narrative About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-img-box {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 5px solid var(--accent-color);
}

[dir="ltr"] .experience-badge {
    right: auto;
    left: 20px;
    border-right: none;
    border-left: 5px solid var(--accent-color);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 700;
}

.narrative-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   5. Why Choose Us Section (قسم لماذا تختار مركزنا)
   ========================================================================== */
.why-us {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1426 100%);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 152, 54, 0.25);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-fast);
}

.why-us-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(201, 152, 54, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.why-us-icon {
    width: 65px;
    height: 65px;
    background: rgba(201, 152, 54, 0.15);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px auto;
    transition: var(--transition-fast);
}

.why-us-card:hover .why-us-icon {
    background: var(--accent-color);
    color: var(--white);
}

.why-us-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

.why-us-card p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   6. Services Section
   ========================================================================== */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
}

[dir="ltr"] .service-icon {
    right: auto;
    left: 25px;
}

.service-body h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 12px;
    font-weight: 800;
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Service Bullet Points Style */
.service-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 15px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-right: 22px;
    font-weight: 600;
}

[dir="ltr"] .service-list li {
    padding-right: 0;
    padding-left: 22px;
}

.service-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

[dir="ltr"] .service-list li::before {
    right: auto;
    left: 0;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

.icon-arrow {
    transition: var(--transition-fast);
}

[dir="ltr"] .icon-arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   7. Gallery Section
   ========================================================================== */
.gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(17, 34, 63, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.8rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
}

/* ==========================================================================
   8. Contact Section
   ========================================================================== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-info {
    padding: 50px;
}

.info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-box i {
    width: 45px;
    height: 45px;
    background: rgba(201, 152, 54, 0.1);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-box h5 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.info-box p, .info-box a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-box a:hover {
    color: var(--accent-color);
}

.contact-map {
    width: 100%;
    min-height: 400px;
}

/* ==========================================================================
   9. Floating WhatsApp & Footer
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-fast);
}

[dir="ltr"] .floating-whatsapp {
    left: auto;
    right: 30px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   10. Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p.hero-desc {
        font-size: 1.1rem;
    }
    
    .contact-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 30px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}