:root {
  --primary-blue: #1a4b9b;
  --accent-red: #d8344e;
  --text-dark: #1f1f1f;
  --text-muted: #6f7a8a;
  --light-gray: #f4f6fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  color: var(--accent-red);
}

header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(26, 75, 155, 0.08), rgba(216, 52, 78, 0.08));
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.hero p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #fff;
  border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

.btn-outline {
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--accent-red);
  color: #fff;
}

.section-title {
  text-align: center;
  margin: 3.5rem 0 2rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.grid {
  display: grid;
  gap: 2rem;
}

.article-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(13, 39, 80, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-card .content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.article-card .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.article-card p {
  margin: 0;
  color: var(--text-muted);
  flex-grow: 1;
}

.article-card .read-more {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.stats {
  background: var(--light-gray);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.stats-item {
  text-align: center;
}

.stats-item h4 {
  font-size: 2.2rem;
  margin: 0;
  color: var(--primary-blue);
}

.stats-item span {
  color: var(--text-muted);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(26, 75, 155, 0.9), rgba(216, 52, 78, 0.9));
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  margin: 4rem 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

footer {
  background: #0f1f3d;
  color: #fff;
  padding: 3rem 0 2rem;
}

footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.category-hero {
  padding: 5rem 0 3rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.category-hero .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0;
}

.article-content {
  padding: 4rem 0;
}

.article-content img {
  width: 100%;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 15px 35px rgba(13, 39, 80, 0.2);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--light-gray);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.social-share {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-share a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-page {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #dbe2f1;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.contact-form button {
  justify-self: start;
}

.map-container iframe {
  width: 100%;
  border: 0;
  border-radius: 20px;
  min-height: 320px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(15, 31, 61, 0.15);
  border-radius: 16px;
  max-width: 320px;
  z-index: 2000;
  display: none;
}

.cookie-banner button {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: 0 15px 30px rgba(15, 31, 61, 0.08);
    display: none;
  }

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

  .mobile-toggle {
    display: block;
  }

  .top-bar {
    position: relative;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 601px) and (max-width: 1024px) {
  .grid-articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 1025px) {
  .grid-articles {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
