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

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FEFCF5;
    color: #1e2a3e;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* الألوان */
:root {
    --gold: #D4AF37;
    --gold-dark: #B5902B;
    --gold-light: #F5E7B2;
    --dark-red: #8B1E2B;
    --dark-red-hover: #6E1621;
    --dark-blue: #0A2647;
    --dark-blue-soft: #1B3A5C;
    --white-smoke: #F8F9FA;
    --transition-default: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e0e0e0;
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.bg-gold { background-color: var(--gold) !important; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }
.bg-dark-red { background-color: var(--dark-red) !important; }

.btn-gold {
    background: linear-gradient(95deg, var(--gold), #E4C15A);
    color: var(--dark-blue);
    font-weight: 800;
    border: none;
    transition: var(--transition-default);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5);
    color: #0A1C2F;
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    font-weight: 700;
    transition: var(--transition-default);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
}

/* Navbar */
.navbar {
    background: rgba(10, 38, 71, 0.95) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 12px 0;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
}
.logo-icon:hover { transform: scale(1.05); }
.navbar-brand {
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold), #FFE18A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.nav-link {
    font-weight: 700;
    margin: 0 8px;
    transition: 0.2s;
    color: #f0f0f0 !important;
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}
/* .nav-link:hover:after, .nav-link.active:after { width: 100%; } */
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}
.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,38,71,0.85) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.swiper-wrapper{
  position: relative;
}


.center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}
.slide-content h1 { font-size: 3.8rem; font-weight: 900; text-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.slide-content p { font-size: 1.3rem; max-width: 700px; margin: 20px auto; }
.swiper-button-next, .swiper-button-prev {
    color: var(--gold);
    background: rgba(0,0,0,0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--gold);
    color: var(--dark-blue);
}
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* Service Cards */
.service-card {
    background: white;
    border-radius: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 45px -15px rgba(0,0,0,0.2);
    border-color: var(--gold);
}
.service-icon {
    font-size: 3rem;
    background: linear-gradient(145deg, var(--gold), #C59B27);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--gold);
    margin-bottom: 1rem;
    transition: 0.2s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-title {
    font-weight: 800;
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
    color: var(--dark-red);
}

/* Branch Cards */
.branch-card {
    background: white;
    border-radius: 28px;
    border-right: 5px solid var(--gold);
    transition: var(--transition-default);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
}
.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

/* Contact Card (keeping for contact info only) & Statistics */
.contact-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
}
.contact-detail {
    font-size: 1.2rem;
    font-weight: 700;
    background: #f0f2f5;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0;
    direction: ltr;
}
.gold-border-bottom {
    border-bottom: 3px solid var(--gold);
    width: 100px;
    margin: 0.5rem auto 1.5rem;
}
/* Statistics Styling */
.stat-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    height: 100%;
    border-bottom: 4px solid var(--gold);
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-red);
    line-height: 1.2;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-top: 10px;
}

/* Footer */
footer { background: var(--dark-blue); color: #ddd; }
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1000;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.07);
    background: #20ba5a;
    color: white;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.icon-text { margin: 0 4px; }

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.3rem; }
    .slide-content p { font-size: 1rem; }
    .hero-slider { height: 85vh; margin-top: 65px; }
    .contact-detail { font-size: 0.95rem; padding: 8px 15px; }
    .navbar-brand { font-size: 1.6rem; }
    .stat-number { font-size: 2.2rem; }
}
@media (max-width: 576px) {
    .hero-slider { margin-top: 65px; }
    .slide-content h1 { font-size: 1.8rem; }
    .slide-content p { font-size: 0.9rem; }
    .service-title { font-size: 1.2rem; }
    .service-card { padding: 1.5rem; }
    .branch-card, .contact-card { padding: 1.5rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 26px; bottom: 15px; left: 15px; }
    .stat-number { font-size: 1.8rem; }
}