/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 12px;
}

.color-acento {
    color: #e81a1a;
}

/* Header */
header {
    background-color: #e81a1a;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-weight: bold;
    font-size: 1.5em;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
#hero {
    background-image: url('../images/iebs.jpg.png');
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
    height: 100vh;               
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5px;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Botones */
.btn-primary {
    background-color: #e81a1a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ba0d0d;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: white;
    color: #e81a1a;
    padding: 10px 20px;
    border: 2px solid #e81a1a;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e8211a;
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2em;
}

/* Sección Sobre la Unidad */
#sobre-unidad {
    padding: 100px 0;
    background-color: #f8f9fa;
}

#sobre-unidad .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.img-container {
    flex: 1;
    height: 400px;
    background: url('../images/foto2.jpg') no-repeat center center/cover;
    border-radius: 10px;
}

.texto {
    flex: 1;
}

.texto h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.texto p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Sección Talleres */
#talleres {
    padding: 100px 0;
    text-align: center;
}

#talleres h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

style
#caracteristicas {
    padding: 40px 0;
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

#caracteristicas .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#caracteristicas h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 32px;
}

.beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

.beneficio {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid;
    font-weight: 500;
}

.beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.beneficio.uno {
    border-left-color: #ff0000;
}

.beneficio.dos {
    border-left-color: #ff0000;
}

.beneficio.tres {
    border-left-color: #ff0000;
}

.beneficio.cuatro {
    border-left-color: #fd0000;
}

.beneficio::before {
    content: "✓";
    margin-right: 10px;
    font-weight: bold;
}

/* Versión responsive */
@media (max-width: 768px) {
    .beneficios {
        grid-template-columns: 1fr;
    }
    
    .beneficio {
        padding: 20px;
    }
}

/* Sección Guías */
#guias {
    text-align: left;
    font-size: 1.6rem;
    padding: 2rem 0;
}
#guias li {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: left;
}
#guias ul {
    list-style: none;
    padding-left: 0;
}

#guias h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: left;
}


.guias-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.guias-list li {
    text-align: left;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.guias-list li:before {
    
    position: absolute;
    left: 0;
    top: 0;
}

/* Sección Recursos */
#recursos {
    padding: 100px 0;
    text-align: center;
}

#recursos h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#recursos p {
    margin-bottom: 40px;
    font-size: 1.1em;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.recurso {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.recurso:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.recurso-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #e81a1a;
}

/* Sección Final */
#final {
    padding: 80px 0;
    background-color: #e81a1a;
    color: white;
    text-align: center;
}

#final h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#final p {
    font-size: 1.2em;
    margin-bottom: 30px;
}
/* Estilos para la página de métodos */
#metodos-trabajo {
    padding: 60px 0;
}

.metodo {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.metodo h2 {
    color: #2c3e50;
    margin-top: 0;
}

.back-button {
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 4px;
    margin: 20px 0;
}

.boton-volver {
    display: inline-block;
    padding: 12px 25px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.boton-volver:hover {
    background-color: #2980b9;
}
.botoninicial {
    display: inline-block;
    padding: 15px 40px;
    margin: -150px 200px;
    background-color: #dd300b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 26, 26, 0.3);
    position: absolute;
    margin-top: 75vh;
}

.botoninicial:hover {
    background-color: #ba0d0d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 26, 26, 0.4);
}

.botoninicial:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(232, 26, 26, 0.3);
}

.botonfinal {
    display: inline-block;
    padding: 15px 40px;
    background-color: #e81a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 26, 26, 0.3);
    margin-top: 20px;
}

.botonfinal:hover {
    background-color: #ba0d0d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 26, 26, 0.4);
}

.botonfinal:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(232, 26, 26, 0.3);
}

.botones-final {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.logo-footer {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e81a1a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #e81a1a;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-media a {
    color: white;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: #e81a1a;
}

.copyright {
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
}


/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }

    nav {
        margin-top: 15px;
    }

    #sobre-unidad .container {
        flex-direction: column;
    }

    .img-container {
        width: 100%;
        margin-bottom: 30px;
    }

    .talleres-container {
        flex-direction: column;
    }
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #45a049;
}

.botones-final {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.botonfinal {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.botonfinal:hover {
    background-color: rgb(133, 128, 128);
}