/* Custom CSS for DesarrolloEcuador.com */

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 70px; /* Adjust based on navbar height to prevent content overlap */
    background-color: #f8f9fa; /* Light background */
}

/* Navbar adjustments */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Carousel / Banner */
.carousel-item img {
    height: 60vh; /* Adjust height as needed */
    object-fit: cover; /* Ensures image covers the area without distortion */
    filter: brightness(70%); /* Darken images slightly for better text readability */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    padding: 15px 20px;
    border-radius: 8px;
    bottom: 20%; /* Adjust vertical position */
}

.carousel-caption h5 {
    font-size: 2.5rem; /* Larger text for impact */
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #f8f9fa;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-weight: 700;
    color: #007bff; /* Primary Bootstrap color */
}

.lead {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #212529 !important; /* Darker than navbar for distinction */
    padding-top: 40px;
    padding-bottom: 40px;
    color: #adb5bd; /* Lighter grey text for contrast */
}

footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li i {
    margin-right: 10px;
    color: #007bff; /* Icon color */
}

footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}