.bg-color{
    background-color: #f9f5f6;
}
.color-text{
    color: #545b77;
}

#btn-mas{
    display: none;
}

.flotante{
    position:fixed;
    bottom:20px;
    right: 20px;
}

.redes a, icon-mas{
    display:block;
    text-decoration:none;
    background:#fff;
    color: #fff;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px, 1px, 10px, rgba(0,0,0,0.4);
    transition: all 500ms ease;
}

.enlaces{
    text-decoration: none;
    color: cadetblue;
}

/* estilos cards easy renta */
.modulo-cards {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.fila-cards {
    display: grid;
    grid-template-columns: 1fr; /* 1 columna en móvil */
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.icono-circular {
    width: 60px;
    height: 60px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Tablet (2 cards por fila) */
@media (min-width: 768px) {
    .fila-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (3 cards por fila) */
@media (min-width: 1024px) {
    .fila-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  
  .slider-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.slider-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: rgba(13, 202, 240, 1);
    margin: 10px auto;
  }
  
  .slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
  }
  
  .slide {
    min-width: calc(100% / 3);
    padding: 0 15px;
    transition: all 0.3s ease;
  }
  
  .slide-content {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.slide:hover {
    transform: translateY(-10px);
  }
  
  .slide-bg {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
  }
  
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.slide-1 { background-image: url('../sources/fis1.png'); }
.slide-2 { background-image: url('../sources/fis2.png'); }
.slide-3 { background-image: url('../sources/fis3.png'); }
.slide-4 { background-image: url('../sources/fis4.png'); }
.slide-5 { background-image: url('../sources/aut2.png'); }
.slide-6 { background-image: url('../sources/hacienda.png'); }

  .slide-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .slide-desc {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    flex: 1;
}

.btn-container {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
  }
  
  .slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: rgba(13, 202, 240, 1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    gap: 8px;
    font-size: 1.1rem;
  }
  
  .slide-btn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.slide-btn i {
    font-size: 0.9rem;
  }
  
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
  }
  
.control-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.control-btn:hover {
    background-color: rgba(13, 202, 240, 1);
    color: white;
    transform: scale(1.1);
}

.control-btn i {
    font-size: 1.5rem;
    color: #333;
}

.control-btn:hover i {
    color: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: rgba(13, 202, 240, 1);
    transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .slide {
        min-width: 50%;
    }
    
    .slide-content {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: 100%;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slide-content {
        height: 400px;
    }
    
    .slide-bg {
        height: 180px;
    }
    
    /* Garantizar mismo tamaño de imágenes en móvil */
    .slide-bg {
        height: 180px !important;
        flex-shrink: 0;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide {
    animation: fadeIn 0.5s ease forwards;
    }

.slide:nth-child(1) { animation-delay: 0.1s; }
.slide:nth-child(2) { animation-delay: 0.2s; }
.slide:nth-child(3) { animation-delay: 0.3s; }

/* Estilos generales */
.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    overflow: hidden;
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 15px;
}

/* Contenedor de contenido */
.about-content {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

/* Contenedor de imagen */
.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 15px;
}

/* Estilos de imagen */
.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out forwards;
}

.about-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Resto de estilos (títulos, texto, lista) */
.about-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.about-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: rgba(13, 202, 240, 1);
    margin: 10px 0 20px;
}

.about-credential {
    font-size: 1.1rem;
    color: rgba(13, 202, 240, 1);
    font-weight: 600;
    margin-bottom: 10px;
}

.about-experience {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.about-list {
    list-style-type: none;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #555;
}

.about-list li::before {
    content: '•';
    color: rgba(13, 202, 240, 1);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Animación */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse;
        padding: 0 10px;
    }
    
    .about-content, .about-image {
        min-width: 100%;
        padding: 0;
    }
    
    .about-image {
        margin-bottom: 25px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-list li {
        font-size: 0.95rem;
    }
}