:root {
  --primary-color: #5ba4d9;
  --primary-dark: #4a93c8;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

.navbar {
  padding: 1rem 0;
  background-color: var(--white) !important;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-text {
  color: var(--primary-color);
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-item.active .nav-link {
  color: var(--primary-color) !important;
}

.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  margin-top: 76px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--white);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

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

.page-content {
  margin-top: 76px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

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

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.article-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.article-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.article-link:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.article-full {
  padding: 2rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-title-full {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-featured-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

.article-image-inline {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-image-inline img {
  width: 100%;
  height: auto;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.content-section {
  margin-bottom: 2rem;
}

.content-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content-list {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-list li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.contact-info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-info-box address {
  margin-bottom: 0;
}

.contact-info-box p {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-form-box {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
}

.contact-form-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(91, 164, 217, 0.15);
}

.contact-form .form-check-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form .form-check-label a {
  color: var(--primary-color);
}

.thank-you-box {
  padding: 4rem 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  margin-top: 2rem;
}

.policy-content {
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.policy-content p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.policy-content address {
  font-style: normal;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.policy-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.disclaimer-highlight {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}

.disclaimer-highlight p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.footer {
  background-color: #1a202c;
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  min-width: 200px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-buttons .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.cookie-link {
  color: var(--primary-color);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .article-title-full {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .main-content {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .article-title-full {
    font-size: 1.75rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero-section {
    height: 50vh;
    min-height: 350px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .contact-info-box,
  .contact-form-box {
    padding: 1.5rem;
  }
}
