/* Intur Theme Overrides */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&display=swap');

:root {
  --blue: #103A89 !important;
  --gold: #ffcc00 !important;
  --brick: #d0312d !important;
  --purple: #103A89 !important;
  --lightpurple: #ffcc00 !important;
  --darkgreen: #103A89 !important;
  --gray: #f4f6f9 !important;
}

body {
  font-family: 'Poppins', 'Arial', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
}

/* Header and Top Bar */
.top-bar {
  background-color: var(--blue) !important;
  color: white !important;
  padding: 12px 0 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
}
.top-bar .container {
  max-width: 1200px !important;
}
.top-bar a {
  color: white !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

/* Redes Sociales en Top Bar */
.top-bar .social-icons {
  display: flex !important;
  align-items: center !important;
}
.top-bar .social-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  margin-right: 10px !important;
  font-size: 14px !important;
}
.top-bar .social-icons a:hover {
  background-color: var(--gold) !important;
  color: var(--blue) !important;
  transform: translateY(-2px) !important;
}

/* Links de Utilidad en Top Bar */
.top-bar .utility-links {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}
.top-bar .utility-links a {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  position: relative !important;
}
.top-bar .utility-links a:not(:last-child)::after {
  content: '' !important;
  position: absolute !important;
  right: -13px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 12px !important;
  width: 1px !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
}
.top-bar .utility-links a:hover {
  color: var(--gold) !important;
}

/* Header Navbar */
.header {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}
.header__container {
  padding: 10px 40px !important; /* Reducido para que la franja blanca sea mÃ¡s estÃ©tica */
  max-width: 1300px !important;
  margin: 0 auto !important;
}
.header__logo img {
  max-width: 330px !important; /* Ajustado para un equilibrio estÃ©tico */
  transition: all 0.3s ease;
}
.header__bottom nav ul li a {
  color: var(--blue) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}
.header__bottom nav ul li a:hover {
  color: var(--gold) !important;
}
.btn-intur-contact, .header__bottom nav ul li a.btn-intur-contact {
  background-color: var(--gold) !important;
  color: var(--blue) !important;
  border-radius: 30px !important;
  padding: 10px 25px !important;
  font-weight: 700 !important;
  display: inline-block !important;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3) !important;
}
.btn-intur-contact:hover {
  background-color: var(--blue) !important;
  color: var(--gold) !important;
  box-shadow: 0 4px 10px rgba(16, 58, 137, 0.3) !important;
}

/* Hero Slider */
.slide-content h2 {
  font-weight: 900 !important;
  font-size: 4rem !important; /* Texto más grande */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
  line-height: 1.1 !important;
}
.slide-content .highlight {
  color: var(--gold) !important;
}
.slide-content .subtitle {
  color: white !important;
  font-size: 1.5rem !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  display: block;
  margin-bottom: 10px;
}
.badge-licenciada {
  background: rgba(16, 58, 137, 0.9) !important;
  border-left: 5px solid var(--gold) !important;
  border-radius: 0 10px 10px 0 !important;
  display: inline-block !important; /* Solo salta en el texto nada mas */
  padding: 10px 25px !important;
  margin-top: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.slider-arrow {
  background-color: var(--blue) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}
.slider-arrow:hover {
  background-color: var(--gold) !important;
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}

/* Sections */
h2.text-blue, h3.titulo_azul, .text-blue {
  color: var(--blue) !important;
}
.mx-auto[style*="background: var(--brick)"] {
  background: var(--gold) !important;
}
.bg-light {
  background-color: #f9fbfd !important;
}
.custom-heading {
  color: var(--blue) !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Buttons and Badges */
.badge-primary {
  background-color: var(--gold) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}
.btn-primary {
  background-color: var(--blue) !important;
  border-color: var(--blue) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  padding: 10px 30px !important;
  transition: all 0.3s ease !important;
}
.btn-primary:hover {
  background-color: var(--gold) !important;
  color: var(--blue) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4) !important;
}

/* Cards */
.card {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 35px rgba(16, 58, 137, 0.15) !important;
}
.card .position-absolute {
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  bottom: auto !important;
}
.card-title {
  color: var(--blue) !important;
  font-weight: 700 !important;
}

/* Intur Career Cards (Image Overlay Style) */
.intur-career-card {
  position: relative;
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: #000;
}
.intur-career-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.6;
}
.intur-career-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 58, 137, 0.4); /* Blue tint by default */
  transition: background 0.3s ease;
}
.intur-career-card:hover .intur-career-overlay {
  background: rgba(208, 49, 45, 0.85); /* Red tint on hover */
}
.intur-career-card:hover img {
  transform: scale(1.1);
}
.intur-career-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
}
.intur-career-content h4 {
  color: white !important;
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
  margin: 0;
  line-height: 1.2 !important;
}
.intur-career-card .position-absolute.top-0 {
  top: 15px !important;
  right: 15px !important;
  z-index: 3;
}

/* Beneficios section */
.seccion_beneficios {
  background-color: var(--blue) !important;
  color: white !important;
}
.seccion_beneficios h2 {
  color: var(--gold) !important;
}
.item_beneficio {
  background: #f4f6f9 !important;
  border-radius: 15px !important;
  padding: 30px 20px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
  height: 100% !important;
}
.item_beneficio:hover {
  background: var(--blue) !important;
  transform: translateY(-5px) !important;
}
.item_beneficio svg, .item_beneficio svg * {
  fill: var(--blue) !important;
  transition: all 0.3s ease !important;
}
.item_beneficio:hover svg, .item_beneficio:hover svg * {
  fill: var(--gold) !important;
}
.item_beneficio h4 {
  color: var(--blue) !important;
  font-weight: 600 !important;
  margin-top: 15px !important;
  transition: all 0.3s ease !important;
}
.item_beneficio:hover h4 {
  color: white !important;
}

/* Footer */
.section_footer {
  background-color: #f4f6f9;
}
.footer_top {
  background-color: var(--brick);
}
.navbar_footer {
  background-color: transparent !important;
  border: none !important;
}
.navbar_footer .nav-link {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}
.navbar_footer .nav-link:hover {
  color: var(--gold) !important;
}
.footer_bottom h4 {
  color: var(--blue) !important;
  position: relative !important;
  padding-bottom: 10px !important;
}
.footer_bottom h4::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background-color: var(--gold) !important;
}
.footer_bottom p, .footer_bottom a, .footer_bottom li {
  color: #555 !important;
}
.footer_bottom a:hover {
  color: var(--blue) !important;
  text-decoration: none !important;
}
.footer_copyright {
  background-color: var(--blue) !important;
  color: white !important;
  padding: 20px 0 !important;
  font-weight: 500 !important;
}
.licensing_strip {
  background-color: #fff !important;
  border-top: 1px solid #eaeaea !important;
  border-bottom: 1px solid #eaeaea !important;
}

/* Floating Social Media Bar */
.social-media-bar {
  background: rgba(16, 58, 137, 0.85) !important; /* Azul Intur */
  border: 1px solid rgba(255, 204, 0, 0.3) !important; /* Borde dorado */
}
.social-icon.facebook {
  background: var(--blue) !important;
}
.social-icon.facebook:hover {
  background: var(--gold) !important;
  color: var(--blue) !important;
}
.social-icon.instagram {
  background: var(--brick) !important;
}
.social-icon.instagram:hover {
  background: var(--gold) !important;
  color: var(--blue) !important;
}
.social-icon.youtube {
  background: #cc0000 !important;
}
.social-icon.youtube:hover {
  background: var(--gold) !important;
  color: var(--blue) !important;
}
.social-icon.tiktok {
  background: #000000 !important;
}
.social-icon.tiktok:hover {
  background: var(--gold) !important;
  color: var(--blue) !important;
}

/* WhatsApp Floating Button */
.box-wspp-llamada {
  background-color: #1bd741;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.box-wspp-llamada .text-white, .box-wspp-llamada .wspp {
  color: #fff !important;
  font-weight: bold !important;
}


/* ==========================================================================
   Sección Beneficios (Premium Intur Style)
   ========================================================================== */
.intur-beneficios-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(rgba(16, 58, 137, 0.85), rgba(16, 58, 137, 0.90)), url('../img/banner-esam1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Decorative dots */
.intur-beneficios-section::before,
.intur-beneficios-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 2px, transparent 2px);
    background-size: 25px 25px;
    z-index: 1;
}
.intur-beneficios-section::before {
    left: -50px;
}
.intur-beneficios-section::after {
    right: -50px;
}

.intur-beneficios-section .container {
    position: relative;
    z-index: 2;
}

.intur-beneficios-title {
    color: var(--gold);
    font-weight: 800;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.intur-beneficios-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.intur-beneficio-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.intur-beneficio-card i {
    font-size: 45px;
    color: var(--blue);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.intur-beneficio-card p {
    color: #8c9cb8; /* Light blueish gray from screenshot */
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    transition: all 0.3s ease;
}

/* Efecto hover vibrante */
.intur-beneficio-card:hover {
    background: #8CA5D3; /* The exact dusty blue from screenshot */
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.intur-beneficio-card:hover i {
    color: #4A5E4E; /* The dark olive green from screenshot */
    transform: scale(1.1);
}

.intur-beneficio-card:hover p {
    color: #ffffff;
}

@media (max-width: 991px) {
    .intur-beneficios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .intur-beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .intur-beneficio-card {
        height: 160px;
        padding: 15px;
    }
    .intur-beneficios-section::before,
    .intur-beneficios-section::after {
        display: none;
    }
}

/* ==========================================================================
   Páginas Internas - Hero Banner (Agrandado)
   ========================================================================== */
.internal-hero {
    padding: 80px 0 !important;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.internal-hero .container {
    position: relative;
    z-index: 2;
}

.internal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 58, 137, 0.6); /* Overlay azul */
    z-index: 1;
}

.internal-hero h1 {
    font-size: 5.5rem !important; /* Título extra grande */
    font-weight: 900 !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
}

.internal-hero p.lead {
    font-size: 2rem !important; /* Subtítulo agrandado */
    font-weight: 500 !important;
    max-width: 900px;
    margin: 0 auto !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    color: white !important;
    opacity: 0.95;
}

@media (max-width: 991px) {
    .internal-hero h1 {
        font-size: 4rem !important;
    }
    .internal-hero p.lead {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .internal-hero {
        padding: 80px 0 !important;
        min-height: 350px;
    }
    .internal-hero h1 {
        font-size: 3rem !important;
    }
    .internal-hero p.lead {
        font-size: 1.2rem !important;
    }
}
