* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #000;
    
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007bff;
    padding: 10px 20px;
    color: white;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
}

.logo img {
    height: 50px;
    margin-top: 10px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

.menu ul li a:hover {
    background-color: #0056b3;
    border-radius: 5px;
}

.hero-section {
    position: relative;
    text-align: center;
    background-color: #007bff;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* Contadores */
.counters {
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 40px 0;
}

.counter-item {
    text-align: center;
}

.counter-item h2 {
    font-size: 48px;
    color: #007bff;
}
/*contador term si funciona*/

.hero-section img, .image-text-section img {
    width: 100%;
    height: auto;
    filter: brightness(30%);
}




h1 {
    font-size: 36px;
}

.p1 {
    font-style: italic;
    font-size: 20px;
} 

/* NUEVOS AGREGADOS */

.text {
    margin-right: 20%;
    margin-left: 20%;
    margin-bottom: 5%;
    margin-top: 5%;
    line-height: 140%;
    text-align: justify;
  }

h2 {
    color: #00035e;
  }

.form
  {
    margin-left: 10%;
  }

.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-right: 10%;
    margin-left: 10%;
    margin-bottom: 5%;
    margin-top: 5%;
    text-align: justify;
    }
    .column {
        width: 45%;
    }
    ul {
        list-style-type: disc;
        padding-left: 20px;
    }
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px;
}
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    height: 250px; 
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 130%;
    height: 130px;
    object-fit: contain;
}

.visit-btn {
    display: inline-block;
    padding: 10px 15px;
    margin-top: 10px;
    background-color: #00035e;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.visit-btn:hover {
    background-color: #01012b;
}


.footer {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.social-icons i {
    margin: 0 10px;
    cursor: pointer;
}



.carousel-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 16.66%; /* Mostrar 6 imágenes al mismo tiempo (100% / 6 = 16.66%) */
    padding: 10px;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.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;
    border-radius: 50%;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}