:root {
  --primary: #0A2540;
  --accent: #F4B400;
  --text: #1F2937;
  --light: #F5F7FA;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 500;
}

/* HERO */
.hero {
  background: var(--light);
  padding: 90px 0;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 500;
  margin: 5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--primary);
}

/* SECTIONS */
section {
  padding: 70px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* NEWS LIST */
.list li {
  margin-bottom: 10px;
}

/* SUBSCRIBE */
.subscribe {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.subscribe h2 {
  color: var(--white);
}

.subscribe input {
  padding: 12px;
  width: 250px;
  border: none;
  border-radius: 4px;
  margin-top: 15px;
}

/* FOOTER */
footer {
  background: #020617;
  color: #cbd5f5;
  padding: 40px 0;
}

footer .grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

footer h3 {
  color: var(--white);
  margin-bottom: 10px;
}

footer p, footer a {
  font-size: 14px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}
