/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Header with logo and navigation */
header {
    background-color: #003366; /* Dark blue for the header */
    color: white;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

header .logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f4b400; /* Accent color for hover effect */
}

/* Hero Section */
.hero {
    background-image: url('hero-image.png'); /* Add an image here */
    background-size: cover;
    background-position: center;
    color: #022c57;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Hero2 Section */
.hero2 {
    background-image: url('foto-corp2.png'); /* Add an image here */
    background-size: cover;
    background-position: center;
    color: #022c57;
    text-align: center;
    padding: 80px 20px;
}

.hero2 h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero2 p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Hero3 Section */
.hero3 {
    background-image: url('foto-ecosis.png'); /* Add an image here */
    background-size: cover;
    background-position: center;
    color: #022c57;
    text-align: center;
    padding: 80px 20px;
}

.hero3 h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero3 p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Hero4 Section */
.hero4 {
    background-image: url('clientes.png'); /* Add an image here */
    background-size: cover;
    background-position: center;
    color: #022c57;
    text-align: center;
    padding: 80px 20px;
}

.hero4 h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero4 p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.carousel {
            position: relative;
            left: 150px;
            width: 70%;
            max-width: 800px;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

.carousel-images {
            display: flex;
            transition: transform 5.0s ease-in-out;
        }

.carousel-images img {
            width: 50%;
            flex-shrink: 0;
        }

.carousel-indicators {
            position: absolute;
            bottom: 10px;
            width: 200%;
            display: flex;
            justify-content: center;
        }

.carousel-indicators span {
            height: 10px;
            width: 10px;
            margin: 0 5px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
        }

.carousel-indicators .active {
            background-color: white;
        }

.cta-button {
    padding: 12px 30px;
    background-color: #f4b400;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e68900;
}

/* Section Content Styling */
section {
    padding: 40px 20px;
    text-align: center;
}

section .content {
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 2.0rem;
    margin-bottom: 5px;
    text-align: left;

}


.learn-more {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    border: 1px solid #003366;
    padding: 10px 25px;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
}

.learn-more:hover {
    background-color: #003366;
    color: white;
}

/* Footer Styling */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header .logo img {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}
