/* Base Styles */
:root {
  --primary-color: #3a86ff;
  --primary-dark: #2667cc;
  --secondary-color: #ff006e;
  --accent-color: #8338ec;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  
  --font-primary: 'Nunito', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--primary-dark);
  color: 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: #d80058;
}

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

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

.btn-lg {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

.btn-sm {
  padding: 0.8rem 1.5rem;
  font-size: 1.4rem;
}

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

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

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

.logo img {
  max-height: 5rem;
  border-radius: var(--border-radius);
}

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

nav ul li {
  margin-left: 3rem;
}

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

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #f0f4ff;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 60rem;
  overflow: hidden;
}

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

.slide {
  min-width: 100%;
  position: relative;
  height: 100%;
}

.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: 5rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  color: white;
}

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

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

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: white;
}

.slider-btn.prev {
  left: 2rem;
}

.slider-btn.next {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.slider-dots .dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: white;
}

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: white;
}

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

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.feature-icon svg {
  width: 4rem;
  height: 4rem;
}

.feature-card h3 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

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

/* Latest Posts Section */
.latest-posts {
  padding: 8rem 0;
  background-color: #f8f9fa;
}

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

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

.post-card {
  background: 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 8px 15px rgba(0, 0, 0, 0.1);
}

.post-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

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

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

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

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

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

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

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

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

.newsletter-content p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

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

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

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

.newsletter-form .btn:hover {
  background-color: #d80058;
}

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background-color: white;
}

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

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

.testimonial-slider::-webkit-scrollbar {
  height: 0.8rem;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 1rem;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 1rem;
}

.testimonial {
  min-width: 32rem;
  scroll-snap-align: start;
}

.testimonial-content {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2rem;
}

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

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

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

.testimonial-author span {
  color: var(--gray-color);
  font-size: 1.4rem;
}

/* Personal Letter Section */
.personal-letter {
  padding: 8rem 0;
  background-color: #f8f9fa;
}

.letter-content {
  max-width: 80rem;
  margin: 0 auto;
}

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

.letter {
  background: white;
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.letter:before {
  content: '"';
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 10rem;
  font-family: Georgia, serif;
  color: #f0f0f0;
  line-height: 1;
  z-index: 0;
}

.letter p {
  position: relative;
  z-index: 1;
}

.letter .signature {
  text-align: right;
  font-style: italic;
  margin-top: 3rem;
  font-weight: 600;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about p {
  margin-top: 2rem;
  color: #adb5bd;
}

.footer-logo {
  max-width: 15rem;
  border-radius: var(--border-radius);
}

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

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  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);
  transform: translateY(-3px);
}

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

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

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

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

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

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

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

.footer-contact svg {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 100rem;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: flex;
  align-items: center;
}

.cookie-content {
  flex: 1;
}

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

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

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

/* Page Header */
.page-header {
  background-color: #f0f4ff;
  padding: 6rem 0;
  text-align: center;
}

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

.page-header p {
  font-size: 2rem;
  color: var(--gray-color);
  max-width: 70rem;
  margin: 0 auto;
}

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

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

.blog-grid .post-card.large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.blog-grid .post-card.large img {
  height: 100%;
}

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

.post-date, .post-category, .post-author {
  display: flex;
  align-items: center;
}

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

/* Blog Post Styles */
.blog-post {
  padding: 6rem 0;
}

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

.post-header h1 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
}

.post-excerpt {
  font-size: 2rem;
  color: var(--gray-color);
  margin-bottom: 0;
}

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

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

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

.post-content h3 {
  margin-top: 3rem;
}

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

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

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

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

.image-caption {
  text-align: center;
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-top: 1rem;
}

.post-quote {
  margin: 4rem 0;
  padding: 3rem;
  background-color: #f0f4ff;
  border-left: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.post-quote blockquote {
  margin: 0;
  padding: 0;
}

.post-quote p {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.post-quote cite {
  display: block;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gray-color);
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #f0f4ff;
  color: var(--primary-color);
  border-radius: 2rem;
  font-size: 1.4rem;
  transition: var(--transition);
}

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

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

.post-share span {
  color: var(--gray-color);
}

.post-share a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #f0f4ff;
  color: var(--primary-color);
  transition: var(--transition);
}

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

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

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

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

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

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

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

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

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

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

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

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

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.related-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.related-card h4 {
  padding: 1.5rem;
  margin-bottom: 0;
}

.related-card .read-more {
  display: block;
  text-align: center;
  padding: 1rem;
  background-color: #f0f4ff;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.related-card .read-more:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Courses Page Styles */
.courses-filter {
  padding: 3rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.filter-group select {
  padding: 1rem 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1.5rem;
  min-width: 20rem;
  background-color: white;
}

.courses-grid {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
}

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

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

.course-image {
  position: relative;
}

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

.course-level {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.course-level.beginner {
  background-color: var(--success-color);
}

.course-level.intermediate {
  background-color: var(--warning-color);
}

.course-level.advanced {
  background-color: var(--danger-color);
}

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

.course-content h3 {
  margin-bottom: 1.5rem;
}

.course-content p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.course-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.course-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gray-color);
  font-size: 1.4rem;
}

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

.course-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
}

.call-to-action {
  padding: 8rem 0;
  background-color: var(--primary-color);
  color: white;
}

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

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

.cta-content p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

/* About Page Styles */
.about-story {
  padding: 6rem 0;
  background-color: white;
}

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

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

.mission-vision {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.mission-box, .vision-box, .values-box {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

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

.values-box ul {
  text-align: left;
  list-style-position: inside;
}

.team-section {
  padding: 6rem 0;
  background-color: white;
}

.section-description {
  text-align: center;
  margin-bottom: 5rem;
  font-size: 2rem;
  color: var(--gray-color);
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

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

.team-card {
  background: 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 8px 15px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
}

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

.team-card p {
  margin: 0 2rem 2rem;
  color: var(--gray-color);
}

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

.partners-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

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

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 80%;
  max-height: 8rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

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

/* Contact Page Styles */
.contact-content {
  padding: 6rem 0;
  background-color: white;
}

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

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

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

.contact-details {
  margin-bottom: 3rem;
}

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

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin-right: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 0.5rem;
}

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

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

.contact-form {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: var(--font-primary);
}

.form-group textarea {
  resize: vertical;
}

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

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

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.map-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

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

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

.location-map {
  width: 100%;
  height: 40rem;
  object-fit: cover;
}

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

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

.faq-item {
  margin-bottom: 2rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
}

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

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

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

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

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

.faq-answer.active {
  padding: 2rem;
  max-height: 20rem;
}

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

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 60rem;
  width: 90%;
  position: relative;
}

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

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

.success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin: 0 auto 2rem;
  color: var(--success-color);
}

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

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

.modal-body p {
  margin-bottom: 2.5rem;
  color: var(--gray-color);
}

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

/* Additional Post Styles */
.framework-card {
  display: flex;
  gap: 2rem;
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.framework-logo img {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
}

.framework-details p {
  margin-bottom: 0.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--light-gray);
}

.comparison-table th {
  background-color: #f0f4ff;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.table-container {
  overflow-x: auto;
}

.framework-selection-guide {
  background-color: #f0f4ff;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.framework-selection-guide h3 {
  margin-bottom: 1.5rem;
}

.framework-selection-guide ul {
  margin-bottom: 0;
}

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

.career-header {
  padding: 1.5rem 2rem;
  background-color: #f0f4ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.career-header h4 {
  margin-bottom: 0;
}

.demand-label {
  font-weight: 600;
  margin-right: 1rem;
}

.demand-level {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.demand-level.very-high {
  background-color: var(--success-color);
}

.demand-level.high {
  background-color: #4bb543;
}

.demand-level.medium-high {
  background-color: #88b04b;
}

.demand-level.medium {
  background-color: var(--warning-color);
}

.demand-level.medium-low {
  background-color: #ff9a00;
}

.career-content {
  padding: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

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

.skill-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

.skill-card h4 {
  margin-bottom: 1rem;
}

.skill-card p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

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

.principle-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

.principle-card h4 {
  margin-bottom: 1rem;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

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

.benefit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #eef4ff;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

.benefit-card h4 {
  margin-bottom: 1rem;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.success-story {
  background-color: #f0f4ff;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.success-story h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.success-story p strong {
  color: var(--dark-color);
}

.case-study {
  background-color: #f8f9fa;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin: 2.5rem 0;
}

.case-study h4 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.case-study p strong {
  color: var(--dark-color);
}

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid .post-card.large {
    grid-template-columns: 1fr;
  }
  
  .slide-content h1 {
    font-size: 3.6rem;
    max-width: 80%;
  }
  
  .slide-content p {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 8rem 2rem 2rem;
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 0 0 2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .feature-grid,
  .post-grid,
  .team-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .slide-content {
    padding: 3rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
    align-items: center;
    text-align: center;
  }
  
  .slide-content h1,
  .slide-content p {
    max-width: 100%;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .framework-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .slider-container {
    height: 45rem;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
