/* ===== صفاء قباء للمقاولات - تصميم فاخر Minimalist Light Luxury ===== */
/* الألوان: أزرق (#1D78B8) + أبيض/بيج فاتح - متوافق مع هوية الشعار */

/* ===== المتغيرات الأساسية ===== */
:root {
    --bg-primary: #F7F8F9;
    --bg-secondary: #EEF2F5;
    --blue: #1D78B8;
    --blue-light: #2E94D4;
    --blue-dark: #156299;
    --accent: #E67E22;
    --text-primary: #1A1E26;
    --text-secondary: #555555;
    --text-light: #888888;
    --white: #FFFFFF;
    --border: #D5DCE3;
    --shadow: rgba(29, 120, 184, 0.08);
    --shadow-hover: rgba(29, 120, 184, 0.15);
}

/* ===== إعادة التعيين ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Cairo', 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.9;
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== الخلفية المتحركة ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    background: var(--blue);
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: float1 20s ease-in-out infinite;
}

.bg-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float2 25s ease-in-out infinite;
}

.bg-shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, -50px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* ===== الهيدر ===== */
.header {
    background: linear-gradient(180deg,
        rgba(247, 248, 249, 0.92) 0%,
        rgba(247, 248, 249, 0.7) 70%,
        rgba(247, 248, 249, 0.4) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: none;
    box-shadow: 0 4px 30px rgba(29, 120, 184, 0.08);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
    border-radius: 50%;
    border: 3px solid var(--blue);
    padding: 3px;
    background: white;
    box-shadow: 0 2px 10px rgba(29, 120, 184, 0.2);
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ===== الهيرو Section ===== */
.hero {
    padding: 160px 30px 100px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #F39C12 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: white;
}

/* ===== الأقسام ===== */
.section {
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(29, 120, 184, 0.1);
    color: var(--blue);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== بطاقات الخدمات ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.service-images {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-main-img {
    transform: scale(1.05);
}

.service-thumbnails {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.thumb {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--white);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    transform: scale(1.1);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    width: 16px;
    height: 16px;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--blue);
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--blue);
    color: white;
}

.lightbox-prev {
    right: 30px;
}

.lightbox-next {
    left: 30px;
}

/* ===== الأقسام الفرعية للخدمات ===== */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.sub-service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.sub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.sub-service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sub-service-content {
    padding: 20px;
}

.sub-service-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sub-service-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== المحتوى للصفحات الفرعية ===== */
.page-content {
    padding: 140px 30px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}

.content-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.content-section h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.content-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.content-section ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
}

/* ===== معرض الصور ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== الفوتر ===== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 30px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--blue);
    text-decoration: none;
}

/* ===== الأزرار العائمة ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.call {
    background: var(--blue);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 20px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-images {
        height: 220px;
    }

    .page-content {
        padding: 120px 20px 50px;
    }

    .floating-buttons {
        bottom: 20px;
        left: 20px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .footer {
        padding: 40px 20px 20px;
    }
}

/* ===== تحسينات إضافية ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.feature-box {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    padding: 60px 30px;
    text-align: center;
    border-radius: 24px;
    margin: 60px auto;
    max-width: 1000px;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.cta-section .btn {
    background: white;
    color: var(--blue);
}

.cta-section .btn:hover {
    background: var(--bg-primary);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb span {
    color: var(--text-light);
}

/* ===== Internal Links ===== */
.internal-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--blue);
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--blue-dark);
    border-bottom-style: solid;
}

/* ===== Stats ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 3px 15px var(--shadow);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--blue);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Contact Info ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-card a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

/* ===== Statistics Section ===== */
.stats-section {
    padding: 60px 30px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-card:hover .stat-bg {
    opacity: 0.3;
}

.stat-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-suffix {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* ===== Why Us Section ===== */
.why-section {
    padding: 100px 30px;
    background: var(--bg-primary);
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #F39C12 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.why-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.why-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.why-card:hover .why-card-icon {
    transform: rotateY(180deg);
}

.why-card-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Process Section ===== */
.process-section {
    padding: 100px 30px;
    background: var(--bg-secondary);
}

.process-header {
    text-align: center;
    margin-bottom: 70px;
}

.process-badge {
    display: inline-block;
    background: rgba(29, 120, 184, 0.1);
    color: var(--blue);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.process-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.process-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(29, 120, 184, 0.3);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-arrow {
    position: absolute;
    top: 50%;
    left: -40px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.step-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -5px;
    border: 5px solid transparent;
    border-right-color: var(--blue);
}

/* ===== Areas Section ===== */
.areas-section {
    padding: 100px 30px;
    background: var(--bg-primary);
}

.areas-header {
    text-align: center;
    margin-bottom: 60px;
}

.areas-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #F39C12 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.areas-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.area-zone {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px var(--shadow);
}

.area-zone h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    text-align: center;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.area-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.area-tag:hover {
    background: var(--blue);
    color: white;
    transform: scale(1.05);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 100px 30px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-badge {
    display: inline-block;
    background: rgba(29, 120, 184, 0.1);
    color: var(--blue);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.testimonials-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.testimonial-quote {
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--blue);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-bottom: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--blue);
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star {
    width: 20px;
    height: 20px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-arrow {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-suffix {
        font-size: 32px;
    }

    .why-section,
    .process-section,
    .areas-section,
    .testimonials-section {
        padding: 60px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 30px 25px;
    }

    .why-card-icon {
        width: 60px;
        height: 60px;
    }

    .why-card-icon svg {
        width: 30px;
        height: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step {
        padding: 30px 25px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-quote {
        font-size: 60px;
    }
}

/* ===== قسم الأعمال المنفذة ===== */
.portfolio-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.portfolio-images {
    position: relative;
}

.portfolio-main {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-secondary);
    gap: 10px;
    overflow-x: auto;
}

.step-item {
    position: relative;
    flex-shrink: 0;
}

.step-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-item img:hover {
    transform: scale(1.1);
    border-color: var(--blue);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow {
    flex-shrink: 0;
    color: var(--blue);
}

.step-arrow svg {
    width: 24px;
    height: 24px;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.portfolio-details {
    margin-bottom: 20px;
}

.portfolio-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.portfolio-details ul {
    list-style: none;
    padding: 0;
}

.portfolio-details ul li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.portfolio-details ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.portfolio-link {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== قسم الأعمال المنفذة (بسيط) ===== */
.portfolio-simple {
    background: var(--bg-secondary);
    padding: 80px 0;
}
.portfolio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
}
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow);
}
.portfolio-img {
    height: 250px;
    overflow: hidden;
}
.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-img img {
    transform: scale(1.08);
}
.portfolio-info {
    padding: 30px;
}
.portfolio-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.portfolio-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.portfolio-all-link {
    text-align: center;
    margin-top: 20px;
}
.portfolio-all-link .btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ===== قسم أعمالنا المنفذة (بين الخدمات ولماذا نحن) ===== */
.portfolio-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.portfolio-card {
    width: 100%;
    max-width: 1000px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}
.portfolio-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.p-img {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.p-img:hover img {
    transform: scale(1.05);
}

/* ===== قسم أعمالنا المصغر ===== */
.works-showcase {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.works-showcase-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.works-showcase-frame {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 8px 40px rgba(29, 120, 184, 0.08);
    border: 2px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.works-showcase-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
}
.works-showcase-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.works-showcase-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}
.works-showcase-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
}
.works-showcase-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.works-mini-img {
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all 0.3s ease;
}
.works-mini-img:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 8px 25px rgba(29, 120, 184, 0.15);
}
.works-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== قسم المناطق والتغطية ===== */
.location-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}
.location-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.location-header {
    text-align: center;
    margin-bottom: 50px;
}
.location-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.location-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}
.location-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}
.location-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.area-group {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}
.area-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.area-tags span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.area-tags span:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
@media (max-width: 1024px) {
    .location-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .location-areas {
        grid-template-columns: 1fr;
    }
    .location-title {
        font-size: 1.5rem;
    }
    .area-group {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .works-showcase-frame {
        padding: 35px 25px;
    }
    .works-showcase-title {
        font-size: 1.5rem;
    }
    .works-showcase-desc {
        font-size: 1rem;
    }
    .works-mini-img {
        width: 110px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .portfolio-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== صفحة المشاريع ===== */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.project-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
}
.project-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.proj-img {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.proj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.proj-img:hover img {
    transform: scale(1.05);
}
.project-info {
    padding: 0 10px;
}
.proj-badge {
    display: inline-block;
    background: rgba(29, 120, 184, 0.1);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.proj-badge.villa {
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
}
.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}
.project-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}
.proj-details {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.proj-detail {
    background: var(--bg-secondary);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
}
.proj-detail span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== كلمات البحث المخفية للـ SEO ===== */
.seo-keywords {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.seo-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.seo-toggle:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.seo-toggle-icon {
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.seo-content {
    display: none;
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.seo-content h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-secondary);
}

.seo-keywords-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.seo-keywords-grid h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.seo-keywords-grid p {
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
}

/* ===== قسم كلمات البحث للـ SEO ===== */
.seo-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 80px 20px;
}

.seo-container {
    max-width: 1100px;
    margin: 0 auto;
}

.seo-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--blue);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.seo-grid h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}

.seo-grid p {
    font-size: 14px;
    line-height: 2.2;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .seo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-section h2 {
        font-size: 26px;
    }
}