* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #003366;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Estilos del slider */
.slider {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    flex-wrap: wrap;
}

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.text {
    flex: 1 1 50%;
    padding-right: 20px;
}

.image {
    flex: 1 1 50%;
    text-align: right;
}

.image img {
    max-width: 100%;
    height: auto;
}

h1, h2 {
    color: #003366;
}

p, ul {
    font-size: 18px;
    line-height: 1.6;
}

ul {
    list-style-type: square;
}

ul li {
    margin-bottom: 10px;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: #333;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Diseño adaptativo */
@media (max-width: 768px) {
    .text, .image {
        flex-basis: 100%;
        text-align: center;
        padding-right: 0;
    }

    .image img {
        max-width: 80%;
    }

    .prev, .next {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .image img {
        max-width: 100%;
    }
}
