/* Estilos modernos para FORLATEC */
:root {
  --primary-color: #053679;
  --secondary-color: #316fd5;
  --accent-color: #ffde59;
  --text-color: #333;
  --light-color: #efefef;
  --dark-color: #343a40;
  --font-family: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos generales */
body {
  font-family: var(--font-family);
}

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

.mt-40 {
  margin-top: 40px;
}

.section-padding {
  padding: 80px 0;
}

/* Espacio adicional para las primeras secciones de cada pÃ¡gina */
header + section,
header + div + section {
  margin-top: 60px;
}

.section-padding-sm {
  padding: 40px 0;
}

.bg-light {
  background-color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Encabezados de secciÃ³n */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.section-line {
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto 20px;
}

.section-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

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

.text-left .section-line {
  margin-left: 0;
}

/* Hero section */
.hero {
  position: relative;
  background-color: var(--primary-color);
  color: white;
  padding: 120px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 123, 255, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Botones */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-white:hover {
  background-color: #f8f9fa;
}

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

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

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.btn-link:hover {
  color: var(--accent-color);
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* Page Hero */
.page-hero {
  background-color: #f8f9fa;
  color: #555;
  padding: 60px 0;
  position: relative;
  border-bottom: 1px solid #eee;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  opacity: 0.5;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb .active {
  opacity: 1;
}

/* SecciÃ³n de caracterÃ­sticas */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  transition: var(--transition);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--accent-color);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

/* Cursos */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

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

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

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

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

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

.course-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 500;
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.course-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

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

.course-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

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

/* Certificaciones */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.certification-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

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

.certification-icon {
  font-size: 40px;
  color: var(--primary-color);
  min-width: 40px;
}

.certification-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.certification-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.certification-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.certificate-viewer {
  display: none;
}

.certificate-container {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.certificate-header h3 {
  margin: 0;
  font-size: 20px;
}

.btn-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: var(--transition);
}

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

.certificate-content {
  padding: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #666;
}

.certificate-placeholder i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.certificate-frame {
  width: 100%;
  text-align: center;
}

.certificate-frame img {
  max-width: 100%;
  max-height: 500px;
  border: 1px solid #eee;
}

.certificate-actions {
  padding: 20px;
  border-top: 1px solid #eee;
  text-align: right;
}

/* Partners */
.partners-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.partner-logo {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
}

/* SecciÃ³n Nosotros */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 25px;
  line-height: 1.8;
  color: #666;
}

.about-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.about-box .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
}

.about-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.values-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-color);
}

.about-image {
  position: relative;
}

.image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* ProporciÃ³n 4:3, puedes ajustar segÃºn necesites */
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.experience-box {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.experience-box .number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.experience-box .text {
  font-size: 14px;
  opacity: 0.8;
}

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

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

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

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-social {
  position: absolute;
  top: 20px;
  right: -50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.team-card:hover .team-social {
  right: 20px;
}

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

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

.team-content {
  padding: 25px;
  text-align: center;
}

.team-content h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-content .position {
  color: #666;
  font-size: 14px;
}

/* PolÃ­ticas de Calidad */
.policy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.policy-image img {
  width: 100%;
  height: auto;
  display: block;
}

.quality-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quality-badge i {
  font-size: 18px;
}

.policy-text .highlight {
  font-size: 18px;
  line-height: 1.8;
  color: var(--primary-color);
  border-left: 3px solid var(--accent-color);
  padding-left: 20px;
  margin-bottom: 30px;
}

.policy-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.policy-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.policy-icon {
  color: var(--accent-color);
  font-size: 20px;
  min-width: 20px;
}

.policy-item h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.policy-item p {
  color: #666;
  line-height: 1.7;
}

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

.management-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

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

.management-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary-color);
}

.management-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.management-card p {
  color: #666;
  line-height: 1.7;
}

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

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

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

.testimonial-content {
  position: relative;
  padding-top: 30px;
  margin-bottom: 30px;
}

.testimonial-content::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 24px;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.8;
  color: #555;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

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

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  color: #666;
  font-size: 14px;
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 123, 255, 0.8) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

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

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

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary-color);
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-card p {
  color: #666;
  line-height: 1.7;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none !important;
  border-bottom: none;
}

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-section {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 16px;
  transition: var(--transition);
}

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

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input {
  width: auto;
}

.map-section {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 300px;
}

.overlay-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.overlay-content p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #666;
}

.overlay-content i {
  color: var(--accent-color);
}

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: white;
}

.faq-item.active .faq-toggle {
  background-color: white;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #666;
}

/* Estilos para el footer simplificado */
.simple-footer {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.footer-underline {
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto 20px;
}

.simple-footer p {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #ccc;
}

.simple-footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.social-links a,
.social-links-small a,
.whatsapp-button a,
.btn-link,
.footer-social a {
  text-decoration: none !important;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

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

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

/* Estilos especÃ­ficos para los iconos de redes sociales en el footer */
footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

footer .social-links a {
  color: white;
  font-size: 18px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  border: none;
  box-shadow: none;
}

footer .social-links a:hover {
  transform: translateY(0);
  background-color: var(--accent-color);
  color: white;
}

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

/* Estilos para la pÃ¡gina de cursos */
.page-hero {
  background-color: #ffffff !important;
  color: #555;
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.page-hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-block;
  margin: 0 5px;
  font-size: 16px;
}

.breadcrumb li a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb li a:hover {
  color: var(--accent-color);
}

.breadcrumb li.active {
  color: #777;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: #ccc;
}

.course-filters {
  background-color: var(--light-color);
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  flex: 1;
  display: flex;
  min-width: 250px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-family: var(--font-family);
  font-size: 15px;
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  background-color: var(--accent-color);
}

.filter-options select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-family);
  min-width: 200px;
  background-color: white;
  cursor: pointer;
}

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

.courses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.course-card {
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

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

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

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

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

.course-badge {
  display: none;
}

.course-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
}

.course-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.course-meta i {
  color: var(--accent-color);
  margin-right: 5px;
}

.course-meta .hours,
.course-meta .modality {
  display: block;
  margin-bottom: 5px;
}



.course-content p {
  margin-bottom: 15px;
  line-height: 1.5;
  color: #666;
  font-size: 14px;
  text-align: left;
}

.course-footer {
  margin-top: auto;
  padding-top: 10px;
  text-align: center;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
}

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

/* Estilo para el cÃ³digo SENCE */
.codigo-sence {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: white;
  padding: 8px 15px;
  font-size: 13px;
  margin-top: auto;
}

.section-padding-sm {
  padding: 30px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 30px;
  }
  
  .courses-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .about-content,
  .policy-content,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .experience-box {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .courses-container {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .map-section {
    min-height: 300px;
  }
  
  .map-overlay {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .form-section,
  .contact-card,
  .feature-card,
  .management-card {
    padding: 20px;
  }
}
/ *  
 E s t i l o s  
 p e r s o n a l i z a d o s  
 p a r a  
 s e c c i ó n  
 N o s o t r o s  
 y  
 A c r e d i t a c i o n e s  
 * /  
 
/* Estilos personalizados para sección Nosotros y Acreditaciones */
.about-grid-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.accreditation-section { margin-top: 40px; padding-top: 40px; border-top: 1px dashed #ddd; width: 100%; }
.accreditation-content { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; margin-top: 30px; text-align: left; }
.accreditation-info { flex: 1; min-width: 250px; max-width: 500px; }
.accreditation-list { list-style: none; padding: 0; margin: 0; }
.accreditation-list li { font-size: 1.1rem; margin-bottom: 15px; color: #444; display: flex; align-items: center; }
.accreditation-list li i { margin-right: 15px; color: #053679; font-size: 1.2rem; }
.accreditation-qr { flex: 0 0 auto; text-align: center; padding: 15px; background: white; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #eee; }
.qr-img-large { width: 180px; height: 180px; display: block; margin: 0 auto 10px; }
.qr-label { font-weight: 600; color: #053679; font-size: 0.9rem; margin-bottom: 0; }

/* Mejoras de diseño para Acreditaciones Compactas */
.accreditation-compact { max-width: 600px; margin: 0 auto; text-align: left; background: #f9f9f9; padding: 25px; border-radius: 12px; border: 1px solid #eee; }
.accreditation-list li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.accreditation-list li:last-child { border-bottom: none; }
.sence-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.accreditation-qr-small { flex: 0 0 auto; }
.qr-img-small { width: 80px; height: 80px; border: 1px solid #ddd; padding: 5px; background: white; border-radius: 8px; }

/* Estilos para Política de Calidad Moderna */
.policy-modern-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.policy-card { background: white; padding: 40px 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); border-bottom: 4px solid transparent; text-align: center; }
.policy-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-bottom-color: var(--primary-color); }
.policy-card-icon { width: 70px; height: 70px; background: rgba(5, 54, 121, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; color: var(--primary-color); font-size: 28px; transition: var(--transition); }
.policy-card:hover .policy-card-icon { background: var(--primary-color); color: white; }
.policy-card p { font-size: 1rem; line-height: 1.7; color: #555; margin: 0; }

.quality-banner .banner-content { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.banner-text { flex: 1; min-width: 300px; }
.banner-text h3 { font-size: 28px; color: var(--primary-color); margin-bottom: 20px; }
.banner-text p { font-size: 1.1rem; color: #666; margin-bottom: 30px; }
.cert-logos { display: flex; gap: 30px; align-items: center; }
.cert-logos img { height: 60px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.cert-logos img:hover { filter: grayscale(0); opacity: 1; }
.banner-image { flex: 1; min-width: 300px; text-align: center; }
.banner-image img { max-width: 100%; border-radius: 15px; box-shadow: var(--box-shadow); }
