/* ---- ----- ----- Scroll Bar ----- ----- ----- */

::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 10px;
 }

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* Contenedor común */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #111;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 20px;
}

header nav ul li a {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f39c12;
}

/* Secciones */
section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

/* Cards */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.card p {
    color: #666;
    font-size: 1rem;
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Modalidades */
.modalidades-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.modalidad {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 48%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.modalidad:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.modalidad p {
    color: #666;
    font-size: 1rem;
}

.modalidad-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Imágenes de sección */
.section-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Estilos para las nuevas secciones */
.info-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.text-content {
    width: 50%;
}

.text-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.text-content ul li {
    margin-bottom: 10px;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #f39c12;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e67e22;
}

.btn-secondary {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

/* Modalidades */
.modalidades-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.modalidad {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modalidad-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Modificaciones responsivas */
@media screen and (max-width: 768px) {
    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .text-content, .image-content {
        width: 100%;
    }

    .modalidades-container {
        flex-direction: column;
        align-items: center;
    }

    .modalidad {
        width: 80%;
        margin-bottom: 20px;
    }
}


/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-family: 'Lato', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #bbb;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    text-decoration: none;
    font-size: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .cards-container, .modalidades-container {
        flex-direction: column;
        align-items: center;
    }

    .card, .modalidad {
        width: 80%;
        margin-bottom: 20px;
    }
}
