:root {
  --primary-color: #26a69a;
  --primary-dark: #00897b;
  --primary-light: #80cbc4;
  --secondary-color: #ff7043;
  --secondary-dark: #e64a19;
  --secondary-light: #ffab91;
  --background: #f5f5f5;
  --surface: #ffffff;
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-tertiary: #9e9e9e;
  --border-color: #e0e0e0;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --info: #2196f3;
  --dark-overlay: rgba(0, 0, 0, 0.7);
  --light-overlay: rgba(255, 255, 255, 0.7);
  --header-height: 80px;
  --footer-background: #263238;
  --footer-text: #eceff1;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --section-padding: 80px 0;
}

[data-theme="dark"] {
  --primary-color: #00bfa5;
  --primary-dark: #00897b;
  --primary-light: #1de9b6;
  --secondary-color: #ff6e40;
  --secondary-dark: #ff3d00;
  --secondary-light: #ff9e80;
  --background: #121212;
  --surface: #1e1e1e;
  --text-primary: #f5f5f5;
  --text-secondary: #b0bec5;
  --text-tertiary: #78909c;
  --border-color: #37474f;
  --success: #81c784;
  --warning: #ffb74d;
  --error: #e57373;
  --info: #64b5f6;
  --dark-overlay: rgba(0, 0, 0, 0.85);
  --light-overlay: rgba(255, 255, 255, 0.08);
  --header-height: 80px;
  --footer-background: #102027;
  --footer-text: #eceff1;
  --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  --hover-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

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

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

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

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

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

h1 {
  font-size: 2.5rem;
}

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

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

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

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

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* Header and Navigation */
header {
  background-color: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

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

.navbar {
  display: flex;
  list-style: none;
}

.navbar li {
  margin-left: 1.5rem;
  position: relative;
}

.navbar a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
}

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

.navbar a.active {
  color: var(--primary-color);
}

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

/* Theme Switcher */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 50px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 16px;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.theme-switch-wrapper span {
  margin-left: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
  opacity: 0.5;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-speed) ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: var(--background);
}

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

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

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

.feature-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2px;
}

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

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

/* Latest Posts Section */
.latest-posts {
  padding: var(--section-padding);
  background-color: var(--surface);
}

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

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

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

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-speed) ease;
}

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

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-speed) ease;
}

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

/* CTA Section */
.cta {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.cta .btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Footer */
footer {
  background-color: var(--footer-background);
  color: var(--footer-text);
  padding: 80px 0 20px;
}

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

.footer-about {
  grid-column: span 2;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-about p {
  color: var(--text-tertiary);
  max-width: 400px;
}

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

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

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

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

.footer-links a {
  color: var(--text-tertiary);
  transition: color var(--transition-speed) ease;
}

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

.footer-contact address {
  font-style: normal;
}

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

.footer-contact svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: var(--primary-light);
}

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

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

.social-icons svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: color var(--transition-speed) ease;
}

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

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

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

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--surface);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  z-index: 1000;
  display: none;
}

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

.cookie-content p {
  flex: 1 1 400px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.cookie-buttons button {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
}

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

#cookie-accept:hover {
  background-color: var(--primary-dark);
}

#cookie-settings {
  background-color: transparent;
  border: 1px solid var(--text-tertiary);
  color: var(--text-secondary);
}

#cookie-settings:hover {
  background-color: var(--background);
  border-color: var(--text-secondary);
}

#cookie-decline {
  background-color: transparent;
  color: var(--text-secondary);
}

#cookie-decline:hover {
  color: var(--text-primary);
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 0.9rem;
}

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

/* Page Banner */
.page-banner {
  background-color: var(--surface);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-banner:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.page-banner h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-banner h2:after {
  left: 50%;
  transform: translateX(-50%);
}

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

/* Blog Posts */
.blog-posts {
  padding: var(--section-padding);
  background-color: var(--background);
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

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

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

.blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

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

.blog-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Blog Post Page */
.blog-post-container {
  padding: 60px 0;
  background-color: var(--background);
}

.blog-post {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 3rem;
}

.post-header {
  padding: 2rem 2rem 0;
}

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

.post-date, .post-category {
  font-size: 0.95rem;
  color: var(--text-tertiary);
}

.post-category {
  color: var(--primary-color);
  font-weight: 500;
}

.post-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-author {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

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

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

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

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

.post-featured-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.post-content {
  padding: 2rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.post-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.post-image-with-caption {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.post-image-with-caption img {
  width: 100%;
}

.image-caption {
  background-color: var(--background);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 0;
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  background-color: var(--background);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

blockquote cite {
  display: block;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: normal;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.tag {
  background-color: var(--background);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.tag:hover {
  background-color: var(--primary-light);
  color: var(--text-primary);
}

.post-share {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
}

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

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

.share-buttons a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: var(--background);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-weight: 500;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.share-buttons svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

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

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

.related-posts h3 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

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

.related-card {
  display: flex;
  background-color: var(--surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.related-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

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

.related-content {
  padding: 1rem;
  flex-grow: 1;
}

.related-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.related-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Contact Page */
.contact-section {
  padding: var(--section-padding);
  background-color: var(--background);
}

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

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

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

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

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

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

.info-content p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

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

.contact-social h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

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

.form-group {
  margin-bottom: 1rem;
}

.form-group:nth-child(5),
.form-group:nth-child(6),
.form-group:nth-child(7) {
  grid-column: 1 / span 2;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--background);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-checkbox label {
  font-size: 0.9rem;
  font-weight: normal;
}

.contact-form .btn {
  grid-column: 1 / span 2;
  justify-self: start;
}

.map-section {
  padding: 0 0 80px;
  background-color: var(--background);
}

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

.map-section h2:after {
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

.modal-content {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

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

.modal-body {
  padding: 2.5rem;
  text-align: center;
}

.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: block;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--success);
  stroke-width: 3;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.modal-body h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--success);
}

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

.close-btn {
  display: inline-block;
  min-width: 120px;
}

/* About Page */
.about-mission, .about-vision {
  padding: var(--section-padding);
  background-color: var(--surface);
}

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

.mission-grid, .vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-content, .vision-content {
  display: flex;
  flex-direction: column;
}

.mission-content h2, .vision-content h2 {
  margin-bottom: 1.5rem;
}

.mission-content p, .vision-content p {
  margin-bottom: 1.5rem;
}

.vision-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.vision-content li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.mission-image, .vision-image {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.mission-image img, .vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.mission-image:hover img, .vision-image:hover img {
  transform: scale(1.05);
}

.mission-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
}

.team {
  padding: var(--section-padding);
  background-color: var(--surface);
}

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

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

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

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

.team-member {
  background-color: var(--background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  text-align: center;
}

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

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.3rem;
  padding: 0 1.5rem;
}

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

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

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

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--background);
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.member-social svg {
  width: 16px;
  height: 16px;
}

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

.achievements {
  padding: var(--section-padding);
  background-color: var(--background);
}

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

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

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

.achievements-timeline:before {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

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

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  right: -12px;
  background-color: var(--primary-color);
  border: 4px solid var(--background);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--surface);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

.timeline-item:nth-child(odd) .timeline-content:after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--surface);
  top: 15px;
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content:after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--surface) transparent transparent;
  top: 15px;
  left: -10px;
}

.partners {
  padding: var(--section-padding);
  background-color: var(--surface);
}

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

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

.partners > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--background);
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  height: 100px;
}

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

.partner-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 15px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .hero-content h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mission-grid, .vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mission-content, .vision-content {
    order: 2;
  }
  
  .mission-image, .vision-image {
    order: 1;
  }
  
  .achievements-timeline:before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 28px;
    right: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-content:after {
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--surface) transparent transparent;
    right: auto;
    left: -10px;
  }
  
  .timeline-item:nth-child(even) .timeline-content:after {
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--surface) transparent transparent;
    left: -10px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 15px;
    height: auto;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .navbar {
    margin-bottom: 1rem;
  }
  
  .theme-switch-wrapper {
    margin-left: 0;
  }
  
  .feature-grid, .post-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    gap: 1.5rem;
  }
  
  .post-featured-image {
    height: 300px;
  }
  
  .post-header h2 {
    font-size: 2rem;
  }
  
  .post-header, .post-content, .post-share {
    padding: 1.5rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group:nth-child(5),
  .form-group:nth-child(6),
  .form-group:nth-child(7) {
    grid-column: 1;
  }
  
  .contact-form .btn {
    grid-column: 1;
  }
  
  .mission-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    grid-column: 1;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content h3 {
    font-size: 1.5rem;
  }
  
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .navbar li {
    margin: 0 1rem 0.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .page-banner h2 {
    font-size: 2.2rem;
  }
  
  .post-header h2 {
    font-size: 1.8rem;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .post-image-with-caption {
    margin: 1.5rem 0;
  }
  
  blockquote {
    padding: 1rem 0 1rem 1.5rem;
    margin: 1.5rem 0;
  }
  
  .timeline-content {
    padding: 15px 20px;
  }
  
  .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
