/* ========================================
   LOGICHINA - Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #1B2A4A;
  --primary-dark: #0F1C2E;
  --accent: #F05A28;
  --accent-hover: #d94f22;
  --blue: #1565C0;
  --blue-light: #1976D2;
  --bg-light: #F5F7FA;
  --bg-white: #ffffff;
  --text-dark: #1B2A4A;
  --text-body: #444;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-orange { color: var(--accent); }
.text-blue { color: var(--blue); }
.text-white { color: #fff; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 90, 40, 0.4);
}

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

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

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ---- Topbar ---- */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 0;
  z-index: 1001;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; transition: var(--transition); }
.topbar a:hover { color: var(--accent); }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-sep { color: rgba(255,255,255,0.3); }

/* ---- Header / Navbar ---- */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 48px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1;
}
.logo-name span { color: var(--accent); }
.logo-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.navbar-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--bg-light); color: var(--accent); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,28,46,0.72) 0%, rgba(15,28,46,0.55) 60%, rgba(15,28,46,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Why Choose Section ---- */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.why-img:hover img { transform: scale(1.04); }
.why-features { display: flex; flex-direction: column; gap: 28px; }
.why-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.why-feature p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ---- About Dark Section ---- */
.about-dark {
  background: var(--primary-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/world-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.about-dark .container { position: relative; z-index: 1; }
.about-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-dark-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-dark-text p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}
.about-stat .num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
}
.about-stat .lbl {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.about-dark-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-dark-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-light); }
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Morocco / Gulf Sections ---- */
.info-section { background: var(--bg-light); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}
.info-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.info-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}
.info-card p { font-size: 0.94rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

/* ---- Process Section ---- */
.process-section { background: var(--bg-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 56px;
}
.process-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.process-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.process-card-body { padding: 24px; }
.process-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.process-card-body h3 a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--primary);
}
.process-card-body p { font-size: 0.88rem; color: var(--text-muted); }
.arrow-icon { font-size: 1.1rem; color: var(--primary); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Testimonials ---- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  background: url('../images/testimonials-bg.jpg') center/cover no-repeat;
}
.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.78);
}
.testimonials-section .container { position: relative; z-index: 2; }
.testimonials-section .section-title { color: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.author-info .name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.author-info .title { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ---- Final CTA ---- */
.final-cta { background: var(--bg-light); text-align: center; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { margin-bottom: 30px; }

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 40px; }
.footer-logo-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
}
.footer-logo-name span { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-get-started { display: flex; flex-direction: column; gap: 12px; }
.footer-get-started .btn { justify-content: center; font-size: 0.88rem; padding: 12px 20px; }
.footer-get-links { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.footer-get-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: underline; transition: var(--transition); }
.footer-get-links a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,28,46,0.75), rgba(15,28,46,0.6));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ---- Services Page ---- */
.services-intro { background: var(--bg-white); text-align: center; padding: 60px 0 0; }
.services-intro p { font-size: 1rem; max-width: 780px; margin: 0 auto; color: var(--text-muted); line-height: 1.75; }

.core-services { background: var(--bg-light); }
.core-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.core-img-stack { display: flex; flex-direction: column; gap: 12px; }
.core-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.core-img-stack img,
.core-img-row img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  width: 100%;
  height: 180px;
}
.core-img-stack > img { height: 240px; }

.service-detail h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px;
}
.service-detail p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 10px; }
.service-detail ul { display: flex; flex-direction: column; gap: 6px; padding-left: 0; margin-bottom: 24px; }
.service-detail ul li {
  font-size: 0.86rem;
  color: var(--blue);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.service-detail ul li::before { content: '•'; color: var(--accent); font-size: 1rem; margin-top: -1px; }

/* ---- How It Works Page ---- */
.hiw-section { background: var(--bg-light); }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 56px;
}
.hiw-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.hiw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hiw-card img { width: 100%; height: 240px; object-fit: cover; }
.hiw-card-body { padding: 24px; }
.hiw-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hiw-card-body p { font-size: 0.88rem; color: var(--text-muted); }

/* ---- About Page ---- */
.about-section { background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }

/* ---- Contact Page ---- */
.contact-hero-bg { background: url('../images/contact-bg.jpg') center/cover no-repeat; }
.contact-form-section { background: var(--bg-white); }
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.contact-form-wrap h2 { text-align: center; margin-bottom: 8px; }
.contact-form-wrap .section-subtitle { text-align: center; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn { padding: 15px 40px; font-size: 1rem; }

/* ---- Get a Quote Page ---- */
.quote-section { background: var(--bg-light); }
.quote-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 52px;
}
.quote-wrap h2 { margin-bottom: 8px; }
.quote-wrap .section-subtitle { margin-bottom: 36px; }

/* ---- FAQ ---- */
.faq-section { background: #fff; }
.faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue); }
.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}
.faq-q:hover { background: var(--bg-light); }
.faq-item.open .faq-q { background: var(--bg-light); color: var(--blue); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: var(--transition); }
.faq-item.open .faq-icon { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 16px 22px 20px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .why-grid,
  .about-dark-grid,
  .about-grid,
  .info-grid,
  .core-services-grid { grid-template-columns: 1fr; }
  .why-img img { height: 320px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar .container { justify-content: center; gap: 12px; font-size: 0.75rem; }
  .nav-links { display: none; }
  .navbar-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .process-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; margin-top: 0; }
  .quote-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section { padding: 56px 0; }
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(240,90,40,0.4);
}

.mobile-lang {
  margin-top: 12px;
  padding: 12px 16px !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
  background: transparent !important;
  border-radius: 0 !important;
  width: 100%;
}

/* ---- RTL Support (Arabic) ---- */
body.rtl {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

body.rtl .topbar .container { flex-direction: row-reverse; }
body.rtl .navbar .container { flex-direction: row-reverse; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .about-grid,
body.rtl .about-dark-grid,
body.rtl .why-grid,
body.rtl .footer-grid { direction: rtl; }
body.rtl .hero-content { text-align: right; }
body.rtl .hero-actions { flex-direction: row-reverse; justify-content: flex-start; }
body.rtl .topbar-item { flex-direction: row-reverse; }
body.rtl .lang-switcher { direction: ltr; }
body.rtl .info-card,
body.rtl .service-detail,
body.rtl .stat-item { text-align: right; }
