/* Global Styles */
:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1a1a2e;
  --text-light: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Force all inline SVG icons to sane sizes */
svg {
  flex-shrink: 0;
}

svg:not([width]) {
  width: 24px;
  height: 24px;
}

/* Ensure sections don't break layout */
section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Consistent container widths */
section > div,
section > .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav scroll state */
.nav-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

/* Mobile nav body lock */
body.nav-mobile-open {
  overflow: hidden;
}

:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #f9fafb;
  --bg: #ffffff;
  --bg-alt: #f3f4f6;
  --radius: 6px;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }
}

#navigation_1 {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.nav-hamburger-input {
  display: none;
}

.nav-hamburger-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--primary);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--bg-alt);
}

.nav-hamburger-input:checked ~ .nav-menu {
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: none;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 768px) {
  .nav-hamburger-label {
    display: none;
  }

  .nav-menu {
    display: block;
    position: static;
    background: transparent;
    border: none;
  }

  .nav-links {
    flex-direction: row;
    gap: 24px;
    padding: 0;
  }

  .nav-links a {
    padding: 0;
    font-size: 15px;
  }

  .nav-cta {
    display: inline-block;
  }
}

#footer_1 {
  background: var(--primary);
  color: var(--text-light);
  padding: 60px 0 24px;
  margin-top: 80px;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.footer-description {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  opacity: 0.8;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.6;
  text-align: center;
}

:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1a1a1a;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --radius: 8px;
}

.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  width: 100%;
  padding: 40px 20px;
}

.hero-headline {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.hero-subheadline {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 auto 32px;
  max-width: 600px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.hero-cta:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero-subheadline {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 85vh;
  }

  .hero-headline {
    font-size: 48px;
  }

  .hero-subheadline {
    font-size: 20px;
  }

  .hero-content {
    padding: 80px 20px;
  }
}

:root {
    --primary: #1e3a5f;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f9fafb;
    --bg-alt: #f3f4f6;
    --radius: 8px;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  #services_grid_1 {
    padding: 48px 0;
    background: var(--bg);
  }

  .services-grid h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--primary);
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .services-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .services-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
  }

  .services-card-content {
    padding: 24px;
  }

  .services-card-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
  }

  .services-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
  }

  .services-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
  }

  @media (min-width: 768px) {
    #services_grid_1 {
      padding: 80px 0;
    }

    .services-grid h2 {
      font-size: 28px;
      margin-bottom: 48px;
    }

    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .services-grid h2 {
      font-size: 32px;
    }

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

:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius: 8px;
}

.about-section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 80px 0;
  }
}

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-headline {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .about-headline {
    font-size: 32px;
  }
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 16px;
  }
}

.about-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .about-stats {
    gap: 48px;
  }
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

@media (min-width: 768px) {
  .about-stat-value {
    font-size: 28px;
  }
}

.about-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #777;
}

@media (min-width: 768px) {
  .about-stat-label {
    font-size: 14px;
  }
}

:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1a1a1a;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --radius: 8px;
}

.stats-section {
  background: var(--primary);
  padding: 48px 0;
  color: white;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 60px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

@media (min-width: 768px) {
  .stats-value {
    font-size: 40px;
  }
}

.stats-label {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

.cta-section {
  background: var(--primary);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 80px 0;
  }
}

.cta-content {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-headline {
    font-size: 36px;
  }
}

.cta-text {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 auto 32px;
  max-width: 600px;
}

@media (min-width: 768px) {
  .cta-text {
    font-size: 18px;
  }
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.9;
}

:root {
    --primary: #1e3a5f;
    --accent: #f59e0b;
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --radius: 8px;
  }

  .testimonials-headline {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--primary);
    line-height: 1.2;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonials-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
  }

  .testimonials-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin: 16px 0;
  }

  .testimonials-stars {
    display: flex;
    gap: 2px;
    margin: 12px 0;
  }

  .testimonials-author {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
  }

  .testimonials-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  .testimonials-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
  }

  .testimonials-role {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
  }

  @media (min-width: 768px) {
    .testimonials-headline {
      font-size: 32px;
      margin-bottom: 48px;
    }

    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .testimonials-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

:root {
  --primary: #1e3a5f;
  --accent: #f59e0b;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --radius: 8px;
}

.contact-section {
  padding: 48px 0;
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 80px 0;
  }
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-headline {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .contact-headline {
    font-size: 32px;
  }
}

.contact-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .contact-text {
    font-size: 16px;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-link {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .contact-link {
    font-size: 16px;
  }
}

.contact-link:hover {
  color: var(--accent);
}

.contact-text-item {
  font-size: 15px;
  color: var(--text);
}

@media (min-width: 768px) {
  .contact-text-item {
    font-size: 16px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-input,
.contact-textarea {
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  margin-bottom: 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg);
  transition: border-color 0.3s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #999;
}

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

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-button {
  background-color: var(--accent);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .contact-button {
    font-size: 16px;
  }
}

.contact-button:hover {
  opacity: 0.9;
}

.contact-button:active {
  opacity: 0.8;
}