/* ---------- Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0b2545;
  --navy-dark: #081b34;
  --blue: #1170a8;
  --green: #1f9d55;
  --green-dark: #187f44;
  --bg: #ffffff;
  --bg-alt: #eef2f6;
  --text: #1a2332;
  --text-muted: #5b6b7c;
  --border: rgba(11, 37, 69, 0.1);
  --radius: 14px;
  --shadow: 0 10px 26px rgba(11, 37, 69, 0.08);
  --transition: 0.25s ease;
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--navy);
  color: #dfe8f2;
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 6px;
}

.sparkle {
  color: var(--green);
}

.top-bar-contact {
  display: flex;
  gap: 24px;
}

.top-bar-contact a:hover {
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-line1 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.logo-line2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green-dark);
}

.nav-links a.active {
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 8px 18px;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: var(--bg-alt);
}

.nav-cta {
  padding: 10px 20px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-icon span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  background: var(--bg-alt);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-text > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.badge-icon {
  font-size: 1.3rem;
}

.hero-media {
  position: relative;
}

.hero-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dceef7, #e4f5ec);
  border: 1px dashed rgba(11, 37, 69, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}

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

.eyebrow {
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: var(--navy);
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  padding-bottom: 24px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(11, 37, 69, 0.14);
}

.card-media {
  height: 140px;
  background: linear-gradient(135deg, #dceef7, #e4f5ec);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: -26px auto 14px;
  box-shadow: var(--shadow);
}

.card h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--navy);
}

.card p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0 22px;
  margin-bottom: 14px;
}

.card-link {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--navy);
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  text-align: center;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.why-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  padding: 40px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-text {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.cta-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cta-banner-text h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.cta-banner-text p {
  color: #b9c8d9;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--green-dark);
}

.contact-photo {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e4f5ec, #dceef7);
  border: 1px dashed rgba(11, 37, 69, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c8d9;
  padding: 22px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 720px) {
  .menu-icon {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--bg-alt);
  }

  .has-dropdown:hover .dropdown {
    display: block;
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: 500px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}
