/* ====== Grundlayout ====== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

/* ====== Navbar ====== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 45px;
  width: auto;
}

/* Navigation links */

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu */

.mobile-menu-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
  }

  .nav-links.show {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ====== HERO (FINAL VERSION) ====== */

.hero {
  width: 100%;
  padding: 120px 20px;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto 35px;
}

/* BUTTON STYLING */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #2563eb;
  color: white !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.hero-btn {
  margin-top: 10px;
}


/* ====== Grid / Cards ====== */

.section {
  padding: 50px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.cards-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card h3 {
  margin-bottom: 10px;
}

/* ====== Footer ====== */

.footer {
  padding: 20px;
  text-align: center;
  background: #f3f4f6;
  color: #4b5563;
  margin-top: 40px;
}
