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

/* === BASE === */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #4a4a4a;
  background: #f4f7fa;
  line-height: 1.6;
}

main {
  padding-top: 64px;
}

a {
  color: inherit;
}

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVIGATION === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1a3a5c;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #93c5fd;
}

.nav-links a.active {
  border-bottom: 2px solid #93c5fd;
  padding-bottom: 2px;
}

/* === HERO === */
.hero {
  background: #1a3a5c;
  color: #ffffff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === PAGE HEADER === */
.page-header {
  background: #2e6da4;
  color: #ffffff;
  padding: 60px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.page-header p {
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* === SECTIONS === */
.section {
  padding: 64px 0;
}

.section-alt {
  padding: 64px 0;
  background: #ffffff;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #666;
  margin-bottom: 3rem;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.team-card h3 {
  color: #1a3a5c;
  margin-bottom: 0.25rem;
}

.team-card .title {
  color: #2e6da4;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.team-card .bio {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.team-card .email {
  color: #2e6da4;
  font-size: 0.85rem;
  text-decoration: none;
  display: block;
  margin-top: 0.5rem;
}

.team-card .email:hover {
  text-decoration: underline;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-primary {
  background: #2e6da4;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1a3a5c;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === SERVICES PAGE === */
.service-detail {
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-detail h3 {
  color: #1a3a5c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.step {
  padding: 1.5rem 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #2e6da4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h4 {
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.step p {
  color: #666;
  font-size: 0.9rem;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info h3 {
  color: #1a3a5c;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: #555;
}

.contact-info strong {
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #4a4a4a;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2e6da4;
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.75rem;
}

.map-placeholder {
  height: 250px;
  background: #1a3a5c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* === STATS === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e6da4;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* === CTA STRIP === */
.cta-strip {
  text-align: center;
}

.cta-strip h2 {
  font-size: 1.8rem;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
}

.cta-strip p {
  color: #666;
  margin-bottom: 2rem;
}

/* === FOOTER === */
footer {
  background: #1a3a5c;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.4rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover {
  color: #ffffff;
}

footer p {
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* === HAMBURGER BUTTON (hidden on desktop) === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* --- Nav --- */
  .nav-toggle {
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #1a3a5c;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

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

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 24px;
    font-size: 1rem;
  }

  .nav-links a.active {
    border-bottom: none;
    color: #93c5fd;
  }

  /* --- Grids --- */
  .card-grid,
  .team-grid,
  .footer-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

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

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

  /* --- Hero --- */
  .hero {
    padding: 64px 0 48px;
  }

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

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

  /* --- Sections --- */
  .section,
  .section-alt {
    padding: 40px 0;
  }

  .page-header {
    padding: 40px 0 28px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  /* --- Service detail --- */
  .service-detail {
    padding: 1.5rem;
  }

  /* --- CTA --- */
  .cta-strip h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .steps-row {
    grid-template-columns: 1fr;
  }

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

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

  .stat-number {
    font-size: 2rem;
  }
}
