/* ==========================================================================
   STDrive Theme Custom CSS
   ========================================================================== */

/* Menu Principal Styles */
.w3l-header-4,
.w3l-header-4 * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.w3l-header-4 {
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid #f0f0f0 !important;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-sizing: border-box;
}
#headers4-block {
  padding: 12px 0;
}
#headers4-block .wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 20px !important;
  box-sizing: border-box;
}
.header-align {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
#nav {
  display: none !important;
}
nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1;
  box-sizing: border-box;
}
.menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.mobile-topbar-link { display: none !important; }
.logo-certificaciones-mobile {
  display: none !important;
}
.menu > li {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.menu > li > a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  text-transform: uppercase;
  padding: 10px 14px !important;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.menu > li > a:hover {
  color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.08);
}
.menu > li > a.active-menu-item {
  background-color: #28a745 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);
}
.menu > li a.btn-outline-success {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  border: 2px solid #28a745 !important;
  color: #28a745 !important;
  background-color: transparent !important;
  font-weight: 500 !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease !important;
  font-size: 14px !important;
}
.menu > li a.btn-outline-success:hover {
  background-color: #28a745 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);
}
.menu > li a.btn-outline-success.active-menu-item {
  background-color: #28a745 !important;
  color: #ffffff !important;
  border-color: #28a745 !important;
}
.logo-certificaciones {
  display: flex !important;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  margin-left: 20px;
  min-width: 140px;
  justify-content: flex-end;
}
.logo-certificaciones img {
  height: 55px !important;
  width: auto !important;
  max-width: 75px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
@media screen and (min-width: 1200px) {
  .logo-certificaciones img {
    height: 65px !important;
    max-width: 90px !important;
  }
}
.logo-certificaciones img:hover {
  transform: translateY(-2px);
}
#a_nosotros_menu,
#a_contactos_menu {
  display: none !important;
}
.menu-hamburguesa {
  display: none !important;
}
#drop {
  display: none !important;
}
@media screen and (min-width: 1200px) and (max-width: 1299px) {
  .menu > li > a {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
  .logo-certificaciones img {
    height: 50px !important;
    max-width: 65px !important;
  }
  .logo-certificaciones {
    min-width: 120px;
    gap: 10px;
  }
}
@media screen and (max-width: 1199px) {
  .header-align {
    position: relative !important;
    padding: 6px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  nav {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: static !important;
    box-sizing: border-box !important;
  }
  #a_nosotros_menu,
  #a_contactos_menu {
    display: block !important;
  }
  .menu-hamburguesa {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: #ffffff !important;
    color: #28a745 !important;
    border: 2px solid #28a745 !important;
    border-radius: 8px !important;
    font-size: 28px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    transition: all 0.2s ease !important;
    order: 2 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  }
  .menu-hamburguesa:hover {
    background: #28a745 !important;
    color: #ffffff !important;
  }
  .logo-certificaciones {
    display: none !important;
  }
  .logo-certificaciones-mobile {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: auto;
  }
  .logo-certificaciones-mobile img {
    height: 45px !important;
    width: auto !important;
    max-width: 65px !important;
    object-fit: contain;
  }
  .menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 15px 20px !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 1000 !important;
    border-top: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .mobile-topbar-link {
    display: block !important;
  }
  .mobile-topbar-link a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: transparent !important;
    color: #495057 !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
  }
  #drop:checked ~ .menu {
    display: flex !important;
  }
  .menu > li {
    width: 100% !important;
  }
  .menu > li > a {
    width: 100% !important;
    display: block !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500 !important;
  }
  .menu > li a.btn-outline-success {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500 !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .menu > li > a {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  .logo-certificaciones-mobile img {
    height: 55px !important;
    max-width: 80px !important;
  }
  .logo-certificaciones-mobile {
    gap: 18px;
  }
  .menu-hamburguesa {
    width: 52px !important;
    height: 52px !important;
    font-size: 30px !important;
  }
}
@media screen and (max-width: 480px) {
  .menu > li > a {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }
  .menu-hamburguesa {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
  }
  .logo-certificaciones-mobile img {
    height: 38px !important;
    max-width: 52px !important;
  }
  .logo-certificaciones-mobile {
    gap: 10px;
  }
}

/* Empleo and Empleo Detalle Styles */
.empleo-header-banner {
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    margin-bottom: 50px;
    background: transparent;
}
.empleo-header-image {
    width: 100%;
    max-height: 360px;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}
.empleo-header-image img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 65%;
}
.empleo-header-copy {
    background: #ffffff;
    padding: 40px 20px 30px;
    text-align: center;
    color: #212529;
}
.empleo-header-copy h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.empleo-header-copy p {
    font-size: 1.2rem;
    color: #5a5a5a;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .empleo-header-copy {
        padding: 30px 15px 25px;
    }
    .empleo-header-copy h1 {
        font-size: 2.2rem;
    }
    .empleo-header-copy p {
        font-size: 1rem;
    }
}
.vacante-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.vacante-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.2);
}
.vacante-card .card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vacante-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}
.vacante-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.btn-premium-outline {
    border: 2px solid #28a745;
    color: #28a745;
    background: transparent;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 24px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-premium-outline:hover {
    background: #28a745;
    color: white;
    text-decoration: none;
}
.btn-premium-fill {
    background: #28a745;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 24px;
    border: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-premium-fill:hover {
    background: #218838;
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    text-decoration: none;
    cursor: pointer;
}
.modal-content-premium {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}
.modal-header-premium {
    background: linear-gradient(135deg, #1b4d2c 0%, #28a745 100%);
    color: white;
    border-bottom: none;
    padding: 14px 24px !important;
}
.modal-header-premium .modal-title {
    font-size: 1rem !important;
    font-weight: 700;
}
.modal-header-premium .close {
    color: white;
    text-shadow: none;
    opacity: 0.8;
    padding: 4px 8px;
    font-size: 1.5rem;
}
.modal-header-premium .close:hover {
    opacity: 1;
}
.modal-body-premium {
    padding: 16px 24px !important;
}
.modal-body-premium .form-group {
    margin-bottom: 10px !important;
}
.modal-body-premium label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}
.form-control-premium {
    border-radius: 8px;
    padding: 8px 14px !important;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    font-size: 0.85rem !important;
    height: auto !important;
}
.form-control-premium:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.15rem rgba(40, 167, 69, 0.15);
}
.custom-file-upload-wrapper {
    border: 2px dashed rgba(40, 167, 69, 0.25);
    border-radius: 10px;
    padding: 12px 15px !important;
    text-align: center;
    background: #fcfdfc;
    cursor: pointer;
    transition: all 0.2s ease;
}
.custom-file-upload-wrapper:hover {
    border-color: #28a745;
    background: #f4faf6;
}
.custom-file-upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
}
.upload-text-main {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #495057;
    margin-top: 4px;
}
.upload-text-sub {
    font-size: 0.7rem !important;
    color: #6c757d;
    margin-top: 2px;
}
.selected-file-name {
    font-size: 0.8rem;
    word-break: break-all;
}
.custom-file-upload-label .fa-cloud-upload-alt {
    font-size: 1.8rem !important;
}
.modal-footer {
    padding: 12px 24px !important;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}
.modal-footer .btn {
    border-radius: 20px;
    padding: 6px 18px !important;
    font-size: 0.8rem !important;
}
.modal-footer .btn-light {
    background: #f1f3f4;
    border: 1px solid #ddd;
}
.modal-footer .btn-premium-fill {
    padding: 6px 18px !important;
    font-size: 0.8rem !important;
    border-radius: 20px;
}
.btn-filter {
    background: transparent;
    border: none;
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    cursor: pointer;
}
.btn-filter:hover {
    color: #28a745;
}
.btn-filter.active-filter {
    background: #28a745;
    color: white !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* Empleo Detalle specific styles */
.empleo-detalle-header {
    background: #ffffff;
    color: #212529;
    padding: 40px 24px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}
.btn-back-empleo {
    color: #28a745;
    opacity: 0.95;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}
.btn-back-empleo:hover {
    color: white;
    opacity: 1;
    transform: translateX(-3px);
    text-decoration: none;
}
.empleo-detalle-title {
    font-size: 2.2rem;
    font-weight: 800;
}
.detail-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.04);
}
.detail-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    border-left: 4px solid #28a745;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.detail-section-title:first-of-type {
    margin-top: 0;
}
.detail-list {
    list-style: none;
    padding-left: 0;
}
.detail-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #495057;
}
.detail-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #28a745;
    font-size: 0.9rem;
}
.sidebar-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 30px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.info-row:last-of-type {
    border-bottom: none;
}
.info-label {
    font-weight: 600;
    color: #6c757d;
}
.info-val {
    font-weight: 600;
    color: #212529;
}
.btn-premium-fill-block {
    background: #28a745;
    color: white;
    font-weight: 700;
    border-radius: 30px;
    padding: 14px 28px;
    border: none;
    transition: all 0.2s ease;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}
.btn-premium-fill-block:hover {
    background: #218838;
    color: white;
    box-shadow: 0 6px 22px rgba(40, 167, 69, 0.35);
    text-decoration: none;
}

/* Secondary Menu social icon and alignments */
#a_nosotros_top, #a_contactos_top, #a_login, #a_intranet {
  background: white;
  color: black;
  font-weight: bold;
}
#a_nosotros_top:hover, #a_contactos_top:hover, #a_login:hover, #a_intranet:hover {
  background: #28A745;
  color: white;
}
.stdrive-social-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid white !important;
  border-radius: 4px;
  text-decoration: none;
}
.stdrive-social-btn:hover {
  background: rgba(255,255,255,0.2) !important;
}
.stdrive-x-icon {
  font-size: 14px;
  font-weight: 900;
  color: white;
  font-style: normal;
  line-height: 1;
  font-family: Arial, sans-serif;
}

/* Grid Standardization for category lists */
.grid-column-6 {
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 50px;
  display: grid;
  width: 100% !important;
}
@media screen and (max-width: 768px) {
  .grid-column-6 { grid-template-columns: 1fr; }
}

.grid-column-2 {
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  display: grid;
  width: 100% !important;
}
@media screen and (max-width: 768px) {
  .grid-column-2 { grid-template-columns: 1fr; }
}


