/* General Styles & Resets */
:root {
    --primary-blue: #0A2463; /* كحلي داكن */
    --secondary-gold: #FFD700; /* ذهبي */
    --light-gray: #F8F8F8;
    --dark-gray: #333;
    --text-color: #555;
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif; /* خط عربي */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl; /* الافتراضي للعربية فقط */
    text-align: right; /* الافتراضي للعربية فقط */
}

/* تم إزالة Override for English content */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تم إزالة Utility Class for Language Switching (.hidden) - لن نحتاجها هنا */

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px; /* حجم الشعار */
    width: auto;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav .nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: var(--secondary-gold);
}

/* تم إزالة Language Toggle Button CSS */

/* Hero Section */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary-gold);
    color: var(--primary-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--secondary-gold);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-gold);
    transform: translateY(-3px);
}

.btn-small {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.btn-small:hover {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Section Styling */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-gold);
    border-radius: 2px;
}

/* About Us Section */
.about-us {
    background-color: var(--light-gray);
}

.about-us p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 20px auto;
}

.about-us strong {
    color: var(--dark-gray);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.service-cards .card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    width: calc(33% - 30px); /* 3 cards per row with gap */
    min-width: 300px; /* Minimum width for cards */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-cards .card h3 {
    color: var(--primary-blue);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.service-cards .card p {
    font-size: 1em;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 40px 0;
    font-size: 0.9em;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--secondary-gold);
}

/* Responsive Design (Media Queries) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8em;
    }
    .hero p {
        font-size: 1.2em;
    }
    .service-cards .card {
        width: calc(50% - 30px); /* 2 cards per row */
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    nav .nav-links li {
        width: 100%;
        text-align: center;
    }
    .hero {
        padding: 80px 20px;
    }
    .hero h1 {
        font-size: 2.2em;
    }
    .hero p {
        font-size: 1.1em;
    }
    section {
        padding: 60px 0;
    }
    section h2 {
        font-size: 2em;
    }
    .service-cards .card {
        width: 90%; /* 1 card per row */
        max-width: 400px; /* Limit width on very small screens */
    }
    footer ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 50px;
    }
    .hero h1 {
        font-size: 1.8em;
    }
    .hero p {
        font-size: 1em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    section h2 {
        font-size: 1.8em;
    }
    .about-us p {
        font-size: 1em;
    }
}

/* تم إزالة RTL Adjustments for LTR content */