/* Base Styles */
:root {
  --primary-color: #0066b2;
  --primary-dark: #004e8c;
  --primary-light: #e0f2fe;
  --secondary-color: #ff9500;
  --secondary-dark: #e68300;
  --text-color: #333333;
  --text-light: #666666;
  --light-gray: #f5f5f5;
  --medium-gray: #e1e1e1;
  --dark-gray: #777777;
  --white: #ffffff;
  --black: #000000;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --body-font: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  --heading-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

button, .btn {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 1.6rem;
  transition: var(--transition);
}

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

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

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 6rem 0;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.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: var(--white);
}

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

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

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

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

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

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--primary-light);
  padding: 0;
  overflow: hidden;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 600px;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}

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

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  color: var(--white);
}

.slide-content h1 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  max-width: 60%;
}

.slide-content p {
  font-size: 2rem;
  margin-bottom: 3rem;
  max-width: 60%;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.prev-btn, .next-btn {
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: var(--white);
}

/* Featured Posts Section */
.featured-posts {
  background-color: var(--white);
}

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

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

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

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

.post-image {
  height: 220px;
  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: 2rem;
}

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

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

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

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 1rem;
}

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

/* Courses Preview Section */
.courses-preview {
  background-color: var(--light-gray);
}

.courses-preview h2 {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

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

.course-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.course-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.course-content {
  padding: 2rem;
}

.course-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-meta svg {
  color: var(--primary-color);
}

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

.course-meta-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.course-level {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.course-price {
  font-weight: 700;
  color: var(--secondary-color);
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.course-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

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

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

.newsletter h2 {
  color: var(--white);
}

.newsletter p {
  margin-bottom: 3rem;
}

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

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form button {
  background-color: var(--secondary-color);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

/* Facts Section */
.facts {
  background-color: var(--white);
}

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

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

.fact-card {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.fact-icon {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.fact-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

/* Footer Styles */
footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 6rem 0 3rem;
}

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

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

.footer-about p {
  margin-bottom: 2rem;
  color: #bbbbbb;
}

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

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

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

footer h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

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

.footer-links ul li a, .footer-posts ul li a {
  color: #bbbbbb;
  transition: var(--transition);
}

.footer-links ul li a:hover, .footer-posts ul li a:hover {
  color: var(--primary-color);
  margin-left: 5px;
}

.footer-posts ul li {
  margin-bottom: 1.5rem;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #bbbbbb;
}

.footer-contact ul li svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

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

.copyright {
  color: #bbbbbb;
  font-size: 1.4rem;
}

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

.footer-legal a {
  color: #bbbbbb;
  font-size: 1.4rem;
}

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

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

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

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.blog-post {
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--medium-gray);
}

.blog-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

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

.sidebar-widget {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

.sidebar-widget h3 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.categories-list li {
  margin-bottom: 1rem;
}

.categories-list li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.categories-list li a:hover {
  color: var(--primary-color);
  margin-left: 5px;
}

.popular-posts li {
  margin-bottom: 1.5rem;
}

.popular-posts li a {
  display: flex;
  gap: 1.5rem;
  color: var(--text-color);
}

.popular-posts li a img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.popular-posts li a h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.popular-posts li a span {
  font-size: 1.2rem;
  color: var(--text-light);
}

.popular-posts li a:hover h4 {
  color: var(--primary-color);
}

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

.sidebar-form input {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

/* Course Page Styles */
.courses-filters {
  background-color: var(--light-gray);
  padding: 3rem 0;
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
  min-width: 200px;
}

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

.filter-group select {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  background-color: var(--white);
}

.filter-btn {
  margin-bottom: 0;
}

.all-courses {
  background-color: var(--white);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-gray);
}

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

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

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

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

.testimonial-content {
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content:before {
  content: '"';
  font-size: 6rem;
  color: var(--primary-light);
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: Georgia, serif;
}

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

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

.testimonial-author h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

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

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-top: 4rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

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

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

.team-section {
  background-color: var(--light-gray);
}

.team-section .section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

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

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

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

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

.team-card h3 {
  margin: 2rem 0 0.5rem;
  font-size: 2rem;
}

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

.team-card > p:last-of-type {
  padding: 0 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

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

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

.values-section {
  background-color: var(--white);
}

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

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

.value-card {
  padding: 3rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

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

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

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

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

/* Contact Page Styles */
.contact-info {
  background-color: var(--light-gray);
}

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

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

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

.contact-icon {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

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

.contact-form-section {
  background-color: var(--white);
}

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

.form-container, .map-container {
  padding: 3rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

.form-container h2, .map-container h2 {
  margin-bottom: 1rem;
}

.form-container p {
  margin-bottom: 3rem;
  color: var(--text-light);
}

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

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

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

.form-group input, .form-group select, .form-group textarea {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: var(--body-font);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 1.4rem;
  color: var(--text-light);
}

.checkbox-group a {
  text-decoration: underline;
}

.map {
  height: 300px;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.map-info {
  color: var(--text-light);
}

.map-info .btn {
  margin-top: 1.5rem;
}

.faq-section {
  background-color: var(--light-gray);
}

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

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

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

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

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

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

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

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

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

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

.faq-answer a {
  text-decoration: underline;
}

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

.modal.active {
  display: flex;
}

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

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

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

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

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

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

.thank-you-message p {
  margin-bottom: 3rem;
  color: var(--text-light);
}

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

/* Blog Post Styles */
.post-header {
  padding: 6rem 0;
  background-color: var(--primary-light);
}

.post-header-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

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

.post-author h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

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

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

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

.post-text h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-text h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-text ul, .post-text ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

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

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

.post-text li {
  margin-bottom: 0.8rem;
}

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

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

.post-image figcaption {
  font-size: 1.4rem;
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
  background-color: var(--light-gray);
}

.post-cta {
  margin: 4rem 0;
  padding: 3rem;
  background-color: var(--primary-light);
  border-radius: var(--border-radius);
  text-align: center;
}

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

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

.post-share {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--medium-gray);
}

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

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

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--text-color);
  transition: var(--transition);
}

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

.post-tags {
  margin-bottom: 4rem;
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-tags a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--light-gray);
  border-radius: 20px;
  color: var(--text-color);
  transition: var(--transition);
}

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

.post-author-bio {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 3rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

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

.post-author-bio h3 {
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

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

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

.related-post h4 {
  padding: 1.5rem;
  font-size: 1.6rem;
  margin-bottom: 0;
  color: var(--text-color);
  transition: var(--transition);
}

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

.course-promo {
  padding: 0;
  overflow: hidden;
}

.promo-content {
  padding: 2.5rem;
}

.promo-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
}

.promo-content h4 {
  margin-bottom: 1rem;
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
}

.cookie-content {
  padding: 2.5rem;
}

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

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

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

.btn-accept {
  padding: 1rem 2rem;
  background-color: var(--success);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-accept:hover {
  background-color: #218838;
}

.btn-settings {
  padding: 1rem 2rem;
  background-color: var(--light-gray);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-settings:hover {
  background-color: var(--medium-gray);
}

.btn-decline {
  padding: 1rem 2rem;
  background-color: var(--light-gray);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-decline:hover {
  background-color: var(--medium-gray);
}

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

.cookie-policy-link a {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 60%;
  }
  
  .blog-layout, .post-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section .container {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 58%;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
    padding: 2rem;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    margin-top: 5rem;
  }
  
  nav ul li {
    margin-bottom: 1.5rem;
  }
  
  .slide-content h1 {
    font-size: 3.2rem;
    max-width: 100%;
  }
  
  .slide-content p {
    font-size: 1.8rem;
    max-width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.6rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .slide {
    height: 400px;
  }
  
  .filters-container {
    flex-direction: column;
  }
  
  .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

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

.fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Nunito+Sans:wght@400;600;700&display=swap');
