:root {
  --primary: #0d5fa8;
  --primary-dark: #083a69;
  --accent: #68b52e;
  --navy: #0b1730;
  --ink: #1c2430;
  --muted: #687385;
  --bg: #f4f8fc;
  --line: #e6edf5;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(8, 35, 63, 0.12);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container-xxl { max-width: 1240px; }
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.topbar .inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.topbar .mini-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.92); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,95,168,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { width: 50px; }
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.active,
.nav-links a:hover { color: var(--primary); }
.btn-main,
.btn-outline-main,
button.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
  border: none;
}
.btn-main {
  background: linear-gradient(135deg, var(--primary), #1b88e5);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(13,95,168,.25);
}
.btn-main:hover { color: var(--white); transform: translateY(-2px); }
.btn-outline-main {
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  color: var(--white);
}
.btn-outline-main.dark {
  border-color: rgba(11,23,48,.14);
  color: var(--navy);
}
.btn-outline-main:hover { transform: translateY(-2px); }
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,20,43,.85) 0%, rgba(7,20,43,.68) 42%, rgba(7,20,43,.18) 100%), url('../images/aitne/hero-team.jpg') center/cover no-repeat;
}
.hero .container-xxl { position: relative; z-index: 1; }
.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 60px;
  line-height: 1.05;
  margin: 20px 0 18px;
  font-weight: 800;
}
.hero p.lead {
  max-width: 680px;
  font-size: 20px;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-list li:last-child { border-bottom: none; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}
.section {
  padding: 96px 0;
}
.section-light { background: var(--bg); }
.section-title {
  max-width: 780px;
  margin-bottom: 44px;
}
.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-title .tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 12px;
  display: inline-block;
}
.section-title h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--navy);
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.card-soft {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-badge {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13,95,168,.1), rgba(104,181,46,.15));
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
}
.service-card h3,
.mega-service h3 { color: var(--navy); font-size: 28px; margin: 0; }
.service-card p,
.mega-service p,
.text-muted-custom { color: var(--muted); }
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}
.bullet-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.metric h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}
.metric p { margin: 0; color: var(--muted); font-size: 15px; }
.photo-box {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-box .overlay-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 18px 34px rgba(0,0,0,.12);
}
.photo-box .overlay-card strong { color: var(--navy); display: block; font-size: 18px; }
.photo-box .overlay-card span { color: var(--muted); font-size: 14px; }
.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.mega-service {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.mega-service .text {
  padding: 34px;
}
.mega-service .image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.mega-service .label {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(13,95,168,.08);
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin-bottom: 16px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.icon-card h4 { color: var(--navy); margin: 0 0 10px; font-size: 20px; }
.icon-card p { color: var(--muted); margin: 0; }
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: var(--white);
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.cta-band h3 { font-size: 34px; margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; }
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sector {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.sector h4 { margin: 0 0 8px; color: var(--navy); }
.sector p { margin: 0; color: var(--muted); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.step .number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h4 { margin: 0 0 8px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: start;
}
.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item strong { display: block; color: var(--navy); }
.form-control,
textarea.form-control {
  border-radius: 14px;
  border: 1px solid #d6e3f0;
  padding: 14px 16px;
  min-height: 54px;
}
textarea.form-control { min-height: 140px; }
.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.page-hero {
  position: relative;
  color: var(--white);
  padding: 120px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,20,43,.86), rgba(7,20,43,.45)), url('../images/aitne/about-building.jpg') center/cover no-repeat;
}
.page-hero .container-xxl { position: relative; z-index: 1; }
.page-hero h1 { font-size: 52px; margin: 18px 0 16px; }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.85); font-size: 18px; margin: 0; }
.breadcrumb-mini { font-size: 14px; color: rgba(255,255,255,.8); }
.footer {
  background: #071121;
  color: rgba(255,255,255,.78);
  padding-top: 70px;
}
.footer .logo { width: 150px; }
.footer h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}
.footer p,
.footer li,
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 34px;
  padding: 20px 0 28px;
  font-size: 14px;
}
.notice {
  background: rgba(104,181,46,.1);
  color: #295e08;
  border: 1px solid rgba(104,181,46,.2);
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
}
@media (max-width: 1199px) {
  .hero h1 { font-size: 52px; }
  .hero-grid,
  .split-grid,
  .contact-grid,
  .mega-service { grid-template-columns: 1fr; }
  .metrics, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nav-wrap,
  .nav-links,
  .topbar .inner { flex-direction: column; align-items: flex-start; }
  .hero-grid { min-height: auto; padding: 80px 0; }
  .hero h1 { font-size: 42px; }
  .section { padding: 76px 0; }
  .section-title h2 { font-size: 34px; }
  .metrics,
  .steps,
  .sectors,
  .icon-grid { grid-template-columns: 1fr; }
  .brand img { width: 50px; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 38px; }
  .btn-main, .btn-outline-main { width: 100%; }
  .cta-band h3 { font-size: 28px; }
  .section-title p,
  .hero p.lead { font-size: 17px; }
}


/* Mobile navigation improvements */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11,23,48,.12);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 35, 63, 0.08);
}
.mobile-nav-toggle span,
.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: .25s ease;
}
.mobile-nav-toggle span { position: relative; }
.mobile-nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.mobile-nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.mobile-nav-toggle[aria-expanded="true"] span { background: transparent; }
.mobile-nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .topbar { display: none; }
  .site-header .container-xxl { position: relative; }
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }
  .mobile-nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(13,95,168,.08);
    border-radius: 18px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: 0 20px 40px rgba(8, 35, 63, 0.12);
  }
  .site-header.menu-open .nav-wrap { align-items: flex-start; flex-wrap: wrap; }
  .site-header.menu-open .nav-links { display: flex; }
  .nav-links a { width: 100%; }
  .nav-links .btn-main { width: 100%; margin-top: 6px; }
  .hero-grid { gap: 24px; }
}

@media (max-width: 576px) {
  .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-grid { padding: 56px 0; }
  .hero-card,
  .card-soft,
  .quote-box,
  .contact-card { padding: 22px; }
  .section { padding: 56px 0; }
  .section-title { margin-bottom: 30px; }
  .section-title h2 { font-size: 28px; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero { padding: 72px 0; }
  .hero p.lead,
  .section-title p,
  .page-hero p { font-size: 16px; }
  .pill-row { gap: 10px; }
  .pill { width: 100%; justify-content: center; text-align: center; }
  .footer-bottom { text-align: center; justify-content: center !important; }
}
