

/* --- FONTS.CSS CONTENT - ADDED AT THE TOP OF YOUR STYLES.CSS --- */
@font-face {
	font-family: "fl-bigmug-line";
	src: url("fonts/fl-bigmug-line.eot");
	src: url("fonts/fl-bigmug-line.eot#iefix") format("embedded-opentype"),
	     url("fonts/fl-bigmug-line.woff") format("woff"),
	     url("fonts/fl-bigmug-line.ttf") format("truetype"),
	     url("fonts/fl-bigmug-line.svg") format("svg");
	font-weight: normal;
	font-style: normal;
}

[class^="fl-bigmug-line-"], [class*=" fl-bigmug-line-"] {
    font-family: 'fl-bigmug-line';
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    line-height: 1;
}

/* ==================================================================== */
/* CÓDIGO DE ÍCONOS INDIVIDUALES DE FONTS.CSS - MODIFICADO */
/* Ahora todos usan el ícono checkmark16 */
/* ==================================================================== */
.fl-bigmug-line-add137:before { content: "\e018"; }
.fl-bigmug-line-clipboard68:before { content: "\e018"; }
.fl-bigmug-line-graphical8:before { content: "\e018"; }
.fl-bigmug-line-checkmark16:before { content: "\e018"; }
.fl-bigmug-line-big104:before { content: "\e00b"; }
.fl-bigmug-line-opened25:before { content: "\e07f"; }
.fl-bigmug-line-up107:before { content: "\e0c7"; }
.fl-bigmug-line-cellular9:before { content: "\e012"; }

/* General Body Styles */
body {
    margin: 0;
    font-family: 'Avenir', 'Roboto', 'Montserrat', 'Open Sans', sans-serif;
    background-color: #ffffff;
    font-size: 14px;
}


html {
        scroll-behavior: smooth;
    }


/* Header Styles */
.main-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Logo Styles */
.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    cursor: pointer;
    color: #001f93;
    padding: 5px 10px;
}

/* Navigation Menu Styles */
.navigation-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navigation-menu li {
    margin-left: 2px;
}

.navigation-menu a {
    display: block;
    padding: 10px 15px;
    background-color: #001f93;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.navigation-menu a:hover {
    background-color: #ffffff;
    color: #001f93;
    transform: translateY(-3px);
    border: 1px solid #001f93;
}

/* Language Switcher dentro del menú */
.navigation-menu .language-item {
    margin-left: 15px;
}

.navigation-menu .language-item a {
    background-color: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.negrita {
  font-weight: bold;
}
/* ==================================== */
/* CÓDIGO PARA CREAR LA BANDERA DE ESPAÑA CON CSS (ACTUALIZADO) */
/* ==================================== */
.flag-es {
    display: block;
    width: 25px;
    height: 15px;
    position: relative;
    overflow: hidden;
    /* Eliminamos el borde físico para evitar conflictos de posición */
    border: none;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-es::before,
.flag-es::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.flag-es::before {
    top: 0;
    height: 30%;
    background-color: #AA151B; /* Franja roja superior */
}

.flag-es {
    background-color: #F1BF00; /* Franja amarilla central */
}

.flag-es::after {
    bottom: 0;
    height: 30%;
    background-color: #AA151B; /* Franja roja inferior */
}

/* Efecto hover para la bandera (con box-shadow) */
.navigation-menu .language-item a:hover .flag-es {
    transform: scale(1.05);
    /* Usamos box-shadow en lugar de un borde */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
}
/* ==================================== */

/* Responsive Header */
@media (max-width: 1024px) {
    .navigation-menu li {
        margin-left: 1px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger-menu {
        display: block;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .navigation-menu {
        flex-basis: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0.5s;
        margin-top: 10px;
        background-color: #ffffff;
        padding-top: 5px;
    }

    .navigation-menu.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0s;
    }

    .navigation-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-bottom: 10px;
    }

    .navigation-menu li {
        width: 100%;
        margin-left: 0;
        margin-bottom: 5px;
    }

    .navigation-menu a {
        padding: 12px 20px;
        text-align: left;
        width: calc(100% - 40px);
    }

    .navigation-menu .language-item {
        margin-left: 0;
        margin-top: 5px;
    }

    .navigation-menu .language-item a {
        padding: 10px 20px;
        justify-content: flex-start;
        height: auto;
    }

    .navigation-menu .language-item .flag-es {
        height: 15px;
        width: 25px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .hamburger-menu {
        font-size: 1.8em;
    }

    .navigation-menu a {
        font-size: 0.95em;
    }
}





/* --- CARRUSEL STYLES --- */
.carousel-section {
    position: relative;
    width: 100%;
    height: 740px;
    overflow: hidden;
    margin-top: 80px;
    background-color: #f0f0f0;
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left center;
    animation: pan-right-left 15s linear infinite alternate;
    animation-play-state: paused;
}

.carousel-slide.active img {
    animation-play-state: running;
 
}

@keyframes pan-right-left {
    0% { transform: translateX(0) scale(1.05); }
    100% { transform: translateX(-5%) scale(1.05); }
}

.carousel-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 0 5%;
    max-width: 50%;
    text-align: left;
    transform: translateX(-50px);
    opacity: 0;
}

.carousel-text h2 {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.carousel-text p {
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
}

@keyframes fade-in-left {
    0% { transform: translateX(-50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* --- ESTILOS PARA LA NAVEGACIÓN LATERAL DE LÍNEAS --- */
.carousel-nav-lines {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carousel-nav-lines .line {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
    border-radius: 2px;
}

.carousel-nav-lines .line.active {
    background-color: #001f93;
    width: 40px;
}

.carousel-nav-lines .line:hover {
    background-color: #ffffff;
    width: 35px;
}


/* Responsive Carousel */
@media (max-width: 1200px) {
    .carousel-text h2 {
        font-size: 2.8em;
    }
    .carousel-text p {
        font-size: 1.3em;
    }
}

@media (max-width: 992px) {
    .carousel-section {
        height: 600px;
        margin-top: 70px;
    }
    .carousel-text h2 {
        font-size: 2.2em;
    }
    .carousel-text p {
        font-size: 1.1em;
    }
    .carousel-text {
        max-width: 60%;
    }
    .carousel-nav-lines {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        height: 450px;
        margin-top: 10px;
    }
    .carousel-text {
        max-width: 80%;
        padding: 0 15px;
    }
    .carousel-text h2 {
        font-size: 1.8em;
    }
    .carousel-text p {
        font-size: 1em;
    }
    .carousel-slide img {
        animation: none;
        transform: scale(1);
    }
    .carousel-nav-lines {
        right: auto;
        flex-direction: row;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }
    .carousel-nav-lines .line {
        width: 25px;
        height: 2px;
    }
    .carousel-nav-lines .line.active {
        width: 35px;
    }
    .carousel-nav-lines .line:hover {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .carousel-section {
        height: 350px;
    }
    .carousel-text h2 {
        font-size: 1.4em;
    }
    .carousel-text p {
        font-size: 0.9em;
    }
    .carousel-nav-lines {
        bottom: 15px;
    }
}







/* --- ABOUT US SECTION STYLES --- */
.about-us-section {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
    box-sizing: border-box;
    margin-top: 20px;
}

.about-us-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-us-box {
     border: 4px solid #001f93; 
    padding: 35px;
    background-color: #ffffff;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 0px; /* AJUSTADO: Se eliminó el margin-bottom para reducir el espacio */
}



.about-us-box h2 {
    font-size: 4.5em;
    color: #001f93;
    text-transform: uppercase;
    margin: 0; /* Asegura que no haya margen superior o inferior inesperado */
    font-weight: 700;
    line-height: 1.2;
  
}



.about-us-box p {
    font-size: 1.65em;
    color: #001f93;
    line-height: 1.8;
    margin: 0;
    max-width: 100%;
}

.about-us-box img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0;
}

/* Responsive Styles for About Us */
@media (max-width: 992px) {
    .about-us-content {
        max-width: 760px;
    }
    .about-us-box h2 {
        font-size: 2.8em;
    }
    .about-us-box {
        padding: 25px;
        gap: 25px;
    }
    .about-us-box p {
        font-size: 1.4em;
    }
}

/* --- OPERATIONAL TEAM SECTION STYLES (Modificado) --- */
.operational-team-section {
    width: 100%;
    padding: 0px 20px; /* AJUSTADO: Este es el padding que mencionaste que habías puesto. */
    text-align: center;
    background-color: #ffffff;
    box-sizing: border-box;
    /* margin-top: -XXpx;  No es necesario si ajustamos el padding del about-us-section */
}

.operational-team-section .section-title {
    font-size: 4.5em;
    color: #001f93;
    text-transform: uppercase;
    margin-bottom: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-profile {
    flex: 1 1 calc(50% - 30px);
    color: #ffffff;
    padding: 30px 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-out, transform 0.2s ease-out;
    overflow: hidden;
}

/* Colores de fondo de la gama de azules (más variados) */
.team-profile.profile-1 { background-color: #0A2F51; }
.team-profile.profile-2 { background-color: #34495E; }
.team-profile.profile-3 { background-color: #4A6572; }
.team-profile.profile-4 { background-color: #5D6D7E; }

/* Estilos del encabezado visible */
.profile-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-icon {
    padding-top: 25px;
    margin-bottom: 10px;
    font-size: 60px;
    color: #ffffff;
}

.team-profile h3 {
    font-size: 2.2em;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.2;
}

.team-profile h4 {
    font-size: 1.2em;
    margin-bottom: 0;
    color: #e0e0e0;
    font-weight: 400;
}

/* Contenido oculto/mostrado al hover */
.profile-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-out, opacity 0.7s ease-out, margin-top 0.7s ease-out;
    margin-top: 0;
    width: 100%;
}

.team-profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-profile:hover .profile-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

/* Párrafos de descripción */
.profile-content p {
    font-size: 1.1em;
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.profile-content p:last-of-type {
    margin-bottom: 0;
}

/* --- Responsive Styles for Operational Team --- */
@media (max-width: 1200px) {
    .team-profile {
        flex: 1 1 calc(50% - 25px);
    }
}

@media (max-width: 992px) {
    .operational-team-section {
        padding: 10px 15px; /* AJUSTADO: También se ajustó el padding en responsive */
    }
    .operational-team-section .section-title {
        font-size: 2.8em;
        margin-bottom: 40px;
    }
    .team-container {
        gap: 30px;
    }
    .team-profile {
        flex: 1 1 calc(50% - 20px);
        padding: 30px 20px;
    }
    .profile-icon {
        padding-top: 20px;
        margin-bottom: 8px;
    }
    .team-profile h3 {
        font-size: 2em;
    }
    .team-profile h4 {
        font-size: 1.1em;
    }
    .profile-content p {
        font-size: 1em;
    }
    .team-profile:hover .profile-content {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .operational-team-section {
        padding: 10px 15px; /* AJUSTADO: También se ajustó el padding en responsive */
    }
    .operational-team-section .section-title {
        font-size: 2.8em;
        margin-bottom: 30px;
    }
    .team-profile {
        flex: 1 1 100%;
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    .team-profile:last-of-type {
        margin-bottom: 0;
    }
    .profile-icon {
        padding-top: 15px;
        margin-bottom: 5px;
    }
    .team-profile h3 {
        font-size: 1.8em;
    }
    .team-profile h4 {
        font-size: 1em;
    }
    .profile-content p {
        font-size: 0.9em;
        text-align: center;
    }
    .profile-content {
        max-height: none;
        opacity: 1;
        transition: none;
        margin-top: 20px;
    }
    .team-profile:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .operational-team-section {
        padding: 10px 10px; /* AJUSTADO: También se ajustó el padding en responsive */
    }
    .operational-team-section .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .team-profile {
        padding: 20px 15px;
    }
    .profile-icon {
        padding-top: 10px;
        margin-bottom: 5px;
    }
    .team-profile h3 {
        font-size: 1.6em;
    }
    .team-profile h4 {
        font-size: 0.9em;
    }
    .profile-content p {
        font-size: 0.85em;
    }
}





/* --- CAREER OPPORTUNITIES SECTION STYLES --- */
.career-opportunities-section {
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center;   /* Centra verticalmente el contenido */
    position: relative;
    overflow: hidden;
    min-height: 500px;
    /* ¡IMPORTANTE! Reemplaza 'your-career-image.jpg' con la ruta real de tu imagen de fondo */
    background-image: url('your-career-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 130px; /* Mayor separación de la sección anterior */
    color: #ffffff; /* Color de texto por defecto para la sección (blanco) */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Ligera sombra para mejorar contraste */
}

/* Capa semitransparente oscura sobre la imagen de fondo */
.career-opportunities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Un poco más oscura para asegurar legibilidad */
    z-index: 1;
}

.career-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    background-color: transparent; /* Fondo completamente transparente */
    padding: 40px;
    text-align: center;
    box-shadow: none; /* Elimina sombras del wrapper */
}

.career-opportunities-section .section-title {
    font-size: 3.5em;
    color: #ffffff; /* Título en blanco para mejor contraste */
    text-transform: capitalize; /* Primera letra de cada palabra en mayúscula */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.confidentiality-policy {
    margin-bottom: 30px;
}

.confidentiality-link {
    font-size: 1.1em;
    color: #ADD8E6; /* Un azul claro para contraste */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.confidentiality-link:hover {
    color: #FFFFFF; /* Blanco puro al hacer hover */
}

/* Estilos del Formulario */
.career-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: center; /* Cambiado de 'left' a 'center' */
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


 

.career-form input:not([type="file"]) {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    /* --- NUEVO --- */
    max-width: 400px; /* ¡NUEVO! Define un ancho máximo para el campo de email */
    margin: 0 auto; /* ¡NUEVO! Centra el campo de email dentro de su contenedor */
    display: block; /* Asegura que se comporte como un bloque para el margin auto */
    /* --- FIN NUEVO --- */
}

.career-form input::file-selector-button {
    background-color: #eee;
    border: none;
    border-right: 1px solid #ccc;
    padding-right: 10px;
    cursor: pointer;
}





/* Oculta el input de archivo nativo */
.career-form input[type="file"] {
    display: none; /* ¡Importante! Oculta el input por defecto */
    /* Las propiedades max-width, margin: 0 auto; y display: block; que tenías antes
       ya no son necesarias aquí, ya que el elemento está oculto.
       Si quieres mantener el max-width para el contenedor, puedes moverlo a .custom-file-upload */
}

/* Estilos para el contenedor del botón y nombre del archivo */
.custom-file-upload {
    display: flex; /* Para alinear el botón y el nombre del archivo */
    align-items: center;
    justify-content: center; /* Centra el contenido si hay espacio */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    max-width: 300px; /* Ancho máximo para el control de carga de archivo */
    margin: 0 auto; /* Centra el contenedor completo */
    box-sizing: border-box;
    overflow: hidden; /* Para que el nombre del archivo largo no se salga */
}

/* Estilos para el botón personalizado "Upload your CV" */
.custom-file-button {
    background-color: #000000; /* Tu azul principal */
    color: #ffffff;
    padding: 15px 20px; /* Ajusta el padding para que sea más grande y legible */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* Evita que el texto se rompa */
    flex-shrink: 0; /* Evita que se encoja si el nombre del archivo es largo */
    border-right: 1px solid #00187a; /* Borde entre el botón y el nombre del archivo */
    height: 100%; /* Asegura que ocupe toda la altura disponible */
    display: flex; /* Para centrar el texto verticalmente si el padding lo permite */
    align-items: center;
}

.custom-file-button:hover {
    background-color: #333333; /* Un tono un poco más claro de azul al hacer hover */
}

/* Estilos para el nombre del archivo */
.file-name {
    flex-grow: 1; /* Permite que el nombre del archivo ocupe el espacio restante */
    padding: 0 10px; /* Padding dentro del área del nombre del archivo */
    color: #ffffff; /* Un color más oscuro para el texto del nombre del archivo */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Añade puntos suspensivos si el nombre es muy largo */
}

/* Ajustes para el texto de soporte */
.file-support-text {
    font-size: 0.9em;
    color: #eee;
    display: block;
    margin-top: 5px;
    text-align: center; /* Esto ya lo tenías, asegúrate que esté */
}






.career-form input::file-selector-button:hover {
    background-color: #ddd;
}


/* Y asegúrate de que el .file-support-text también esté centrado */
.file-support-text {
    font-size: 0.9em;
    color: #eee;
    display: block;
    margin-top: 5px;
    text-align: center; /* Cambiado de 'left' a 'center' */
}



/* Botón SUBMIT */
.submit-button {
    background-color: #001f93; /* Nuestro color azul */
    color: #ffffff;
    padding: 15px 70px;
    border: none;
    border-radius: 0; /* Sin puntas curvas */
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    width: auto;
    max-width: 200px;
    margin: 20px auto 0; /* Centra el botón */
}

.submit-button:hover {
    background-color: #ffffff; /* Fondo blanco al hacer hover */
    color: #001f93; /* Letras azules al hacer hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles para la sección de Oportunidades */
@media (max-width: 992px) {
    .career-opportunities-section {
        padding: 60px 20px;
    }
    .career-content-wrapper {
        padding: 30px;
        max-width: 500px;
    }
    .career-opportunities-section .section-title {
        font-size: 2.8em;
    }
    .confidentiality-link {
        font-size: 1em;
    }
    .career-form input:not([type="file"]),
    .career-form input::file-selector-button {
        padding: 12px;
        font-size: 0.95em;
    }
    .submit-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .career-opportunities-section {
        padding: 40px 15px;
        min-height: 400px;
    }
    .career-content-wrapper {
        padding: 25px;
    }
    .career-opportunities-section .section-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .confidentiality-policy {
        margin-bottom: 20px;
    }
    .submit-button {
        padding: 10px 20px;
        font-size: 1em;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .career-opportunities-section {
        padding: 30px 10px;
        min-height: 350px;
    }
    .career-content-wrapper {
        padding: 20px;
    }
    .career-opportunities-section .section-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .confidentiality-link {
        font-size: 0.9em;
    }
    .career-form input:not([type="file"]),
    .career-form input::file-selector-button {
        padding: 10px;
        font-size: 0.9em;
    }
    .file-support-text {
        font-size: 0.8em;
    }
    .submit-button {
        padding: 8px 15px;
        font-size: 0.9em;
        max-width: 150px;
    }
}











/* --- CONTACT US SECTION STYLES --- */
.contact-us-section {
    width: 100%;
    padding: 65px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #001f93;
}


.contact-us-wrapper {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.contact-us-wrapper .section-title {
    font-size: 4.5em;
    color: #001f93;
    text-transform: capitalize;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-us-wrapper .confidentiality-policy {
    margin-bottom: 30px;
}

.contact-us-wrapper .confidentiality-link {
    font-size: 1.1em;
    color: #001f93;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-us-wrapper .confidentiality-link:hover {
    color: #6485ff;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-button {
    grid-column: 1 / -1;
    margin: 0 auto;
    width: auto;
    max-width: 200px;
}

.form-intro {
    font-size: 1.65em;
    color: #001f93;
    margin-bottom: 30px;
}




 



 

/* --- ESTILOS PARA EL CONTENEDOR DE LOS BOXES DE CONTACTO --- */
.contact-boxes-wrapper {
    margin-top: 40px;
    display: flex; /* La clave para la fila */
    justify-content: center;
    gap: 30px; /* El espacio entre los boxes */
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
}

/* --- ESTILOS PARA CADA BOX INDIVIDUAL --- */
.contact-boxes-wrapper .contact-box {
    background-color: #ffffff;
    border: 4px solid #001f93;
    padding: 30px;
    text-align: center;
    flex: 1; /* Esto les dice que se distribuyan uniformemente */
    min-width: 200px; /* Asegura que no sean demasiado pequeños, pero permite que los 3 quepan */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.contact-boxes-wrapper .contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos de texto e íconos dentro de los boxes */
.contact-boxes-wrapper .contact-icon-wrapper {
    margin-bottom: 15px;
}

.contact-boxes-wrapper .contact-icon {
    font-family: 'Material Design Icons', 'fl-bigmug-line', 'Font Awesome 6 Brands';
    font-size: 2.5em;
    color: #001f93;
}

.contact-boxes-wrapper .contact-address, 
.contact-boxes-wrapper .contact-email, 
.contact-boxes-wrapper .contact-linkedin {
    margin: 0;
    line-height: 1.5;
    font-size: 1.5em;
}

.contact-phone {
    margin-top: -10px; /* Ajusta este valor para eliminar el espacio */
    margin: 0;
    line-height: 1.5;
    font-size: 1.5em;
}


/* --- Responsive Styles --- */
@media (max-width: 960px) {
    .contact-boxes-wrapper {
        gap: 20px;
    }
    .contact-boxes-wrapper .contact-box {
        width: calc(50% - 10px);
        min-width: unset; /* Desactiva el min-width en pantallas pequeñas */
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-form .form-group.full-width {
        grid-column: auto;
    }

    .contact-us-wrapper .section-title {
        font-size: 2.8em;
    }

    /* Estilos para que los boxes se apilen en pantallas de 768px o menos */
    .contact-boxes-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-boxes-wrapper .contact-box {
        width: 70%;
        max-width: 400px;
    }
}








/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-form .form-group.full-width {
        grid-column: auto;
    }

    .contact-us-wrapper .section-title {
        font-size: 2.8em;
    }

    /* Estilos para que los boxes se apilen en pantallas de 768px o menos */
    .contact-boxes-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-box {
        width: 100%;
        max-width: 450px;
    }
}

.contact-email a {
    text-decoration: none;
    color: #001f93;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #6485ff;
}








/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #001f93;
    color: #ffffff;
    padding: 20px 50px;
    position: relative;
}

/* Nuevo contenedor para la sección superior */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 20px;
}

/* Estilos para el enlace del ícono de LinkedIn */
.linkedin-icon-link {
    color: #ffffff;
    font-size: 2.5em; /* Un poco más grande para el centro */
    text-decoration: none;
    transition: color 0.3s ease;
}

.linkedin-icon-link:hover {
    color: #ADD8E6;
}

/* Estilo para la línea de separación */
.footer-separator {
    border: none;
    height: 2px;
    background-color: #ffffff;
    width: 100%;
    margin: 20px 0;
}

/* Nuevo contenedor para la sección inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.copyright-text,
.design-credit {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9em;
}

.design-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 0;
    transition: color 0.3s ease;
}

.design-credit a:hover {
    color: #ADD8E6;
}

/* --- ESTILO DEL ÍCONO "VOLVER ARRIBA" --- */
.scroll-to-top {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 0%;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.fl-bigmug-line-up112 {
    font-family: 'fl-bigmug-line';
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1;
}

.fl-bigmug-line-up112::before {
    content: "\e0c9";
}

/* --- Responsive styles for footer --- */
@media (max-width: 768px) {
    .main-footer {
        padding: 20px;
    }
    .footer-top {
        padding-top: 0;
        padding-bottom: 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        margin-top: 20px;
    }
}


 
/* --- Responsive styles for footer --- */
@media (max-width: 768px) {
    .main-footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        margin-top: 20px;
    }
}





/* Estilos para el Modal (Ventana Emergente) */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* ¡CRUCIAL! Mantiene el modal en una posición fija en el viewport */
    z-index: 1000; /* Alto z-index para que esté sobre todo lo demás */
    left: 0;
    top: 0;
    width: 100%; /* Ocupa todo el ancho de la ventana */
    height: 100%; /* Ocupa toda la altura de la ventana */
    overflow: auto; /* Permite scroll si el contenido es más largo que la ventana */
    background-color: rgba(0, 0, 0, 0.6); /* ¡CRUCIAL! Fondo semi-transparente oscuro */
    padding-top: 60px; /* Espacio desde arriba para el contenido del modal */
}

.modal-content {
    background-color: #fefefe; /* Color de fondo del cuadro de contenido del modal */
    margin: 5% auto; /* 5% desde arriba y centrado horizontalmente */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Ancho del contenido del modal */
    max-width: 700px; /* Ancho máximo para que no sea demasiado grande en pantallas amplias */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative; /* Necesario para posicionar el botón de cierre */
}



.modal-content h2 {
    color: #001f93; /* Asegura que sea este azul */
    margin-bottom: 20px;
    font-size: 2em;
}

.modal-content p, .modal-content ul {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #001f93; /* Cambiado a azul */
}

.modal-content h3 {
    color: #001f93; /* Asegura que sea este azul */
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.5em;
}




.close-button {
    color: #aaa;
    float: right; /* Esto podría causar problemas de layout en algunos casos, pero con position: absolute; es más robusto */
    font-size: 38px;
    font-weight: bold;
    position: absolute; /* Posición absoluta respecto a .modal-content */
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}
/* --- FIN DE SECCIÓN CAREER OPPORTUNITIES --- */




/* Estilos para el mensaje de éxito */
#success-message {
    display: none; /* ¡CRUCIAL! Oculto por defecto */
    padding: 40px;
    background-color: transparent; /* Fondo transparente, ya que la sección ya tiene imagen */
    color: #ffffff; /* Color de texto blanco para contraste */
    text-align: center;
    margin-top: 20px;
    border-radius: 8px;
    /* Asegúrate de que este div se centre igual que el formulario, si es necesario */
    max-width: 600px; /* Mismo ancho que tu .career-content-wrapper o el formulario */
    margin: 20px auto 0 auto; /* Centrar horizontalmente */
    position: relative; /* Para z-index si es necesario */
    z-index: 2; /* Para que esté sobre la capa oscura de la imagen de fondo */
    box-sizing: border-box; /* Incluir padding en el ancho */
}

#success-message .success-content {
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente para el texto de éxito */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#success-message h3 {
    color: #ffffff; /* Título del mensaje en blanco */
    font-size: 2em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#success-message p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.send-another-button {
    background-color: #001f93; /* Tu color azul */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.send-another-button:hover {
    background-color: #002bba; /* Tono de azul más claro al hacer hover */
    transform: translateY(-1px);
}

/* Opcional: Centrar todo el career-content-wrapper */
/* Asegúrate que .career-content-wrapper ya tiene text-align: center; */
/* Si necesitas más centrado vertical/horizontal general, verifica .career-opportunities-section */




 


/* --- NUEVOS ESTILOS PARA LA PÁGINA DE DATA MANAGEMENT --- */

/* Estilos para la imagen fija */
.hero-image-fixed {
    height: 450px;
    width: 100%;
    background-image: url('data-image.jpg?text=DATA+MANAGEMENT'); /* URL de imagen fija */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilos de la sección con el nuevo diseño de tarjetas */
.data-management-section {
    padding: 80px 5%;
    text-align: center;
}

.data-management-section h2 {
    color: #001f93;
    font-size: 4.0em;
    margin-bottom: 40px;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #ffffff;
    padding: 30px;
/* border-radius: 30px; */
    border: 1px solid #e0e0e0;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.2em;
    color: #001f93;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    /* Agregamos una transición para que el cambio de tamaño sea suave */
    transition: font-size 0.3s ease;
}



/* Aumenta el tamaño de la letra sustancialmente al hacer hover en la tarjeta */
.service-card:hover h3 {
    font-size: 1.6em;
}

/* Responsive para la nueva sección */
@media (max-width: 992px) {
    .data-management-section h2 {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .data-management-section {
        padding: 50px 5%;
    }
    .data-management-section h2 {
        font-size: 2.8em;
    }
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    /* Mantenemos el tamaño de la letra en móviles para que no sea demasiado grande */
    .service-card h3 {
        font-size: 1.1em;
    }
}


/* --- NUEVOS ESTILOS PARA LA PÁGINA DE CDISC-SDTM --- */

/* Estilos para la imagen fija */
.cdisc-image-fixed {
    height: 450px;
    width: 100%;
    background-image: url('CDISC-image.jpg'); /* URL de imagen fija */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




/* --- NUEVOS ESTILOS PARA LA PÁGINA DE BIOSTATISTICS --- */

/* Estilos para la imagen fija */
.bio-image-fixed {
    height: 450px;
    width: 100%;
    background-image: url('bio-image.jpg'); /* URL de imagen fija */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




/* --- NUEVOS ESTILOS PARA LA PÁGINA DE SAFETY MANAGEMENT --- */

/* Estilos para la imagen fija */
.safety-image-fixed {
    height: 450px;
    width: 100%;
    background-image: url('safety-image.jpg'); /* URL de imagen fija */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}












/* --- NUEVOS ESTILOS PARA LA PÁGINA DE EXPERTISE --- */

/* Estilos para la imagen fija */
.expertise-image-fixed {
    height: 450px;
    width: 100%;
    background-image: url('expertise-image.jpg'); /* URL de imagen fija */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}







/* Contenedor principal de la sección */
.expertise-section {
    background-color: #ffffff;
    padding: 70px 20px;
    color: #001f93;
}

/* Título de la sección */
.expertise-section .section-title-expertise {
    color: #001f93;
    font-size: 4.5em;
    text-align: center;
    margin-bottom: 40px;
}

/* Contenedor de las columnas */
.expertise-section .expertise-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para cada caja o columna */
.expertise-section .expertise-box {
    flex-basis: calc(50% - 15px); /* Dos cajas por fila */
    flex-grow: 1;
    min-width: 300px;
    padding: 20px;
    margin-bottom: 20px;
    border: 4px solid #001f93; /* Bordes de 2px de color azul */
}

/* Títulos de las columnas */
.expertise-section .expertise-box h3 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #001f93; /* Línea de separación */
}

/* Estilos de la lista */
.expertise-section .expertise-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.expertise-section .expertise-box li,
.expertise-section .expertise-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Media Query para móviles */
@media (max-width: 768px) {
    .expertise-section .section-title-expertise {
        font-size: 3em;
        margin-bottom: 20px;
    }
    .expertise-section .expertise-box {
        flex-basis: 100%; /* Una sola columna en móviles */
    }
}






.form-success-message,
.form-error-message {
    padding: 40px;
    border-radius: 0px;
    font-size: 1.65em;
    text-align: center;
    margin: 20px 0;
}

.form-success-message {
    background-color: #001f93;
    color: #ffffff;
    border: 0px solid #c3e6cb;
}

.form-error-message {
    background-color: #23BAC4;
    color: #ffffff;
    border: 0px solid #f5c6cb;
}



