:root {
  --primary-color: #0056b3;
  --secondary-color: #4a90e2;
  --accent-color: #ffc107;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #2c3e50;
  --border-color: #e1e4e8;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #fd7e14;
  --info-color: #17a2b8;
  --border-radius: 5px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #1a2a3a;
  --font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark theme colors */
[data-theme="dark"] {
  --primary-color: #4a90e2;
  --secondary-color: #64b5f6;
  --accent-color: #ffd54f;
  --text-color: #e1e1e1;
  --text-light: #b0b0b0;
  --bg-color: #121212;
  --bg-light: #1e1e1e;
  --border-color: #2d2d2d;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #03a9f4;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --footer-bg: #0a1622;
}

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

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

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

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

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

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

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

/* Header */
header {
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
}

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

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

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

nav ul {
  display: flex;
}

nav li {
  margin-left: 1.5rem;
}

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

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

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

.theme-toggle {
  display: flex;
  align-items: center;
}

#theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

#theme-toggle-btn:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background-color: var(--bg-light);
  text-align: center;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

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

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

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

.feature-card:hover {
  transform: translateY(-5px);
}

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

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

.feature-card p {
  color: var(--text-light);
}

/* Blog Preview Section */
.blog-preview {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

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

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

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

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

.blog-content {
  padding: 1.5rem;
}

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

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

.view-all {
  text-align: center;
  margin-top: 3rem;
}

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

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

.newsletter p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.email-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--accent-color);
  color: var(--bg-dark);
}

.email-form button:hover {
  background-color: #e5ac06;
}

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

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

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

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

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

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

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

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

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

.footer-links a {
  color: #b0b0b0;
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #b0b0b0;
}

.footer-contact svg {
  margin-right: 0.5rem;
}

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

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

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-content p {
  margin-bottom: 1rem;
  text-align: center;
}

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

.btn-accept-cookies, .btn-customize-cookies, .btn-reject-cookies {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-accept-cookies {
  background-color: var(--success-color);
  color: white;
}

.btn-customize-cookies {
  background-color: var(--info-color);
  color: white;
}

.btn-reject-cookies {
  background-color: var(--error-color);
  color: white;
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

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

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

/* Blog Page */
.page-header {
  padding: 8rem 0 3rem;
  background-color: var(--bg-light);
  text-align: center;
}

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

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

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

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

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

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

/* Blog Post */
.blog-post {
  padding: 8rem 0 5rem;
}

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

.post-meta {
  color: var(--text-light);
  margin-top: 1rem;
}

.post-meta span {
  margin-right: 1.5rem;
}

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

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

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

.post-content h2, .post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.post-tags {
  margin: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

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

.post-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

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

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

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

.related-post:hover {
  transform: translateY(-5px);
}

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

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-color);
}

/* Courses Page */
.courses-filter {
  padding-top: 2rem;
  background-color: var(--bg-light);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
}

.filter-group select {
  padding: 0.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
}

.courses-section {
  padding: 5rem 0;
}

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

.course-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-image {
  position: relative;
}

.course-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--accent-color);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: 20px;
  font-size: 0.9rem;
}

.course-content {
  padding: 1.5rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.course-features {
  margin: 1.5rem 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.feature svg {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.course-price {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-original {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.9rem;
}

.why-choose-us {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.why-choose-us h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.benefit-card:hover {
  transform: translateY(-5px);
}

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

.testimonials {
  padding: 5rem 0;
}

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

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 2rem;
  padding-bottom: 2rem;
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

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

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

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

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

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

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

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

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

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

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

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

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

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

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

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

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
}

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

.faq-toggle {
  transition: var(--transition);
}

.faq-toggle.active {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* About Page */
.about-story {
  padding: 5rem 0;
}

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

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

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

.values-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.values-list li {
  margin-bottom: 0.75rem;
}

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

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

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

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

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

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

.team-member:hover {
  transform: translateY(-5px);
}

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

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

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

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

.team-member .social-links {
  padding: 0 1.5rem 1.5rem;
}

.stats-section {
  padding: 5rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.stat-label {
  color: var(--text-light);
  font-size: 1.1rem;
}

.partners-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.partners-section h2 {
  margin-bottom: 1rem;
}

.partners-section p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

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

.partner {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.partner img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

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

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

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

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

.info-icon {
  color: var(--primary-color);
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

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

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

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

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

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

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

.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;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

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

.form-checkbox input {
  width: auto;
  margin-right: 0.5rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
}

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

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

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

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .about-image img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  header {
    height: auto;
    padding: 1rem 0;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0 0.75rem;
  }
  
  .theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-item {
    grid-template-columns: 1fr;
  }
  
  .blog-item img {
    height: 200px;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .email-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .email-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    grid-column: span 1;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .feature-grid, .blog-cards, .courses-grid, .benefits-grid, .team-grid, .stats-grid, .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
