/* Base Styles */
:root {
  --primary-color: #5c6bc0;
  --primary-dark: #26418f;
  --primary-light: #8e99f3;
  --secondary-color: #ff5252;
  --secondary-dark: #c50e29;
  --secondary-light: #ff867f;
  --accent-color: #35baf6;
  --text-dark: #333333;
  --text-light: #757575;
  --background-light: #ffffff;
  --background-alt: #f5f7fa;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

section {
  padding: 80px 0;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.logo span {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

nav ul li a.active:after,
nav ul li a:hover:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--background-alt);
  position: relative;
  padding: 120px 0;
  text-align: center;
  background-image: linear-gradient(rgba(92, 107, 192, 0.7), rgba(92, 107, 192, 0.7)), url('images/7.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  background-color: var(--secondary-color);
}

.hero .btn:hover {
  background-color: var(--secondary-dark);
}

/* Featured Posts Section */
.featured-posts {
  background-color: var(--background-light);
  text-align: center;
}

.featured-posts h2 {
  display: inline-block;
  margin-bottom: 50px;
}

.featured-posts h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

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

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

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

.post-content {
  padding: 20px;
  text-align: left;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

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

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 10px;
}

/* Beginner Mistakes Section */
.beginner-mistakes {
  background-color: var(--background-alt);
}

.mistakes-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mistake-item {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
}

.mistake-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.mistake-icon {
  background-color: var(--primary-light);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.mistake-text h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mistake-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Comparison Table */
.comparison-table {
  background-color: var(--background-light);
  text-align: center;
}

.comparison-table h2 {
  display: inline-block;
  margin-bottom: 40px;
}

.comparison-table h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: var(--box-shadow);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

table th {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: left;
}

table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background-color: rgba(92, 107, 192, 0.05);
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: white;
  margin-bottom: 20px;
}

.newsletter h2:after {
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
}

.newsletter p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-primary);
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
  background-color: var(--secondary-color);
  padding: 0 20px;
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact p svg {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 0;
  z-index: 1000;
  display: none;
}

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

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

.cookie-content p {
  margin: 10px 0;
  flex: 1 1 100%;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.cookie-btn.customize {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-btn.decline {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
}

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

.cookie-buttons a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  margin-left: 15px;
}

.cookie-buttons a:hover {
  color: white;
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

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

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 220px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 25px;
}

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

.blog-meta .date:before {
  content: '📅';
  margin-right: 5px;
}

.blog-meta .category:before {
  content: '🏷️';
  margin-right: 5px;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-content h2:after {
  display: none;
}

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

/* Blog Post Styles */
.blog-post-container {
  padding: 60px 0;
}

.blog-post {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

.post-header h1 {
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.post-content h3 {
  margin-top: 30px;
  font-size: 1.4rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 10px;
}

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

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

.post-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(92, 107, 192, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-share {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-share span {
  font-weight: 600;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(92, 107, 192, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

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

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

.prev-post span,
.next-post span {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.prev-post a,
.next-post a {
  font-weight: 600;
  color: var(--text-dark);
}

.prev-post a:hover,
.next-post a:hover {
  color: var(--primary-color);
}

.related-posts {
  margin-top: 60px;
}

.related-posts h3 {
  margin-bottom: 30px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

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

.related-post-card h4 {
  padding: 15px;
  font-size: 1rem;
  margin-bottom: 0;
}

/* About Page Styles */
.about-story {
  padding-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.our-mission {
  background-color: var(--background-alt);
}

.mission-content {
  text-align: center;
}

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

.mission-value {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(92, 107, 192, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mission-value h3 {
  margin-bottom: 15px;
}

.mission-value p {
  color: var(--text-light);
  margin-bottom: 0;
}

.team {
  text-align: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  color: var(--text-light);
  padding: 0 20px;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(92, 107, 192, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.testimonials {
  background-color: var(--background-alt);
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin: 20px 0;
}

.testimonial-content p {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-content p:before,
.testimonial-content p:after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-content p:before {
  left: 0;
  top: -10px;
}

.testimonial-content p:after {
  right: 0;
  bottom: -20px;
}

.testimonial-author {
  margin-top: 20px;
}

.author-name {
  font-weight: 600;
  display: block;
  color: var(--text-dark);
}

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

.join-us {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.join-content {
  max-width: 600px;
  margin: 0 auto;
}

.join-us h2 {
  color: white;
}

.join-us h2:after {
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
}

/* Contact Page Styles */
.contact-section {
  padding-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-details {
  margin: 30px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  background-color: rgba(92, 107, 192, 0.1);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 5px;
}

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

.contact-text a {
  color: var(--text-light);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.business-hours {
  background-color: rgba(92, 107, 192, 0.05);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.business-hours h3 {
  margin-bottom: 10px;
}

.business-hours p {
  margin-bottom: 0;
  color: var(--text-light);
}

.contact-form-container {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(92, 107, 192, 0.2);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 10px;
}

.map-section {
  background-color: var(--background-alt);
  text-align: center;
  padding: 60px 0;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
}

.faq-section {
  text-align: center;
  padding: 60px 0;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-message {
  padding: 20px 0;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 20px;
}

.thank-you-message h2 {
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 25px;
}

.close-btn {
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .prev-post,
  .next-post {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.show {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul li {
    margin: 0 0 15px;
  }
  
  nav ul li:last-child {
    margin-bottom: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    padding: 25px;
  }
  
  .post-featured-image {
    margin: 0 -25px 30px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin-top: 15px;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .post-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .blog-post {
    padding: 20px;
  }
  
  .post-featured-image {
    margin: 0 -20px 20px;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .contact-form-container {
    padding: 25px;
  }
}
