/* ===================================================================
   Basra OGFZC — Landing page styles
   Palette: deep navy + electric gold + tech blue
   =================================================================== */
:root {
  --navy-900: #060e1c;
  --navy-800: #0b1f3a;
  --navy-700: #102a4d;
  --gold: #e0b34d;
  --gold-light: #f5d27a;
  --blue: #1f6feb;
  --blue-light: #4d94ff;
  --text: #e8eef7;
  --muted: #9bb0cb;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --radius: 18px;
  --maxw: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --display: "Sora", var(--font);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.accent { color: var(--gold); }
.gradient-text {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 40%, var(--blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 700; color: var(--gold); margin-bottom: 0.8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; cursor: pointer; border: 0;
  background: linear-gradient(100deg, var(--gold), var(--gold-light));
  color: #1a1306; transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(224, 179, 77, 0.25);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(224, 179, 77, 0.4); }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1rem 0; transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(6, 14, 28, 0.85); backdrop-filter: blur(14px);
  padding: 0.6rem 0; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__logo { width: 44px; height: 44px; }
.brand__text strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.02em; display: block; }
.brand__text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.05em; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.btn { color: #1a1306; }
.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 11rem 0 6rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.glow--1 { width: 460px; height: 460px; background: var(--blue); top: -120px; right: -80px; }
.glow--2 { width: 420px; height: 420px; background: var(--gold); bottom: -160px; left: -100px; opacity: 0.32; }
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin-inline: auto; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 620px; margin: 1.5rem auto 0; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat__num { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold); }
.stat__plus { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.stat p { color: var(--muted); font-size: 0.86rem; margin-top: 0.2rem; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-800); border-block: 1px solid var(--line); }
.trustbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem;
  padding: 1.1rem 0; color: var(--muted); font-weight: 600; font-size: 0.92rem;
}
.trustbar__inner span:nth-child(even) { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--navy-800); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section__lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-8px); border-color: rgba(224, 179, 77, 0.4); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 1.3rem;
}
.card__icon--blue { background: rgba(31, 111, 235, 0.15); }
.card__icon--gold { background: rgba(224, 179, 77, 0.15); }
.card__icon--mix { background: linear-gradient(135deg, rgba(31,111,235,0.18), rgba(224,179,77,0.18)); }
.card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.card > p { color: var(--muted); margin-bottom: 1.2rem; }
.card__list { list-style: none; display: grid; gap: 0.6rem; }
.card__list li { position: relative; padding-left: 1.6rem; color: var(--text); font-size: 0.95rem; }
.card__list li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__panel {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line); border-radius: 24px; padding: 3.5rem; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.about__panel img { width: 70%; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5)); }
.about__badge {
  position: absolute; bottom: -22px; right: -10px; z-index: 2;
  background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: #1a1306;
  border-radius: 16px; padding: 1rem 1.3rem; text-align: center; font-weight: 700;
  font-size: 0.82rem; line-height: 1.2; box-shadow: 0 14px 30px rgba(224,179,77,0.35);
}
.about__years { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 800; }
.about__body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.about__body p { color: var(--muted); margin-bottom: 1rem; }
.about__body strong { color: var(--text); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.about__points div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.about__points strong { display: block; color: var(--gold); margin-bottom: 0.2rem; font-size: 0.98rem; }
.about__points span { color: var(--muted); font-size: 0.86rem; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.3rem; }
.sector {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.sector:hover { transform: translateY(-6px); border-color: rgba(224,179,77,0.4); }
.sector span { font-size: 2.4rem; display: block; margin-bottom: 0.7rem; }
.sector h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.sector p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.why__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform 0.3s, border-color 0.3s;
}
.why__item:hover { transform: translateY(-6px); border-color: rgba(31,111,235,0.45); }
.why__n {
  font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--gold);
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(224,179,77,0.12); margin-bottom: 1.1rem;
}
.why__item h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.why__item p { color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA strip ---------- */
.ctastrip { background: linear-gradient(110deg, var(--navy-700), var(--blue)); }
.ctastrip__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3.5rem 0; flex-wrap: wrap;
}
.ctastrip h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.ctastrip p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.contact__items { list-style: none; display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact__items li { display: flex; gap: 1rem; align-items: center; }
.contact__ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); font-size: 1.3rem; flex-shrink: 0;
}
.contact__items strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact__items a:hover { color: var(--gold); }
.contact__form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem;
}
.contact__form h3 { font-size: 1.3rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; background: var(--navy-900);
  border: 1px solid var(--line); color: var(--text); font-family: var(--font); font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.contact__note { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 1rem; }
.contact__note a { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); border-top: 1px solid var(--line); padding-top: 3rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; }
.footer__brand { display: flex; gap: 1rem; max-width: 420px; }
.footer__brand img { width: 50px; height: 50px; }
.footer__brand strong { font-family: var(--display); }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer__links a { color: var(--muted); font-weight: 600; }
.footer__links a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.footer__barinner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.86rem; }
.footer__barinner a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: #1a1306;
  font-size: 1.3rem; font-weight: 700; box-shadow: 0 10px 26px rgba(224,179,77,0.4);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: 0.3s;
}
.totop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 2rem;
    background: var(--navy-800); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.35s ease; z-index: 60;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__toggle { display: flex; z-index: 61; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
}
@media (max-width: 480px) {
  .about__points { grid-template-columns: 1fr; }
  .brand__text small { display: none; }
}
