@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --color-primary: #3E8EDE;
    --color-primary-dark: #2D6CB0;
    --color-accent: #64B5F6;     /* Cambiado de #FF6B6B a un azul más claro */
    --color-secondary: #6C757D;
    --color-light: #F8FAFC;
    --color-dark: #2D3748;
    --color-bg: #FFFFFF;
    --color-primary-rgb: 62, 142, 222;
    --color-accent-rgb: 100, 181, 246;  /* Actualizado para coincidir con el nuevo color */
    --color-hover: #F0F7FF;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(100, 181, 246, 0.03) 25%, transparent 25%) -40px 0,
        linear-gradient(-45deg, rgba(100, 181, 246, 0.03) 25%, transparent 25%) -40px 0,
        linear-gradient(45deg, transparent 75%, rgba(100, 181, 246, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(100, 181, 246, 0.03) 75%);
    background-size: 80px 80px;
    animation: backgroundMove 30s linear infinite;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 10s ease-in-out infinite;
}

/* Estilos iniciales para las tarjetas con animación de entrada */
.service-card, .about-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Animación de pulso para el botón de WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-float::before {
    content: "¡Contáctanos por WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2D3748;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2D3748;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float::before {
        font-size: 12px;
        padding: 6px 10px;
        right: 65px;
    }
    
    .whatsapp-float::after {
        right: 55px;
    }
}

.service-card.show, .about-card.show {
    opacity: 1 !important;
    transform: none !important;
}

body {
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
    padding-top: 80px;
}

/* Navbar refinado */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    margin-right: 2rem;
    position: relative;
    z-index: 1031;
    transition: transform 0.3s ease;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand:hover::after {
    transform: scaleX(1);
}

.navbar-brand .ampersand {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0 0.5rem;
}

.nav-link {
    color: var(--color-secondary) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

/* Botones refinados */
.btn {
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--color-primary);  /* Cambiado de var(--color-accent) */
    border-color: var(--color-primary);      /* Cambiado para coincidir */
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Cards refinadas */
.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(189, 195, 199, 0.2);
    height: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(62, 142, 222, 0.15);
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.95);
}

.about-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid rgba(189, 195, 199, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    transform: none !important;
}

.about-card:hover {
    box-shadow: 0 12px 20px rgba(62, 142, 222, 0.15);
    transform: translateY(-3px);
}

/* Estilos para la página Sobre Nosotros */
.team-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(189, 195, 199, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(62, 142, 222, 0.15);
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.95);
}

.about-content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 2.5rem;
    border: 1px solid rgba(189, 195, 199, 0.2);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content:hover {
    box-shadow: 0 12px 20px rgba(62, 142, 222, 0.15);
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Sección Hero mejorada */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Sección Hero mejorada para poder pasar el carrucel con el mouse*/
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding-top: 0;
    /* border: red solid 1px; */ /* Comentado para eliminar el borde de prueba */
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.4s ease;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Mejoras para el carrusel */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease-in-out;
}

.carousel-content {
    position: absolute;
    bottom: 20%;
    right: 10%;
    max-width: 500px;
    background-color: rgba(0,0,0,0.7);
    padding: 2rem;
    border-radius: 10px;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-item.active .carousel-content {
    transform: translateX(0);
    opacity: 1;
}

.carousel-content h2 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.carousel-content p {
    color: rgba(255,255,255,0.9);
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Footer refinado */
footer {
    background-color: var(--color-primary) !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent) !important;
    text-decoration: none;
}

/* Modal refinado */
.modal-content {
    border-radius: 0.375rem;
    border: none;
}

.modal-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-light);
}

.info-item {
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--color-hover);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

/* Estilos para la página Sobre Nosotros (Actualizada) */
.about-hero-section {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 76px;
}

.about-hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, rgba(62, 142, 222, 0.3), rgba(44, 62, 80, 0.7));
}

.about-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-image {
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(62, 142, 222, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

.about-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(189, 195, 199, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(62, 142, 222, 0.15);
}

.about-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    color: var(--color-accent);
    transform: scale(1.2);
}

.about-card h3 {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    transition: all 0.4s ease;
}

.about-card:hover h3::after {
    width: 80px;
}

.section-title {
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.about-text {
    color: var(--color-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-mission-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(62, 142, 222, 0.1);
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(62, 142, 222, 0.05), rgba(100, 181, 246, 0.05));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.vision-mission-card:hover::before {
    transform: translateY(0);
}

.card-icon {
    transition: transform 0.4s ease;
}

.vision-mission-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(62, 142, 222, 0.1);
    position: relative;
    z-index: 1;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 142, 222, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    border-radius: 1rem;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(62, 142, 222, 0.15);
}

.value-card:hover::after {
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(62, 142, 222, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background: var(--color-primary);
    color: white;
}

.value-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-text {
    color: var(--color-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.team-card {
    background-color: white;
    border-radius: 0.375rem;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--color-light);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.team-card h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-card .position {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .description {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-content {
    background-color: white;
    border-radius: 0.375rem;
    padding: 2rem;
    border: 1px solid var(--color-light);
    margin-bottom: 2rem;
}

.about-section {
    padding-top: 2rem;
}

.team-section {
    padding-bottom: 4rem;
}

/* Mejoras para la sección de servicios en la página de inicio */
/* Mejoras para las tarjetas de servicios */
.service-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(189, 195, 199, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    transition: all 0.4s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 142, 222, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--color-primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: white;
    transform: rotate(360deg);
}

.service-card h3 {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--color-accent);
}

.service-card p {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card .btn {
    transition: all 0.3s ease;
}

.service-card:hover .btn {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Mejoras para la sección Sobre Nosotros en la página de inicio */
.about-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(189, 195, 199, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at bottom right, rgba(62, 142, 222, 0.1), transparent 70%);
    border-radius: 0 0 1rem 0;
    transition: all 0.4s ease;
}

.about-card:hover::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at bottom right, rgba(62, 142, 222, 0.2), transparent 70%);
}

.about-card h3 {
    color: var(--color-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.about-card:hover h3::after {
    width: 80px;
}

.about-card p {
    color: var(--color-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0;
}

.about-card:hover {
    box-shadow: 0 15px 30px rgba(62, 142, 222, 0.25);
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 1);
    border-color: var(--color-accent);
}

.about-card .about-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--color-accent);
    opacity: 0.2;
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    transform: rotate(15deg);
    opacity: 0.4;
}

/* Eliminar estilos duplicados y conflictivos */
.join-team-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(189, 195, 199, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.join-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    transition: all 0.4s ease;
}

.join-team-card:hover::before {
    height: 100%;
}

.join-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(62, 142, 222, 0.2);
}

.join-team-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.join-team-card:hover .join-team-image {
    opacity: 1;
    transform: scale(1.1);
}

/* Estilos para iconos de redes sociales en el footer */
.social-links .social-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.social-links .social-link i {
    font-size: 1.5rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links .facebook-link i {
    color: #1877F2;
}

.social-links .instagram-link i {
    color: #E1306C;
}

.social-links .linkedin-link i {
    color: #0A66C2;
}



.social-links .social-link:hover {
    transform: translateY(-3px);
}

.social-links .facebook-link:hover {
    color: #1877F2;
}

.social-links .instagram-link:hover {
    color: #E1306C;
}

.social-links .linkedin-link:hover {
    color: #0A66C2;
}


/* Estilos para el footer con iconos de redes sociales en colores originales */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
}

.footer-social-icon .fa-facebook-f {
    background-color: #3b5998;
    padding: 12px 15px;
    border-radius: 50%;
}



.footer-social-icon .fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    padding: 12px 13px;
    border-radius: 50%;
}

.footer-social-icon .fa-linkedin-in {
    background-color: #0077b5;
    padding: 12px 13px;
    border-radius: 50%;
}

.footer-links .footer-link {
    color: #BDC3C7;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links .footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-info i {
    color: var(--color-accent);  /* Ya usa la variable, se actualizará automáticamente */
}

.footer-link i {
    color: var(--color-accent);  /* Ya usa la variable, se actualizará automáticamente */
}

/* Estilos para los enlaces del footer */
.footer-link {
    color: var(--light-color);
    opacity: 0.9;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    opacity: 1;
    color: white;
    transform: translateX(5px);
}

.footer-link i {
    color: var(--accent-color);
}

/* Estilos para los controles del carrusel */
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--color-primary-rgb), 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(var(--color-primary-rgb), 0.9);
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --primary-color: #2D3748;
    --secondary-color: #4A5568;
    --accent-color: #64B5F6;    /* Cambiado de #3182CE a un azul más claro */
    --light-color: #F7FAFC;
    --dark-color: #1A202C;
}

body {
    padding-top: 80px;
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
}



section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(100, 181, 246, 0.05) 0%, transparent 100%),
        radial-gradient(circle at 30% 30%, rgba(62, 142, 222, 0.05) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

section:hover::before {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

/* Estilos para los títulos del footer */
footer h4, footer h5, footer .footer-title {
    color: var(--light-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* Mejora de contraste para enlaces del footer */
footer a {
    color: var(--light-color);
    opacity: 0.9;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 1;
    text-decoration: none;
    color: white;
}

/* Estilos adicionales para el footer */
footer {
    background: linear-gradient(to right, #1a202c, #2d3748);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.3;
}

.footer-links li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-link {
    margin-bottom: 8px;
    width: fit-content;
}

/* Animación para el footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

footer .row > div {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

footer .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

footer .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

footer .row > div:nth-child(3) {
    animation-delay: 0.3s;
}

footer .row > div:nth-child(4) {
    animation-delay: 0.4s;
}

/* Estilos adicionales para el footer */
footer {
    background: linear-gradient(to right, #1a202c, #2d3748);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.3;
}

.footer-links li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-link {
    margin-bottom: 8px;
    width: fit-content;
}

/* Animación para el footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

footer .row > div {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

footer .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

footer .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

footer .row > div:nth-child(3) {
    animation-delay: 0.3s;
}

footer .row > div:nth-child(4) {
    animation-delay: 0.4s;
}

.navbar {
    background-color: white !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}



.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand:hover::after {
    transform: scaleX(1);
}

.navbar-brand .ampersand {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0 0.5rem;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand:hover::after {
    transform: scaleX(1);
}

/* Estilo especial para el "&" en el logo */
.navbar-brand .ampersand {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0 0.3rem;
    color: #a67c52;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-attachment: fixed;
    background-position: center;
    transition: transform 0.5s ease;
}

.carousel-content {
    position: absolute;
    bottom: 20%;
    right: 10%;
    max-width: 500px;
    background-color: rgba(0,0,0,0.7);
    padding: 2rem;
    border-radius: 10px;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding-top: 100px;
}

/* Animación para el hero content */
.hero-content h1, .hero-content p, .hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-content.animated h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-content.animated p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-content.animated .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

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

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mejoras para los cuadros de texto */
.text-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(189, 195, 199, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    transition: all 0.4s ease;
}

.text-box:hover::before {
    height: 100%;
}

.text-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 181, 246, 0.2);
}

/* Iconos mejorados */
.text-box-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(100, 181, 246, 0.3);
}

.text-box:hover .text-box-icon {
    transform: rotateY(180deg);
}

/* Títulos y textos con animación */
.text-box h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-box h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transition: width 0.4s ease;
}

.text-box:hover h3::after {
    width: 100%;
}

.text-box p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Efecto de difuminado en bordes */
.text-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(50%, 50%);
}

.text-box:hover::after {
    opacity: 0.1;
}

/* Animación para elementos */
.animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.animated-element.show {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.about-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.about-card.show {
    opacity: 1 !important;
    transform: none !important;
}

.about-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Estilos para testimonios */
.testimonial-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(255,255,255,0.1);
}

.social-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.facebook-link:hover {
    background-color: #3b5998;
}

.linkedin-link:hover {
    background-color: #0077b5;
}

.instagram-link:hover {
    background-color: #e1306c;
}



.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2c5282;
    border-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.service-list {
    padding-left: 20px;
}

.service-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.service-list li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -5px;
}

.contact-info .info-item {
    position: relative;
}

/* Mejora visual para los indicadores del carrusel */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-content {
        bottom: 10%;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 400px;
    }

    .carousel-item.active .carousel-content {
        transform: translateX(50%);
        opacity: 1;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .hero-content {
        display: none;
    }
}