:root {
  --navy: #0b2540;
  --navy-2: #123256;
  --navy-3: #163a63;
  --teal: #189ab4;
  --teal-light: #4fc3dc;
  --orange: #f0812e;
  --orange-light: #f7a562;
  --ink: #0b2540;
  --muted: #5c7189;
  --paper: #f6f9fb;
  --white: #ffffff;
  --border: #e2e9f0;
  --shadow: 0 20px 50px -20px rgba(11, 37, 64, 0.35);
  --radius: 16px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--muted); line-height: 1.65; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow.center { display: block; text-align: center; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); }
.section-title.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.dot-live {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, .25);
  margin-right: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(240, 129, 46, .55);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy-3);
  color: var(--navy);
}
.btn-small { padding: 10px 18px; font-size: 13px; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  margin-top: 10px;
  padding: 10px 18px;
  font-size: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 64, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand-logo { height: 34px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: #cfe0ee;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--teal-light); }
.header-cta { white-space: nowrap; }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-3) 0%, var(--navy) 55%, #081b30 100%);
  overflow: hidden;
  padding: 72px 0 90px;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(24,154,180,.35), transparent 70%);
  top: -200px; right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow { color: var(--teal-light); }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}
.hero-sub { color: #b9c9db; font-size: 16.5px; max-width: 540px; }
.hero-points { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { color: #dce8f2; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.hero-points .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(79, 195, 220, .18);
  color: var(--teal-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; flex: none;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats .stat strong { display: block; color: #fff; font-family: var(--font-head); font-size: 22px; }
.hero-stats .stat span { color: #90a5bb; font-size: 12.5px; }

/* Chat widget */
.chat-wrap { position: relative; z-index: 2; }
.chat-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}
.chat-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  padding: 16px 18px;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex: none;
  padding: 6px;
}
.chat-title { color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.badge-ai {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .04em;
}
.chat-status { color: #a9c1d6; font-size: 12px; margin-top: 2px; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f4f8fb;
}
.msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: pop .25s ease;
}
.msg.bot {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.msg.user {
  background: linear-gradient(135deg, var(--teal), #1782a0);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.msg ul { margin: 6px 0 0 0; padding-left: 18px; list-style: disc; }
.msg li { margin-bottom: 3px; }

.typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 13px 16px;
  display: flex;
  gap: 4px;
}
.typing span {
  width: 6px; height: 6px;
  background: #9db3c6;
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.chat-quickreplies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: #f4f8fb;
}
.chip {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { background: var(--teal); color: #fff; }

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-family: var(--font-body);
  padding: 10px 4px;
  background: transparent;
}
.chat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex: none;
  transition: transform .15s ease;
}
.chat-send:hover { transform: scale(1.06); }
.chat-disclaimer {
  text-align: center;
  font-size: 12px;
  color: #8ba2b9;
  margin-top: 12px;
}

/* How it works */
.how { padding: 90px 0 70px; background: #fff; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.how-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.how-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  margin-bottom: 10px;
}
.how-card h3 { color: var(--navy); font-size: 19px; }

/* Services */
.services { padding: 80px 0; background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 30px; margin-bottom: 14px; }
.service-card h3 { color: var(--navy); font-size: 17.5px; }
.service-card p { font-size: 14px; margin-bottom: 0; }

/* Why Qatar */
.why-qatar { padding: 90px 0; background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: start;
}
.sector-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.sector-chips span {
  background: rgba(24,154,180,.1);
  color: var(--teal);
  border: 1px solid rgba(24,154,180,.3);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.why-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  border-radius: 20px;
  padding: 34px 30px;
  color: #fff;
}
.why-card h3 { font-size: 19px; margin-bottom: 20px; }
.structure-list { display: flex; flex-direction: column; gap: 20px; }
.structure-list strong { display: block; color: var(--teal-light); font-size: 15px; margin-bottom: 4px; }
.structure-list span { color: #b9c9db; font-size: 13.5px; line-height: 1.5; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), #d9691c);
  padding: 50px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-inner .btn-primary { background: #fff; color: var(--orange); box-shadow: none; }

/* Footer */
.site-footer { background: var(--navy); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: #93a8bd; font-size: 13.5px; }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a { color: #cfe0ee; font-size: 13px; }
.footer-social a:hover { color: var(--teal-light); }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #93a8bd; font-size: 13.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { color: #6d84a0; font-size: 12.5px; text-align: center; margin: 0; }
.footer-bottom a { color: #93a8bd; text-decoration: underline; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .how-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .chat-card { height: 520px; }
}
@media (max-width: 640px) {
  .how-grid, .services-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .header-cta span:not(.dot-live) { display: none; }
}
