@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* General Styles */
body {
    color: white;
    font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background-color: #0a0e20 !important;
    padding: 15px 0 !important;
    position: relative !important;
    z-index: 9999 !important;

}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 14px;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    color: #6c5ce7 !important;
}

.navbar-brand img.logo {
    width: auto !important;
    max-width: 250px !important;
}

/* Ajuste general del Mega Menú */
.mega-menu {
    position: relative;
}

/* Contenedor del Mega Menú */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 800px;
    max-width: 90vw;
    background: rgba(10, 14, 32, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
    display: none;
    padding: 20px;
    z-index: 10000 !important;
    /* Asegura que esté por encima */
}

/* Asegura que el Mega Menú se divida en 2 filas de 2 columnas */
.mega-dropdown .row {
    display: flex;
    flex-wrap: wrap;
}

/* Ajusta cada sección para que se distribuyan horizontalmente */
.mega-dropdown .col-md-6 {
    flex: 0 0 50%;
    /* Cada columna ocupa el 50% del ancho */
    max-width: 50%;
    padding: 10px;
}

/* Mostrar Mega Menú al hacer hover */
.mega-menu:hover .mega-dropdown {
    display: block;
}


/* Asegurar que el Mega Menú no se salga de la pantalla */
@media (min-width: 1200px) {
    .mega-dropdown {
        left: auto;
        right: 0;
        transform: none;
    }
}

/* Columnas del Mega Menú */
.mega-column {
    min-width: 250px !important;
    padding: 10px;
}

/* Títulos del Mega Menú */
.mega-menu-title {
    font-size: 1rem;
    font-weight: bold;
    color: #6c5ce7;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Espaciado entre ícono y texto */
.mega-menu-title i {
    margin-right: 10px;
    /* Aumenta el espacio entre el icono y el texto */
    font-size: 1.2rem;
    /* Ajusta el tamaño del icono */
}


/* Estilos de los enlaces */
.mega-dropdown .dropdown-item {
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    display: block;
}

.mega-dropdown .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Responsivo para pantallas pequeñas */
/* Ajustes responsivos en móviles */
@media (max-width: 992px) {
    .mega-dropdown {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        max-width: 100%;
    }

    .mega-dropdown .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Hero Section Styles */
.hero {
    background: url('../img/tsg.jpg') no-repeat center center/cover;
    background-size: cover;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 5%;
    z-index: 3;
    /* Asegura que el Hero esté por debajo del Mega Menú */
}

.hero-content {
    z-index: 3;
    /* Asegura que el contenido del Hero esté por encima del Hero pero por debajo del Mega Menú */
    max-width: 600px;
    padding: 30px;
}



.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

.hero-content p {
    margin: 0;
    font-size: 1.8rem;
    color: #a29bfe;
    font-weight: bold;
}

.hero-content .btn-custom {
    margin-top: 1rem;
}

/* Button Styles */
.btn-custom {
    background-color: #6c5ce7;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #553ac6;
    transform: scale(1.1);
}

/* Info Boxes Styles */
.info-boxes {
    width: 100%;
    padding-top: 20px;
}

.info-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #6a5acd;
    box-shadow: 0px 0px 15px rgba(108, 92, 231, 0.8);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-box:hover {
    transform: scale(1.05);
}

.info-box i {
    font-size: 40px;
    color: #6a5acd;
    margin-bottom: 10px;
}

/* Qué Hacemos Section Styles */
.que-hacemos {
    background-color: #0a0e20;
    padding: 60px 0;
    text-align: center;
    /* Centralize content */
    margin: 0 auto;
    /* Center the section horizontally */
}

.que-hacemos .title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 2rem;
}

.que-hacemos .icon-container {
    font-size: 8rem;
    color: #6c5ce7;
    text-align: center;
}

.que-hacemos .row {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping for responsiveness */
    justify-content: center;
    /* Center the columns horizontally */
    align-items: flex-start;
    /* Align columns at the top */
    width: 100% !important;
    /* Ensure full width */
    margin: 0 auto;
    /* Center the row within the container */
}

.que-hacemos .accordion-button {
    background: none;
    border: none;
    color: #6a5acd;
    width: 100% !important;
    /* Ensure full width */
    margin: 0 auto;
    /* Center the section horizontally */
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}

.que-hacemos .accordion-button:hover {
    color: #6c5ce7;
    transform: translateX(5px);
}

.que-hacemos .accordion-body {
    background-color: #ffffff;
    padding: 1rem;
    width: 100% !important;
    /* Ensure full width */
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s ease-in-out;
}

.que-hacemos .accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-header {
    background-color: #0A0E20;
    color: white;
    width: 100% !important;
    /* Ensure full width */
    font-weight: bold;
    padding: 1rem;
    border-radius: 0px;
    cursor: pointer;
}

.accordion-button:not(.collapsed)::after {
    color: #fff !important;
}

/* Animaciones */
.accordion-button i {
    transition: transform 0.3s ease-in-out;
}

.accordion-button:hover i {
    transform: rotate(15deg);
}

/* Efecto hover */
.que-hacemos .accordion-item:hover .accordion-collapse {
    display: block;
}

.que-hacemos .col-md-6 {
    width: 100% !important;
    /* Ensure full width */
    max-width: 100%;
    /* Ensure no extra width is applied */
    padding: 15px;
    /* Add spacing between columns */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.que-hacemos .col {
    padding: 15px;
    /* Add spacing between columns */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

@media (min-width: 768px) {
    .que-hacemos .col {
        flex: 0 0 50%;
        /* Two columns on medium and larger screens */
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .que-hacemos .col {
        flex: 0 0 50%;
        /* Two columns on large screens */
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .que-hacemos .col {
        flex: 0 0 50%;
        /* Two columns on tablets */
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .que-hacemos .col {
        flex: 0 0 100%;
        /* One column on smaller screens */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .que-hacemos .title {
        text-align: center;
    }

    .que-hacemos .icon-container {
        font-size: 6rem;
    }
}

.que-hacemos .container {
    max-width: 100% !important;
    /* Allow the container to take full width */
    padding: 0 15px;
    /* Add some padding for spacing */
}

.que-hacemos .row {
    margin: 0 auto;
    /* Center the row */
    width: 100%;
    /* Ensure the row takes full width */
}

.que-hacemos .col {
    flex: 0 0 50%;
    /* Two columns on larger screens */
    max-width: 50%;
    /* Ensure no extra width is applied */
    padding: 15px;
    /* Add spacing between columns */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

@media (max-width: 767px) {
    .que-hacemos .col {
        flex: 0 0 100%;
        /* One column on smaller screens */
        max-width: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
        padding: 20px;
        text-align: center;
        /* Center text on mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .btn-custom {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: auto;
        padding: 30px 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .info-boxes {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 100%;
        max-width: 350px;
        margin: auto;
    }
}

/* Image Gradient Styles */
.image-gradient {
    position: relative;
}

.image-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #0a0e20 100%);
    pointer-events: none;
}

.carousel-item img {
    position: relative;
    display: block;
    width: 100% !important;
}

.carousel-inner {
    border-radius: 10px;
}

.custom-info-box {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}

.custom-info-box h3 {
    color: #6c5ce7;
    font-size: 1.8rem;
    font-weight: bold;
}

.custom-info-box p {
    font-size: 1.2rem;
    margin: 5px 0;
}

.custom-info-box i {
    margin-right: 10px;
    color: #6c5ce7;
}

/* Promesa Section Styles */
.promesa {
    background: url('../img/promesa.jpg') no-repeat center center/cover;
    position: relative;
    padding: 80px 0;
    color: white;
    overflow: hidden;
}

.promesa::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.promesa .container {
    position: relative;
    z-index: 2;
}

.mensaje-destacado {
    background-color: white;
    color: black;
    padding: 25px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}



.empresa {
    color: #6c5ce7;
    font-weight: bold;
}

.promesa-conexion {
    display: flex;
    align-items: center;
    width: 100%;
}

.linea-conexion {
    flex-grow: 1;
    height: 3px;
    background-color: #6c5ce7;
    margin: 0 10px;
}

.circulo {
    width: 20px;
    height: 20px;
    background-color: #6c5ce7;
    border-radius: 50%;
    box-shadow: 0 0 10px #6c5ce7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.caja-promesa {
    border: 2px solid #6c5ce7;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
    transition: transform 0.3s ease-in-out;
}

.caja-promesa:hover {
    transform: translateY(-5px);
}

.caja-promesa h3 {
    color: #6c5ce7;
    font-size: 1.8rem;
}

.caja-promesa ul {
    list-style: none;
    padding-left: 0;
}

.caja-promesa ul li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    transition: opacity 0.5s ease-in-out;
}

.caja-promesa ul i {
    color: #6c5ce7;
    margin-right: 12px;
    font-size: 1.3rem;
}

/* Unidades de Negocios Section Styles */
.verticales {
    background: url('../img/verticales.jpg') no-repeat center center/cover;
    position: relative;
    padding: 120px 0;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.contenido-verticales {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.animacion-circular {
    width: 280px;
    height: 280px;
    border: 2px solid #00aaff;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    animation: girar 12s linear infinite;
    opacity: 0.7;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.titulo {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.opciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    max-width: 900px;
}

.opcion {
    border: 2px solid #00aaff;
    padding: 15px 30px;
    font-size: 1.3rem;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease-in-out;
    background: rgba(0, 170, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.opcion:hover {
    background: #00aaff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0px 0px 15px #00aaff;
}

.opcion-centro {
    grid-column: span 2;
    justify-self: center;
}

@media (max-width: 768px) {
    .opciones {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .opcion-centro {
        grid-column: span 1;
    }
}



/* Clientes Section (Partners Estratégicos) */
.clientes-partners {
    background: linear-gradient(135deg, #f3f4f6, #e9ecef) !important;
    /* Keeps the gradient background */
    padding: 10px 0 !important;
    /* Reduces the height of the section */
    position: relative !important;
}

.clientes-partners-title {
    font-size: 2.1rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    color: #666 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.clientes-partners .owl-carousel .item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px !important;
    /* Adds spacing between items */
}

.clientes-partners .owl-carousel .item img {
    max-height: 70px !important;
    /* Ensures all logos have the same height */
    width: auto !important;
    /* Maintains aspect ratio */
    margin: 0 10px !important;
    /* Adds horizontal spacing between logos */
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

.clientes-partners .owl-carousel .item img:hover {
    transform: scale(1.1) !important;
    /* Slight zoom effect on hover */
    filter: invert(0.5) brightness(1.2) !important;
}

@media (max-width: 768px) {
    .clientes-partners-title {
        font-size: 2rem !important;
    }

    .clientes-partners .owl-carousel .item img {
        max-height: 60px !important;
        /* Adjusts size for smaller screens */
        margin: 0 8px !important;
        /* Reduces spacing for smaller screens */
    }
}

/* Specific style for Omnigroup logo */
.clientes-partners .owl-carousel .item img[alt="Omnigroup"] {
    filter: brightness(0) invert(0);
    /* Makes the logo black */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.clientes-partners .owl-carousel .item img[alt="Omnigroup"]:hover {
    transform: scale(1.1);
    /* Keeps the hover zoom effect */
    filter: brightness(0.2);
    /* Slightly darkens on hover */
}

.clientes-partners .owl-carousel .item img[alt="SanJuan"] {
    filter: brightness(0) invert(0);
    /* Makes the logo black */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.clientes-partners .owl-carousel .item img[alt="SanJuan"]:hover {
    transform: scale(1.1);
    /* Keeps the hover zoom effect */
    filter: brightness(0.2);
    /* Slightly darkens on hover */
}

.clientes-partners .owl-carousel .item img[alt="RioNegro"] {
    filter: brightness(0) invert(0);
    /* Makes the logo black */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.clientes-partners .owl-carousel .item img[alt="RioNegro"]:hover {
    transform: scale(1.1);
    /* Keeps the hover zoom effect */
    filter: brightness(0.2);
    /* Slightly darkens on hover */
}

/* Footer Section Styles */
.footer {
    background-color: #0a0e20;
    color: white;
    padding: 50px 0;
    font-family: 'Poppins', sans-serif;
    margin: auto;
}

.footer h5 {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgb(182, 171, 171);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #d1b3ff79;
}

.footer {
    background: #101931;
    color: #fff;
    padding: 40px 0;
}

.footer h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #6c5ce7;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #6c5ce7;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.service-tags span {
    background: #9a66cc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.social-icons a {
    color: #d1b3ff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #d1b3ff;
}