/* ============================================================
   Infofaith Global FZ LLC — Main Stylesheet
   infofaithglobalfz.ae
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0a2d6b;
  --primary-light: #1246a8;
  --primary-dark:  #061b42;
  --accent:        #c8922a;
  --accent-light:  #e6a830;
  --text:          #1a1a2e;
  --text-muted:    #5a6a80;
  --bg:            #f7f9fc;
  --white:         #ffffff;
  --border:        #dde3ed;
  --shadow-sm:     0 2px 8px rgba(10,45,107,0.08);
  --shadow-md:     0 6px 24px rgba(10,45,107,0.12);
  --shadow-lg:     0 12px 48px rgba(10,45,107,0.18);
  --gradient:      linear-gradient(135deg, #0a2d6b 0%, #1246a8 60%, #1a5fd4 100%);
  --gradient-gold: linear-gradient(135deg, #8b5e0a, #c8922a, #e6a830);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--primary-dark);
  color: #b8caee;
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #b8caee; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--accent-light); }
.topbar-links { display: flex; gap: 20px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(10,45,107,0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-icon-fallback {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-text span:first-child {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.logo-text span:last-child {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--primary); color: var(--white); }
.nav-links a.active { background: var(--primary); color: var(--white); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--accent-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ────────────────────────────────────────────────── */
#home {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,27,66,0.92) 0%, rgba(10,45,107,0.85) 60%, rgba(18,70,168,0.75) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
  color: var(--white);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 em {
  font-style: normal;
  color: var(--accent-light);
}
.hero-desc {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, background 0.3s;
}
.hero-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}
.hero-card:first-child { grid-column: span 2; }
.hero-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.hero-card:first-child .hero-card-img { height: 160px; }

.img-fallback {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  font-size: 2.75rem;
}
.hero-card-img.img-fallback { height: 140px; }
.hero-card:first-child .hero-card-img.img-fallback { height: 160px; }
.hero-card-body { padding: 16px 18px; }
.hero-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.hero-card-body p { font-size: 0.8rem; opacity: 0.78; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num sup { font-size: 1rem; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ── SECTIONS ────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-tag {
  display: inline-block;
  background: #e8f0fe;
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 em { font-style: normal; color: var(--accent); }
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1rem;
  margin-bottom: 48px;
}

/* ── ABOUT ───────────────────────────────────────────────── */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; padding-bottom: 28px; padding-right: 28px; }
.about-main-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 400px;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(200,146,42,0.35);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge span { font-size: 0.75rem; font-weight: 500; opacity: 0.9; }
.about-secondary-img {
  position: absolute;
  top: -20px;
  right: -10px;
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: none;
}
.about-list { list-style: none; margin: 24px 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.about-list li:last-child { border-bottom: none; }
.about-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.about-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.india-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff5e6;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.india-link:hover { background: var(--accent); color: var(--white); }

/* ── SERVICES ────────────────────────────────────────────── */
#services { background: var(--white); }
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.tab-btn.active,
.tab-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: 1;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-card-img.img-fallback { height: 180px; }
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.service-card-body ul { list-style: none; margin-top: 12px; }
.service-card-body ul li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0 4px 16px;
  position: relative;
}
.service-card-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── ROBOTICS ────────────────────────────────────────────── */
#robotics { background: var(--bg); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.tier-img.img-fallback { height: 200px; }
.tier-header {
  background: var(--gradient);
  padding: 20px 24px;
  color: var(--white);
  position: relative;
}
.tier-header.gold { background: var(--gradient-gold); }
.tier-grade {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 4px;
}
.tier-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.tier-header p { font-size: 0.82rem; opacity: 0.85; }
.tier-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.6rem;
  line-height: 1;
}
.tier-body { padding: 24px; }
.tier-body ul { list-style: none; }
.tier-body ul li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-body ul li:last-child { border-bottom: none; }
.tier-body ul li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── WHY US ──────────────────────────────────────────────── */
#why {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}
.why-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.9;
}
.why-inner {
  position: relative;
  z-index: 2;
}
#why .section-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
#why h2 { color: var(--white); }
#why .section-desc { color: rgba(255,255,255,0.72); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.why-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  opacity: 0.75;
}
.why-card-img.img-fallback { height: 140px; }
.why-card-body { padding: 22px; }
.why-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.83rem; opacity: 0.72; line-height: 1.6; }

/* ── PRODUCTS ────────────────────────────────────────────── */
#products { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  background: var(--bg);
}
.product-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.product-card-img.img-fallback { height: 160px; }
.product-card-body { padding: 20px; text-align: center; }
.product-icon { font-size: 2.2rem; margin-bottom: 10px; }
.product-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.product-card p { font-size: 0.82rem; color: var(--text-muted); }
.product-card-body ul { list-style: none; margin-top: 12px; text-align: left; }
.product-card-body ul li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.product-card-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── CONTACT ─────────────────────────────────────────────── */
#contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 28px;
}
.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}
.contact-item-text span { font-size: 0.87rem; color: var(--text-muted); }
.contact-item-text a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.contact-item-text a:hover { color: var(--primary); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 14px; font-size: 0.95rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #060f1e; color: rgba(255,255,255,0.7); }
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 16px 0 20px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.footer-socials a:hover { opacity: 0.85; transform: translateY(-3px); }
.footer-socials a.social-linkedin  { background: #0A66C2; }
.footer-socials a.social-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-socials a.social-whatsapp  { background: #25D366; }
.footer-socials a.social-facebook  { background: #1877F2; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.9rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px 60px; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-card:first-child { grid-column: span 2; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { padding-bottom: 20px; padding-right: 16px; }
  .about-main-img { height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 12px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 16px; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-left: none; }
  .stat-item:last-child { border-bottom: none; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card:first-child { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .topbar-links { display: none; }
  .tiers-grid { max-width: 100%; }
  .uae-strip-inner { height: auto; flex-direction: column; }
  .uae-photo-card { height: 200px; flex: none; }
  .uae-gallery-grid { grid-template-columns: 1fr; }
  .uae-gallery-grid .uae-gallery-tall { grid-row: span 1; }
  .map-card { height: 220px; }
  .about-mini-row { grid-template-columns: 1fr 1fr; }
}

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 13px 20px 13px 16px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.3s ease;
  animation: waBounce 2.4s infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 36px rgba(37,211,102,0.6);
  transform: translateY(-3px) scale(1.04);
  animation: none;
}
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-text { white-space: nowrap; }

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

@media (max-width: 480px) {
  .whatsapp-float { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
  .whatsapp-float-text { display: none; }
}

/* ── UAE FLAG STRIP ──────────────────────────────────────── */
.uae-flag-strip {
  display: flex;
  height: 6px;
}
.uae-flag-strip span:nth-child(1) { flex: 1; background: #00732F; }
.uae-flag-strip span:nth-child(2) { flex: 1; background: #FFFFFF; }
.uae-flag-strip span:nth-child(3) { flex: 1; background: #000000; }
.uae-flag-strip span:nth-child(4) { flex: 1; background: #FF0000; }

/* ── UAE PHOTO STRIP ─────────────────────────────────────── */
.uae-strip { background: var(--primary-dark); overflow: hidden; }
.uae-strip-inner {
  display: flex;
  height: 300px;
}
.uae-photo-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}
.uae-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.uae-photo-card:hover .uae-photo-img { transform: scale(1.08); }
.uae-photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,27,66,0.85) 0%, rgba(6,27,66,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  transition: background 0.3s;
}
.uae-photo-card:hover .uae-photo-card-overlay {
  background: linear-gradient(to top, rgba(6,27,66,0.92) 0%, rgba(6,27,66,0.3) 60%, transparent 100%);
}
.uae-photo-flag {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.uae-photo-name {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.uae-photo-sub {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 2px;
}
.uae-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: -1;
}

/* ── ABOUT MINI-ROW ──────────────────────────────────────── */
.about-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.about-mini-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.about-mini-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.about-mini-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,45,107,0.75);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 8px;
  text-align: center;
}

/* ── UAE GALLERY SECTION ─────────────────────────────────── */
#uae-gallery { background: var(--primary-dark); padding: 60px 0; }
#uae-gallery .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
#uae-gallery h2 { color: var(--white); }
#uae-gallery .section-desc { color: rgba(255,255,255,0.65); }
.uae-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.uae-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}
.uae-gallery-tall { grid-row: span 2; }
.uae-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.uae-gallery-item:hover .uae-gallery-img { transform: scale(1.06); }
.uae-gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(6,27,66,0.88));
  color: var(--white);
  padding: 28px 16px 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.uae-gallery-item:hover .uae-gallery-caption { opacity: 1; }
.uae-gallery-caption strong { display: block; font-size: 0.9rem; font-weight: 700; }
.uae-gallery-caption span { font-size: 0.75rem; opacity: 0.8; }

/* ── MAP CARD ────────────────────────────────────────────── */
.map-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #0a2d6b, #1246a8);
}
.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,45,107,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.map-pin {
  background: var(--accent);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 20px rgba(200,146,42,0.4);
}
.map-pin strong { display: block; font-size: 1rem; }
.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}
.directions-btn:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ── RESPONSIVE (new sections) ───────────────────────────── */
@media (max-width: 900px) {
  .uae-strip-inner { height: 200px; }
  .uae-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 180px 180px 180px;
  }
  .uae-gallery-tall { grid-row: span 1; }
  .about-mini-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .uae-strip-inner { flex-wrap: wrap; height: auto; }
  .uae-photo-card { flex: 0 0 50%; height: 160px; }
  .uae-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .about-mini-row { grid-template-columns: 1fr 1fr; }
  .map-card { height: 200px; }
}
