/* Base styles and variables */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gray-light: #e2e8f0;
  --gray-dark: #475569;
  --danger-color: #ef4444;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --text-color: #334155;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

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

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.8em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--gray-dark);
  border: 2px solid var(--gray-light);
}

.btn-tertiary:hover {
  background-color: var(--gray-light);
}

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

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

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

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  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);
}

/* Hero Section */
.hero {
  background-color: #f0f7ff;
  background-image: linear-gradient(135deg, #f0f7ff 0%, #e6f5fb 100%);
  text-align: center;
  padding: 100px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero .slogan {
  font-size: 1.25rem;
  color: var(--gray-dark);
  margin-bottom: 30px;
}

.hero .btn-primary {
  padding: 14px 32px;
  font-size: 1.1rem;
}

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

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

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

/* Calculator Section */
.calculator {
  background-color: #f0f7ff;
  background-image: linear-gradient(135deg, #f0f7ff 0%, #e6f5fb 100%);
  padding: 80px 0;
}

.calculator h2 {
  text-align: center;
  margin-bottom: 15px;
}

.calculator p {
  text-align: center;
  color: var(--gray-dark);
  margin-bottom: 40px;
}

.calculator-form {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

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

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

.calculator .btn-primary {
  padding: 12px 24px;
  width: 100%;
  max-width: 200px;
  margin: 10px auto 0;
  display: block;
}

.resultado-calculadora {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.resultado-item {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.resultado-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.resultado-item p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  color: white;
  border-color: white;
}

.cta .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 20px;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

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

/* Blog List Page */
.page-header {
  background-color: #f0f7ff;
  background-image: linear-gradient(135deg, #f0f7ff 0%, #e6f5fb 100%);
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.blog-posts {
  padding: 80px 0;
}

.post-meta {
  display: flex;
  gap: 15px;
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.category {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.newsletter {
  background-color: var(--primary-color);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.newsletter h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.newsletter-form .btn-primary:hover {
  background-color: var(--gray-light);
}

/* Blog Post Page */
.blog-post {
  padding: 60px 0;
}

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

.reading-time {
  color: var(--gray-color);
}

.post-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

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

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

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

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

.featured-image {
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.8rem;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul, .post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 10px;
  position: relative;
}

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

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

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  background-color: rgba(37, 99, 235, 0.05);
  margin: 30px 0;
  font-style: italic;
  color: var(--gray-dark);
}

.image-content {
  margin: 30px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-top: 10px;
}

.share-post {
  max-width: 800px;
  margin: 50px auto;
  border-top: 1px solid var(--gray-light);
  padding-top: 30px;
}

.share-post h3 {
  margin-bottom: 20px;
}

.social-share {
  display: flex;
  gap: 15px;
}

.social-share a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  color: var(--gray-dark);
  transition: var(--transition);
}

.social-share a:hover {
  background-color: var(--gray-light);
}

.related-posts {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-light);
  padding-top: 40px;
}

.related-posts h3 {
  margin-bottom: 30px;
}

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

.related-card {
  background-color: white;
  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 {
  font-size: 1rem;
  padding: 15px 15px 0;
  margin-bottom: 10px;
}

.related-card a {
  display: block;
  padding: 0 15px 15px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.icon {
  margin-right: 20px;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.content h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.content p, .content a {
  color: var(--gray-color);
}

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

.social-contact h3 {
  margin-bottom: 15px;
}

.contact-form-container {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

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

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-container input {
  width: auto;
  margin-top: 5px;
}

.contact-form .btn-primary {
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 150px;
}

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

.map-section h2 {
  margin-bottom: 30px;
}

.faq-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  max-width: 500px;
  border-radius: var(--border-radius);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

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

.thank-you-message svg {
  color: var(--success-color);
  margin: 0 auto 20px;
  display: block;
  width: 60px;
  height: 60px;
}

.thank-you-message h2 {
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 25px;
}

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

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.filter-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

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

.courses-grid {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.courses-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

@media (min-width: 992px) {
  .course-card {
    flex-direction: row;
  }
}

.course-image {
  position: relative;
  flex: 0 0 100%;
}

@media (min-width: 992px) {
  .course-image {
    flex: 0 0 300px;
  }
}

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

.course-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-content {
  padding: 25px;
  flex: 1;
}

.course-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.course-category, .course-level, .course-format {
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-category {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

.course-level {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
}

.course-format {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-color);
}

.course-content h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: left;
}

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

.course-details {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.course-price {
  margin-bottom: 20px;
}

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

.installment {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.course-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.why-choose-us {
  padding: 80px 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.testimonials {
  background-color: #f0f7ff;
  padding: 80px 0;
}

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

.testimonial-card {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.rating {
  color: var(--warning-color);
  margin-bottom: 15px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

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

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

.testimonial-author h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-author p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.partners {
  padding: 60px 0;
  background-color: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  align-items: center;
}

.partner-logo {
  text-align: center;
  padding: 20px;
}

.partner-logo img {
  max-width: 150px;
  max-height: 80px;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

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

.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: 15px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

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

.cta-section .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* About Page */
.about-story {
  padding: 80px 0;
  background-color: white;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .story-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.story-content h2 {
  text-align: left;
  margin-bottom: 25px;
}

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

.mission-vision {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.mv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.mv-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.mv-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mv-card h3 {
  margin-bottom: 15px;
}

.mv-card ul {
  padding-left: 20px;
}

.mv-card ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.team-section {
  padding: 80px 0;
  background-color: white;
}

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--gray-dark);
}

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

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

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

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

.team-card h3 {
  margin: 20px 0 5px;
}

.team-card p {
  padding: 0 20px;
  margin-bottom: 15px;
}

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

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0 20px;
}

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

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

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

.stats-section h2 {
  color: white;
}

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

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
}

.timeline-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--gray-light);
  top: 0;
  bottom: 0;
  left: 20px;
}

.timeline-item {
  padding-left: 50px;
  position: relative;
  margin-bottom: 30px;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 1;
}

.timeline-content {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.about-testimonials {
  padding-top: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn-primary {
    width: 100%;
  }
}

@media (max-width: 576px) {
  nav ul {
    gap: 15px;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  .social-share {
    flex-direction: column;
  }
  
  .curso-actions {
    flex-direction: column;
  }
}

/* Icons for footer */
.icon-location, .icon-phone, .icon-mail {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.icon-location::before, .icon-phone::before, .icon-mail::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z'%3E%3C/path%3E%3Cpath d='M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819zM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M20 10.999h2C22 5.869 18.127 2 12.99 2v2C17.052 4 20 6.943 20 10.999z'%3E%3C/path%3E%3Cpath d='M13 8c2.103 0 3 .897 3 3h2c0-3.225-1.775-5-5-5v2zm3.422 5.443a1.001 1.001 0 0 0-1.391.043l-2.393 2.461c-.576-.11-1.734-.471-2.926-1.66-1.192-1.193-1.553-2.354-1.66-2.926l2.459-2.394a1 1 0 0 0 .043-1.391L6.859 3.513a1 1 0 0 0-1.391-.087l-2.17 1.861a1 1 0 0 0-.29.649c-.015.25-.301 6.172 4.291 10.766C11.305 20.707 16.323 21 17.705 21c.202 0 .326-.006.359-.008a.992.992 0 0 0 .648-.291l1.86-2.171a1 1 0 0 0-.086-1.391l-4.064-3.696z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4.7-8 5.334L4 8.7V6.297l8 5.333 8-5.333V8.7z'%3E%3C/path%3E%3C/svg%3E");
}
