/* Base Styles */
:root {
  --primary-color: #8B42FF;
  --primary-dark: #6a32c7;
  --primary-light: #ac7aff;
  --secondary-color: #FF7E42;
  --secondary-dark: #e06a33;
  --secondary-light: #ffa37a;
  --accent-color: #42C9FF;
  --accent-dark: #33a3d1;
  --accent-light: #7adcff;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --background-light: #FFFFFF;
  --background-off: #F9F7FE;
  --background-dark: #22184D;
  --background-gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.12);
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-full: 999px;
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px for easier rem calculation */
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style-type: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 2.6rem;
}

h4 {
  font-size: 2.2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-small);
}

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

.secondary-btn {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: var(--shadow-small);
}

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

.tertiary-btn {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-light);
}

.tertiary-btn:hover {
  background-color: var(--background-off);
  border-color: var(--text-dark);
  color: var(--text-dark);
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-small);
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

.header-scrolled {
  background-color: white;
  box-shadow: var(--shadow-medium);
}

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

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

.logo img {
  height: 5rem;
  width: auto;
}

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

nav a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.8rem 0;
  position: relative;
}

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

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

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

.language-switch {
  position: relative;
}

#language-toggle {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--text-light);
  border-radius: var(--border-radius-small);
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

#language-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 16rem 0 8rem;
  background-color: var(--background-off);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 5.2rem;
  margin-bottom: 2rem;
  color: var(--background-dark);
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-medium);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-large);
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform var(--transition-medium);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* Featured Section */
.featured {
  padding: 8rem 0;
}

.featured h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-item img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-medium);
  margin: 0 auto 2rem;
}

.feature-item h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.feature-item p {
  color: var(--text-medium);
}

/* About Preview Section */
.about-preview {
  padding: 8rem 0;
  background-color: var(--background-off);
}

.about-preview .container {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.about-content {
  flex: 1;
}

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

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

.about-image {
  flex: 1;
}

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

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background-color: var(--background-light);
}

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

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 3rem;
  padding-bottom: 3rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome */
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quote {
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
}

.author {
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
}

/* Blog Preview Section */
.blog-preview {
  padding: 8rem 0;
}

.blog-preview h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.blog-card {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: white;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

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

.blog-content {
  padding: 2rem;
}

.blog-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

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

.read-more {
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.center-btn {
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--background-dark);
  color: white;
  padding-top: 6rem;
}

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

.footer-about img.footer-logo {
  height: 5rem;
  margin-bottom: 2rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact address p {
  margin-bottom: 0.8rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-large);
  z-index: 9999;
  transition: bottom var(--transition-medium);
}

.cookie-notice.show {
  bottom: 0;
}

.cookie-content {
  padding: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-content p {
  margin-bottom: 0;
}

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

.cookie-content a {
  font-size: 1.4rem;
  text-decoration: underline;
}

/* Page Banner */
.page-banner {
  padding: 12rem 0 6rem;
  background-color: var(--background-off);
  text-align: center;
}

.page-banner h1 {
  margin-bottom: 1.5rem;
}

.page-banner p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.8rem;
  color: var(--text-medium);
}

/* Blog Page Styles */
.blog-main {
  padding: 6rem 0;
}

.blog-main .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
}

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

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

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

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

.post-content h2 a {
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius-medium);
  padding: 2.5rem;
  box-shadow: var(--shadow-small);
}

.sidebar-widget h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-widget.categories ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-widget.categories a {
  display: flex;
  justify-content: space-between;
  color: var(--text-medium);
  transition: color var(--transition-fast);
}

.sidebar-widget.categories a:hover {
  color: var(--primary-color);
}

.sidebar-widget.recent-posts ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget.recent-posts li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-widget.recent-posts a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.sidebar-widget.recent-posts a:hover {
  color: var(--primary-color);
}

.post-date {
  font-size: 1.4rem;
  color: var(--text-light);
}

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

.newsletter-form input {
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-small);
  font-size: 1.5rem;
}

.sidebar-testimonial {
  background-color: var(--background-off);
  padding: 1.5rem;
  border-radius: var(--border-radius-small);
  margin-bottom: 1.5rem;
}

.sidebar-testimonial:last-child {
  margin-bottom: 0;
}

.sidebar-testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  color: var(--primary-color);
  font-weight: 500;
}

/* About Page */
.about-story, .about-mission {
  padding: 6rem 0;
}

.about-story .container, .about-mission .container {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.story-content, .mission-content {
  flex: 1;
}

.story-image, .mission-image {
  flex: 1;
}

.story-image img, .mission-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-large);
}

.about-mission {
  background-color: var(--background-off);
}

.mission-content ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.mission-content li {
  margin-bottom: 1rem;
}

.about-process {
  padding: 6rem 0;
}

.about-process h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.process-step {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-medium);
  background-color: white;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.step-icon {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary-color);
  background-color: var(--background-off);
  border-radius: 50%;
}

.process-step h3 {
  margin-bottom: 1.5rem;
}

.team-section {
  padding: 6rem 0;
  background-color: var(--background-off);
}

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

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  color: var(--text-medium);
}

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

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

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

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

.team-member h3, .team-member p {
  padding: 0 2rem;
}

.team-member h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

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

.social-links {
  display: flex;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background-color: var(--background-off);
  border-radius: 50%;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

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

.values {
  padding: 6rem 0;
}

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

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

.value-item {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-medium);
  background-color: white;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary-color);
  background-color: var(--background-off);
  border-radius: 50%;
}

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

.cta-section {
  padding: 8rem 0;
  background-color: var(--background-dark);
  color: white;
  text-align: center;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Contact Page */
.contact-main {
  padding: 6rem 0;
}

.contact-main .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.contact-info > p {
  color: var(--text-medium);
  margin-bottom: 3rem;
}

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

.info-icon {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-off);
  color: var(--primary-color);
  border-radius: 50%;
}

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

.info-content p, .info-content a {
  color: var(--text-medium);
}

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

.social-contact h3 {
  margin-bottom: 2rem;
}

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

.contact-form-container h2 {
  margin-bottom: 3rem;
}

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

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

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-small);
  font-size: 1.5rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.checkbox-group input {
  width: auto;
}

.map-section {
  padding: 6rem 0;
  background-color: var(--background-off);
}

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

.map-container {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.faq-section {
  padding: 6rem 0;
}

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

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faq-item {
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-small);
}

.faq-item h3 {
  margin-bottom: 1.5rem;
}

.faq-item p {
  color: var(--text-medium);
  margin-bottom: 0;
}

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

.modal.show {
  display: flex;
}

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

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--text-dark);
}

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

.thank-you-message svg {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

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

/* Blog Post Page */
.blog-post-header {
  padding: 12rem 0 6rem;
  background-color: var(--background-off);
  text-align: center;
}

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

.blog-post-content {
  padding: 6rem 0;
}

.blog-post-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
}

.featured-image {
  margin-bottom: 4rem;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

.article-content {
  margin-bottom: 4rem;
}

.article-content .intro {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.article-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

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

.content-image {
  margin: 3rem 0;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.content-image img {
  width: 100%;
}

.content-image figcaption {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-medium);
  font-style: italic;
  background-color: var(--background-off);
}

.article-content ul {
  margin: 0 0 2rem 2rem;
  list-style-type: disc;
}

.article-content li {
  margin-bottom: 1rem;
}

.cta-box {
  margin: 4rem 0;
  padding: 3rem;
  background-color: var(--background-off);
  border-radius: var(--border-radius-medium);
  border-left: 4px solid var(--primary-color);
  text-align: center;
}

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

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

.post-footer {
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 4rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.post-tags a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--background-off);
  border-radius: var(--border-radius-full);
  color: var(--text-medium);
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

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

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

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

.share-post a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background-color: var(--background-off);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-previous, .nav-next {
  max-width: 45%;
}

.nav-next {
  text-align: right;
}

.nav-subtitle {
  display: block;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.nav-title {
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
  color: var(--primary-color);
}

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

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

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

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

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius-medium);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-medium);
}

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

.related-post h4 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.related-post .post-date {
  color: var(--text-light);
}

.about-author {
  margin-bottom: 4rem;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.author-info img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 56.25%; /* 9px */
  }
  
  .hero .container,
  .about-preview .container,
  .about-story .container,
  .about-mission .container {
    flex-direction: column;
    gap: 5rem;
  }
  
  .hero-content,
  .hero-image,
  .about-content,
  .about-image,
  .story-content,
  .story-image,
  .mission-content,
  .mission-image {
    width: 100%;
  }
  
  .blog-post-content .container,
  .blog-main .container,
  .contact-main .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px */
  }
  
  header .container {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }
  
  header {
    position: relative;
    height: auto;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    gap: 2rem;
  }
  
  .hero {
    padding: 8rem 0 6rem;
  }
  
  .featured-grid,
  .blog-grid,
  .process-steps,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-about img.footer-logo {
    margin: 0 auto 2rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-previous, .nav-next {
    max-width: 100%;
    text-align: left;
  }
  
  .cookie-content {
    padding: 1.5rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
