/* ============================================================= */
/*  ماركات بوكس | MARKAT BOX                                      */
/*  تصميم احترافي - ألوان صلبة (بدون تدرجات)                      */
/*  الأزرق أساسي + الأخضر ثانوي بارز + الكحلي للعناصر الداكنة      */
/* ============================================================= */

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

/* ============================================= */
/* ========== DESIGN TOKENS ========== */
/* ============================================= */
:root {
  /* العلامة التجارية */
  --primary: #1E6FE8;
  --primary-hover: #1557BC;
  --primary-light: #EAF1FE;
  --primary-glow: rgba(30, 111, 232, 0.25);

  --green: #16A34A;
  --green-hover: #12813C;
  --green-light: #E9F8EF;
  --green-glow: rgba(22, 163, 74, 0.28);

  --navy: #0E2A4F;

  /*اسماء متوافقة مع الكود القديم (تُبقي الأنماط المضمّنة تعمل) */
  --black: #0E2A4F;
  --black-soft: #153A66;
  --black-light: #1E4E82;
  --dark-header: #0E2A4F;
  --dark-scrolled: #0B2140;

  /* محايد */
  --white: #FFFFFF;
  --off-white: #F4F7FB;
  --gray-light: #E5E9F2;
  --gray: #64748B;
  --ink: #0F172A;
  --gray-text: rgba(255, 255, 255, 0.72);
  --gray-text-light: rgba(255, 255, 255, 0.55);
  --border-light: rgba(255, 255, 255, 0.10);

  /* حالات */
  --success: #16A34A;
  --danger: #DC2626;
  --warning: #D97706;
  --info: #1E6FE8;

  /* ظلال */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 8px 24px rgba(30, 111, 232, 0.22);
  --shadow-green: 0 8px 24px rgba(22, 163, 74, 0.24);

  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --hero-height: 100vh;
  --header-height: 80px;
}

/* ============================================= */
/* ========== RESET & BASE ========== */
/* ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); }

.page-wrapper { width: 100%; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ============================================= */
/* ========== BUTTONS ========== */
/* ============================================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid var(--green);
  box-shadow: var(--shadow-green);
  cursor: pointer;
}
.cta-button:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--white);
  transform: translateY(-3px);
}

.mobile-consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-green);
}

/* ============================================= */
/* ========== SECTION HEADER ========== */
/* ============================================= */
.section-header { text-align: center; margin-bottom: 55px; }
.section-header h2 {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 18px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--green);
}
.section-header p { color: var(--gray); font-size: 1.08rem; max-width: 580px; margin: 0 auto; }

/* ============================================= */
/* ========== HEADER ========== */
/* ============================================= */
.main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}
.main-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08); }
.main-header.hide-header { transform: translateY(-100%); }

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo { flex-shrink: 0; }
.logo img { height: 58px; }

nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }

.nav-links li a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
  padding: 0.35rem 0;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--green); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; left: 0; right: auto; }

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  background: none;
  border: none;
  width: 44px;
  height: 44px;
}

/* ============================================= */
/* ========== HERO ========== */
/* ============================================= */
.hero-wrapper {
  position: relative;
  background: var(--navy);
  min-height: var(--hero-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-section { position: relative; z-index: 2; text-align: center; padding: 70px 20px 30px; }

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-content h2 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--gray-text);
  margin-bottom: 30px;
}

.mobile-consultation { display: none; }

/* ===== CTA BOXES ===== */
.cta-boxes-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 10px 0 45px;
}
.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: var(--transition);
}
.cta-box:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
  border-color: rgba(22, 163, 74, 0.5);
}
.cta-box .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}
.cta-box:hover .icon { background: var(--primary); transform: scale(1.06); }
.cta-box h3 { color: var(--white); font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.75; }

/* ===== Consultation Box ===== */
.consultation-box-link { display: block; position: relative; z-index: 2; margin: 10px auto 55px; max-width: 420px; width: 90%; }
.consultation-box {
  background: var(--green);
  border-radius: 60px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
}
.consultation-box:hover { background: var(--green-hover); transform: scale(1.03); }
.consultation-box .icon-circle {
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
  flex-shrink: 0;
}
.consultation-content .consultation-title { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 500; }
.consultation-content .consultation-phone { color: var(--white); font-size: 1.25rem; font-weight: 800; }

/* ============================================= */
/* ========== SERVICES ========== */
/* ============================================= */
.services { padding: 95px 0; background: var(--off-white); }

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

.service-card-link { display: block; text-decoration: none; color: inherit; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-image-container { position: relative; width: 100%; height: 220px; overflow: hidden; background: var(--navy); }
.service-image-flip { position: relative; width: 100%; height: 100%; }
.service-image-flip img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.service-image-front img { opacity: 1; z-index: 1; }
.service-image-back img { opacity: 0; z-index: 0; }
.service-card:hover .service-image-front img { opacity: 0; }
.service-card:hover .service-image-back img { opacity: 1; }

.service-icon {
  width: 58px; height: 58px;
  background: var(--green);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: -29px auto 0;
  position: relative; z-index: 2;
  font-size: 1.3rem; color: var(--white);
  box-shadow: 0 0 0 5px var(--white), var(--shadow-sm);
}
.service-card h3 { text-align: center; font-size: 1.16rem; font-weight: 800; color: var(--ink); padding: 16px 20px 5px; }
.service-card > p { text-align: center; color: var(--gray); font-size: 0.9rem; padding: 0 22px 10px; }
.service-features { padding: 0 22px 26px; }
.service-features li { padding: 6px 0; color: var(--gray); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.service-features li::before { content: '\2713'; color: var(--green); font-weight: 900; font-size: 0.95rem; }

/* ============================================= */
/* ========== CTA SECTION (أخضر بارز) ========== */
/* ============================================= */
.cta-section { background: var(--green); color: var(--white); text-align: center; padding: 75px 5%; }
.cta-section h2 { font-size: 2.15rem; font-weight: 900; margin-bottom: 15px; color: var(--white); }
.cta-section p { opacity: 0.95; font-size: 1.08rem; max-width: 620px; margin: 0 auto 32px; }
.cta-section .cta-button { background: var(--white); color: var(--green-hover); border-color: var(--white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); }
.cta-section .cta-button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ============================================= */
/* ========== HOW WE WORK / PROCESS ========== */
/* ============================================= */
.how-we-work-section { padding: 95px 0; background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-box {
  text-align: center;
  padding: 38px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  background: var(--white);
}
.process-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.step-number { font-size: 2.6rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 12px; }
.process-box h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.process-box p { color: var(--gray); font-size: 0.92rem; line-height: 1.75; }

/* ============================================= */
/* ========== TEAM ========== */
/* ============================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team-card {
  text-align: center;
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-img { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 3px solid var(--green-light); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 4px; }
.team-card span { font-size: 0.82rem; color: var(--green); font-weight: 700; }

/* ============================================= */
/* ========== OFFERS ========== */
/* ============================================= */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  position: relative;
  transition: var(--transition);
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.offer-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: var(--white);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 800; z-index: 2;
  box-shadow: var(--shadow-green);
}
.offer-img { height: 190px; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.35s ease; }
.offer-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: var(--navy); }
.offer-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.offer-card:hover .offer-img img { transform: scale(1.06); }
.offer-info { padding: 20px 22px; text-align: right; }
.offer-info h3 { font-size: 1.06rem; font-weight: 800; margin: 0 0 6px; }
.offer-info p { font-size: 0.86rem; color: var(--gray); margin: 0 0 12px; line-height: 1.7; }
.offer-details-btn { display: inline-block; font-size: 0.85rem; color: var(--green); font-weight: 800; }
.offer-details-btn:hover { color: var(--green-hover); }

/* ============================================= */
/* ========== CLIENTS / COUNTRIES ========== */
/* ============================================= */
.clients-worldwide { padding: 95px 0; background: var(--navy); color: var(--white); }
.clients-worldwide .section-header h2 { color: var(--white); }
.clients-worldwide .section-header p { color: var(--gray-text); }
.clients-worldwide .section-header h2::after { background: var(--green); }

.countries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.country-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  transition: var(--transition);
}
.country-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); border-color: rgba(22, 163, 74, 0.5); }
.flag-icon { width: 90px; height: 60px; object-fit: contain; border-radius: 8px; margin: 0 auto 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); background: #fff; }
.country-name { font-size: 0.96rem; font-weight: 800; margin-bottom: 5px; color: var(--white); }
.country-desc { color: var(--gray-text); font-size: 0.82rem; }
.special-country { grid-column: span 2; }

/* ============================================= */
/* ========== PORTFOLIO ========== */
/* ============================================= */
.portfolio { padding: 95px 0; background: var(--off-white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--navy); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 79, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
.portfolio-overlay p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }

/* ============================================= */
/* ========== FINAL CTA ========== */
/* ============================================= */
.final-cta { background: var(--navy); color: var(--white); text-align: center; padding: 85px 5%; }
.final-cta h2 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; max-width: 820px; margin-left: auto; margin-right: auto; color: var(--white); }
.final-cta p { color: var(--gray-text); font-size: 1.05rem; margin-bottom: 35px; max-width: 660px; margin-left: auto; margin-right: auto; }

/* ============================================= */
/* ========== FOOTER ========== */
/* ============================================= */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 65px 5% 30px; }
.footer-content { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-column h3 { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.footer-column p { font-size: 0.9rem; line-height: 1.85; color: rgba(255, 255, 255, 0.6); }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.footer-column ul li a:hover { color: var(--green); }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.social-links a:hover { background: var(--green); color: var(--white); }

.contact-form .form-group { margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: right;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); background: rgba(255, 255, 255, 0.09); }
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form button {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.contact-form button:hover { background: var(--green-hover); }

.copyright { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 25px; text-align: center; color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; }
.copyright a { color: rgba(255, 255, 255, 0.6); }
.copyright a:hover { color: var(--green); }

/* ============================================= */
/* ========== MOBILE APP NAV ========== */
/* ============================================= */
.mobile-app-nav {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  display: none;
}
.app-nav-items { display: flex; justify-content: space-around; align-items: center; padding: 8px 0; }
.app-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--gray); font-size: 0.7rem; font-weight: 600;
  padding: 5px 10px; transition: var(--transition);
}
.app-nav-item i { font-size: 1.2rem; }
.app-nav-item.active, .app-nav-item:hover { color: var(--green); }
.app-nav-item.consultation i, .app-nav-item.contact i { color: var(--green); }

/* ============================================= */
/* ========== PAGE HERO (inner pages) ========== */
/* ============================================= */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 150px 20px 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: transparent; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; position: relative; z-index: 1; color: var(--white); }
.page-hero h1::after { content: ''; display: block; width: 60px; height: 4px; border-radius: 4px; background: var(--green); margin: 16px auto 0; }
.page-hero p { color: var(--gray-text); max-width: 560px; margin: 12px auto 0; position: relative; z-index: 1; }

/* ============================================= */
/* ========== BREADCRUMB ========== */
/* ============================================= */
.breadcrumb { background: var(--navy); color: rgba(255, 255, 255, 0.6); padding: 105px 5% 0; font-size: 0.85rem; text-align: right; }
.breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--white); font-weight: 700; }
.breadcrumb + .page-hero { padding-top: 26px; }

/* ============================================= */
/* ========== FORMS (light) ========== */
/* ============================================= */
.contact-form-light {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}
.contact-form-light input, .contact-form-light textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  text-align: right;
  transition: var(--transition);
  background: var(--off-white);
  color: var(--ink);
}
.contact-form-light input:focus, .contact-form-light textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.contact-form-light textarea { height: 130px; resize: vertical; }
.contact-form-light button {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.contact-form-light button:hover { background: var(--green-hover); }

.contact-info-card { background: var(--navy); color: var(--white); padding: 2.5rem; border-radius: var(--radius); }

/* ============================================= */
/* ========== FAQ ========== */
/* ============================================= */
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.faq-question i { transition: transform 0.3s ease; color: var(--green); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0; }
.faq-item.active .faq-answer { max-height: 420px; padding: 0 0 20px; }
.faq-answer p { color: var(--gray); line-height: 1.9; font-size: 0.95rem; margin: 0; }

/* ============================================= */
/* ========== CATEGORY FILTER ========== */
/* ============================================= */
.category-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 2rem; text-align: center; }
.category-filter a {
  display: inline-block;
  padding: 9px 22px;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}
.category-filter a:hover, .category-filter a.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ============================================= */
/* ========== ALERTS ========== */
/* ============================================= */
.alert { padding: 1rem 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; font-weight: 600; }
.alert-success { background: var(--green-light); color: var(--green-hover); border: 1px solid rgba(22, 163, 74, 0.3); }
.alert-danger { background: #FDECEC; color: #B91C1C; border: 1px solid #F5C6CB; }

/* ============================================= */
/* ========== UTILITIES ========== */
/* ============================================= */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

/* ============================================= */
/* ========== BACK TO TOP & CHAT ========== */
/* ============================================= */
#back-to-top { transition: var(--transition); }
#back-to-top:hover { transform: scale(1.1); box-shadow: 0 6px 20px var(--green-glow); }

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

@keyframes rippleAnim { to { transform: scale(10); opacity: 0; } }

body { opacity: 1; transition: opacity 0.25s ease; }

/* Safe area for notched phones */
@supports (padding-top: env(safe-area-inset-top)) {
  .main-header { padding-top: env(safe-area-inset-top); }
  .mobile-app-nav { padding-bottom: env(safe-area-inset-bottom); }
}

/* ============================================= */
/* ========== RESPONSIVE ========== */
/* ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 5%;
    gap: 0;
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
  .nav-links.active { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--gray-light); }
  .nav-links li:last-child { border: none; }
  .nav-links li a { padding: 1rem 0; display: block; color: var(--ink); }

  .hamburger { display: flex; align-items: center; justify-content: center; }

  .hero-content h1 { font-size: 3.2rem; }
  .cta-boxes-container { grid-template-columns: 1fr; max-width: 460px; }
  .mobile-consultation { display: block; margin-top: 20px; }

  .page-hero { padding: 125px 20px 55px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 0.95rem; }

  .services, .portfolio, .clients-worldwide, .how-we-work-section, .cta-section { padding: 55px 0; }
  .section-header { margin-bottom: 35px; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header p { font-size: 0.95rem; }

  .services [itemprop="articleBody"] { font-size: 1rem !important; line-height: 1.9 !important; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid article p { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .special-country { grid-column: span 2; }
  .footer-content { grid-template-columns: 1fr; }

  .category-filter { display: grid; grid-template-columns: repeat(3, 1fr); justify-content: end; gap: 6px; margin-bottom: 1.5rem; }
  .category-filter a { text-align: center; padding: 8px 6px; font-size: 0.78rem; }

  .two-col-grid { grid-template-columns: 1fr; }

  .mobile-app-nav { display: block; }
  .app-nav-items { padding: 5px 0 calc(5px + env(safe-area-inset-bottom, 0px)); }
  .app-nav-item { padding: 8px 12px; min-width: 50px; }
  .app-nav-item i { font-size: 1.3rem; }
  .app-nav-item span { font-size: 0.65rem; }
  #back-to-top { bottom: 80px; right: 15px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.5rem; }
  .logo img { height: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .special-country { grid-column: span 2; }
  .cta-section h2, .final-cta h2 { font-size: 1.5rem; }
  .cta-button { width: 100%; padding: 14px 24px; }
  .page-hero { padding: 110px 15px 45px; }
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero p { font-size: 0.9rem; }
  .services, .portfolio, .clients-worldwide, .how-we-work-section, .cta-section { padding: 42px 0; }
  .section-header { margin-bottom: 25px; }
  .section-header h2 { font-size: 1.45rem; }
  .section-header p { font-size: 0.9rem; }
}
