/* ========== الأساسيات ========== */
:root {
    --navy: #0b1e3d;
    --gold: #d4af37;
    --gold-light: #f0d78c;
    --white: #ffffff;
    --light-bg: #f4f6fb;
    --text: #2c3e50;
    --gray: #7f8c8d;
    --font: 'Tajawal', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    direction: rtl;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
a {
    text-decoration: none;
}

/* ========== شريط علوي ========== */
.top-line {
    background: #05142b;
    padding: 8px 0;
    font-size: 0.9rem;
}
.top-line .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-line a {
    color: white;
}
.whatsapp {
    background: #25D366;
    padding: 4px 14px;
    border-radius: 20px;
}

/* ========== هيدر ========== */
.site-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    color: var(--navy);
}
.brand i {
    font-size: 2rem;
    color: var(--gold);
    margin-left: 8px;
}
.brand span {
    font-size: 1.6rem;
    font-weight: 900;
}
.brand small {
    display: block;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 500;
}

/* زر الهامبرغر */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}
.main-nav a {
    color: var(--text);
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
}
.main-nav a.active,
.main-nav a:hover {
    color: var(--gold);
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: 1;
        padding: 12px;
    }
    .brand {
        order: 0;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: max-height 0.4s ease-in-out, padding 0.2s ease;
        z-index: 999;
        border-radius: 0 0 20px 20px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
    }
    .main-nav.show {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
    }
    .main-nav a {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid #eee;
        font-size: 1.15rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    /* تحسين الأزرار للمس */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* تحسين البطاقات للمس */
    .service-card, .review-card, .blog-card {
        padding: 25px 20px;
    }
    
    /* تحسين الأزرار الثابتة */
    .fixed-buttons {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }
    .btn-call, .btn-whatsapp {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
}

/* ========== الهيرو ========== */
.hero-banner {
    background: linear-gradient(105deg, #f8f9fd 0%, #eef1f8 100%);
    padding: 60px 0;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1 1 450px;
}
.tag {
    background: rgba(212,175,55,0.15);
    color: var(--navy);
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.hero-text h1 {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--navy);
}
.gold {
    color: var(--gold);
}
.hero-text p {
    font-size: 1.05rem;
    color: var(--gray);
    margin: 18px 0 30px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 0.95rem;
    cursor: pointer;
}
.btn.solid {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 20px rgba(212,175,55,0.4);
    border: none;
}
.btn.solid:hover {
    background: #b8962d;
    transform: translateY(-2px);
}
.btn.outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn.outline:hover {
    background: var(--navy);
    color: white;
}
.hero-image {
    flex: 1 1 320px;
}
.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.1);
}

/* تحسينات الجوال */
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 0;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 0.95rem;
    }
    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

/* ========== ميزات سريعة ========== */
.quick-features {
    background: white;
    padding: 45px 0;
    margin-top: -35px;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.quick-features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    text-align: center;
}
.qf-item i {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.qf-item strong {
    display: block;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 5px;
}
.qf-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========== أقسام عامة ========== */
.section {
    padding: 90px 0;
}
.section-heading {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 55px;
}
.section-heading span {
    color: var(--gold);
}
.section-heading.small {
    font-size: 2rem;
    margin-bottom: 40px;
}

/* ========== خدمات ========== */
.services-section {
    background: var(--light-bg);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.service-card {
    background: white;
    border-radius: 22px;
    padding: 38px 28px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.service-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.icon-wrap {
    width: 78px;
    height: 78px;
    background: rgba(212,175,55,0.1);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: var(--gold);
}
.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--navy);
}
.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== عن الشركة ========== */
.about-section {
    padding: 100px 0;
}
.about-block {
    display: flex;
    align-items: center;
    gap: 65px;
    flex-wrap: wrap;
}
.about-graphic {
    flex: 1 1 420px;
    position: relative;
}
.about-graphic img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.stat-badge {
    position: absolute;
    bottom: -25px;
    left: 25px;
    background: var(--gold);
    color: var(--navy);
    padding: 22px 28px;
    border-radius: 18px;
    font-weight: 900;
    font-size: 2.1rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(212,175,55,0.45);
}
.stat-badge span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}
.about-details {
    flex: 1 1 420px;
}
.pre-title {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}
.about-details h2 {
    font-size: 2.35rem;
    margin: 12px 0 22px;
    color: var(--navy);
}
.check-list {
    list-style: none;
    margin: 28px 0;
}
.check-list li {
    margin-bottom: 14px;
    font-size: 1.02rem;
}
.check-list i {
    color: var(--gold);
    margin-left: 12px;
}

/* ========== آراء العملاء ========== */
.reviews-section {
    background: #f0f2f7;
    padding: 90px 0;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.review-card {
    background: white;
    border-radius: 22px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.stars {
    color: var(--gold);
    font-size: 1.35rem;
    margin-bottom: 18px;
}
.review-card p {
    font-style: italic;
    margin-bottom: 18px;
    color: var(--text);
}
.review-card strong {
    color: var(--navy);
    font-weight: 700;
}

/* ========== تواصل ========== */
.contact-section {
    padding: 90px 0;
}
.contact-flex {
    display: flex;
    gap: 55px;
    flex-wrap: wrap;
}
.contact-form-side {
    flex: 1 1 420px;
}
.contact-form-side .section-heading {
    text-align: right;
    margin-bottom: 18px;
}
.input-group {
    position: relative;
    margin-bottom: 22px;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 16px 50px 16px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    font-family: var(--font);
    background: #fafafa;
    transition: 0.3s;
    font-size: 1rem;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--gold);
    background: white;
    outline: none;
}
.input-group i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.1rem;
}
.input-group textarea {
    min-height: 130px;
    resize: vertical;
}
.full-width {
    width: 100%;
    justify-content: center;
}

/* معلومات التواصل */
.contact-info-side {
    flex: 1 1 320px;
    background: var(--navy);
    border-radius: 32px;
    padding: 42px 32px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-info-side h3 {
    font-size: 1.9rem;
    margin-bottom: 12px;
}
.info-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.1);
    padding: 22px;
    border-radius: 18px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}
.info-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}
.info-card i {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--gold);
}
.info-card span {
    font-weight: 700;
    font-size: 1.25rem;
}
.info-card small {
    color: #ccc;
    font-size: 0.85rem;
}
.whatsapp-card {
    background: #25D366;
}
.whatsapp-card i {
    color: white;
}

/* ========== فوتر ========== */
.site-footer {
    background: #05142b;
    color: #aaa;
    text-align: center;
    padding: 32px 0;
    font-size: 0.9rem;
}
.site-footer p {
    margin-bottom: 8px;
}
.site-footer strong {
    color: var(--gold-light);
}

/* ========== أزرار ثابتة ========== */
.fixed-buttons {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}
.btn-call, .btn-whatsapp {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
    text-decoration: none;
}
.btn-call {
    background-color: #007bff;
}
.btn-whatsapp {
    background-color: #25D366;
}
.btn-call:hover, .btn-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 22px;
        left: 22px;
        gap: 13px;
    }
    .btn-call, .btn-whatsapp {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

/* ========== صفحات إضافية ========== */
.page-hero {
    background: linear-gradient(105deg, #0b1e3d 0%, #1a3a5f 100%);
    color: white;
    padding: 70px 0 55px;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========== تحسينات تجربة المستخدم على الجوال ========== */
@media (max-width: 768px) {
    /* تحسين الأزرار للمس */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* تحسين البطاقات للمس */
    .service-card, .review-card, .blog-card {
        padding: 25px 20px;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* تحسين الأزرار الثابتة */
    .fixed-buttons {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }
    .btn-call, .btn-whatsapp {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* تحسين النماذج للمس */
    .input-group input,
    .input-group select,
    .input-group textarea {
        font-size: 16px;
        padding: 16px 50px 16px 18px;
    }
    
    /* تحسين تجربة التمرير */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* تحسين الروابط للمس */
    a {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }
    
    /* تحسين العناوين للجوال */
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-heading {
        font-size: 2rem;
    }
}

/* بطاقات مناطق */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.area-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-right: 5px solid var(--gold);
}
.area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.area-card h4 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.area-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* مدونة */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.blog-card:hover {
    transform: translateY(-8px);
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-content {
    padding: 26px;
}
.blog-content h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.blog-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.blog-meta {
    font-size: 0.85rem;
    color: #999;
}

/* FAQ */
.faq-section {
    background: #f8f9fd;
    padding: 80px 0;
}
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.faq-question {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--gold);
    transition: 0.3s;
}
.faq-item.active .faq-question::after {
    content: '−';
}
.faq-answer {
    padding: 0 28px 22px;
    color: var(--gray);
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}

/* نموذج الاتصال */
form {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}