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

:root {
  --primary-color: #2c5282;
  --secondary-color: #d69e2e;
  --accent-color: #38a169;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

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

.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
}

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

.hero-area {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
  color: white;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  padding: 20px;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

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

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.features-section,
.intro-section,
.latest-posts,
.cta-section {
  padding: 80px 20px;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.intro-section {
  background-color: var(--bg-light);
}

.intro-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.intro-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.posts-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.post-preview-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

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

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

.post-preview-content {
  padding: 25px;
}

.post-preview-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.post-preview-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

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

.view-all-container {
  text-align: center;
  margin-top: 50px;
}

.view-all-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.view-all-btn:hover {
  background-color: #1a365d;
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, #2f855a 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-secondary-btn {
  display: inline-block;
  background-color: white;
  color: var(--accent-color);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s;
}

.cta-secondary-btn:hover {
  transform: scale(1.05);
}

.main-footer {
  background-color: var(--text-dark);
  color: 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: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #4a5568;
  color: #cbd5e0;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 32, 44, 0.98);
  color: white;
  padding: 30px 20px;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
  z-index: 10000;
  display: none;
}

.cookie-consent.active {
  display: block;
}

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

.cookie-content h4 {
  font-size: 22px;
  margin-bottom: 15px;
}

.cookie-content p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.cookie-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.cookie-btn:hover {
  transform: scale(1.05);
}

.cookie-btn.accept {
  background-color: var(--accent-color);
  color: white;
}

.cookie-btn.reject {
  background-color: #e53e3e;
  color: white;
}

.cookie-btn.customize {
  background-color: var(--text-light);
  color: white;
}

.cookie-policy-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.page-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.page-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-post-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

.blog-post-card:hover {
  transform: translateY(-8px);
}

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

.post-card-content {
  padding: 30px;
}

.post-category {
  display: inline-block;
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.post-card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.post-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.post-read-btn {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.post-read-btn:hover {
  color: var(--secondary-color);
}

.newsletter-section {
  background-color: var(--bg-light);
  padding: 60px 20px;
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-box h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.about-story {
  padding: 80px 20px;
}

.story-content {
  max-width: 900px;
  margin: 0 auto 60px;
}

.story-content h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.story-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
}

.value-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.value-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.team-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.member-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.member-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.member-role {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

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

.contact-main {
  padding: 60px 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-panel {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
}

.contact-info-panel h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.info-details h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

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

.info-details a:hover {
  color: var(--primary-color);
}

.contact-form-panel h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

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

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.checkbox-label input {
  width: auto;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #1a365d;
}

.map-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
}

.map-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.map-placeholder img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 50px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.modal-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.modal-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

.post-article {
  padding: 40px 20px;
}

.post-container {
  max-width: 900px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 40px;
}

.post-meta-top {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-date,
.read-time {
  font-size: 14px;
  color: var(--text-light);
}

.post-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.post-featured-image {
  margin-bottom: 40px;
}

.post-featured-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.post-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
}

.lead-paragraph {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-light);
}

.post-content h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.post-content p {
  margin-bottom: 20px;
}

.post-conclusion {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
}

.post-conclusion h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.post-navigation {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

.back-to-blog {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.prev-post,
.next-post {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

  .primary-nav ul {
    gap: 15px;
  }

  .hero-area {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

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

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

  .team-member {
    grid-template-columns: 1fr;
  }

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

  .post-title {
    font-size: 32px;
  }

  .post-nav-links {
    flex-direction: column;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}