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

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
}

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

.site-header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-navigation {
  padding: 1rem 0;
}

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

.logo-section a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.site-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-right: 12px;
}

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

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.main-content {
  min-height: calc(100vh - 400px);
}

.hero-section {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.85) 0%,
      rgba(30, 64, 175, 0.85) 100%
    ),
    url("images/hero_bg.webp?v=0502");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: white;
  color: var(--primary-color);
  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: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-content,
.poll-section,
.info-section {
  padding: 4rem 0;
}

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

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

.post-card {
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.85rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

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

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

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.read-more:hover {
  gap: 0.75rem;
}

.poll-section {
  background-color: var(--bg-secondary);
}

.poll-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.poll-question {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.poll-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poll-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}

.poll-option:hover {
  border-color: var(--primary-color);
  background-color: var(--bg-secondary);
}

.poll-option input[type="radio"] {
  margin-right: 1rem;
  width: 20px;
  height: 20px;
}

.poll-submit-btn {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

.poll-results {
  margin-top: 2rem;
}

.result-bar {
  margin-bottom: 1.5rem;
}

.result-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bar-container {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  height: 30px;
  margin-bottom: 0.25rem;
}

.bar-fill {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  height: 100%;
  transition: width 1s ease-in-out;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  color: white;
  font-weight: 600;
}

.result-percentage {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

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

.info-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-light);
}

.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.15rem;
  opacity: 0.95;
}

.blog-listing {
  padding: 4rem 0;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-post-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
  position: relative;
  overflow: hidden;
}

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

.post-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.blog-post-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.blog-post-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-post-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.read-more-btn {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.about-intro {
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.team-section {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.section-subheading {
  text-align: center;
  color: var(--text-light);
  font-size: 1.15rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

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

.team-card {
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
}

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

.team-card h3 {
  font-size: 1.5rem;
  margin: 1.5rem 1rem 0.5rem;
}

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

.team-bio {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

.values-section {
  padding: 4rem 0;
}

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

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

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--text-light);
}

.stats-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
}

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-info-block p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-light);
  margin: 0;
}

.business-hours {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
}

.business-hours h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.business-hours p {
  margin-bottom: 0.5rem;
}

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

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

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.submit-button {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}

.post-article {
  background: var(--bg-color);
}

.article-header {
  background: var(--bg-secondary);
  padding: 3rem 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.article-category {
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.article-date,
.article-author,
.article-time {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-title {
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--text-color);
}

.article-featured-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

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

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

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
}

.back-link:hover {
  gap: 0.75rem;
}

.site-footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-color);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text h4 {
  margin-bottom: 0.5rem;
}

.cookie-text p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

.accept-btn:hover {
  background-color: #059669;
}

.decline-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.decline-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

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

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

.modal-close-btn {
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-close-btn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

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

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

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

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

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

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

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }

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

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

/* === ADDED STYLES FOR IMPROVEMENTS === */

/* Social Share Buttons */
.social-share {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  text-align: center;
}

.social-share h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #ffffff;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.share-btn.twitter {
  background-color: #1da1f2;
}
.share-btn.twitter:hover {
  background-color: #0d8bd9;
}
.share-btn.linkedin {
  background-color: #0077b5;
}
.share-btn.linkedin:hover {
  background-color: #006399;
}
.share-btn.facebook {
  background-color: #1877f2;
}
.share-btn.facebook:hover {
  background-color: #0d65d9;
}

/* Related Articles */
.related-articles {
  margin: 50px 0;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 12px;
}

.related-articles h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

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

.related-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

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

.related-card h4 {
  padding: 15px 20px 5px;
  margin: 0;
  font-size: 1.1rem;
}

.related-card h4 a {
  color: #2c3e50;
  text-decoration: none;
}

.related-card h4 a:hover {
  color: #667eea;
}

.related-card p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .share-buttons {
    flex-direction: column;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

/* Mobile phones (portrait) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .nav-container {
    padding: 0.8rem 1rem !important;
  }

  .site-logo {
    max-height: 40px !important;
  }

  .logo-text {
    font-size: 1rem !important;
  }
}

/* Tablets (portrait) */
@media (min-width: 481px) and (max-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }
}

/* Tablets (landscape) and small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .content-wrapper {
    max-width: 900px !important;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .content-wrapper {
    max-width: 1200px !important;
  }

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

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: #1a1a1a;
    flex-direction: column;
    padding: 2rem 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
  }

  .menu-toggle {
    display: block !important;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   Mobile-first approach with breakpoints
   ======================================== */

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
    width: 80%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    width: 100%;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
  }
}

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

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

  .section-heading {
    font-size: 1.6rem !important;
  }

  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .content-wrapper {
    padding: 1.5rem !important;
  }

  .cta-button {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .logo-section img {
    max-width: 35px !important;
  }

  .logo-text {
    font-size: 1.1rem !important;
  }

  .poll-options {
    gap: 0.8rem !important;
  }

  .poll-option label {
    padding: 0.8rem !important;
    font-size: 0.9rem !important;
  }
}

/* Small Devices (tablets, 768px and down) */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
  }

  .hero-section {
    min-height: 60vh !important;
  }

  .site-header {
    padding: 1rem !important;
  }

  .nav-container {
    padding: 0 1rem !important;
  }

  .featured-content,
  .poll-section,
  .info-section {
    padding: 3rem 1rem !important;
  }

  .social-share {
    margin: 30px 0 !important;
    padding: 20px !important;
  }

  .share-buttons {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }

  .share-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .related-articles {
    margin: 40px 0 !important;
    padding: 30px !important;
  }

  .related-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Medium Devices (landscape tablets, 1024px and down) */
@media (max-width: 1024px) and (min-width: 769px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
  }

  .content-wrapper {
    max-width: 95% !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

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

/* Large Devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .content-wrapper {
    max-width: 1200px !important;
  }

  .posts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem !important;
  }

  .hero-section {
    min-height: 70vh !important;
  }

  .hero-title {
    font-size: 3.5rem !important;
  }

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

  /* Wider spacing for large screens */
  .featured-content,
  .poll-section,
  .info-section {
    padding: 5rem 2rem !important;
  }
}

/* Extra Large Devices (wide screens, 1400px and up) */
@media (min-width: 1400px) {
  .content-wrapper {
    max-width: 1320px !important;
  }

  .hero-title {
    font-size: 4rem !important;
  }

  .posts-grid {
    gap: 3.5rem !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-menu a,
  .cta-button,
  .poll-submit-btn,
  .share-btn {
    min-height: 44px !important; /* Apple's recommended touch target */
    padding: 1rem 1.5rem !important;
  }

  .poll-option label {
    min-height: 48px !important;
    padding: 1rem !important;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .social-share,
  .poll-section,
  .menu-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt !important;
    color: #000 !important;
    background: #fff !important;
  }

  a {
    text-decoration: underline !important;
    color: #000 !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  body {
    background: #000 !important;
    color: #fff !important;
  }

  .cta-button,
  .poll-submit-btn,
  .share-btn {
    border: 2px solid currentColor !important;
  }
}

/* Dark Mode Support (if user prefers) */
@media (prefers-color-scheme: dark) {
  /* Already using dark theme, but could add adjustments if needed */
}
