:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --accent-color: #8b5cf6;
  --dark-color: #1f2937;
  --dark-color-light: #374151;
  --light-color: #f3f4f6;
  --gray-color: #9ca3af;
  --danger-color: #ef4444;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --text-color: #1f2937;
  --text-color-light: #6b7280;
  --white: #ffffff;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: var(--header-height);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

nav i {
  font-size: 1rem;
}

/* Main Content */
main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 300px);
  padding-bottom: 3rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 8rem 2rem;
  margin-bottom: 3rem;
}

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

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-color);
}

.hero .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Featured Posts Section */
.featured-posts {
  padding: 3rem 5%;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  position: relative;
}

.featured-posts h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
}

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

.post-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

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

.read-more i {
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Poll Section */
.poll-section {
  background-color: var(--white);
  padding: 3rem 5%;
  margin: 3rem 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

.poll-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.poll-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.poll-container h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.poll-option {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.poll-option input[type="radio"] {
  margin-right: 1rem;
  cursor: pointer;
}

.poll-option label {
  font-size: 1rem;
  cursor: pointer;
}

#poll-form button {
  display: block;
  margin: 1.5rem auto 0;
}

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

#poll-results.hidden {
  display: none;
}

#poll-results h4 {
  margin-bottom: 1rem;
}

.result-bar {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.result-bar span {
  width: 30%;
}

.result-bar span:last-child {
  width: 10%;
  text-align: right;
}

.progress-bar {
  flex-grow: 1;
  height: 20px;
  background-color: var(--gray-color);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 1rem;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
}

/* Countdown Section */
.countdown-section {
  text-align: center;
  padding: 3rem 5%;
  background-color: var(--dark-color);
  color: var(--white);
  margin: 3rem 0;
}

.countdown-section h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-item span {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.countdown-item .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Blog Header */
.blog-header, .about-header, .contact-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  margin-bottom: 3rem;
}

.blog-header h2, .about-header h2, .contact-header h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-header p, .about-header p, .contact-header p {
  color: var(--light-color);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}

/* Blog Filter */
.blog-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 5%;
}

.search-bar {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.search-bar input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
}

.search-bar button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
  cursor: pointer;
}

.category-filter select {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--white);
  cursor: pointer;
}

/* Blog Posts */
.blog-posts {
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-card.featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .post-card.featured {
    flex-direction: row;
  }
  
  .post-card.featured .post-image {
    width: 40%;
    height: auto;
  }
  
  .post-card.featured .post-content {
    width: 60%;
  }
}

.post-category {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

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

.post-meta i {
  margin-right: 0.3rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.pagination ul {
  display: flex;
  gap: 0.5rem;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
}

.pagination a.active, .pagination a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination a.next {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 20px;
}

/* About Page */
.about-story {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 5%;
  margin-bottom: 3rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.about-content {
  flex: 2;
}

@media (min-width: 768px) {
  .about-story {
    flex-direction: row;
    align-items: center;
  }
}

.mission-values, .team-section, .milestones {
  padding: 3rem 5%;
  margin-bottom: 3rem;
}

.mission-values h3, .team-section h3, .milestones h3 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.mission-values h3::after, .team-section h3::after, .milestones h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
}

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

.value-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h4 {
  margin: 1.5rem 0 0.5rem;
}

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

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--dark-color);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  position: absolute;
  width: 100px;
  text-align: center;
  padding: 0.5rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  top: 20px;
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-date {
  right: auto;
  left: -50px;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--white);
  border: 4px solid var(--primary-color);
  top: 22px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
  right: auto;
  left: -17px;
}

/* Contact Page */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 5%;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
}

.contact-info {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container {
  flex: 2;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info h3, .contact-form-container h3 {
  margin-bottom: 2rem;
  position: relative;
}

.contact-info h3::after, .contact-form-container h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 0.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-item h4 {
  margin-bottom: 0.5rem;
}

.social-contact {
  margin-top: 2rem;
}

.social-contact h4 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--dark-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.form-group {
  width: calc(50% - 0.75rem);
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius);
  outline: none;
  transition: var(--transition);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.map-section {
  padding: 0 5%;
  margin-bottom: 3rem;
}

.map-section h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Blog Post */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
}

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

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-intro {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.post-content h3 {
  margin: 2.5rem 0 1.5rem;
  color: var(--primary-dark);
}

.post-content h4 {
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 0.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.info-box, .quote-box {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.info-box {
  background-color: rgba(59, 130, 246, 0.1);
  border-left: 4px solid var(--info-color);
}

.info-box h4 {
  color: var(--info-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-box {
  background-color: rgba(139, 92, 246, 0.1);
  border-left: 4px solid var(--accent-color);
}

.quote-box blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quote-box cite {
  display: block;
  text-align: right;
  font-weight: 600;
  color: var(--accent-color);
}

.author-box {
  display: flex;
  gap: 1.5rem;
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
}

.prev-post, .next-post {
  max-width: 45%;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.related-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.related-card {
  min-width: 200px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.related-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.related-card h4 {
  font-size: 1rem;
  padding: 1rem 1rem 0.5rem;
}

.related-card .read-more {
  display: block;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
}

.share-post {
  text-align: center;
}

.share-post h3 {
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.email {
  background-color: #ea4335;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 5% 1rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo .logo {
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: var(--gray-color);
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links a {
  color: var(--gray-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-contact p {
  color: var(--gray-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact i {
  color: var(--primary-color);
}

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

.footer-bottom p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem;
  display: none;
}

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

.cookie-content h3 {
  margin-bottom: 1rem;
}

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

.cookie-more-info {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Thank You Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.popup.active .popup-content {
  transform: translateY(0);
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color-light);
}

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

.close-btn {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  header {
    padding: 0 3%;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  header h1 {
    font-size: 1.3rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a {
    font-size: 0.9rem;
  }
  
  nav a span {
    display: none;
  }
  
  .hero {
    padding: 6rem 1.5rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .featured-posts, .poll-section, .countdown-section {
    padding: 2rem 3%;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .countdown {
    gap: 1rem;
  }
  
  .countdown-item span {
    font-size: 2rem;
  }
  
  .blog-filter {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .search-bar {
    max-width: none;
  }
  
  .blog-header, .about-header, .contact-header {
    padding: 4rem 1.5rem;
  }
  
  .blog-header h2, .about-header h2, .contact-header h2 {
    font-size: 2rem;
  }
  
  .values-container, .team-container {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-date {
    right: auto;
    left: -30px;
    width: 80px;
    font-size: 0.8rem;
  }
  
  .timeline-item:nth-child(even) .timeline-date {
    left: -30px;
  }
  
  .timeline-content::after {
    left: -33px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -33px;
  }
  
  .form-group {
    width: 100%;
  }
  
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .related-grid {
    flex-wrap: wrap;
  }
  
  .related-card {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 1rem 3%;
  }
  
  nav {
    width: 100%;
    margin-top: 1rem;
  }
  
  nav ul {
    justify-content: space-around;
  }
  
  main {
    margin-top: calc(var(--header-height) + 50px);
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .countdown-item span {
    font-size: 1.5rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
  
  .share-buttons {
    flex-direction: column;
  }
}
