﻿/* ========================================
   KAHRMAA Theme - Main CSS
   كهرماء - الثيم الرئيسي
======================================== */

/* ========================================
   UNIFIED HEADER
   هيدر موحد: شريط علوي + قائمة في هيكل واحد sticky
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

/* ------ MAIN NAV ROW ------ */
.header-main-row { }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    transition: padding 0.3s ease;
}

.site-header.scrolled .main-nav { padding: 10px 0; }

/* Logo */
.site-logo a { display: inline-block; }

.text-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-ar {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo-en {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-logo img { max-height: 56px; width: auto; }

/* Nav Menu Wrapper */
.nav-menu-wrapper { flex: 1; display: flex; justify-content: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    color: var(--primary);
    background: rgba(0, 91, 150, 0.08);
}

.nav-menu > li > a .dropdown-arrow {
    transition: transform 0.2s ease;
    opacity: 0.55;
}

.nav-menu > li:hover > a .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown */
.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.sub-menu li a:hover {
    color: var(--primary);
    background: var(--gray-100);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icon buttons (dark mode + search) */
.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.icon-btn:hover {
    background: var(--primary);
    color: white;
}

/* Keep old class aliases for JS compatibility */
.dark-mode-toggle { }

.dark-mode-toggle .moon-icon { display: none; }
[data-theme="dark"] .dark-mode-toggle .sun-icon { display: none; }
[data-theme="dark"] .dark-mode-toggle .moon-icon { display: flex; }

.header-phone-btn { display: flex; align-items: center; gap: 6px; }

/* Hide phone text on medium screens to save space */
@media (max-width: 1100px) {
    .header-phone-btn span { display: none; }
    .header-phone-btn { padding: 9px 12px; }
}

/* WhatsApp button label hidden on mobile (show icon only) */
.wa-btn-label { }

/* Search removed per design decision */

/* ============================================================
   HAMBURGER (mobile)
============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--dark);
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ============================================================
   MOBILE OVERLAY + DRAWER
============================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    display: none;
    backdrop-filter: blur(2px);
}

.mobile-overlay.show { display: block; }

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.mobile-menu-close:hover { background: #dc3545; color: white; }

.mobile-drawer-contact {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
}

.mobile-call-link,
.mobile-wa-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-call-link {
    background: rgba(0, 91, 150, 0.08);
    color: var(--primary);
}

.mobile-call-link:hover { background: var(--primary); color: white; }

.mobile-wa-link { background: #25D366; color: white; }
.mobile-wa-link:hover { background: #1da851; color: white; }

/* Dark mode header */
[data-theme="dark"] .site-header { background: #0d1b2a; border-bottom: 1px solid #1e3a5a; }
[data-theme="dark"] .sub-menu { background: #0d1b2a; border-color: #1e3a5a; }
[data-theme="dark"] .icon-btn { background: #1e2a40; color: #aaa; }
[data-theme="dark"] .hamburger span { background: #e8e8e8; }

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(135deg, #003d66 0%, #005B96 40%, #0072bb 70%, #004a7a 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 60, 0.4);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2l-2 2-36 36v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 60px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 0, 0.2);
    border: 1px solid rgba(255, 122, 0, 0.4);
    color: #ffaa4d;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title-accent {
    color: var(--secondary);
    display: inline;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.trust-item svg { color: var(--secondary); }

/* Hero Visual */
.hero-image-wrapper {
    position: relative;
}

.hero-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
    aspect-ratio: 5/4;
}

.hero-main-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-badge-float {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.hero-badge-float svg { color: var(--primary); }

.hero-badge-1 {
    top: 20px;
    left: -20px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.hero-badge-2 {
    bottom: 30px;
    right: -20px;
    animation: float 3.5s ease-in-out infinite 1s;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.stat-item:hover { background: rgba(255,255,255,0.1); }

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 6px;
}

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

/* ========================================
   Services Section
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card-inner {
    padding: 36px 30px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-card-hover-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover .service-card-hover-bg { opacity: 1; }
.service-card:hover .service-card-inner { color: white; }
.service-card:hover .service-title { color: white; }
.service-card:hover .service-desc { color: rgba(255,255,255,0.85); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.2) !important; color: white !important; }
.service-card:hover .service-features li { color: rgba(255,255,255,0.9); }
.service-card:hover .service-link { color: white !important; }

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: color 0.3s ease;
}

.service-features li svg { color: #27ae60; flex-shrink: 0; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.section-footer-cta { margin-top: 50px; }

/* ========================================
   Why Us Section
======================================== */
.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 91, 150, 0.08);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: white;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.why-us-cta { margin-top: 30px; }

.why-us-visual {
    position: relative;
}

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.achievement-badge,
.certificate-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.achievement-badge {
    bottom: 30px;
    right: -20px;
}

.certificate-badge {
    top: 30px;
    left: -20px;
}

.achievement-icon, .certificate-icon { color: var(--secondary); }

.achievement-text, .certificate-text {
    display: flex;
    flex-direction: column;
}

.achievement-text strong, .certificate-text strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.achievement-text span, .certificate-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   Gallery / Before-After
======================================== */
.before-after-slider {
    position: relative;
}

.gallery-slide {
    display: none;
}

.gallery-slide.active { display: block; }

.before-after-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-xl);
}

.ba-before, .ba-after {
    position: relative;
    overflow: hidden;
}

.ba-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}
.ba-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ba-before:hover .ba-image,
.ba-after:hover .ba-image { transform: scale(1.02); }

.ba-overlay-text {
    text-align: center;
    color: white;
    opacity: 0.8;
}

.ba-overlay-text p {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 0;
}

.ba-label {
    position: absolute;
    top: 16px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: white;
    z-index: 5;
}

.ba-before-label { right: 16px; background: rgba(0,0,0,0.6); }
.ba-after-label { left: 16px; background: rgba(0,150,80,0.85); }

.ba-divider {
    width: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.ba-handle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.gallery-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-prev, .gallery-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-prev:hover, .gallery-next:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.gallery-dots { display: flex; gap: 8px; }

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   Projects Section
======================================== */
.project-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-link { display: block; }

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: rgba(255,255,255,0.7);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 91, 150, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-info {
    padding: 20px;
}

.project-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(255,122,0,0.1);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 10px;
}

.project-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.project-title a { color: inherit; }
.project-title a:hover { color: var(--primary); }

.project-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.project-city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.project-city svg { color: var(--primary); }

/* ========================================
   Testimonials Section
======================================== */
.testimonials-slider {
    position: relative;
    min-height: 280px;
}

.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 30px;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.author-info {
    text-align: right;
}

.author-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev, .testimonial-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.testimonial-dots { display: flex; gap: 8px; }

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   FAQ Section
======================================== */
.faq-grid { max-width: 900px; margin: 0 auto; }

.faq-accordion { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: right;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    gap: 16px;
    transition: var(--transition-fast);
}

.faq-question:hover { color: var(--primary); }
.faq-question.active { color: var(--primary); }

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.faq-question.active .faq-icon {
    background: var(--primary);
    color: white;
}

.faq-icon .icon-minus { display: none; }
.faq-question.active .faq-icon .icon-plus { display: none; }
.faq-question.active .faq-icon .icon-minus { display: flex; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.open { max-height: 400px; }

.faq-answer > div {
    padding: 0 24px 20px;
    border-top: 1px solid var(--border-color);
}

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

/* ========================================
   Areas Section
======================================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.area-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.area-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.area-info span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.area-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.area-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.area-cta:hover { text-decoration: underline; }

.areas-map-note {
    background: rgba(0, 91, 150, 0.06);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    border: 1px solid rgba(0, 91, 150, 0.15);
}

.map-note-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.map-note-inner svg { color: var(--primary); flex-shrink: 0; }

.map-note-inner p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.map-note-inner p a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* ========================================
   Contact Section
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-col .section-subtitle { text-align: right; margin: 0 0 30px; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    color: var(--text-primary);
}

.contact-method:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(-4px);
}

.contact-method.whatsapp:hover { border-color: #25D366; }
.contact-method.email:hover { border-color: var(--secondary); }

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 91, 150, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-method.whatsapp .contact-method-icon { background: rgba(37,211,102,0.1); color: #25D366; }
.contact-method.email .contact-method-icon { background: rgba(255,122,0,0.08); color: var(--secondary); }
.contact-method.location .contact-method-icon { background: rgba(142,68,173,0.08); color: #8e44ad; }

.contact-method:hover .contact-method-icon { background: var(--primary); color: white; }
.contact-method.whatsapp:hover .contact-method-icon { background: #25D366; color: white; }

.contact-method-text strong {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-method-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-emergency {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 122, 0, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 122, 0, 0.2);
    color: var(--secondary);
}

.contact-emergency div strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-emergency div p { font-size: 13px; color: var(--text-secondary); margin: 0; }

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions { margin-top: 8px; }

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 14px;
    margin-bottom: 0;
}

.form-note .whatsapp-direct {
    color: #25D366;
    font-weight: 700;
}

/* ========================================
   Footer
======================================== */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-cta-text h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: white;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

.footer-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.footer-main { background: #0d1b2a; padding: 70px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 50px;
}

.footer-text-logo .logo-ar { color: white; }

.footer-desc {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.8;
    margin: 20px 0;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-contact-item:hover { color: var(--secondary); }
.footer-contact-item svg { color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.12);
}

.social-icon:hover { color: white; transform: translateY(-2px); }
.social-whatsapp:hover { background: #25D366; border-color: #25D366; }
.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.social-twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.social-youtube:hover { background: #ff0000; border-color: #ff0000; }

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,122,0,0.4);
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.mt-40 { margin-top: 40px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-links li a:hover { color: var(--secondary); padding-right: 6px; }
.footer-links li a svg { color: var(--secondary); }

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-hours li.emergency {
    color: var(--secondary);
    font-weight: 700;
}

.footer-bottom {
    background: #080f18;
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright,
.footer-developer {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-developer a { color: var(--secondary); }

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

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

/* ========================================
   Floating Buttons
======================================== */
.floating-whatsapp,
.floating-call {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    /* Default: pill with label */
    padding: 13px 20px;
}

.floating-whatsapp {
    bottom: 92px;
    right: 20px; /* RTL */
    background: #25D366;
    color: white;
}

.floating-whatsapp:hover {
    background: #1da851;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.floating-call {
    bottom: 20px;
    right: 20px; /* RTL */
    background: var(--primary);
    color: white;
}

.floating-call:hover {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 91, 150, 0.5);
}

.floating-label { font-size: 14px; font-weight: 700; }

.pulse-ring {
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: var(--radius-full);
    border: 3px solid #25D366;
    animation: wave 1.8s ease-in-out infinite;
    pointer-events: none;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 24px; /* RTL: avoid overlap with floating btns */
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

/* ========================================
   Blog Styles
======================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.blog-card { overflow: hidden; }

.blog-thumbnail { display: block; height: 200px; overflow: hidden; }
.blog-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumbnail img { transform: scale(1.05); }

.blog-content { padding: 24px; }

.blog-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a { color: var(--dark); }
.blog-title a:hover { color: var(--primary); }

.blog-excerpt { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }

.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.single-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.single-featured-image { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; }
.single-featured-image img { width: 100%; max-height: 500px; object-fit: cover; }

.single-content { font-size: 16px; line-height: 1.9; }
.single-content h2, .single-content h3 { margin: 28px 0 14px; }
.single-content p { margin-bottom: 18px; }
.single-content ul, .single-content ol { padding-right: 24px; margin-bottom: 18px; }
.single-content li { margin-bottom: 8px; }
.single-content img { border-radius: var(--radius-md); margin: 20px 0; }
.single-content blockquote {
    border-right: 4px solid var(--primary);
    padding: 16px 20px;
    background: var(--gray-100);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    margin: 24px 0;
}

.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 24px 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.single-tags a {
    padding: 4px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-secondary);
}

.single-tags a:hover { background: var(--primary); color: white; }

.single-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: var(--transition-fast);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25D366; }
.share-btn:hover { transform: scale(1.1); color: white; }

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.nav-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    color: var(--text-primary);
}

.nav-post:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-post div { flex: 1; }
.nav-post small { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.nav-post span { font-size: 14px; font-weight: 600; }
.nav-next { justify-content: flex-end; text-align: left; }

/* ========================================
   Sidebar
======================================== */
.sidebar-phone-btn,
.sidebar-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.sidebar-phone-btn {
    background: var(--primary);
    color: white;
}

.sidebar-phone-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.sidebar-whatsapp-btn {
    background: #25D366;
    color: white;
}

.sidebar-whatsapp-btn:hover {
    background: #1da851;
    color: white;
    transform: translateY(-2px);
}

.cities-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.city-tag {
    padding: 6px 14px;
    background: rgba(0,91,150,0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0,91,150,0.2);
}

.recent-posts-list { display: flex; flex-direction: column; gap: 14px; }

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-item a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
}

.recent-post-item a:hover { color: var(--primary); }
.recent-post-item small { font-size: 12px; color: var(--text-muted); }

/* ========================================
   404 Page
======================================== */
.error-404-section { padding: 120px 0; }

.error-404-inner { max-width: 600px; margin: 0 auto; }

.error-number {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-icon { margin-bottom: 24px; }

.error-404-section h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 16px; }
.error-404-section p { font-size: 16px; color: var(--text-secondary); margin-bottom: 30px; }

.error-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-search {
    margin-bottom: 40px;
}

.error-search h3 { margin-bottom: 14px; }
.error-search .search-form { max-width: 400px; margin: 0 auto; }

.error-links h3 { margin-bottom: 14px; }
.error-links ul { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.error-links ul li a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.error-links ul li a:hover { border-color: var(--primary); }

/* ========================================
   Contact Widget
======================================== */
.contact-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
}

.contact-widget .sidebar-widget-title { color: white; border-color: rgba(255,255,255,0.3); }

/* ========================================
   Search Form Large
======================================== */
.search-form-large {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-form-large .form-control { flex: 1; }

.search-count {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ========================================
   Page Content
======================================== */
.page-featured-image {
    margin-bottom: 36px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.page-featured-image img { width: 100%; max-height: 500px; object-fit: cover; }

.page-body.entry-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

/* ========================================
   Dark Mode
======================================== */
[data-theme="dark"] .site-header { background: #0d1b2a; border-bottom: 1px solid #1e3a5a; }
[data-theme="dark"] .top-bar { background: #060f1a; }
[data-theme="dark"] .card { background: #16213e; }
[data-theme="dark"] .service-card { background: #16213e; }
[data-theme="dark"] .testimonial-card { background: #16213e; }
[data-theme="dark"] .faq-item { background: #16213e; }
[data-theme="dark"] .feature-item { background: #16213e; }
[data-theme="dark"] .area-card { background: #16213e; }
[data-theme="dark"] .contact-form-wrapper { background: #16213e; }
[data-theme="dark"] .contact-method { background: #16213e; }
[data-theme="dark"] .footer-main { background: #030a12; }
[data-theme="dark"] .footer-bottom { background: #010509; }
[data-theme="dark"] .header-search-bar { background: #0d1b2a; }
[data-theme="dark"] .sub-menu { background: #16213e; border-color: #1e3a5a; }
[data-theme="dark"] .sub-menu li a:hover { background: #1e3a5a; }
[data-theme="dark"] .nav-menu > li > a:hover { background: rgba(0,91,150,0.2); }

/* ========================================
   Form Controls (Global)
======================================== */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background: var(--white);
    color: var(--text-primary);
    direction: rtl;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0,91,150,0.12); }
.form-control.error { border-color: #dc3545; }
.form-control::placeholder { color: var(--text-muted); opacity: 0.8; }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
[data-theme="dark"] .form-control { background: #1a2a40; color: var(--text-primary); border-color: #2a3a5a; }

/* ========================================
   Sidebar Card (global)
======================================== */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-services-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-services-list li a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-md); font-size: 14px; color: var(--text-secondary); transition: var(--transition-fast); }
.sidebar-services-list li a:hover { background: var(--gray-100); color: var(--primary); }
[data-theme="dark"] .sidebar-card { background: #16213e; border-color: #2a3a5a; }

/* ========================================
   No Results Box (global)
======================================== */
.no-results-box { text-align: center; padding: 80px 20px; }
.no-results-box svg { color: var(--gray-300); margin: 0 auto 20px; display: block; }
.no-results-box h3 { font-size: 22px; margin-bottom: 10px; color: var(--dark); }
.no-results-box p { color: var(--text-muted); margin-bottom: 24px; }

/* ========================================
   Top Strip — hide completely on mobile/tablet
   مخفي على الموبايل والتابلت بالكامل  
======================================== */
@media screen and (max-width: 991px) {
    #headerTopStrip,
}

/* ============================================================
   BLOG / LATEST POSTS SECTION
   سكشن أحدث المقالات - الصفحة الرئيسية
============================================================ */
.blog-section { background: var(--white); }

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

/* Card */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Image */
.blog-card-img-wrap { display: block; }

.blog-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--gray-100);
}

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

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-400);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.blog-card:hover .blog-card-overlay { opacity: 1; }

.blog-card-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
    z-index: 1;
}

/* Body */
.blog-card-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.blog-meta-item svg { opacity: 0.6; }

.blog-meta-sep {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.4;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--dark);
    margin-bottom: 10px;
}

.blog-card-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.blog-card-title a:hover { color: var(--primary); }

.blog-card-excerpt {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--secondary);
    gap: 10px;
}

/* Dark mode */
[data-theme="dark"] .blog-card {
    background: #16213e;
    border-color: #1e3a5a;
}

[data-theme="dark"] .blog-no-img {
    background: linear-gradient(135deg, #1e2a40, #0d1b2a);
}

