/* Fuente UntitledSans */
@font-face {
    font-family: 'UntitledSans';
    src: url('/assets/fonts/UntitledSans/UntitledSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'UntitledSans';
    src: url('/assets/fonts/UntitledSans/UntitledSans-Medium.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'UntitledSans';
    src: url('/assets/fonts/UntitledSans/UntitledSans-Light.ttf') format('truetype');
    font-weight: 250;
    font-style: normal;
}

@font-face {
    font-family: 'Conthrax';
    src: url('/assets/fonts/Conthrax/conthrax-sb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* General */
html, body {
    background-color: #f7f7f7;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;

}

body {
    display: flex;
    flex-direction: column;
    font-family: 'UntitledSans', sans-serif;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-brand img {
    height: 34px;
}

.nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.nav-bg {
    background: rgba(247, 247, 247, 0.8);
    backdrop-filter: saturate(120%) blur(5px);
}

.nav-item .nav-link      {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item .nav-link:hover  {
    background-color: transparent;
    border-bottom: 1px solid #070707;
    color: #000;
}

/* Logo behavior on scroll */
.logo-scroll {
    display: none;
}

.custom-navbar.scrolled .logo-default {
    display: none;
}

.custom-navbar.scrolled .logo-scroll {
    display: inline-block;
}

.custom-navbar.scrolled .navbar-brand img {
    height: 24px;
    transition: height 0.3s ease;
}


/* START HOME STYLES */
/* START HOME STYLES */
/* START HOME STYLES */
/* START HOME STYLES */

/* HOME Hero Sections */
.home-hero-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
    height: 100vh;
}

.home-hero-top {
    text-align: center;
    padding-top: 40px;
}

.home-hero-content {
    position: absolute;
    top: 20%;
    left: 10%;
    color: white;
    
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-more-info {
    display: inline-block;
    font-size: 1rem;
    color: white;
    text-decoration: underline;
}

.hero-skip {
    position: absolute;
    bottom: 20px;
    left: 10px;
    color: white;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .home-hero-video-background {
        display: none; /* Ocultar el video en pantallas pequeñas */
    }

    .home-hero-image-background {
        display: block; /* Mostrar la imagen en pantallas pequeñas */
    }
}

.home-hero-overlay {
    position: absolute; /* Cambiado a absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.home-hero-text {
    z-index: 11; /* Asegurar que el texto esté encima del overlay */
    text-align: center;
}

.home-hero-text h1,
.home-hero-text h2,
.home-hero-text p {
    color: #ffffff; /* Asegurar el contraste */
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Mejor visibilidad */
}


/* HOME Services Section */
.services {
    background: transparent;
}

.services h2 {
    font-weight: bold;
}

.service-card-futuristic {
    background: rgba(247, 247, 247, 0.7);
    border-radius: 5px;
    padding: 30px 20px;
    width: 23%;
    height: 600px;
    color: #070707; /* Color del texto inicial */
    position: relative;
    overflow: hidden;
    transition: all 1s ease;
    box-shadow: 0 10px 15px rgba(10, 59, 74, 0.1);
    cursor: pointer;
    margin-top: -10rem; /* Superposición de tarjetas */
    column-gap: 1.5rem;
    z-index: 10;
    backdrop-filter: saturate(120%) blur(5px);
}


.service-card-futuristic-no-ovelay {
    margin-top: 0rem; /* Superposición de tarjetas */

}


@media (max-width: 1140px) {
    .service-card-futuristic {
        max-width: 100%; /* Una tarjeta por fila en pantallas pequeñas */
        margin-top: 1rem;
    }
}

.service-card-futuristic:hover {
    
    background: linear-gradient(135deg, rgba(90, 176, 217, 0.7), rgba(58, 124, 165, 0.7)); /* Degradado de azul claro a azul oscuro con opacidad */
    color: #ffffff; /* Cambia el color del texto en hover */
    transform: translateY(-5px);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    backdrop-filter: saturate(120%) blur(5px);
}


.service-card-futuristic .icon-container {
    font-size: 50px;
    color: #070707;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    
}

.service-card-futuristic:hover .icon-container {
    color: #f7f7f7; /* Cambia el color del icono en hover */
    transform: translateX(20px); /* Desplaza el icono hacia la derecha */
    opacity: 0; /* Desvanece el icono */
    height: 5px;
}

.short-description {
    font-size: 0.9em;
    color: #070707;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card-futuristic:hover .short-description {
    height: 15px;
    width: 0px;
    opacity: 0; /* Desaparece el texto corto en hover */
}

.extended-content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card-futuristic:hover .extended-content {
    opacity: 1;
    transform: translateY(0); /* Muestra el contenido extendido en hover */
}

.extended-image {
    width: auto;
    height: 23rem;
    display: block;
    margin: auto;
    margin-top: -30px;
}

.extended-description {
    font-size: 0.9em;
    color: #ffffff; /* Ajusta el color del texto extendido */
    text-align: left;
}

.circle-arrow {
    background-color: #5AB0D9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7f7f7;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 20px;
}

.circle-arrow i {
    font-size: 1.3em;
}

.service-card-futuristic:hover .circle-arrow {
    background-color: #f7f7f7;
    color: #5AB0D9;
}


.card-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    font-size: 1.2em;
    color: #070707;
}

.card-footer span {
    font-size: 0.9em;
    color: #070707;
}

.circle-arrow {
    background-color: #5AB0D9;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7f7f7;
    transition: background-color 0.3s ease;
}

.circle-arrow i {
    font-size: 1.3em;
}

.service-card-futuristic:hover .circle-arrow {
    background-color: #ffffff; /* Cambia de color en hover */
}

.service-card-futuristic-number {
    color: #070707 !important;
    font-family: 'Conthrax', sans-serif; /* Aplica a un título específico */
}


/* HOME XIPHOS Sections */

.home-xiphos-section {
    position: relative;
    background-color: #e2e2e2;
}

.home-xiphos-background {
    background-image: url('/assets/images/xiphos.png'); /* Ajusta la ruta a tu imagen */
    background-size: 80%; /* Escala la imagen al 60% del contenedor */
    background-position: right center; /* Posiciona la imagen a la derecha y centrada verticalmente */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    min-height: 80vh; /* Asegura que la sección tenga una altura mínima del 80% de la ventana */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Mantiene el contenido alineado a la izquierda */
    
}

.home-xiphos-text {
    color: #f7f7f7;
    z-index: 1;
}

.home-xiphos-text h1, .xiphos-text p {
    color: #f7f7f7;
    margin: 0;
}

.home-xiphos-text .btn-primary {
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.home-xiphos-icon {
    width:  70%; /* Ajusta el tamaño según necesites */
    height: auto;
    fill: #f7f7f7;
    margin-right: 80rem;
}

.home-xiphos-learn-more-button{
    background: #5AB0D9; /* Adjust color or image as needed */
    color: #f7f7f7; /* Adjust color or image as needed */
    border-radius: 20px;

}

.home-xiphos-learn-more-button:hover{
    background: #e3e3e3; /* Adjust color or image as needed */
    color: #070707; /* Adjust color or image as needed */
    border:1px solid #070707;

}

.riscv-claim-section {
    background-color: #f7f7f7; /* Fondo suave */
    padding: 60px 0; /* Espaciado vertical amplio */
}

.riscv-left-text, 
.riscv-right-text {
    color: #333; /* Color de texto */
}

.riscv-left-text h2, 
.riscv-right-text h2 {
    font-size: 2rem; /* Títulos más grandes */
    margin-bottom: 15px;
}

.riscv-left-text p, 
.riscv-right-text p {
    font-size: 1.2rem; /* Tamaño del texto descriptivo */
    margin-bottom: 0;
    color: #555; /* Color más suave */
}

.riscv-logo {
    width: 100%; /* Tamaño inicial del logo */
    max-width: 200px; /* Asegurarse de que no se haga muy grande */
    height: auto;
}
/* Extra styling for the claim section on mobile */
@media (max-width: 768px) {
    .riscv-claim-section .row {
        flex-direction: column; /* Stack items vertically */
    }

    .riscv-left-text,
    .riscv-right-text {
        text-align: center; /* Center-align text for mobile */
    }

    .riscv-logo {
        margin: 0 auto; /* Center logo */
        max-width: 60%; /* Resize logo for smaller screens */
    }
}


/* CTA */

.home-cta {
background: #ececec;
}
    

.home-cta-custom-modal-content {
background: #f7f7f7;
transform: scale(0.9); /* Escala el contenido a un 90% */
border-radius: 4px;
}

.home-cta-left-section {
    background-color: #5AB0D9; /* Color de fondo */
}

.home-cta-left-section h2 {
    font-weight: bold;
    font-size: 1rem; /* Escala el tamaño del texto */
}

.home-cta-left-section p {
    color: #fff;
    font-size: 0.9rem; /* Escala el tamaño del texto */
}

.home-cta-form-body {
    padding: 1rem; /* Reduce el padding en el formulario */

}

/* Form Styles */
.home-cta-form-control {
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.5rem;
    margin-bottom: o.5rem;
    padding: 0.6rem; /* Ajusta el padding de los campos de entrada */
    font-size: 0.9rem; /* Escala el tamaño del texto */
}

.home-cta-btn-submit {
    background-color: #5AB0D9; /* Button color */
    color: #fff;
    padding: 0.75rem;
    font-weight: bold;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    padding: 0.6rem; /* Reduce el tamaño del botón */
    font-size: 0.9rem; /* Escala el tamaño del texto en el botón */
}

.home-cta-btn-submit:hover {
    background-color: #f7f7f7;
    border: 1px solid #070707;

}

/* END HOME STYLES */
/* END HOME STYLES */
/* END HOME STYLES */
/* END HOME STYLES */


/* Contact Hero Section */
.contact-hero-section {
    background: #777777; /* Adjust color or image as needed */
    color: white;
    position: relative;
    text-align: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1920;
    height: 1080;
    background-image: url('/assets/images/contact_hero_tiny.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.contact-hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for contrast */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-cards-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem; /* Negative margin to create overlap effect */
    padding-bottom: 2rem;
}

.contact-card {
    position: relative;
    display: block;
    background-color: #fff; /* Color de fondo plano */
    border: 1px solid #f7f7f7; /* Borde plano */
    text-align: center;
    padding: 30px 20px; /* Aumenta la altura */
    border-radius: 0; /* Sin bordes redondeados */
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 20rem; /* Altura personalizada */
}

.contact-card:hover {
    transform: translateY(-1px); /* Efecto de elevación al hacer hover */
    text-decoration: none; /* Sin subrayado en el enlace */
    transform: none; /* Escala la tarjeta al 105% */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-card-content {
    z-index: 2;
    position: relative;
}

.contact-card .icon {
    font-size: 50px; /* Tamaño del icono */
    color: #5AB0D9;
    margin-bottom: 10px;
}

.contact-card h4 {
    font-weight: bold;
    margin: 10px 0;
    font-size: 18px; /* Tamaño del título */
}

.contact-card p {
    margin: 0;
    font-size: 14px;
}

.contact-triangle-decorator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 50px solid transparent; /* Ajusta el tamaño del triángulo */
    border-right: 50px solid #5AB0D9; /* Color del triángulo */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-triangle-decorator .triangle-symbol {
    position: absolute;
    bottom: 8px; /* Centra el símbolo dentro del triángulo */
    right: -42px;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

/* Hero Section Styling */

.services-hero-section {
    background: #777777; /* Adjust color or image as needed */
    color: white;
    position: relative;
    text-align: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/images/services-hero-bg.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}


.services-hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.services-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.services-content h2 {
    font-size: 2rem;
    font-weight: 600;
}

.services-content p {
    font-size: 1rem;
}

/* Service Card Styling */
.services .service-card-horizontal {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-card-horizontal:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.service-card-horizontal .icon-container {
    font-size: 50px;
    color: #5AB0D9;
    margin-right: 20px;
}

.service-card-horizontal .card-content {
    flex: 1;
}

.service-card-horizontal .card-content h5 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card-horizontal .card-content .short-description {
    font-size: 1rem;
    color: #555;
}

.service-card-horizontal .card-content .extended-content .extended-description {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.service-card-horizontal .card-footer {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #5AB0D9;
}

.service-card-horizontal .card-footer .arrow-icon {
    font-size: 1.5rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-card-horizontal .card-footer:hover .arrow-icon {
    transform: translateX(5px);
}


/* Stretched link for entire card clickability */
.stretched-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.service-card-square {
    background: rgba(247, 247, 247, 0.7);
    border-radius: 2px;
    border: 1px solid #f7f7f7;
    padding: 20px;
    width: 100%;
    height: 100%;
    color: #070707;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-square:hover {
    color: #070707;
    transform: scale(1.01);
}

.service-card-square .icon-container {
    font-size: 40px;
    color: #070707;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card-square:hover .icon-container {
    color: #ffffff;
}

.service-card-square .short-description {
    font-size: 0.85em;
    color: #070707;
    text-align: center;
}

.service-card-square:hover .short-description {
    color: #ffffff;
}

.service-triangle-decorator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 50px solid transparent; /* Ajusta el tamaño del triángulo */
    border-right: 50px solid #5AB0D9; /* Color del triángulo */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Footer */
.footer {
    position: relative;
    bottom: 0;
    background-color: #1a1c20;
    color: #f7f7f7;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

.footer h5 {
    color: #5AB0D9 !important;
    font-weight: 600;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    color: #5AB0D9;
}

.footer .input-group .form-control {
    border: 1px solid #5AB0D9;
    border-right: 0;
}

.footer .input-group .btn {
    border: 1px solid #5AB0D9;
    background-color: #5AB0D9;
    color: #f7f7f7;
}

.footer .input-group .btn:hover {
    background-color: #5AB0D9;
    border-color: #5AB0D9;
}

.footer .social-icons .linkedin-icon {
    font-size: 1.5rem;
    color: #0077b5;
    transition: color 0.3s ease;
}

.footer .social-icons .linkedin-icon:hover {
    color: #ffffff;
}

.footer .language-selector .btn {
    color: #f7f7f7;
    border-color: #5AB0D9;
}

.footer .language-selector .btn:hover {
    background-color: #5AB0D9;
    color: #f7f7f7;
    border-color: #5AB0D9;
}

.footer hr {
    margin: 1rem 0;
    border-color: #6c757d;
}

.footer .text-muted {
    color: #6c757d !important;
}

.footer .col-md-3 {
    text-align: left;
}

.footer .small-text {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5;
}

.footer .row.align-items-center p {
    margin-bottom: 0;
    color: #cfd8dc;
}

.footer .row.align-items-center .col-md-8 p {
    display: inline-block;
}


