html {
    height: 100%; /* Full height for html to support full height body */
}

body, html {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #F4F2F3; /* General page background */
    height: 100%; /* Ensures the body can be 100% height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    min-height: 100vh; /* Minimum height of viewport */
}

.custom-navbar {
    background-color: #0D2E3D; /* Color oscuro principal */
    position: fixed;
    width: 100%; /* Asegura que la barra cubra el ancho completo */
    top: 0; /* Posiciona la barra en la parte superior */
    z-index: 1000; /* Mantiene la barra sobre otros contenidos */
}

.navbar-brand, .nav-link {
    color: #F4F2F3 !important;
}

.hero-section {
    position: relative;
    color: #F4F2F3;
    padding: 100px 0;
    text-align: center;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #598381 0%, #0D2E3D 100%);
    z-index: 1;
}
.container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.display-4, .lead, .btn {
    color: #fff; /* White text for visibility on dark background */
}
.custom-button-header {

    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #0D2E3D;
    background-color: #49EDCB;
}
.custom-button-header:hover {
    background-color: #0D2E3D;
    color: #F4F2F3;
}
@media (max-width: 992px) {
    .hero-section {
        padding: 40px 0;
    }
}

.main-heading {
    color: #F4F2F3; /* Color acentuado para el título */
}

.hero-text {
    color: inherit; /* Hereda el color blanco para mejor lectura */
}

.custom-button {
    color: #0D2E3D;
    background-color: #49EDCB;
    border: none;
}

.custom-button:hover {
    background-color: #0D2E3D;
    color:#F4F2F3;
}



/*Inicio: Servicio 1*/

.service-card {
    border: 5px solid #ccc;
    border-radius: 20px;
    padding: 15px; /* Slightly reduced padding */
    margin-top: 20px;
    height: 300px; /* Fixed height for cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is spaced evenly */
    overflow: hidden; /* Prevents content from overflowing */
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Improved spacing */
    margin-bottom: 10px; /* Ensure there is space between text and button */
}

.service-icon {
    color: #0D2E3D; /* Dark blue color for icons */
    margin-bottom: 10px; /* Reduced margin */
}

.service-btn {
    background-color: #598381;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%; /* Full width for the buttons */
    margin-top: auto; /* Ensures button stays at bottom */
}

.service-btn:hover {
    background-color: #49EDCB; /* Lighter blue for hover effect */
}


/*Fin: Servicio 1*/




/*Inicio: Seccion tecnologias utilizadas*/

.linux-tools-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    color: #0D2E3D;
}

.section-heading {
    color: #0D2E3D;
    margin-bottom: 20px;
}

.section-description {
    color: #0D2E3D;
    margin-bottom: 30px;
}

.tool-name {
    color: #0D2E3D;
    margin-top: 10px;
}

.tool-card-horizontal {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tool-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tab {
    background-color: #f8f9fa;
    width: 30%;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.tab button {
    background-color: inherit;
    color: #0D2E3D;
    padding: 20px;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tab-content-container {
    width: 70%;
    padding: 20px;
}

.tabcontent {
    display: none;
}

.tool-content {
    text-align: center;
}

.tool-icon {
    margin-bottom: 20px;
    color: #49edcb;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.tool-description {
    font-size: 1rem;
    color: #0D2E3D;
}

/* Clear floats after the tab */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab, .tab-content-container {
        width: 100%;
        display: block;
    }

    .tab button {
        text-align: center;
    }

    .tool-card-horizontal {
        flex-direction: column;
    }
}

/*Fin: Servicio Seccion tecnologias utilizadas*/


/*Inicio: Podemos ayudarte*/

.contact-section {
    background-color: #F4F2F3;
    color: #0D2E3D; /* Texto claro para visibilidad */
    padding: 40px 0;
}

.contact-heading {
    color: #0D2E3D; /* Color acentuado para el título */
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-description {
    margin-bottom: 20px;
    color: #0D2E3D;
    font-size: 18px;
}

.custom-button {
    color: #0D2E3D;
    background-color: #49EDCB;
    border: none;
    padding: 10px 20px;
}

.custom-button:hover {
    color: #F4F2F3;
    background-color: #0D2E3D;
}


/*Fin: Podemos ayudarte*/


/*Inicio: Footer*/
.footer-section {
    background-color: #0D2E3D; /* Fondo oscuro */
    color: #F4F2F3; /* Texto claro */
    padding: 40px 0;
}

.footer-heading {
    color: #49EDCB; /* Color acentuado */
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    color: #F4F2F3;
}

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

.social-links a {
    color: #F4F2F3;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #49EDCB;
}

.footer-logo {
    max-width: 100px;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid #598381; /* Línea divisoria ligera */
    padding-top: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-heading {
        font-size: 16px; /* Ajuste de tamaño en móviles */
    }
    .footer-links li {
        font-size: 14px; /* Tamaño más legible en móviles */
    }
    .social-links a {
        margin: 0 5px;
    }
}


/*Fin: Footer*/



/*INICIO: SECCIÓN SERVICIOS*/

@media (min-width: 992px) {
    .hero-section .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .hero-section .col-md-6 {
        flex: 1; /* Asegura que cada columna tome la mitad del espacio disponible */
    }
}

@media (max-width: 992px) {
    .hero-section .container {
        display: block;
    }
    .text-center iframe {
        width: 100%; /* Ajusta el ancho del iframe a 100% en dispositivos móviles */
        max-width: 100%; /* Asegura que el iframe no se extienda más allá de su contenedor */
        height: auto; /* Ajusta la altura automáticamente para mantener la proporción */
        aspect-ratio: 714 / 702; /* Mantiene la relación de aspecto */
    }
}

/*FIN: SECCIÓN SERVICIOS*/

/*INICIO: SECCION INFORMATIVA INDEX*/

.info-section {
    background-color: #f8f9fa; /* Fondo claro para la sección */
    color: #0d2e3d; /* Texto oscuro para legibilidad */
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d2e3d;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #598381;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
}

.info-icon {
    color: #49edcb;
    margin-bottom: 20px;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.info-text {
    font-size: 1rem;
    color: #0d2e3d;
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; /* Ajuste la altura según sea necesario */
    overflow: hidden;
    position: relative; /* Necesario para el overlay */
}

.info-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Ajusta la imagen para que cubra el contenedor manteniendo su proporción */
    border-radius: 10px;
    cursor: pointer; /* Cambia el cursor al pasar sobre la imagen */
    transition: transform 0.3s ease-in-out; /* Efecto de transición */
}

.info-image:hover {
    transform: scale(1.05); /* Efecto de zoom */
}

.info-image-wrapper::after {
    content: "Click para ampliar";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 0.9rem;
}

.info-image-wrapper:hover::after {
    opacity: 1;
}

/* Modal estilos */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-content, .close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/*FIN: SECCION INFORMATIVA INDEX*/
