/* ======================
   RESET & BASE
====================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

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

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

ul {
  list-style: none;
}


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


/* ======================
   TYPOGRAPHY
====================== */
h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #1a2e3b;
}

h2 {
  font-size: 1.7rem;
  color: #1a2e3b;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.1rem;
  color: #1a2e3b;
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
}

.section-intro {
  color: #555;
  max-width: 640px;
  margin-bottom: 36px;
}


/* ======================
   BUTTON
====================== */
.btn {
  display: inline-block;
  background-color: #1a5276;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn:hover, .btn:focus {
  background-color: #154360;
  outline: none;
}

.btn:active {
  background-color: #0f3249;
}

.btn:disabled {
  background-color: #7f9eaf;
  cursor: not-allowed;
}


/* ======================
   HEADER
====================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #1a2e3b;
  border-bottom: 3px solid #1a5276;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo a {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo a:hover {
  color: #aac4d4;
}

nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links li a {
  color: #d0dde5;
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #fff;
  border-bottom-color: #1a5276;
  outline: none;
}

/* Mobile nav toggle button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}


/* ======================
   HERO
====================== */
.hero {
  background-color: #eef2f5;
  border-bottom: 1px solid #d4dde4;
  padding: 80px 0 70px;
}

.hero-inner {
  max-width: 680px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #1a5276;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero-body {
  color: #444;
  margin-bottom: 28px;
  font-size: 1rem;
}


/* ======================
   SERVICES
====================== */
.services {
  padding: 70px 0;
  background-color: #fff;
}

.services h2 {
  margin-bottom: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.service-card {
  background-color: #f4f7f9;
  border: 1px solid #dce5ec;
  border-top: 3px solid #1a5276;
  border-radius: 3px;
  padding: 28px 22px;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0;
}


/* ======================
   ABOUT
====================== */
.about {
  padding: 70px 0;
  background-color: #f4f7f9;
  border-top: 1px solid #dce5ec;
  border-bottom: 1px solid #dce5ec;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: start;
}

.about-text p {
  color: #444;
}

.about-points {
  margin-top: 20px;
  padding-left: 0;
}

.about-points li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: #333;
  border-bottom: 1px solid #dce5ec;
  font-size: 0.95rem;
}

.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a5276;
  font-weight: bold;
}

.about-points li:last-child {
  border-bottom: none;
}

.about-highlight {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 180px;
}

.highlight-box {
  background-color: #1a2e3b;
  color: #fff;
  border-radius: 3px;
  padding: 20px 22px;
  text-align: center;
}

.highlight-number {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #aac4d4;
  line-height: 1.2;
  margin-bottom: 6px;
}

.highlight-label {
  display: block;
  font-size: 0.8rem;
  color: #c5d5df;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ======================
   CONTACT
====================== */
.contact {
  padding: 70px 0 80px;
  background-color: #fff;
}

.contact h2 {
  margin-bottom: 10px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  align-items: start;
}

.contact-details h3 {
  margin-bottom: 18px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
}

.contact-details ul {
  padding: 0;
}

.contact-details li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.contact-details a {
  color: #1a5276;
  text-decoration: underline;
}

.contact-details a:hover {
  color: #154360;
}


/* ======================
   CONTACT FORM
====================== */
.contact-form {
  max-width: 520px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.required {
  color: #c0392b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c5d0d8;
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background-color: #fdfdfd;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a5276;
  background-color: #fff;
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #c0392b;
}

.form-group textarea {
  resize: vertical;
}

.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 16px;
}

.form-success,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 0.95rem;
}

.form-success {
  background-color: #eafaf1;
  border: 1px solid #a9dfbf;
  color: #1e8449;
}

.form-error {
  background-color: #fdedec;
  border: 1px solid #f5b7b1;
  color: #c0392b;
}


/* ======================
   FOOTER
====================== */
footer {
  background-color: #1a2e3b;
  color: #aabbc6;
  padding: 36px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid #1a5276;
}

.footer-inner p {
  margin-bottom: 6px;
}

.footer-name {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

footer a {
  color: #aabbc6;
  text-decoration: underline;
  transition: color 0.15s;
}

footer a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #6e8898;
}


/* ======================
   RESPONSIVE — TABLET
====================== */
@media (max-width: 820px) {

  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-highlight {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
  }

  .highlight-box {
    flex: 1 1 140px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    max-width: 100%;
  }

}


/* ======================
   RESPONSIVE — MOBILE
====================== */
@media (max-width: 600px) {

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero {
    padding: 52px 0 48px;
  }

  .services, .about, .contact {
    padding: 52px 0;
  }

  /* Mobile navigation */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    background-color: #1a2e3b;
    min-width: 180px;
    border: 1px solid #2d4a5e;
    border-top: none;
  }

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

  .nav-links li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #2d4a5e;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

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

  .rating-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

}


/* ======================
   RATING BADGE
====================== */
.rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.rating-badge .stars {
  color: #f39c12;
  font-size: 1.15rem;
  letter-spacing: 3px;
  line-height: 1;
}

.rating-badge .rating-text {
  font-size: 0.88rem;
  color: #555;
}
