@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #004b87;
    --secondary-color: #c5a059;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-family: 'Tajawal', sans-serif;
}

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

body {
    font-family: var(--font-family);
    direction: rtl;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; margin-bottom: 15px; }
p { margin-bottom: 15px; }
a { text-decoration: none; color: var(--primary-color); transition: color .3s ease; }
a:hover { color: var(--secondary-color); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 700;
    font-family: var(--font-family);
    transition: background-color .3s ease, transform .2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn:hover { background-color: #003a6e; color: var(--text-light); transform: translateY(-2px); }
.btn-secondary { background-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #a88840; color: var(--text-light); }
.btn-large { padding: 15px 40px; font-size: 1.1rem; }

/* Section Title */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.4rem; color: var(--primary-color); }
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-title p { color: #666; font-size: 1.1rem; margin-top: 10px; }

/* ── Top Bar ── */
.top-bar {
    background-color: #002244;
    color: #e0e0e0;
    font-size: 0.85rem;
    padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a { color: #e0e0e0; display: flex; align-items: center; gap: 5px; transition: color .3s; }
.top-bar-social a:hover { color: var(--secondary-color); }

/* ── Header ── */
header {
    background-color: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 70px; max-width: 200px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; border-right: 3px solid var(--secondary-color); padding-right: 14px; }
.brand-name { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); line-height: 1.2; }
.brand-sub { font-size: 0.78rem; color: var(--secondary-color); font-weight: 600; }

.mobile-menu-btn { display: none; font-size: 1.5rem; color: var(--primary-color); background: none; border: none; cursor: pointer; }

nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
nav a { color: var(--text-dark); font-weight: 600; font-size: 1rem; position: relative; padding: 5px 0; }
nav a:not(.btn)::after {
    content: ''; position: absolute; bottom: -2px; right: 0;
    width: 0; height: 2px; background-color: var(--primary-color); transition: width .3s;
}
nav a:not(.btn):hover::after, nav a:not(.btn).active::after { width: 100%; }
nav a.btn { border-radius: 30px; padding: 9px 22px; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom right, rgba(0,75,135,0.82) 30%, rgba(197,160,89,0.75) 100%),
                url('../images/ak8a8epeekwy.png') center/cover no-repeat;
    z-index: 0;
    animation: heroZoom 16s infinite alternate ease-in-out;
}
.hero .container { position: relative; z-index: 1; padding: 80px 0; }

@keyframes heroZoom {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-15px, -10px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: 3.2rem; margin-bottom: 20px; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); animation: fadeInUp .8s ease-out forwards; }
.hero p { font-size: 1.4rem; margin-bottom: 30px; opacity: 0; text-shadow: 1px 1px 3px rgba(0,0,0,0.4); animation: fadeInUp .8s ease-out .2s forwards; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; opacity: 0; animation: fadeInUp .8s ease-out .3s forwards; }
.hero-badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: .9rem; font-weight: 600; backdrop-filter: blur(4px); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeInUp .8s ease-out .4s forwards; }

/* ── Stats Strip ── */
.stats-strip { background-color: var(--primary-color); color: #fff; padding: 30px 0; }
.stats-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-item { text-align: center; border-left: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-left: none; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--secondary-color); line-height: 1; }
.stat-label { font-size: .95rem; opacity: .85; margin-top: 6px; }

/* ── Features ── */
.features { padding: 80px 0; background-color: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 30px; }
.feature-card {
    padding: 30px 25px;
    border-radius: 12px;
    background-color: var(--bg-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    border-top: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,75,135,0.12); border-top-color: var(--secondary-color); }
.feature-icon { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 15px; display: block; }
.feature-card h3 { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: #555; font-size: .95rem; margin: 0; }

/* ── Services ── */
.services { padding: 80px 0; background-color: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 30px; }
.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 15px 35px rgba(0,75,135,0.15); }
.service-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.service-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,75,135,0.6), transparent);
}
.service-content { padding: 25px; }
.service-content h3 { color: var(--primary-color); font-size: 1.25rem; margin-bottom: 10px; }
.service-content p { color: #555; font-size: .95rem; line-height: 1.7; margin-bottom: 15px; }
.service-link { color: var(--secondary-color); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.service-link:hover { color: var(--primary-color); gap: 10px; }

/* ── About ── */
.about { padding: 80px 0; background-color: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 2rem; color: var(--primary-color); }
.about-text p { color: #555; font-size: 1rem; line-height: 1.8; }
.about-list { list-style: none; margin: 15px 0; }
.about-list li { padding: 8px 0 8px 0; color: #444; font-size: 1rem; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px dashed #eee; }
.about-list li::before { content: '✦'; color: var(--secondary-color); flex-shrink: 0; }
.about-image img { width: 100%; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,75,135,0.12); object-fit: cover; }

/* ── CTA ── */
.cta { background-color: var(--primary-color); color: var(--text-light); padding: 70px 0; text-align: center; }
.cta h2 { font-size: 2.3rem; margin-bottom: 16px; }
.cta p { font-size: 1.15rem; opacity: .9; margin-bottom: 30px; }

/* ── Contact ── */
.contact { padding: 80px 0; background-color: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 30px; }
.contact-card { background: var(--bg-white); border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.contact-card .icon { font-size: 2rem; color: var(--secondary-color); margin-bottom: 12px; display: block; }
.contact-card h3 { color: var(--primary-color); margin-bottom: 8px; }
.contact-card a { color: #555; font-size: 1rem; }
.contact-card a:hover { color: var(--secondary-color); }

/* ── Footer ── */
footer { background-color: #001a33; color: #ccc; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--text-light); margin-bottom: 20px; font-size: 1.1rem; border-bottom: 2px solid var(--secondary-color); padding-bottom: 8px; display: inline-block; }
.footer-col p { font-size: .9rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; font-size: .95rem; transition: color .3s, padding .3s; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-right: 5px; }
.contact-info li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.contact-info li svg { color: var(--secondary-color); flex-shrink: 0; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: .85rem; color: #999; }
.copyright a { color: var(--secondary-color); }

/* ── Floating WhatsApp & Call ── */
.float-actions { position: fixed; bottom: 30px; left: 25px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.float-btn.whatsapp { background-color: #25d366; color: #fff; }
.float-btn.call { background-color: var(--primary-color); color: #fff; font-size: 1.3rem; }

/* ── Service Page ── */
.service-page-hero {
    background: linear-gradient(to bottom right, rgba(0,75,135,0.88) 30%, rgba(197,160,89,0.7) 100%),
                #004b87;
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
}
.service-page-hero h1 { font-size: 2.8rem; margin-bottom: 16px; animation: fadeInUp .7s ease-out forwards; }
.service-page-hero p { font-size: 1.2rem; opacity: .9; max-width: 650px; margin: 0 auto 30px; animation: fadeInUp .7s ease-out .2s forwards; opacity: 0; }
.service-page-hero .hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeInUp .7s ease-out .35s forwards; opacity: 0; }

.service-body { padding: 70px 0; background-color: var(--bg-white); }
.service-body h2 { font-size: 1.9rem; color: var(--primary-color); border-right: 5px solid var(--secondary-color); padding-right: 16px; margin-bottom: 20px; }
.service-body h3 { font-size: 1.4rem; color: var(--primary-color); margin: 30px 0 12px; }
.service-body p, .service-body li { color: #555; font-size: 1rem; line-height: 1.85; }
.service-body ul { list-style: none; margin: 0 0 20px; padding: 0; }
.service-body ul li { padding: 10px 0; border-bottom: 1px dashed #ddd; padding-right: 20px; position: relative; }
.service-body ul li::before { content: '✦'; color: var(--secondary-color); position: absolute; right: 0; }

.faq-item { background: var(--bg-light); border-radius: 10px; margin-bottom: 12px; border: 1px solid #eee; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; color: var(--primary-color); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--secondary-color); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 16px; color: #555; font-size: .95rem; }

.service-cta-box { background: linear-gradient(135deg, var(--primary-color), #003a6e); color: #fff; border-radius: 14px; padding: 35px; text-align: center; margin-top: 40px; }
.service-cta-box p { font-size: 1.05rem; opacity: .9; margin-bottom: 20px; }
.service-cta-box a { color: var(--secondary-color); font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .location-hide { display: none !important; }
    .top-bar-info { gap: 12px; font-size: .78rem; }

    .mobile-menu-btn { display: block; }
    nav { display: none; width: 100%; background: var(--bg-white); padding: 18px 0; border-top: 1px solid #eee; position: absolute; top: 100%; left: 0; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: center; gap: 15px; }
    header { position: relative; }

    .logo-img { height: 55px; }
    .brand-name { font-size: 1.1rem; }
    .brand-sub { font-size: .65rem; }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }

    .stats-strip .container { grid-template-columns: 1fr; }
    .stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; }
    .stat-item:last-child { border-bottom: none; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { display: none; }

    .service-page-hero h1 { font-size: 2rem; }
}
