* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;

  background: radial-gradient(circle at top left, rgba(130, 180, 255, 0.25), transparent 55%),
              radial-gradient(circle at top right, rgba(255, 120, 200, 0.18), transparent 55%),
              radial-gradient(circle at bottom left, rgba(120, 255, 200, 0.15), transparent 60%),
              #ffffff;
}
a {
  color: inherit;
  text-decoration: none;
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 70px;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.logo {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-links a {
  margin-left: 18px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.75;
  transition: 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  padding: 90px 70px 70px 70px;
  max-width: 1100px;
}

.hero-tag {
  font-size: 13px;
  font-weight: 800;
  color: #666;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  max-width: 820px;
}

/* SECTIONS */
.section {
  padding: 80px 70px;
}

.section-head {
  margin-bottom: 30px;
  max-width: 850px;
}

.section-head h2 {
  font-size: 34px;
  margin-bottom: 10px;
  letter-spacing: -0.7px;
}

.section-head p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

/* BUTTONS */
.button-group {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  display: inline-block;
  transition: 0.2s;
}

.btn-primary {
  background: #111;
  color: white;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  border: 1px solid #ddd;
  color: #111;
}

.btn-outline:hover {
  background: #f5f5f5;
}

/* GRID + CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 20px;
  background: white;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 35px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.meta {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #777;
}

/* SMALL CARD */
.small-card img {
  display: none;
}

/* TOPICS */
.topic-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.topic {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s;
}

.topic:hover {
  background: #111;
  color: white;
  border-color: #111;
}

/* CONTACT */
.contact-box {
  border: 1px solid #eee;
  border-radius: 22px;
  padding: 50px;
  background: #fafafa;
}

.contact-box h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid #eee;
  padding: 40px 70px;
  color: #777;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding: 70px 20px 50px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section {
    padding: 60px 20px;
  }

  .footer {
    padding: 30px 20px;
  }
}
