* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f7f7f7;
}

header {
  background: white;
  border-bottom: 1px solid #ddd;
  padding: 16px 32px;
  position: sticky;
  top: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
}

.logo-image {
  height: 150px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.nav-links a.active {
  color: #1d6fa5;
  font-weight: bold;
}

.hero {
  min-height: 85vh;
  padding: 120px 32px;
  display: flex;
  align-items: center;
  background-image: url("images/hero-background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}

.hero-content {
  max-width: 700px;
  margin-left: 80px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.button {
  display: inline-block;
  background: #2f80ed;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
}

.button {
  display: inline-block;
  background: #1d6fa5;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
}

.content-section {
  padding: 40px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.content-section + .content-section {
  padding-top: 10px;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 24px;
}

.partner-group-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 28px;
}

.partner-group-title:first-of-type {
  margin-top: 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.partner-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.partner-card img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.partner-card p {
  margin: 0;
  font-weight: bold;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.news-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.read-more {
  color: #1d6fa5;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}

.news-date {
  margin: 0 0 12px;
  font-size: 14px;
  color: #777;
  font-weight: 600;
}

.news-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
}

.news-card p {
  margin-bottom: 16px;
}

.news-card a {
  color: #1d6fa5;
  text-decoration: none;
  font-weight: bold;
}

.news-card a:hover {
  text-decoration: underline;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.news-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 24px 0;
  border-radius: 10px;
}

.content-section h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.news-detail {
  max-width: 900px;
}

.news-detail h1 {
  font-size: 42px;
  margin-bottom: 24px;
}

.news-detail p {
  font-size: 18px;
  line-height: 1.7;
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover {
  text-decoration: underline;
}

.back-link {
  font-weight: bold;
  text-decoration: none;
  color: #1d6fa5;
}

.back-link:hover {
  text-decoration: underline;
}

.page-header {
  padding-bottom: 24px;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info,
.contact-form-box {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-info h2,
.contact-form-box h2 {
  margin-top: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
}

.contact-form button {
  margin-top: 8px;
  background: #1d6fa5;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.92;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  font-size: 42px;
  margin-bottom: 24px;
}

.legal-page h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-page p {
  line-height: 1.7;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  background: white;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switcher {
    margin-top: 8px;
  }
}

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 40px;
    max-width: 600px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 22px;
  }
}

@media (max-width: 800px) {
  header {
    padding: 16px 20px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .content-section {
    padding: 60px 20px;
  }

  .hero {
    min-height: 65vh;
    padding: 80px 20px;
    background-position: center;
  }

  .hero-content {
    margin-left: 0;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 19px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1,
  .content-section h1,
  .news-detail h1 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .logo {
    gap: 10px;
  }

  .logo-image {
    height: 40px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    min-height: 55vh;
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 17px;
  }

  .button {
    padding: 12px 20px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card,
  .news-card,
  .contact-info,
  .contact-form-box {
    padding: 20px;
  }

  .content-section {
    padding: 48px 16px;
  }
}

.form-status {
  margin-bottom: 16px;
  font-weight: bold;
}

.form-status.success {
  color: green;
}

.form-status.error {
  color: #b00020;
}

.hidden-field {
  display: none;
}