/* Sheik Fawzi visual refresh: navy, ivory, emerald and gold */
:root {
    --sf-navy: #0d2137;
    --sf-navy-soft: #173653;
    --sf-ivory: #fbfaf6;
    --sf-ivory-deep: #f1eee5;
    --sf-emerald: #1f6f5b;
    --sf-emerald-dark: #155344;
    --sf-gold: #c69a4b;
    --sf-gold-light: #e2c98e;
    --sf-ink: #243342;
    --sf-muted: #687787;
    --sf-radius: 16px;
    --sf-shadow: 0 14px 40px rgba(13, 33, 55, .10);
}

html { scroll-behavior: smooth; }
body {
    background: var(--sf-ivory);
    color: var(--sf-ink);
    font-family: "Tajawal", "Noto Kufi Arabic", "Arial", sans-serif;
}

#topbar {
    background: var(--sf-navy) !important;
    color: #fff;
    border-bottom: 1px solid rgba(226, 201, 142, .35);
}
#topbar a, #topbar .contact-info, #topbar .social-links a { color: #f7f2e6 !important; }

#header {
    background: rgba(251, 250, 246, .96) !important;
    box-shadow: 0 8px 25px rgba(13, 33, 55, .08);
    border-bottom: 1px solid rgba(198, 154, 75, .20);
    backdrop-filter: blur(12px);
    transition: box-shadow .25s ease, background .25s ease;
}
#header .logo img { max-height: 58px; width: auto; }
#header .navbar a, #header .navbar a:focus {
    color: var(--sf-navy) !important;
    font-weight: 700;
    letter-spacing: .1px;
}
#header .navbar a:hover, #header .navbar .active,
#header .navbar li:hover > a { color: var(--sf-emerald) !important; }
#header .navbar .dropdown ul {
    border-top: 3px solid var(--sf-gold);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--sf-shadow);
    background: #fff;
}

#hero, .hero, .slider-area {
    background-color: var(--sf-navy);
}
#hero .carousel-item::before { background: linear-gradient(90deg, rgba(13,33,55,.84), rgba(13,33,55,.38)) !important; }
#hero h1, #hero h2, #hero h3, #hero p { text-shadow: 0 3px 18px rgba(0,0,0,.25); }

.section-title h2 {
    color: var(--sf-navy) !important;
    font-weight: 800;
    letter-spacing: -.3px;
}
.section-title h2::before, .section-title h2::after { background: var(--sf-gold) !important; }
.section-bg { background: var(--sf-ivory-deep) !important; }

.card, .service-box, .services .icon-box, .blog .card, .post-box,
.testimonials .testimonial-item, .staff .member, .contact .info {
    border: 1px solid rgba(13, 33, 55, .08) !important;
    border-radius: var(--sf-radius) !important;
    box-shadow: var(--sf-shadow);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .service-box:hover, .services .icon-box:hover, .blog .card:hover,
.post-box:hover, .staff .member:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(13,33,55,.15); }
.card-title, .post-title, .staff .member h4, .widget-title { color: var(--sf-navy) !important; font-weight: 800; }
.card-text, .post-content, .text-muted { color: var(--sf-muted) !important; }

.btn-theme, .btn-primary, .btn-secondary, .back-to-top {
    background: var(--sf-emerald) !important;
    border-color: var(--sf-emerald) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding-inline: 1.35rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(31,111,91,.20);
}
.btn-theme:hover, .btn-primary:hover, .btn-secondary:hover, .back-to-top:hover {
    background: var(--sf-navy) !important;
    border-color: var(--sf-navy) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
.read-more-link, a { color: var(--sf-emerald); }
a:hover { color: var(--sf-gold) !important; }

.form-control, .form-select {
    border: 1px solid rgba(13,33,55,.16) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--sf-ink) !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--sf-gold) !important;
    box-shadow: 0 0 0 .22rem rgba(198,154,75,.18) !important;
}

.breadcrumbs { background: var(--sf-ivory-deep) !important; border-bottom: 1px solid rgba(198,154,75,.18); }
.sidebar-list .list-group-item.active, .sidebar-list .list-group .active { background: var(--sf-emerald) !important; border-color: var(--sf-emerald) !important; color: #fff !important; }

#footer { background: var(--sf-navy) !important; color: #dfe8ed; }
#footer .footer-title h4 { color: var(--sf-gold-light) !important; font-weight: 800; }
#footer a, #footer .footer-links ul a { color: #eef3f1 !important; }
#footer a:hover, #footer .footer-links ul a:hover { color: var(--sf-gold-light) !important; }
#footer .footer-bottom { background: rgba(0,0,0,.18) !important; border-top: 1px solid rgba(226,201,142,.20); }

.whatsapp_float { background: var(--sf-emerald) !important; box-shadow: 0 10px 25px rgba(31,111,91,.28); }

@media (max-width: 767px) {
    #header .logo img { max-height: 48px; }
    .section-title h2 { font-size: 1.55rem; }
    .card, .service-box, .services .icon-box, .blog .card, .post-box { border-radius: 12px !important; }
}

.splash_preview { width: 100%; height: 500px; position: relative; border: 4px solid var(--sf-navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.dark .mode.light-img { display:none; }
.dark .mode.dark-img { display:block; }
.dark #loading-center { background-image: url(../images/dark-loader.gif); }

/* Structural layout additions */
.sf-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.sf-brand-lockup { display: inline-flex !important; align-items: center; gap: .75rem; text-decoration: none !important; }
.sf-brand-caption { color: var(--sf-navy); font-size: .92rem; font-weight: 800; line-height: 1.2; max-width: 180px; }
.sf-nav-shell { display: flex; align-items: center; justify-content: flex-end; }
.sf-site-header { z-index: 1000; }
.sf-site-header .navbar { margin-inline-start: auto; }
.sf-site-footer { border-top: 5px solid var(--sf-gold) !important; }
.sf-site-footer .footer-top { padding-top: 3.25rem; padding-bottom: 2.25rem; }
.sf-site-footer .footer-links h4 { position: relative; padding-bottom: .7rem; }
.sf-site-footer .footer-links h4::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42px; height: 3px; border-radius: 4px; background: var(--sf-gold); }
.sf-site-footer .footer-links ul { padding-right: 0; }
@media (max-width: 991px) {
    .sf-header-inner { min-height: 68px; }
    .sf-brand-caption { display: none; }
    .sf-nav-shell { margin-inline-start: auto; }
}