/*
Theme Name: Vision Engineering Consultants
Theme URI: https://vision-uaq.com
Author: Post media advertising
Author URI: https://postmedia.ae
Description: ثيم فاخر وعصري لمكتب رؤية للاستشارات الهندسية - Luxury modern theme for Vision Engineering Consultants
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vision-engineering
Tags: rtl-language, full-width-template, custom-colors, custom-menu, featured-images, engineering, arabic
*/

/* ===================================================
   VISION ENGINEERING CONSULTANTS - MAIN STYLESHEET
   رؤية للاستشارات الهندسية
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary:        #0A3D6B;
    --primary-dark:   #062A4E;
    --primary-light:  #1565A8;
    --gold:           #C9A84C;
    --gold-light:     #E8C96A;
    --gold-dark:      #A07830;
    --white:          #FFFFFF;
    --off-white:      #F4F6F9;
    --gray-100:       #F8F9FA;
    --gray-200:       #E9ECEF;
    --gray-400:       #ADB5BD;
    --gray-600:       #6C757D;
    --gray-800:       #343A40;
    --text-dark:      #1A2035;
    --text-muted:     #5A6070;
    --shadow-sm:      0 2px 8px rgba(10,61,107,0.10);
    --shadow-md:      0 8px 30px rgba(10,61,107,0.15);
    --shadow-lg:      0 20px 60px rgba(10,61,107,0.20);
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      32px;
    --transition:     all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-arabic:    'Cairo', 'Tajawal', sans-serif;
    --font-english:   'Montserrat', 'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-arabic);
    color: var(--text-dark);
    background: var(--white);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-arabic);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }

/* ---------- Layout Utilities ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 48px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold) !important; }
.text-primary{ color: var(--primary) !important; }

.bg-primary  { background: var(--primary); }
.bg-dark     { background: var(--primary-dark); }
.bg-light    { background: var(--off-white); }
.bg-gold     { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-arabic);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(201,168,76,0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Section Titles ---------- */
.section-title {
    text-align: center;
    margin-bottom: 64px;
}
.section-title .label {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.section-title h2 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.section-title .divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 16px auto;
}
.section-title p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top-bar {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-bar a { color: rgba(255,255,255,0.8); }
.header-top-bar a:hover { color: var(--gold); }
.top-contact { display: flex; gap: 24px; align-items: center; }
.top-contact span { display: flex; align-items: center; gap: 6px; }

.header-main {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-scrolled .header-main {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.site-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}
.logo-text .name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.logo-text .tagline {
    display: block;
    font-size: 0.72rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navigation — outside <header>, visible inline on desktop via position:static override */
.main-nav {
    /* Mobile-first: hidden drawer */
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    padding: 72px 24px 40px;
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.35s;
}
.main-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}

/* Desktop: restore inline behaviour */
@media (min-width: 769px) {
    .main-nav {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        overflow: visible;
        /* Visually sit inside header — header-inner is flex, nav is auto-sized */
        align-items: center;
        flex: 1;
        justify-content: flex-end;
    }
    .nav-close  { display: none !important; }
    .nav-toggle  { display: none !important; }
    .lang-switcher-mobile { display: none !important; }
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: row-reverse;
    width: 100%;
}
.main-nav ul li a {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
    color: var(--primary);
    background: rgba(10,61,107,0.07);
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
}
.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm) !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
}

/* Mobile Menu Toggle — shown only on mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================
   HERO SECTION
   =================================================== */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
    padding-top: 110px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,42,78,0.97) 0%, rgba(10,61,107,0.90) 50%, rgba(21,101,168,0.85) 100%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(21,101,168,0.15) 0%, transparent 40%);
}

/* Geometric decorative lines */
.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}
.hero-lines::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
}
.hero-lines::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-title .gold-text {
    color: var(--gold-light);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat .num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat .unit {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 700;
}
.hero-stat .lbl {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Hero Image Side */
.hero-image-side {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-logo-display {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-logo-display img {
    max-width: 340px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

.hero-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}
.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 13px;
    position: relative;
}
.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-mouse 2s infinite;
}

@keyframes scroll-mouse {
    0%  { top: 6px; opacity: 1; }
    100%{ top: 22px; opacity: 0; }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
#services {
    background: var(--off-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10,61,107,0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

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

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10,61,107,0.1), rgba(21,101,168,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: var(--transition);
    font-size: 2rem;
}

.service-card:hover .service-icon {
    background: rgba(201,168,76,0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
    transition: var(--transition);
}

.service-card:hover h3 { color: var(--white); }

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    transition: var(--transition);
}

.service-card:hover p { color: rgba(255,255,255,0.8); }

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gold);
    transition: var(--transition);
}
.service-card:hover .service-link { color: var(--gold-light); }

/* ===================================================
   ABOUT SECTION
   =================================================== */
#about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.about-img-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.7);
    padding: 40px;
}
.about-img-placeholder .icon { font-size: 5rem; margin-bottom: 16px; }
.about-img-placeholder p { color: rgba(255,255,255,0.6); }

.about-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.about-badge .num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}
.about-badge .text {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

.about-content .label {
    display: inline-block;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--primary-dark);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.about-feature:hover {
    background: rgba(10,61,107,0.05);
    transform: translateX(-4px);
}
.about-feature .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.about-feature .text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}
.about-feature .text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================================
   STATS / NUMBERS SECTION
   =================================================== */
#stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
    z-index: 1;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.stat-num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    display: block;
}
.stat-suffix {
    font-size: 1.5rem;
    color: var(--gold-light);
    font-weight: 700;
}
.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
    font-weight: 500;
}
.stat-sub {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ===================================================
   PROJECTS SECTION
   =================================================== */
#projects {
    padding: 100px 0;
    background: var(--white);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-arabic);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--text-muted);
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10,61,107,0.3);
}

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

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--gray-200);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 20px;
}
.project-placeholder .icon { font-size: 3rem; margin-bottom: 10px; }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,42,78,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-overlay a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.project-overlay a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.project-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
}

.project-info {
    padding: 24px;
}
.project-info h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.project-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--gray-400);
}
.project-meta span { display: flex; align-items: center; gap: 4px; }

/* ===================================================
   WHY US SECTION
   =================================================== */
#why-us {
    background: var(--off-white);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 4px solid transparent;
}
.why-item:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-md);
    border-right-color: var(--gold);
}
.why-item .icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    box-shadow: 0 6px 15px rgba(10,61,107,0.25);
    transition: var(--transition);
}
.why-item:hover .icon-box {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.why-item .content h4 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.why-item .content p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.why-visual {
    position: relative;
}

.why-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.why-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-cta-box {
    position: absolute;
    bottom: -32px;
    right: -32px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 200px;
}
.why-cta-box .icon { font-size: 2.5rem; margin-bottom: 12px; }
.why-cta-box strong {
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 900;
}
.why-cta-box span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===================================================
   TESTIMONIALS / TEAM
   =================================================== */
#testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.quote-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}
.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}
.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
#contact {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 36px;
    font-size: 1.02rem;
    line-height: 1.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-item:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}
.contact-item .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item .detail strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-item .detail a,
.contact-item .detail span {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}
.contact-item .detail a:hover { color: var(--gold-dark); }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--off-white);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(21,101,168,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select option { direction: rtl; }

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10,61,107,0.3);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* Map Section */
.map-section {
    margin-top: 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 380px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.7);
}
.map-placeholder .icon { font-size: 4rem; margin-bottom: 12px; }
.map-placeholder p { font-size: 1rem; }

/* ===================================================
   FOOTER
   =================================================== */
#footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}
.footer-logo img { height: 52px; }
.footer-logo .name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
}
.footer-logo .sub {
    font-size: 0.75rem;
    color: var(--gold-light);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    text-decoration: none;
}
.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 2px 0;
}
.footer-links a::before {
    content: '←';
    color: var(--gold);
    opacity: 0;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--white);
    padding-right: 6px;
}
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.footer-contact-item .icon {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ===================================================
   FLOATING ELEMENTS
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 999;
    font-size: 1.7rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.12); }
}

.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    font-size: 1.2rem;
    color: var(--white);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.animated { opacity: 1; transform: translateY(0); }

.fade-right {
    opacity: 0;
 
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.animated { opacity: 1; transform: translateX(0); }

.fade-left {
    opacity: 0;
   
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.animated { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .about-grid { gap: 48px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
    /* main-nav is already a fixed drawer by default — just show toggle */
    .nav-toggle { display: flex; }
    .main-nav ul {
        flex-direction: column !important;
        gap: 4px;
    }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        backdrop-filter: blur(4px);
    }
    .nav-overlay.open { display: block; }

    .header-top-bar { display: none; }

    .hero-image-side { display: none; }
    .hero-content { max-width: 100%; }
    .hero-stats { gap: 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-badge { bottom: 16px; left: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 32px 24px; }

    .section-pad { padding: 70px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }

    .about-features { grid-template-columns: 1fr; }

    .why-cta-box { position: relative; bottom: auto; right: auto; max-width: 100%; margin-top: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item + .stat-item::before { display: none; }
    .grid-2 { grid-template-columns: 1fr; }
    .projects-filter { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.82rem; }
}

/* ===================================================
   PAGE BANNER — يستخدم في الصفحات الداخلية
   =================================================== */
.page-banner {
    padding-top: 110px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    z-index: 0;
}

.page-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(201,168,76,0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

/* Geometric pattern overlay */
.page-banner-bg::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
    padding-top: 40px;
    color: var(--white);
}

.page-banner-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.page-banner-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
}

.page-breadcrumb a {
    color: var(--gold-light);
    transition: var(--transition);
}
.page-breadcrumb a:hover { color: var(--white); }

.page-breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

/* ===================================================
   MOBILE — ENHANCED RESPONSIVE
   =================================================== */

/* -------------------------------------------------------
   Mobile Lang Switcher (shown on mobile, hidden on desktop)
   Top-bar lang-switcher is hidden on mobile via header-top-bar:display:none,
   so we show this duplicate in the main header instead.
------------------------------------------------------- */
.lang-switcher-mobile {
    display: none;
    border: 1px solid rgba(10,61,107,0.3);
    flex-shrink: 0;
}
.lang-switcher-mobile.active-ar span:first-child  { background: var(--gold); color: var(--primary-dark); }
.lang-switcher-mobile.active-ar span:last-child   { color: var(--text-muted); }
.lang-switcher-mobile.active-en span:first-child  { color: var(--text-muted); }
.lang-switcher-mobile.active-en span:last-child   { background: var(--gold); color: var(--primary-dark); }

/* -------------------------------------------------------
   LTR (English pages) — Directional Overrides
------------------------------------------------------- */
/* Desktop only: restore LTR row direction */
@media (min-width: 769px) {
    body.lang-en .main-nav ul { flex-direction: row; }
}

body.lang-en .why-item {
    border-right: none;
    border-left: 4px solid transparent;
}
body.lang-en .why-item:hover {
    transform: translateX(6px);
    border-left-color: var(--gold);
}

body.lang-en .about-feature:hover { transform: translateX(4px); }
body.lang-en .contact-item:hover  { transform: translateX(4px); }

body.lang-en .footer-links a::before         { content: '→'; }
body.lang-en .footer-links a:hover           { padding-right: 0; padding-left: 6px; }
body.lang-en .footer-col h4::after           { right: auto; left: 0; }

body.lang-en .page-breadcrumb i.fa-chevron-left { transform: scaleX(-1); }

/* -------------------------------------------------------
   TABLET (769px – 1024px)
------------------------------------------------------- */
@media (max-width: 1024px) {
    .site-logo img       { height: 48px; }
    .why-grid            { gap: 48px; }
    .about-grid          { gap: 48px; }
    .section-title       { margin-bottom: 48px; }
}

/* -------------------------------------------------------
   MOBILE (≤ 768px) — additions & fixes
------------------------------------------------------- */
@media (max-width: 768px) {
    /* Show mobile lang switcher */
    .lang-switcher-mobile { display: flex !important; }

    /* Fix iOS background-attachment: fixed (breaks parallax) */
    .hero-bg-image { background-attachment: scroll; }

    /* Header shrink */
    .site-logo img         { height: 42px; }
    .logo-text .name       { font-size: 0.9rem; }
    .logo-text .tagline    { font-size: 0.62rem; }

    /* Hero */
    #hero                  { padding-top: 80px; }
    .hero-stats            { gap: 20px; margin-top: 36px; padding-top: 24px; }
    .hero-stat .num        { font-size: 1.9rem; }

    /* About badge — stay within image */
    .about-badge           { bottom: 12px; left: 12px; padding: 16px 18px; }
    .about-badge .num      { font-size: 2rem; }

    /* Service card padding */
    .service-card          { padding: 32px 22px; }

    /* Stats section */
    #stats                 { padding: 60px 0; }

    /* Grid-3 → 1 col on mobile */
    .grid-3                { grid-template-columns: 1fr; }

    /* Section title bottom margin */
    .section-title         { margin-bottom: 40px; }

    /* Map height */
    .map-section           { height: 260px; margin-top: 32px; }

    /* Testimonials card padding */
    .testimonial-card      { padding: 28px 22px; }

    /* Quick-contact cards (3-col on contact page) */
    .quick-contact-grid    { grid-template-columns: 1fr !important; }

    /* Projects page stats bar */
    .projects-stats-bar    { grid-template-columns: repeat(2, 1fr) !important; }

    /* Why-us page advantages grid */
    .advantages-grid       { grid-template-columns: 1fr !important; }

    /* Why-us services-overview (if any 3-col internal grid) */
    .services-overview-grid { grid-template-columns: 1fr !important; }

    /* Touch targets — enlarge nav links */
    .main-nav.open ul li a { min-height: 44px; display: flex; align-items: center; }

    /* Mobile header inner alignment */
    .header-inner          { gap: 8px; }
}

/* LTR mobile nav drawer slides from left */
@media (max-width: 768px) {
    body.lang-en .main-nav {
        right: auto;
        left: 0;
        transform: translateX(-110%);
        box-shadow: 10px 0 40px rgba(0,0,0,0.15);
    }
    body.lang-en .main-nav.open { transform: translateX(0); }
    body.lang-en .nav-close     { left: auto; right: 20px; }
    body.lang-en .about-badge   { left: auto; right: 12px; }
}

/* -------------------------------------------------------
   SMALL MOBILE (≤ 480px)
------------------------------------------------------- */
@media (max-width: 480px) {
    html { font-size: 15px; }

    /* Hero */
    .hero-stats         { gap: 14px; }
    .hero-stat .num     { font-size: 1.6rem; }
    .hero-stat .lbl     { font-size: 0.72rem; }

    /* Buttons */
    .btn                { padding: 12px 22px; font-size: 0.88rem; gap: 8px; }

    /* Service card */
    .service-card       { padding: 28px 16px; }
    .service-icon       { width: 64px; height: 64px; font-size: 1.7rem; margin-bottom: 20px; }

    /* About badge */
    .about-badge        { padding: 12px 14px; }
    .about-badge .num   { font-size: 1.7rem; }

    /* Stats numbers */
    .stat-num           { font-size: clamp(1.8rem, 6vw, 2.5rem); }

    /* Why item */
    .why-item           { padding: 20px 16px; gap: 14px; }
    .why-item .icon-box { width: 46px; height: 46px; font-size: 1.1rem; }

    /* Testimonial */
    .testimonial-card   { padding: 22px 16px; }

    /* Contact form */
    .contact-form-wrap  { padding: 24px 16px; }

    /* Footer */
    .footer-logo img    { height: 40px; }
    .footer-brand p     { max-width: 100%; }

    /* Floating buttons */
    .whatsapp-float     { width: 52px; height: 52px; font-size: 1.4rem; bottom: 20px; left: 20px; }
    .scroll-top         { width: 42px; height: 42px; font-size: 1rem; bottom: 20px; right: 20px; }

    /* Padding */
    .section-pad        { padding: 54px 0; }
    .section-pad-sm     { padding: 40px 0; }
    .section-title      { margin-bottom: 32px; }

    /* about features already 1col from 768px — ensure */
    .about-features     { grid-template-columns: 1fr; }

    /* Page banner */
    .page-banner        { min-height: 200px; }
    .page-banner-content h1 { font-size: 1.5rem; }
    .page-banner-content p  { font-size: 0.92rem; }
}

/* Active section highlight in nav */
.main-nav a.active-section {
    color: var(--primary) !important;
    background: rgba(10,61,107,0.07);
}

/* Services list items inside cards */
.service-card:hover li span { color: rgba(255,255,255,0.85); }
.service-card:hover li i { color: var(--gold-light) !important; }

/* Contact page grid tweak */
@media (max-width: 768px) {
    .page-banner { min-height: 240px; }
    .page-banner-content { padding-bottom: 48px; }
}

