:root {
    --primary-color: #081c63;
    --secondary-color: #5764af;
    --light-color: #a8afd5;
    --dark-color: #011b68;
    --accent-color: #ed1c24;
    --accent-light: #f57a6d;
}

/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    padding-top: 56px;
}

section {
    padding: 80px 0;
}

.section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Navbar */
.navbar {
    background-color: rgba(1, 27, 104, 0.9);
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section / Carrusel */
.hero-section {
    margin-top: -56px;
}

.carousel {
    width: 90%;
    margin: 0 auto;
}

.carousel-item {
    height: 90vh;
    min-height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    padding: 20px;
    background: rgba(1, 27, 104, 0.7);
    border-radius: 5px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--light-color);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Servicios */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .card-body {
    padding: 25px;
}

.service-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card .card-text {
    color: #666;
}

/* Servicios Adicionales */
.additional-services {
    position: relative;
    background: linear-gradient(rgba(1, 27, 104, 0.8), rgba(1, 27, 104, 0.8)), url('../img/background-services.jpg') no-repeat center center;
    background-size: cover;
    color: white;
}

.service-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    transition: all 0.3s;
    height: 100%;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.service-item h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Ubicación */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 20px;
    min-width: 30px;
}

/* Formulario de Contacto */
.contact-section {
    position: relative;
    /*background: linear-gradient(rgba(0, 0, 0, 0.6), url('../img/contacto.jpg') no-repeat center center;*/
    background: linear-gradient(rgba(1, 27, 104, 0.8), rgba(1, 27, 104, 0.8)), url('../img/contacto.jpg') no-repeat center center;
    background-size: cover;
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.form-floating label {
    color: #666;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 15px;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #c5161c;
    border-color: #c5161c;
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .carousel-item {
        height: 70vh;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        bottom: 10%;
        padding: 15px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}