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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== LOGO ========== */
.logo-img {
    height: 48px;
    width: auto;
}

/* ========== NAVBAR ========== */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links li a {
    font-size: 14px;
    font-weight: 500;
}
.nav-links li a:hover {
    color: #b91c1c;
}
.btn-nav {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #b91c1c;
    color: #b91c1c;
}
.btn-nav:hover {
    background: #b91c1c;
    color: #ffffff;
}

#nav-toggle {
    display: none;
}
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.burger span {
    width: 20px;
    height: 2px;
    background: #111827;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 520px;
    background: url("../images/hero.webp") no-repeat center center/cover;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.hero-inner {
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    color: #fff;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-text p {
    color: #e5e7eb;
    font-size: 15px;
    margin-bottom: 20px;
}
.hero-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 14px;
}
.hero-actions {
    display: flex;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #b91c1c;
    color: #fff;
}
.btn-primary:hover {
    background: #991b1b;
}
.btn-secondary {
    background: rgba(255,255,255,0.2);
    border: 1px solid #fff;
    color: #fff;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}
.btn-primary.full {
    width: 100%;
}

/* ========== HERO ANIMATION ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SECTIONS GENERIC ========== */
.section {
    padding: 60px 0;
}
.section-head {
    text-align: center;
    margin-bottom: 32px;
}
.section-head h2 {
    font-size: 24px;
    margin-bottom: 6px;
}
.section-head p {
    font-size: 14px;
    color: #6b7280;
}
.bg-light {
    background: #f9fafb;
}
.mt-30 {
    margin-top: 30px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* CARDS */
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    transition: .18s ease-out;
}
.card:hover {
    border-color: #b91c1c;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

/* SERVICES */
.service-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.service-sub {
    display: block;
    font-size: 12px;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 10px;
}
.service-card ul {
    margin-left: 18px;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}
.about-grid p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 14px;
}
.about-stats strong {
    display: block;
    font-size: 18px;
}
.about-stats span {
    font-size: 12px;
    color: #6b7280;
}
.about-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
}
.check-list {
    list-style: none;
    margin-top: 10px;
    font-size: 14px;
    color: #4b5563;
}
.check-list li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}
.check-list li::before {
    content: "•";
    color: #b91c1c;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* CASE RESULTS */
.case-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.case-card p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 8px;
}
.case-card ul {
    margin-left: 18px;
    font-size: 13px;
    color: #4b5563;
}

/* TESTIMONIALS */
.testimonial-card {
    position: relative;
}
.testimonial-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* BLOG / INSIGHTS */
.blog-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.blog-card p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 10px;
}
.blog-card a {
    font-size: 13px;
    font-weight: 500;
    color: #b91c1c;
}
.badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: #fef2f2;
    color: #b91c1c;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.faq-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}
.faq-card p {
    font-size: 13px;
    color: #4b5563;
}

/* TEAM */
.team-card {
    text-align: left;
}
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.team-role {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}
.team-card p {
    font-size: 13px;
    color: #4b5563;
}

/* CONTACT */
.contact-section {
    background: #111827;
    color: #e5e7eb;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}
.contact-section h2 {
    color: #f9fafb;
    margin-bottom: 10px;
}
.contact-section p {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 14px;
}
.contact-list {
    list-style: none;
    font-size: 14px;
}
.contact-list li {
    margin-bottom: 6px;
}
.contact-card {
    background: #111827;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #374151;
}
.contact-card form label {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}
.contact-card input,
.contact-card textarea {
    width: 100%;
    margin-top: 4px;
    padding: 7px 9px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    outline: none;
}
.contact-card input:focus,
.contact-card textarea:focus {
    border-color: #f97373;
}

/* FOOTER */
.footer {
    background: #020617;
    color: #9ca3af;
    padding: 28px 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}
.footer-left p {
    font-size: 13px;
    margin-top: 6px;
}
.footer-mid h4,
.footer-right h4 {
    font-size: 14px;
    color: #e5e7eb;
    margin-bottom: 8px;
}
.footer-mid ul,
.footer-right ul {
    list-style: none;
    font-size: 13px;
}
.footer-mid li,
.footer-right li {
    margin-bottom: 4px;
}
.footer-mid a,
.footer-right a {
    color: #9ca3af;
}
.footer-mid a:hover,
.footer-right a:hover {
    color: #f97373;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #22c55e;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.5);
    z-index: 999;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        height: 420px;
    }
    .hero-text h1 {
        font-size: 30px;
    }
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .about-grid,
    .contact-grid,
    .faq-grid,
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 16px;
        top: 56px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 20px 40px rgba(15,23,42,0.18);
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
        min-width: 190px;
        display: none;
    }
    #nav-toggle:checked + .burger + .nav-links {
        display: flex;
    }
    .burger {
        display: flex;
    }
}


/* MOBILE DRAWER FIXES */
@media(max-width:768px){
 .logo{padding-left:12px;}
 .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    width:70%;
    height:100%;
    background:#fff;
    flex-direction:column;
    padding-top:20px;
    gap:20px;
    box-shadow:-4px 0 20px rgba(0,0,0,0.25);
    transition:0.35s ease;
    z-index:9999;
 }
 #nav-toggle:checked + .burger + .nav-links{right:0;}
 .burger{display:flex;flex-direction:column;gap:6px;cursor:pointer;transform:scale(1.4);}
 .burger span{height:3px;width:26px;background:#000;border-radius:2px;}
 .drawer-logo{text-align:center;width:100%;margin-bottom:10px;}
 .drawer-logo-img{height:55px;}
}
#menu-overlay{
 display:none;
 position:fixed;
 inset:0;
 background:rgba(0,0,0,0.4);
 z-index:9998;
}
#nav-toggle:checked ~ #menu-overlay{
 display:block;
}
/* Hide drawer logo on desktop */
.drawer-logo {
    display: none;
}
@media (max-width: 768px) {

    .drawer-logo {
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }

    .drawer-logo-img {
        height: 42px;
        width: auto;
    }
}
@media (max-width: 768px) {
    nav .logo {
        margin-top: 6px; /* النزول للأسفل */
    }
}
@media (max-width: 768px) {
    .burger {
        margin-right: 4px; /* قربه لليسار */
    }
}
/* WhatsApp Banner Bubble */
.wa-banner {
    position: fixed;
    bottom: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    background: #222;
    padding: 10px 16px;
    border-radius: 9px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    text-decoration: none;
    z-index: 99999;
    color: #fff;
    gap: 12px;
}

/* Avatar Section */
.wa-avatar-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wa-avatar {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

/* WhatsApp small icon */
.wa-icon {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.wa-icon img {
    width: 14px;
    height: 14px;
}

/* Box Content */
.wa-box {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.25;
}

.wa-title {
    font-size: 14px;
    font-weight: 600;
}

.wa-online {
    background: #22c55e;
    padding: 2px 8px;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    margin: 5px 0;
    width: fit-content;
}

.wa-text {
    font-size: 13px;
    color: #f1f1f1;
}
