/* Base Styles */
:root {
  --primary-color: #2c5282;
  --primary-light: #3182ce;
  --primary-dark: #1a365d;
  --secondary-color: #38a169;
  --accent-color: #ed8936;
  --text-color: #2d3748;
  --text-light: #718096;
  --text-dark: #1a202c;
  --bg-color: #ffffff;
  --bg-light: #f7fafc;
  --bg-dark: #edf2f7;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Georgia', serif;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

li {
  margin-bottom: 0.5rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 0 0 1.5rem;
}

nav a {
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

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 a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.hero-content {
  max-width: 600px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

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

.language-welcome {
  background-color: rgba(44, 82, 130, 0.05);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border-left: 3px solid var(--primary-color);
}

.language-welcome p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--primary-dark);
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* What You'll Learn Section */
.what-you-learn {
  padding: 4rem 0;
  background-color: white;
}

.what-you-learn h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.what-you-learn h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.learn-item {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.learn-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.learn-item .icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.learn-item h3 {
  margin-bottom: 0.75rem;
}

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

/* Featured Posts Section */
.featured-posts {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.featured-posts h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.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-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.read-more:hover {
  color: var(--primary-light);
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

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

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

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

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

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--accent-color);
}

.newsletter-form button:hover {
  background-color: #dd6b20;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  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-about {
  max-width: 350px;
}

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

.footer-about p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

/* Blog Page Styles */
.page-header {
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

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

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

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

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-post .post-image {
  height: 100%;
  min-height: 250px;
}

.blog-post .post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post .date,
.blog-post .category {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.blog-post .date:before,
.blog-post .category:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

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

.mission-content h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

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

.mission-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-values {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.about-values h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.about-values h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

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

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

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

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

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

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.team-section h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

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

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

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

.team-member p {
  color: var(--text-light);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.testimonials {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

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

.testimonials h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

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

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

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

.testimonial-content p:after {
  bottom: -40px;
  right: -10px;
}

.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

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

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

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

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

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

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-content .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-content .btn:hover {
  background-color: var(--bg-light);
}

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

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

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

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

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

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-item .icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  min-width: 24px;
}

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

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

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

.contact-form-container h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

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

.contact-form-container > p {
  margin-bottom: 2rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

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

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

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

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.faq-section h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.faq-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

/* Modal */
.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;
  padding: 2rem;
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

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

.thank-you-content svg {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

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

.close-btn {
  background-color: var(--primary-color);
}

/* Blog Post Page Styles */
.blog-post-header {
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0;
}

.post-meta-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.post-meta-header .category,
.post-meta-header .date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.blog-post-header h1 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.author-details {
  display: flex;
  flex-direction: column;
}

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

.author-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.post-wrapper {
  max-width: 800px;
}

.blog-post-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.post-feature-img {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--primary-dark);
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

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

.post-content strong {
  color: var(--text-dark);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.post-navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-prev,
.nav-next,
.nav-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

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

.related-posts h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.related-post h4 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.related-post .read-more {
  padding: 0 1rem 1rem;
  display: block;
}

.post-sidebar {
  position: sticky;
  top: 100px;
}

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

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

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

.author-bio {
  text-align: center;
}

.author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

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

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

.author-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

.sidebar-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-color);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.category-list a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  padding: 1rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  flex: 1;
  min-width: 300px;
}

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

.btn-cookie {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.accept:hover {
  background-color: #2f855a;
}

.customize {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.customize:hover {
  background-color: var(--bg-light);
}

.decline {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.decline:hover {
  background-color: var(--bg-light);
}

.cookie-more {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-left: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .blog-post-content .container {
    grid-template-columns: 1fr;
  }
  
  .post-wrapper {
    max-width: 100%;
  }
  
  .post-sidebar {
    position: static;
  }
  
  .about-mission .container {
    grid-template-columns: 1fr;
  }
  
  .mission-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav li {
    margin: 0 0.75rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-image {
    height: 250px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .learn-grid,
  .values-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-md);
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .btn-cookie {
    flex: 1;
  }
  
  .cookie-more {
    margin-left: 0;
  }
}
