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

:root {
  --primary: #0A3D62;
  --primary-light: #1B6B93;
  --primary-dark: #072A45;
  --accent: #00B4D8;
  --accent-warm: #F39C12;
  --accent-warm-hover: #E08E0B;
  --dark: #1a1a2e;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-alt: #f0f8fb;
  --bg-dark: #0A3D62;
  --border: #dce8ed;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(10, 61, 98, 0.08);
  --shadow-hover: 0 8px 30px rgba(10, 61, 98, 0.15);
  --radius: 12px;
  --radius-sm: 6px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.navbar-brand svg {
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: inline-block;
  padding: 8px 22px;
  background: var(--accent-warm);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-warm-hover);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent-warm);
  color: var(--white);
  border-color: var(--accent-warm);
}

.btn-primary:hover {
  background: var(--accent-warm-hover);
  border-color: var(--accent-warm-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Hero ─── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 10px;
}

/* ─── Sections ─── */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── Value Props ─── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--text-light);
}

.value-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: inline-block;
}

/* ─── About Strip (homepage) ─── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-strip h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-strip p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-strip .visual {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  opacity: 0.15;
  color: var(--primary);
}

/* ─── Credentials Strip ─── */
.credentials {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cred-item {
  padding: 16px;
}

.cred-item .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.cred-item .value {
  font-size: 1.05rem;
  font-weight: 600;
}

/* ─── CTA Strip ─── */
.cta-strip {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--accent-warm), #e67e22);
  text-align: center;
  color: var(--white);
}

.cta-strip h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-strip p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-strip .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-strip .btn-outline:hover {
  background: var(--white);
  color: var(--accent-warm);
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ─── Content Pages ─── */
.content-page {
  padding: 60px 0 80px;
}

.content-page h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin: 28px 0 10px;
}

.content-page p {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.8;
}

.content-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-page ul li {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail .detail h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-detail .detail p,
.contact-detail .detail a {
  font-size: 0.92rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }

  .navbar-links.open {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-strip {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
