:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --rva-ingenieria: #0056b3;
    --rva-labs: #25d366;
    --transition-base: all 0.3s ease-in-out;
}

/* Base styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Navbar improvements */
.navbar {
    transition: var(--transition-base);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

.navbar-brand img {
    transition: var(--transition-base);
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bs-primary);
    transition: var(--transition-base);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Hero section enhancements */
/*
.hero-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}
*/

/*
.hero-overlay {
    display: none !important;
}
*/

/* En tu archivo style.css */
.hero-section {
    position: relative;
}

.hero-overlay {
    z-index: 1; /* Asegúrate que es menor que los botones */
}

.button-container {
    position: relative;
    z-index: 2; /* Mayor que el overlay */
}

/* Reset para los botones */
.btn {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}



/*
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}
*/

/* Taglines mejorados */
.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 0.25rem;
}

.tagline-ingenieria {
    color: #fff;
    background: rgba(0, 86, 179, 0.8);
    border-left: 4px solid var(--rva-ingenieria);
}

.tagline-labs {
    color: #fff;
    background: rgba(37, 211, 102, 0.8);
    border-left: 4px solid var(--rva-labs);
}

/* Cards mejoradas */
.card {
    transition: var(--transition-base);
    border: none;
    overflow: hidden;
}

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

.card-img-top {
    transition: var(--transition-base);
}

.card:hover .card-img-top {
    transform: scale(1.03);
}

/* Estilos para redes sociales */
.social-icon {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-icon.facebook:hover {
    background-color: rgba(66, 103, 178, 0.1);
}

.social-icon.linkedin:hover {
    background-color: rgba(0, 119, 181, 0.1);
}

.social-icon.instagram:hover {
    background-color: rgba(225, 48, 108, 0.1);
}

.social-icon.youtube:hover {
    background-color: rgba(255, 0, 0, 0.1);
}



/* WhatsApp button mejorado */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: var(--rva-labs);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Section padding optimizado */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa!important;
}

/* Botones mejorados */
.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.5rem;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--rva-ingenieria);
    border-color: var(--rva-ingenieria);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-light:hover {
    color: var(--bs-dark);
}

/* Client Logos Styles */
.client-logos {
    overflow: hidden;
}

.clients-slider {
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.swiper-slide img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-slide img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}



/* Optimizaciones móviles */
@media (max-width: 992px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 5rem 0;
        text-align: center;
    }
    
    .hero-section .lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .tagline {
        padding: 0.75rem 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}
