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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #fafafa;
  color: #0f2a2e;
  line-height: 1.6;
}

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

/* =========================
   Header
   ========================= */
header {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 14px;
}

.logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
}

.cta-link {
  background: #00a7a0;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================
   Sections
   ========================= */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f2fbfb;
}

.section h2 {
  text-align: center;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
}

/* =========================
   Hero
   ========================= */
.hero {
  background: linear-gradient(135deg, #e8f8f7, #ffffff);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  max-width: 700px;
}

.hero p {
  max-width: 550px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}

.hero .container {
  margin-left: auto;
  margin-right: auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: -220px;
  top: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(0, 167, 160, 0.18),
    rgba(0, 167, 160, 0) 60%
  );
  pointer-events: none;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #00a7a0;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  margin-left: 10px;
  background: transparent;
  color: #00a7a0;
  border: 1px solid #00a7a0;
}

/* =========================
   Grids & Cards
   ========================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

@media (min-width: 769px) {
  #about .grid-2 {
    margin-left: 60px;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* =========================
   TOOLS SECTION
   ========================= */

/* NEW: slightly tighter spacing for Tools section heading & intro */
#tools h2 {
  margin-bottom: 8px;
}

#tools .section-intro {
  margin-bottom: 28px; /* was 40px via .section-intro */
}

/* Tool Card */
.tool-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.tool-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.tool-card p {
  color: #555;
  max-width: 560px;
  margin: 12px auto 20px;
  line-height: 1.7; /* NEW: slightly nicer readability for 2 short sentences */
}

/* =========================
   Contact Section
   ========================= */
.contact-section {
  text-align: center;
  padding: 100px 0 90px;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-lead {
  font-size: 18px;
  color: #444;
  margin: 20px auto 40px;
}

.contact-email span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.contact-email a {
  font-size: 20px;
  font-weight: 600;
  color: #00a7a0;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-social {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 42, 46, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f2a2e;
  background: transparent;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-social a i {
  color: inherit;
}

.contact-social a:hover {
  background: #0f2a2e;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #eee;
  padding: 32px 0 40px;
  color: #777;
  text-align: center;
}

.site-footer .footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer p {
  margin: 8px 0;
}

.footer-copy {
  font-size: 14px;
}

.acknowledgement {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    margin-bottom: 6px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero h1,
  .hero p {
    max-width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-actions .btn {
    display: inline-block;
    margin: 0 auto;
  }

  .hero::after {
    right: 50%;
    top: -120px;
    width: 380px;
    height: 380px;
    transform: translateX(60%);
  }

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

  .tool-card {
    padding: 26px;
  }

  /* NEW: keep Tools intro spacing consistent on mobile */
  #tools .section-intro {
    margin-bottom: 22px;
  }
}

@media (min-width: 769px) {
  .hero .container {
    padding-left: 60px;
  }
}