/* ============================
   RESET & VARIABLES
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0056b3;
  --primary-light: #3a7bd5;
  --secondary-color: #00a8e8;
  --dark-color: #0f1c2e;
  --light-color: #f5f7fa;
  --white-color: #ffffff;
  --gray-color: #6c757d;
  --transition: 0.3s ease;
  --border-radius: 8px;
  --max-width: 1200px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================
   ESTILOS GLOBALES
=============================== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

/* ============================
   ENCABEZADO Y NAVEGACIÓN
=============================== */
.header {
  background-color: rgba(15, 28, 46, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.menu li a {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.menu li a:hover {
  color: var(--secondary-color);
}

.menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--white-color);
  cursor: pointer;
}

/* ============================
   SECCIÓN HERO
=============================== */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 60px; /* Offset por el header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(4, 6, 8, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  color: var(--white-color);
}

.profile-container {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white-color);
  box-shadow:rgba(0, 168, 232, 0.8);
  position: relative;
}

.profile-container::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  animation: pulse 2s infinite;
  opacity: 0.7;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 168, 232, 0.8);
}

#typing-text {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #00a8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--white-color);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--dark-color);
}

.btn-secondary:hover::before {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-icons a:hover {
  transform: translateY(-5px);
  background: var(--secondary-color);
  color: var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

/* ============================
   SECCIONES GENERALES
=============================== */
.section {
  padding: 5rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.container > p {
  margin-bottom: 3rem;
  margin-top: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   EFECTO FADE-IN
=============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   TIMELINE Y EDUCACIÓN
=============================== */
.timeline {
  position: relative;
  padding-left: 50px;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), rgba(58, 134, 255, 0.3));
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  left: -35px;
  top: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(58, 134, 255, 0.3);
}

.timeline-content {
  padding: 2rem;
  background-color: var(--white-color);
  border-left: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition), box-shadow var (--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.timeline-date {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-body {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.timeline-image {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white-color);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-body ul {
  flex: 1;
  padding-left: 1.5rem;
}

.timeline-body li {
  margin-bottom: 0.5rem;
  position: relative;
}

.timeline-body li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.education-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.education-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--white-color);
  border-left: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.education-item:hover {
  transform: translateX(5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.education-image {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white-color);
  padding: 8px;
}

.university-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-content {
  flex: 1;
}

.education-content strong {
  font-size: 1.1rem;
  color: var(--dark-color);
  display: block;
  margin-bottom: 0.3rem;
}

.institution {
  color: var(--gray-color);
  font-style: italic;
}

/* ============================
   GRIDS DE SERVICIOS Y PORTAFOLIO
=============================== */
.services-grid,
.portfolio-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(0, 168, 232, 0.1) 100%);
  transition: height 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
  display: inline-block;
}

.service-card:hover i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 1.5rem;
  text-align: left;
  border-top: 3px solid var(--primary-color);
}

.portfolio-info h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ============================
   CONTACTO
=============================== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-info h2::after {
  left: 0;
  transform: none;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-item i {
  color: var(--white-color);
  font-size: 1.2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--dark-color);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: block;
  color: var(--dark-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.contact-form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.contact-form button:hover {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* ============================
   PIE DE PÁGINA
=============================== */
footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 3rem 1rem 2rem;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  border: 2px solid var(--secondary-color);
}

.footer-logo h3 {
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links li a {
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links li a:hover {
  color: var(--secondary-color);
}

.footer-links li a:hover::after {
  width: 100%;
}

.footer-social a {
  color: var(--white-color);
  margin: 0 0.8rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================
   RESPONSIVIDAD
=============================== */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(15, 28, 46, 0.95);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  .menu.show {
    display: flex;
  }
  .menu li {
    margin-bottom: 1rem;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .timeline {
    padding-left: 35px;
  }
  .timeline::before {
    left: 10px;
  }
  .timeline-icon {
    left: -25px;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .education-item {
    flex-direction: column;
    text-align: center;
  }
  .education-image {
    margin: 0 auto 1rem;
  }
  .contact-container {
    flex-direction: column;
  }
  .section h2::after {
    width: 60px;
  }
}

@media (max-width: 480px) {
  #typing-text {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .btn {
    padding: 0.7rem 1.2rem;
  }
  .profile-pic {
    width: 150px;
    height: 150px;
  }
  .section {
    padding: 3rem 1rem;
  }
  .section h2 {
    font-size: 1.8rem;
  }
  .timeline-content {
    padding: 1.5rem;
  }
}
/* Añadir estas reglas al final del archivo CSS */

/* Animaciones adicionales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 86, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Efecto de cursor parpadeante */
.cursor-blink::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Estilos para el header al hacer scroll */
.header.scrolled {
  background-color: rgba(15, 28, 46, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Animación para las tarjetas de servicio */
.service-card.animate-in {
  animation: fadeInUp 0.6s forwards;
}

/* Animación para los elementos del portafolio */
.portfolio-item.animate-in {
  animation: fadeInUp 0.8s forwards;
}

/* Efecto de foco para los campos del formulario */
.form-group.focused label {
  color: var(--primary-color);
  font-size: 0.9rem;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Efecto de hover para los botones sociales */
.social-icons a:hover i {
  animation: float 1s infinite ease-in-out;
}

/* Mejora visual para las imágenes del portafolio */
.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-item:hover::after {
  opacity: 1;
}

/* Reemplazar los estilos del timeline con estos nuevos estilos */

/* Nuevo diseño para la experiencia profesional */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.experience-card {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.experience-card:hover::before {
  width: 8px;
}

.experience-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
  position: relative;
}

.experience-header h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.experience-date {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
  display: block;
}

.company-image {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.company-logo {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.experience-card:hover .company-logo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.experience-body ul {
  list-style: none;
  padding-left: 5px;
}

.experience-body li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.5;
}

.experience-body li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Ajustes para los logos de empresas */
.company-image {
  display: flex;
  align-items: center;
  justify-content: center; /* Centrar horizontalmente */
  margin: 20px 0;
}

.company-logo {
  max-width: 150px; /* Aumentar de 100px a 150px */
  max-height: 80px; /* Aumentar de 60px a 80px */
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 5px; /* Añadir un poco de padding */
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .experience-header h4 {
    font-size: 1.1rem;
  }
}