/* ===== Brand Tokens ===== */
:root {
    --navy: #0f1a2e;
    --navy-light: #162038;
    --gold: #b8922f;
    --gold-light: #d4ad42;
    --white: #ffffff;
    --gray-50: #f7f8fa;
    --gray-100: #eef0f3;
    --gray-300: #c8cdd6;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #1a1d23;
    --font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
    --font-ar: "Amiri", "IBM Plex Sans Arabic", serif;
}

body {
    font-family: var(--font);
    color: var(--gray-700);
    background: var(--white);
}

/* ===== Navbar ===== */
.navbar {
    background: var(--navy) !important;
    padding: 0;
    min-height: 64px;
}

.navbar .container {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 20px 16px !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
}

/* ===== Hero ===== */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 146, 47, 0.3), transparent);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--white);
}

.hero .subtitle-ar {
    font-family: var(--font-ar);
    color: var(--gold-light);
    direction: rtl;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero .btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
}

.hero .btn-gold:hover {
    background: var(--gold-light);
    color: var(--white);
}

.hero .btn-outline-light {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 4px;
}

/* Hero logo */
.hero-logo-wrap {
    text-align: center;
}

.hero-logo-wrap img {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ===== Sections ===== */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-sub {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 32px 28px;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.section-alt .service-card {
    background: var(--white);
}

.service-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card .card-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--navy);
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 8px 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.2;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    margin-top: 4px;
}

/* ===== CTA Strip ===== */
.cta-strip {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 48px 0;
    text-align: center;
}

.cta-strip h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.cta-strip p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.cta-strip .btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
}

.cta-strip .btn-gold:hover {
    background: var(--gold-light);
    color: var(--white);
}

/* ===== Page Header ===== */
.page-header-bar {
    background: var(--navy);
    padding: 48px 0 40px;
    color: var(--white);
}

.page-header-bar h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-header-bar p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

.page-header-bar .ar-tag {
    font-family: var(--font-ar);
    color: var(--gold-light);
    direction: rtl;
    font-size: 0.95rem;
}

/* ===== Services Page Detail ===== */
.service-detail {
    border-bottom: 1px solid var(--gray-100);
    padding: 40px 0;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-detail p {
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 640px;
}

/* ===== About ===== */
.about-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 12px;
}

.about-body h2:first-child { margin-top: 0; }

.about-body p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight {
    background: var(--gray-50);
    border-left: 3px solid var(--gold);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 6px 6px 0;
}

.about-highlight p {
    font-family: var(--font-ar);
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    direction: rtl;
}

.about-highlight .en {
    font-family: var(--font);
    direction: ltr;
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 560px;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.contact-form .form-control {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: var(--font);
    color: var(--gray-700);
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(184, 146, 47, 0.15);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
}

.contact-form .btn-gold:hover {
    background: var(--gold-light);
    color: var(--white);
}

/* ===== Footer ===== */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 56px 0 0;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-ar {
    font-family: var(--font-ar);
    color: var(--gold-light);
    direction: rtl;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li { margin-bottom: 8px; }

.footer-list a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
}

.footer-list a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero-logo-wrap img { max-width: 200px; }
    .section { padding: 48px 0; }
    .stats-bar .col { margin-bottom: 16px; }
}
