/* Base Styles */
:root {
  --primary-color: #4c6ef5;
  --primary-light: #6582ff;
  --primary-dark: #3a56d4;
  --secondary-color: #38d9a9;
  --secondary-light: #5de8be;
  --secondary-dark: #20c997;
  --text-color: #2d3748;
  --text-light: #4a5568;
  --text-lighter: #718096;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --border-color: #e2e8f0;
  --success-color: #38a169;
  --warning-color: #dd6b20;
  --error-color: #e53e3e;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-sm: 4px;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #2d3748;
  --footer-text: #e2e8f0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

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

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

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

ul, ol {
  list-style-position: inside;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

.btn-outline:hover {
  background-color: var(--bg-light);
  color: var(--text-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header */
header {
  height: var(--header-height);
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

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

.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
}

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

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

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

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

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-size: 2.25rem;
}

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

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

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

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

.feature-icon {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

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

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

/* Timeline Section */
.timeline {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

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

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

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

.about-timeline .timeline-content {
  width: 45%;
}

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
}

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

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

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

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

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

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

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

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

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

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

.footer-about {
  max-width: 300px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

.footer-links a {
  color: var(--footer-text);
}

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

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

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

.footer-contact svg {
  flex-shrink: 0;
}

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

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

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

.page-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.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-image {
  height: 240px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.blog-date {
  margin-right: 1rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border-color);
}

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

.blog-content h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

.newsletter-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

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

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

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

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

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

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

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-text p {
  margin-bottom: 0;
}

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

.social-icons a {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

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

.contact-form {
  background-color: var(--bg-color);
  padding: 2.5rem;
  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 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.1);
}

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

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

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

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

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

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

/* Single Post Page */
.post-single {
  padding: 5rem 0;
}

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

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

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

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

.author-name {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

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

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

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

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

.post-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}

.content-list {
  margin-bottom: 2rem;
  list-style-type: none;
}

.content-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.content-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.content-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--primary-color);
}

.content-box h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.content-box p:last-child,
.content-box ul:last-child {
  margin-bottom: 0;
}

.tip-box {
  background-color: rgba(56, 217, 169, 0.1);
  border-left-color: var(--secondary-color);
}

.tip-box h3 {
  color: var(--secondary-dark);
}

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

.course-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-header h3 {
  margin: 0;
  color: white;
  font-size: 1.25rem;
}

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

.stars {
  color: #FFD700;
}

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

.course-info p {
  margin-bottom: 0.75rem;
}

.course-info p:last-child {
  margin-bottom: 0;
}

.course-description p {
  margin-bottom: 1rem;
}

.course-description p:last-child {
  margin-bottom: 0;
}

.factors-grid, .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.factor-card, .tool-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.factor-card:hover, .tool-card:hover {
  transform: translateY(-5px);
}

.factor-icon, .tool-icon {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.factor-card h4, .tool-card h4 {
  margin-bottom: 0.75rem;
}

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

.numbered-list {
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

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

.steps-container {
  margin-bottom: 2.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

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

.conclusion {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-top: 3rem;
}

.conclusion h2 {
  margin-top: 0;
}

.conclusion p:last-child {
  margin-bottom: 0;
}

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

.post-tags {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tag-label, .share-label {
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tag-list a {
  display: block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.tag-list a:hover {
  background-color: var(--primary-light);
  color: white;
}

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

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

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

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

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

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

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

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

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

.related-card h4 {
  padding: 1rem;
  margin: 0;
  font-size: 1rem;
}

.comments-section {
  margin-top: 4rem;
}

.comments-section h3 {
  margin-bottom: 2rem;
}

.comments-list {
  margin-bottom: 3rem;
}

.comment {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-author {
  margin: 0;
  font-size: 1.125rem;
}

.comment-date {
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.comment-content p {
  margin-bottom: 1rem;
}

.comment-reply {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  font-size: 0.875rem;
}

.comment-reply:hover {
  color: var(--primary-dark);
}

.comment-form h3 {
  margin-bottom: 1.5rem;
}

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

.mission-content h2 {
  margin-top: 0;
}

.mission-list {
  margin-bottom: 0;
}

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

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

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

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

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

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

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

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

.section-description {
  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-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

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

.team-card p {
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

.testimonials {
  padding: 5rem 0;
}

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

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

.testimonial-rating {
  margin-bottom: 1.5rem;
  color: #FFD700;
}

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

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

.testimonial-author p {
  margin-bottom: 0;
  color: var(--text-lighter);
  font-style: normal;
}

.specialization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.specialization-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

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

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

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

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

.specialization-card p:last-child {
  margin-bottom: 0;
  font-size: 0.875rem;
}

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

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cookie-link {
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* 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.show {
  display: flex;
}

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

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

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

.success-icon {
  margin: 0 auto 1.5rem;
  color: var(--success-color);
}

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

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

/* Media Queries */
@media (max-width: 1200px) {
  .timeline-content, .about-timeline .timeline-content {
    width: 42%;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mission-content {
    order: 1;
  }
  
  .mission-image {
    order: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .course-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .menu.show {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
  }
  
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content, .about-timeline .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .subscribe-form, .newsletter-form {
    flex-direction: column;
  }
  
  .subscribe-form button, .newsletter-form button {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .comment {
    flex-direction: column;
    gap: 1rem;
  }
  
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-intro {
    font-size: 1.125rem;
  }
  
  .factors-grid, .tools-grid, .specialization-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

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

.feature-card, .post-card, .blog-card, .team-card, .value-card {
  animation: fadeIn 0.5s ease forwards;
}

.feature-card:nth-child(2), .post-card:nth-child(2), .blog-card:nth-child(2), .team-card:nth-child(2), .value-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3), .post-card:nth-child(3), .blog-card:nth-child(3), .team-card:nth-child(3), .value-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(4), .post-card:nth-child(4), .blog-card:nth-child(4), .team-card:nth-child(4), .value-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}
