/* Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #213c5f;
  background: #f9fbff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}

/* Top bar + header */
.top-bar {
  background: #263f6a;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.95rem;
}

.top-bar a {
  color: #f8f9fa;
  font-weight: 700;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e3e9f5;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1d334e;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: #405b83;
  font-weight: 600;
}

.btn {
  padding: 0.62rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: #1f6de0;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #1f6de0;
  color: #1f6de0;
  background: #fff;
}

.full-btn {
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(120deg,#eef4ff,#ffffff);
  padding-block: 2.8rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #1c2f4f;
  margin-bottom: 0.8rem;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #344b70;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-form {
  background: #fff;
  border: 1px solid #d4e1f5;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(35, 55, 93, 0.1);
}

.hero-form h2 {
  margin-bottom: 0.8rem;
  color: #1d3f68;
}

.hero-form form {
  display: grid;
  gap: 0.75rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  border: 1px solid #b7c8e0;
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.95rem;
  color: #223a5f;
}

.hero-form textarea {
  min-height: 100px;
  resize: vertical;
}

.section {
  padding-block: 2.2rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: #1f3f62;
}

.section-subtitle {
  color: #5f728f;
  margin-bottom: 1.1rem;
}

.service-grid,
.why-grid,
.review-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.why-box,
.review-card {
  background: #fff;
  border: 1px solid #d8e5f4;
  border-radius: 10px;
  padding: 1rem;
}

.card h3,
.why-box h3,
.review-card h4 {
  margin-bottom: 0.5rem;
  color: #214264;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 1.2rem;
}

.about-box {
  background: #eef5ff;
  border-radius: 10px;
  padding: 1rem;
}

.about-box ul {
  list-style: square;
  padding-left: 1.2rem;
  color: #18406a;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.cta-box {
  background: #1f6de0;
  color: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 1.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form {
  background: #fff;
  border: 1px solid #d3dfef;
  border-radius: 10px;
  padding: 1rem;
}

.footer {
  background: #213552;
  color: #e8eff8;
  padding: 1.1rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.94rem;
}

.footer a {
  color: #f1f7ff;
}

@media (max-width: 990px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hero-form {
    margin-top: 0.6rem;
  }
}
