/* Base Styles */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #4cc9f0;
  --accent-color: #f72585;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --text-color: #333;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

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

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

/* Button Styles */
.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--gray-900);
  border: none;
}

.btn-secondary:hover {
  background-color: #40b4d8;
  color: var(--gray-900);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-400);
}

.btn-tertiary:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--gray-800);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--gray-100);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-700);
  margin-bottom: 0;
}

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-all {
  font-weight: 500;
}

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

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  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: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.post-content h3 {
  margin-bottom: 0.75rem;
}

.post-content h3 a {
  color: var(--gray-900);
}

.post-content h3 a:hover {
  color: var(--primary-color);
}

.post-content p {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* Spell Checker Section */
.spell-checker {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

.spell-checker h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.spell-checker p {
  text-align: center;
  margin-bottom: 2rem;
}

.spell-check-form {
  max-width: 800px;
  margin: 0 auto;
}

.spell-check-form textarea {
  width: 100%;
  height: 150px;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  resize: vertical;
}

#check-spelling-btn {
  display: block;
  margin: 0 auto;
}

#spell-check-results {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: white;
  min-height: 50px;
  display: none;
}

/* Footer */
footer {
  background-color: var(--gray-900);
  color: white;
  padding: 4rem 0 2rem;
}

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

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

.footer-about p {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer-links ul li a {
  color: var(--gray-400);
}

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

.footer-contact address {
  font-style: normal;
  color: var(--gray-400);
}

.footer-contact address p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact address p svg {
  margin-right: 0.5rem;
  margin-top: 4px;
}

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

.social-icons a {
  color: var(--gray-400);
  transition: var(--transition);
}

.social-icons a:hover {
  color: white;
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

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

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

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

.cookie-content p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

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

.cookie-policy {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Page Styles */
.blog-content {
  padding: 4rem 0;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

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

.category-filter select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  min-width: 200px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-post {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.blog-spell-checker {
  margin-top: 3rem;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--gray-100);
  padding: 4rem 0;
}

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

.newsletter-content h2 {
  margin-bottom: 1rem;
}

.newsletter-content p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
}

/* Blog Post Page Styles */
.blog-post-content {
  padding: 4rem 0;
}

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

.post-header h1 {
  margin-bottom: 1rem;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  display: block;
}

.author-title {
  color: var(--gray-600);
  font-size: 0.875rem;
}

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

.featured-image img {
  width: 100%;
  height: auto;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

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

.quote-block {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--gray-100);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quote-block blockquote {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gray-800);
}

.cta-box {
  margin: 3rem 0;
  padding: 2rem;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--gray-200);
  color: var(--gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
}

.share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share span {
  color: var(--gray-700);
}

.related-posts {
  margin-top: 4rem;
}

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

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

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

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

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

.related-post h4 {
  padding: 1rem;
  margin-bottom: 0;
}

.related-post h4 a {
  color: var(--gray-900);
}

.related-post h4 a:hover {
  color: var(--primary-color);
}

/* Contact Page Styles */
.contact-content {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

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

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

.form-group {
  margin-bottom: 0;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-container input {
  width: auto;
  margin-top: 5px;
}

.contact-form button {
  width: 100%;
  margin-top: 1rem;
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-info h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

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

.info-icon {
  margin-right: 1rem;
  color: var(--secondary-color);
}

.info-content h3 {
  color: white;
  margin-bottom: 0.25rem;
}

.info-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.info-content p a {
  color: white;
}

.info-content p a:hover {
  text-decoration: underline;
}

.social-links h3 {
  color: white;
  margin-bottom: 1rem;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
}

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

.map-container {
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

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

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

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

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.125rem;
  padding-right: 2rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

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

.faq-item.active .faq-answer {
  display: block;
}

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}

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

.thank-you-message {
  text-align: center;
}

.success-icon {
  color: #28a745;
  margin-bottom: 1rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 1.5rem;
}

/* About Page Styles */
.about-intro {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.our-values {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

.our-values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--gray-700);
}

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

.team-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

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

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

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

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

.team-member p {
  margin: 0 1.5rem 1rem;
  color: var(--gray-700);
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-social {
  display: flex;
  gap: 1rem;
  margin: 0 1.5rem 1.5rem;
}

.member-social a {
  color: var(--gray-600);
}

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

.achievements {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: white;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

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

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

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

.testimonials {
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

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

.author-info p {
  margin-bottom: 0;
  color: var(--gray-600);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding-bottom: 0;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem 0.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .features-grid, .posts-grid, .blog-grid, .related-posts-grid, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .achievement-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .achievement-stats {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, .features, .recent-posts, .cta-section, .spell-checker, .blog-content, .contact-content, .about-intro, .our-values, .team-section, .achievements, .testimonials {
  animation: fadeIn 0.8s ease-out;
}
