:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #00c6ff);
    --gradient-secondary: linear-gradient(135deg, #6a11cb, #2575fc);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://websites.negociolisto.com/hubfs/Captura%20de%20pantalla%202024-09-11%20a%20la(s)%2011.23.00.png') center/cover;
    height: 100vh;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    border-radius: 50px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #00a8e8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

.btn-outline-light {
    border-color: white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 10px;
    height: 100%;
    padding: 25px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    background: rgba(13, 110, 253, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(13, 110, 253, 0.2);
    transform: scale(1.1);
}

.mission-card, .vision-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 10px;
    height: 100%;
    padding: 30px;
}

.vision-card {
    border-left-color: var(--success-color);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.mission-icon, .vision-icon {
    background: rgba(13, 110, 253, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.vision-icon {
    background: rgba(25, 135, 84, 0.1);
}

.mission-card:hover .mission-icon, .vision-card:hover .vision-icon {
    transform: scale(1.1);
    background: rgba(13, 110, 253, 0.2);
}

.feature-card {
    background: rgba(13, 110, 253, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.feature-card:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.quote-icon i {
    font-size: 2rem;
    opacity: 0.3;
}

.client-info h6 {
    font-weight: 600;
    color: var(--primary-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 300px;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.map-container {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    height: 100%;
    border: 0;
}

.contact-info h5 {
    display: flex;
    align-items: center;
}

footer {
    margin-top: auto;
    background: var(--gradient-secondary) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .map-container {
        height: 250px;
    }
    
    .service-icon, .mission-icon, .vision-icon {
        width: 60px;
        height: 60px;
    }
    
    .mission-icon, .vision-icon {
        width: 80px;
        height: 80px;
    }
    
    .gallery-item {
        height: 250px;
    }
}