:root {
  --primary: #0f2a4a;
  --accent: #2b5f8a;
  --dark: #071827;
  --light: #f8fbff;
  --border: #d9e2eb;
  --text: #17283b;
  --muted: #5b6c7d;
  --shadow: 0 18px 50px rgba(7, 24, 39, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

body::before {
  /* background-image:"); */
  z-index: -2;
  opacity: 0.14;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 251, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(7, 24, 39, 0.07);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.logo img {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-footer {
  color: white;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.current {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: 0;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: #0a203a;
}

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

.btn-secondary:hover {
  background: rgba(15, 42, 74, 0.06);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-compact {
  padding: 0.75rem 1.1rem;
}

.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero-grid,
.content-grid,
.contact-layout,
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(90deg, rgba(11, 95, 165, 0.08), rgba(217, 142, 4, 0.05));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("main_card.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: -1;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--dark);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.15rem, 3vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.hero-text,
.section-heading p,
.content-grid p,
.info-panel p,
.card p,
.testimonial p,
.quote-box p,
.faq-answer p,
.contact-details p,
.site-footer p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 1.1rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-highlights li {
  position: relative;
  padding-left: 1rem;
}

.hero-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-media img,
.image-card img,
.map-placeholder img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(7, 24, 39, 0.06);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: white;
  position: relative;
  overflow: hidden;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background-image: */
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: -1;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.card-grid,
.testimonial-grid,
.stats-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.testimonial,
.stat-card,
.info-panel,
.quote-box,
.contact-form,
.faq-container {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3,
.info-panel h3,
.quote-box span,
.stat-card strong {
  color: var(--primary);
}

.card,
.testimonial,
.stat-card,
.info-panel,
.quote-box {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.feature-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.quote-box {
  background: linear-gradient(135deg, rgba(11, 95, 165, 0.08), rgba(217, 142, 4, 0.1));
}

.quote-box span {
  display: block;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}

.stats-section {
  padding-top: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-banner {
  padding: 10 0 4.5rem;
}

.cta-inner {
  background: var(--dark);
  color: white;
  border-radius: 20px;
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-inner h2 {
  color: white;
  margin-bottom: 0;
}

.cta-inner .eyebrow {
  color: var(--accent);
}

.site-footer {
  background: var(--dark);
  color: white;
  padding: 3.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer .logo,
.site-footer h3,
.site-footer a {
  color: white;
}

.site-footer .footer-links a {
  color: #dce7f2;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background-image: */
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-form {
  padding: 1.5rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  background: #fcfcfc;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
}

.form-message {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.info-panel {
  margin-bottom: 1rem;
}

.alert-box {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(217, 142, 4, 0.14);
  color: var(--dark);
}

.faq-container {
  padding: 1rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-item.is-open .faq-answer {
  max-height: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .card-grid,
  .testimonial-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .content-grid,
  .contact-layout,
  .split-layout,
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
  }

  .card-grid,
  .testimonial-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}