/* --- Base y Tipografía --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow: hidden;
}

/* --- Colores Personalizados --- */
:root {
    --primary-slt: #0d6efd; /* Azul brillante */
    --danger-slt: #dc3545; /* Rojo */
    --secondary-slt: #343a40; /* Gris oscuro para textos */
    --dark-blue-slt: #0a2351; /* Azul marino oscuro para el menú */
}
.text-primary-slt { color: var(--primary-slt) !important; }
.text-danger-slt { color: var(--danger-slt) !important; }
.text-secondary-slt { color: var(--secondary-slt) !important; }

/* --- Botones --- */
.btn-primary-slt {
    background-color: var(--primary-slt);
    border-color: var(--primary-slt);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    display: inline-block;
    width: auto;
}
.btn-primary-slt:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}
.btn-secondary-slt {
    background-color: #5783bc;
    color: white;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}
.btn-secondary-slt:hover {
    background-color: #3e5f8a;
    color: white;
}


/* --- Navbar --- */
.navbar {
    background-color: var(--dark-blue-slt);
    transition: background-color 0.3s ease;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar-brand img { filter: brightness(0) invert(1); }
.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff; }
.navbar-nav .nav-link::after {
    content: ''; position: absolute; width: 0%; height: 2px;
    background-color: var(--danger-slt); bottom: 0; left: 0;
    transition: width 0.3s ease-out;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width: 100%; }
.social-icons .icon-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
}
.social-icons .icon-link:hover { color: var(--danger-slt); transform: translateY(-2px); }

/* --- Secciones fullPage.js --- */
.section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}
.content-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.content-overlay.dark-overlay { background-color: rgba(0, 0, 0, 0.2); }

/* --- Contenedor de Inicio --- */
.inicio-container {
    /* Eliminado: text-align: center; (Controlado por flexbox en HTML) */
    position: relative;
    z-index: 2;
}
.inicio-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 25px;
}
.inicio-lema {
    color: #cadffb;
    font-size: 2.2rem; 
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    text-align: center; /* Se mantiene para que el texto dentro esté centrado */
}
.slogan-line-1, .slogan-line-2 {
    display: inline-block;
    opacity: 0;
}
.fp-section.active .animated-group .slogan-line-1 {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}
.fp-section.active .animated-group .slogan-line-2 {
    animation: fadeInUp 0.8s ease-out 0.45s forwards;
}
.slogan-highlight {
    color: var(--danger-slt);
    font-weight: 700;
    animation: pulse-glow 3s infinite ease-in-out;
}
@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
    }
    50% {
        text-shadow: 0 0 16px rgba(220, 53, 69, 0.8);
    }
}
.location-box {
    display: inline-flex;
    align-items: center;
    background-color: rgba(220, 53, 69, 0.5); 
    color: #fff;
    padding: 12px 25px; 
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 0 auto 25px auto;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.location-box i {
    margin-left: 10px;
}


/* --- Fondos de Sección --- */
#section-inicio { background: linear-gradient(135deg, #0a2351 0%, #3e5f8a 100%); }
#section-mision { background-image: url('mision_background.jpg'); }
#section-valores { background-image: url('valores_background.jpg'); }
#section-alcance { background-image: url('alcance_background.jpg'); }
#section-servicios { background-image: url('servicios_background.jpg'); }
#section-flotilla { background-image: url('flotillas_background.jpg'); }
#section-vacantes { background-image: url('vacantes_background.jpg'); }

/* --- Contenedores de Contenido --- */
.content-container, .services-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #cadffb;
    margin-bottom: 30px;
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-align: center;
}
.title-highlight {
    background-color: var(--danger-slt);
    color: white;
    padding: 10px 40px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}
.title-pill {
    background-color: #3e5f8a;
    padding: 10px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.text-box {
    background-color: rgba(10, 35, 81, 0.75);
    color: #cadffb;
    padding: 40px 50px;
    border-radius: 20px;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(160, 197, 247, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.text-box p { font-size: 1.8rem; line-height: 1.6; margin-bottom: 0; font-weight: 400; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); }
.text-box strong { font-weight: 700; color: #ffffff; }

/* ESTILO PARA SECCIÓN VALORES */
.left-aligned-container {
    align-items: flex-start;
}
.left-aligned-container .section-title,
.left-aligned-container .text-box {
    align-self: flex-start;
}
.text-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.text-box li {
    font-size: 2.2rem;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}
.text-box li i {
    color: var(--danger-slt);
    margin-right: 15px;
    font-size: 1.5em;
}

/* --- Sección Servicios --- */
.services-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    max-width: 850px;
}
.service-icon {
    background-color: rgba(10, 35, 81, 0.6);
    color: #a0c5f7;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #5783bc;
    width: 120px; 
    height: 120px; 
    padding: 5px;
}
.service-icon:hover { background-color: rgba(10, 35, 81, 0.9); color: #FFF; transform: translateY(-10px); }
.service-icon.active { background-color: var(--danger-slt); color: #FFF; border-color: var(--danger-slt); }
.service-icon i { font-size: 35px; margin-bottom: 10px; }
.service-icon span { font-weight: 600; line-height: 1.2; font-size: 0.9rem; }
.services-description-box { text-align: center; min-height: 150px; }
.services-description-box h3 { color: #FFF; font-weight: 700; margin-bottom: 15px; }
.service-description { display: none; }
.service-description.active { display: block; animation: fadeInUp 0.5s; }

/* --- Sección Flotilla (REDİSEÑADA) --- */
.flotilla-container-redesigned {
    align-items: center !important;
    padding-top: 0;
    max-width: 1200px;
    z-index: 2;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.flotilla-container-redesigned .section-title {
    width: 100%;
}
.flotilla-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.flotilla-list-item {
    background-color: rgba(10, 35, 81, 0.6);
    color: #a0c5f7;
    padding: 18px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid #5783bc;
    font-size: 1.1rem;
    font-weight: 500;
}
.flotilla-list-item i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--danger-slt);
    transition: all 0.3s ease;
}
.flotilla-list-item:hover {
    background-color: rgba(10, 35, 81, 0.9);
    transform: translateX(10px);
}
.flotilla-list-item.active {
    background-color: #0a2351;
    color: #fff;
    border-left: 5px solid var(--danger-slt);
}
.flotilla-list-item.active i {
    transform: scale(1.2);
}
.flotilla-display-panel {
    width: 100%;
    height: 65vh;
    max-height: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.flotilla-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(1.05);
}
.flotilla-image.active {
    opacity: 1;
    transform: scale(1);
}
.flotilla-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.2s;
}
.flotilla-description.active {
    opacity: 1;
    transform: translateY(0);
}
.flotilla-description h3 {
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.flotilla-description p {
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 0;
}

/* --- Sección Vacantes --- */
.vacantes-container { align-items: flex-start !important; padding-top: 50px; z-index: 2; position: relative; max-width: 1200px; }
.vacantes-container .section-title { align-self: flex-start; margin-bottom: 30px; }
.vacantes-list { display: flex; flex-direction: column; gap: 15px; }
.vacante-title-item { background-color: rgba(10, 35, 81, 0.6); color: #a0c5f7; padding: 20px; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; border-left: 5px solid #5783bc; }
.vacante-title-item div { font-size: 1.3rem; font-weight: 600; margin-bottom: 5px; }
.vacante-title-item div i { margin-right: 15px; width: 20px; text-align: center; color: var(--danger-slt); }
.vacante-title-item span { font-size: 0.9rem; color: #a0c5f7; margin-left: 40px; }
.vacante-title-item:hover { background-color: rgba(10, 35, 81, 0.9); transform: translateX(10px); }
.vacante-title-item.active { background-color: #0a2351; color: #fff; border-left: 5px solid var(--danger-slt); }
.vacante-details-box { background-color: rgba(10, 35, 81, 0.75); color: #cadffb; padding: 40px; border-radius: 20px; height: 100%; border: 1px solid rgba(160, 197, 247, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vacante-description-wrapper { min-height: 250px; }
.vacante-description { display: none; }
.vacante-description.active { display: block; animation: fadeInUp 0.5s; }
.vacante-description h3 { color: #fff; font-weight: 700; margin-bottom: 15px; border-bottom: 2px solid var(--danger-slt); padding-bottom: 10px; display: inline-block; }
.vacante-description p { font-size: 1.1rem; line-height: 1.7; }
.vacante-description ul { list-style: none; padding: 0; margin-top: 20px; }
.vacante-description li { font-size: 1rem; margin-bottom: 10px; }
.vacante-description li i { color: var(--danger-slt); margin-right: 10px; }
.postulate-form { margin-top: 30px; border-top: 1px solid rgba(160, 197, 247, 0.2); padding-top: 30px; }
.postulate-form h4 { text-align: center; margin-bottom: 20px; font-weight: 600; }
/* ESTILO APLICADO A AMBOS SPANS DE NOMBRE DE ARCHIVO */
#file-name-display, #file-name-display-contacto { margin-left: 15px; font-style: italic; font-size: 0.9rem; color: #a0c5f7; }
/* FIN ESTILO APLICADO A AMBOS SPANS DE NOMBRE DE ARCHIVO */


/* --- Animaciones, Footer y Contacto --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fp-section.active .animated-group .animated-item[data-animation="fadeInUp"] { animation: fadeInUp 0.8s ease-out forwards; }
.fp-section.active .animated-group .animated-item[data-animation="zoomIn"] { animation: zoomIn 0.8s ease-out forwards; }
.animated-item[data-delay="0.15s"] { animation-delay: 0.15s; }
.animated-item[data-delay="0.3s"] { animation-delay: 0.3s; }
.animated-item[data-delay="0.4s"] { animation-delay: 0.4s; }
.animated-item[data-delay="0.6s"] { animation-delay: 0.6s; }
.footer-slt { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px 0; background-color: rgba(0, 0, 0, 0.6); color: rgba(255, 255, 255, 0.7); text-align: center; font-size: 0.9rem; z-index: 2; }
.contact-card { background-color: rgba(255, 255, 255, 0.98); border-radius: 15px; max-width: 600px; margin: 0 auto; }


/* --- Responsive --- */
@media (max-width: 991.98px) {
    .section-title { font-size: 3.5rem; }
    .text-box p { font-size: 1.5rem; }
    .text-box li { font-size: 1.8rem; }
    .flotilla-container-redesigned .row, .vacantes-container .row { flex-direction: column; }
    .flotilla-list { margin-bottom: 30px; flex-direction: row; overflow-x: auto; padding-bottom: 15px; }
    .flotilla-list-item { flex-shrink: 0; }
    .flotilla-display-panel { height: 50vh; }
    .vacantes-list { margin-bottom: 30px; }
    .vacante-details-box { padding: 25px; }
    .vacante-description-wrapper { min-height: auto; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 2.5rem; }
    .text-box p { font-size: 1.2rem; }
    .text-box li { font-size: 1.5rem; }
    .service-icon { width: 90px; height: 90px; }
    .service-icon i { font-size: 25px; }
    .inicio-lema { font-size: 1.8rem; }
}

#whatsapp-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
#whatsapp-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
}