:root {
  --primary-color: #2c5f8d;
  --secondary-color: #1a3d5c;
  --accent-color: #4a90d9;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.hero-banner {
  background: linear-gradient(135deg, #1a3d5c 0%, #2c5f8d 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.typewriter-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 144, 217, 0.3);
}

.featured-posts,
.info-section,
.blog-listing,
.about-content,
.contact-section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.new-badge {
  background-color: var(--success-color);
  color: var(--white);
}

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.post-date,
.post-category,
.post-author {
  display: inline-block;
}

.post-category {
  color: var(--accent-color);
  font-weight: 600;
}

.post-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 1rem;
}

.about-intro,
.values-section,
.team-section,
.stats-section {
  margin-bottom: 4rem;
}

.about-intro h2,
.values-section h2,
.team-section h2,
.stats-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-intro p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.team-member img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.member-role {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-light);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-details p,
.contact-details a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--accent-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-btn {
  padding: 15px 40px;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-color);
}

.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
}

.modal-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.modal-close {
  margin-top: 2rem;
  padding: 10px 30px;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.article-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 60px 20px 40px;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.article-date,
.article-category,
.article-author {
  opacity: 0.9;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.article-featured-image {
  width: 100%;
  max-width: 900px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 2rem;
}

.article-content {
  padding: 60px 20px;
}

.article-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.article-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
}

.article-content h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.related-posts {
  background: var(--bg-light);
  padding: 60px 20px;
}

.posts-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.post-card-small {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.post-card-small:hover {
  transform: translateY(-5px);
}

.post-card-small img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.post-card-small h3 {
  padding: 1rem;
  font-size: 1.1rem;
}

.read-more-small {
  display: block;
  padding: 0 1rem 1rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.main-footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cookie-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.cookie-btn:hover {
  opacity: 0.9;
}

.accept-all {
  background-color: var(--success-color);
  color: var(--white);
}

.customize {
  background-color: var(--accent-color);
  color: var(--white);
}

.decline {
  background-color: var(--text-light);
  color: var(--white);
}

.cookie-link {
  color: var(--accent-color);
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .typewriter-heading {
    font-size: 2rem;
  }

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

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

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

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-featured-image {
    height: 250px;
  }
}