/* ==========================================================================
   City Tech DMCC — Corporate Website Styles
   Premium corporate theme: navy blue, white, modern blue accents
   ========================================================================== */

:root {
  --navy-900: #061529;
  --navy-800: #0a2540;
  --navy-700: #0f2f52;
  --navy-600: #143b66;
  --blue-500: #2f6fed;
  --blue-400: #4f8bff;
  --blue-300: #8fb4ff;
  --blue-050: #eef4ff;
  --ink-900: #0b1b30;
  --ink-700: #34435a;
  --ink-500: #64748b;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 4px 12px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0 0 1rem; color: var(--ink-700); }

a { color: var(--blue-500); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--navy-800); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: radial-gradient(1200px 600px at 80% -10%, var(--navy-600), transparent),
              linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #dbe6f5;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #b9c8de; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--blue-300); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 24px rgba(47, 111, 237, 0.35); }
.btn--primary:hover { background: var(--blue-400); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--navy-800); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-500); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { color: #fff; border-color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; }
.brand:hover { color: var(--navy-800); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-500), var(--navy-700));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 1.18rem; line-height: 1; }
.brand__name small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; color: var(--ink-500); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 9px 14px;
  border-radius: 8px;
}
.nav__links a:hover { color: var(--navy-800); background: var(--blue-050); }
.nav__links a.active { color: var(--blue-500); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px auto; transition: 0.25s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #eaf1fb;
  background: radial-gradient(900px 500px at 85% -20%, rgba(79,139,255,0.35), transparent),
              linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 104px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--blue-300); }
.hero p.lead { font-size: 1.16rem; color: #c3d2e8; max-width: 560px; margin-bottom: 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; color: #9fb3d1; font-size: 0.9rem; }
.hero__meta strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 700; }

.hero__card {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero__card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 18px; }
.hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero__list li { display: flex; gap: 12px; align-items: flex-start; color: #d3e0f2; font-size: 0.98rem; }
.hero__list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: rgba(79,139,255,0.22); color: var(--blue-300);
  display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px;
}

/* page hero (interior pages) */
.page-hero {
  color: #eaf1fb;
  background: radial-gradient(800px 400px at 90% -30%, rgba(79,139,255,0.30), transparent),
              linear-gradient(155deg, var(--navy-900), var(--navy-800));
  padding: 72px 0 80px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #c3d2e8; font-size: 1.1rem; max-width: 640px; }
.breadcrumb { color: #93a7c6; font-size: 0.86rem; margin-bottom: 16px; }
.breadcrumb a { color: #93a7c6; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--blue-050); color: var(--blue-500);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: 0.97rem; margin: 0; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.feature-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: var(--blue-050); color: var(--blue-500);
  display: grid; place-items: center; font-size: 0.78rem; margin-top: 2px; font-weight: 700;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: #a9bcd8; font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy-800); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h4 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 500; color: var(--ink-700); font-size: 0.95rem;
  box-shadow: var(--shadow-sm); transition: 0.2s var(--ease);
}
.chip:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }

.industry-card { display: flex; gap: 16px; align-items: flex-start; }
.industry-card .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-050); color: var(--blue-500); display: grid; place-items: center;
}

/* ---------- Values / team ---------- */
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 6px; }
.value .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); }

.team-card { text-align: left; }
.team-card .avatar {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-500), var(--navy-700));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; margin-bottom: 18px;
}
.team-card .role { color: var(--blue-500); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero__btns { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue-500); display: grid; place-items: center; }
.info-row h4 { margin: 0 0 3px; font-size: 1rem; }
.info-row p { margin: 0; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy-800); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  font: inherit; color: var(--ink-900); background: var(--bg-soft); transition: 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(79,139,255,0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: 10px; }

.map-embed { border: 0; border-radius: var(--radius-lg); width: 100%; height: 320px; box-shadow: var(--shadow-md); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c8de; padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #b9c8de; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.95rem; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #91a4c2; font-size: 0.95rem; max-width: 320px; }
.footer-bottom {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: #7e93b4;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 66px 0 76px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links a { padding: 12px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
