:root {
    --primary-blue: #1572b9;
    --light-blue: #E8F0FF;
    --dark-blue: #1E3A8A;
    --accent-orange: #FF6B35;
    --teal-blue: #2DD4BF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-blue) !important;
}

.nav-link {
    color: #666 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark {
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 102, 255, 0.3);
}

.hero-section {
    background-color: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
    padding: 90px 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.section-bg-top, .bg-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
}
.bg-section {
    padding: 100px 0;
}
.section-bg-top:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: #02365eb8;*/
    background-color: rgb(0 0 0 / 40%);/*rgb(164 216 255 / 79%);*/
    display: none;
}
.bg-section:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: #02365eb8;*/
    background-color: rgb(21 114 185 / 75%);
}
.section-bg-top > .container, .bg-section > .container {
    z-index: 999;
    position: relative;
}

.hero-title {
    font-size: 50px;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.hero-title b {
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.category-section {
    padding: 80px 0;
    background: white;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}
.form-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(51, 102, 255, 0.15);
    border-color: var(--primary-blue);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

/* New alternating sections styles */
.alternating-section {
    padding: 100px 0;
    overflow: hidden;
}

/*.alternating-section:nth-child(even) {
    background: #f8fafc;
}*/

.alternating-section .content-area {
    padding: 40px;
}

.alternating-section .image-area {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    /*min-height: 500px;*/
}

.alternating-section .image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/*.alternating-section .image-area:hover img {
    transform: scale(1.05);
}*/

.alternating-section h2, .alternating-section .h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.alternating-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.alternating-section .btn {
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

.alternating-section .btn-teal {
    background: var(--teal-blue);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.alternating-section .btn-teal:hover {
    background: #14B8A6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 212, 191, 0.3);
}

.featured-jobs {
    background: var(--light-blue);
    padding: 80px 0;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.stats-section {
    background: white;
    padding: 60px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.footer {
    background: var(--dark-blue);
    color: white;
}
.footer-top {
    padding: 40px 0 20px;
}
.footer-bottom {
    background-color: #1d1f30;
    padding: 10px;
    font-size: 12px;
    opacity: 0.5;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .category-card {
        margin-bottom: 20px;
    }
    
    .alternating-section h2 {
        font-size: 2rem;
    }
    
    .alternating-section .content-area {
        padding: 20px;
        text-align: center;
    }
    
    .alternating-section .image-area {
        min-height: 300px;
        margin-bottom: 30px;
    }
    .section-bg-top, .bg-section, .hero-section {
        background-attachment: initial !important;
    }
}

#logo-carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    cursor: grab;
    padding: 20px 0;
    min-height: 120px;
}

#logo-carousel:active {
    cursor: grabbing;
}

.logo-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s linear;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 16px; /* px-4 ≈ 16px */
}

.logo-item img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.img-float-top {
    position: absolute;
    left: 50px;
    bottom: -80px;
    width: 100%;
    max-width: 640px;
}
/* Contenedor fijo, off-canvas a la derecha */
.form-overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 360px;           /* ancho del panel */
  background: transparent;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-overlay.open {
  transform: translateX(0);
}

/* Botón flotante */
#toggleFormBtn {
  position: fixed;
  right: 20px;
  bottom: 40px;
  background: var(--primary-blue);
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1100;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 65px;
    height: 65px;
}
#toggleFormBtn:hover {
  background: var(--dark-blue);
  transform: scale(1.1);
}

/* Contenedor del preload (inicialmente oculto) */
.preload_w {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}
.preload {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@media screen and (max-width: 992px) {
    .img-float-top {
        display: none !important;
    }
}

/* Animación de rotación */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.icon_r {
    font-size: 28px;
    position: relative;
    top: -24px;
}