body {
    font-family: Arial, sans-serif;
    color: #002855;
    margin-top: 80px; /* Space for fixed navbar */
}

header .logo {
    max-width: 150px;
}

.hero {
    background-color: #002855;
    color: #fff;
    padding: 100px 20px;
    position: relative;
    text-align: left;
}

.hero-bg {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    max-height: 700px;
    z-index: 1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    max-width: 600px;
    z-index: 2;
}

.hero-content .text-highlight {
    color: #BD9B60;
    font-size: 2.5em;
}

.gray-bg {
    background-color: #002855;
    /*padding: 50px 0;*/
}

.text-content h2 {
    color: #002855;
    font-size: 1.5em;
}

.text-content p, .text-content ul {
    color: #666;
    font-size: 1em;
}

.text-content ul {
    padding-left: 20px;
}

.cta {
    background-color: #BD9B60;
    color: #fff;
}

footer {
    background-color: #002855;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .hero-bg {
        display: none;
    }
}

/* New styles for the floating section */
#servicios {
    position: relative;
   /* margin-bottom: 150px;  Space for the next section */
}

.floating-section {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 90%;
}

.floating-section .row {
    margin: 0;
}

.floating-section .col-md-6 {
    padding: 40px;
}

#nosotros {
    padding-top: 200px; /* Space to ensure separation from the floating section */
}

.carousel-item {
    padding: 20px;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
}

#contacto .form-group {
    margin-bottom: 20px;
}

#ubicacion .map-container {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%;
}

#ubicacion .map-container iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
