@font-face {
  font-family: 'GothamRoundedBold';
  src: url('../font/GothamRounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'GothamRounded-Book';
  src: url('../font/GothamRounded-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'GothamRounded-Book', sans-serif;
}
.text-blue{
  color:#004a98;
}
.icpna-red{
  color:#F90025;
}
.lead{
  font-family: 'GothamRounded-Book', sans-serif;
}
.hero-section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  
  /*padding: 50px 0;*/
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0096db, #0655b8);
  z-index: -1;
}
.logo-section {
  background: linear-gradient(90deg, #0096db, #0655b8);
  display: flex;
  width: 100%;
 
}
.logo {
  width: 130px;
  margin-top: 40px; /* ← Ajusta aquí la distancia */
  margin-right: 20px;
}
.left-content {
  max-width: 500px;
}

.welcome-img {
  max-width: 400px;
}
.choose-title{
  font-family: 'GothamRoundedBold', sans-serif;
  font-weight: 700;
}
.icpna-navbar {
  background: linear-gradient(90deg, #00a1e2, #004ca5);
}

.subtitle {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 3rem;
  font-family: 'GothamRounded-Book', sans-serif;
}
.nav-item{
  padding-right: 5px;
  padding-left: 5px;
}
.navbar-nav .nav-link { 
  color: #ffffff !important; 
  font-weight: 500; 
  position: relative; 
  padding-bottom: 8px; 
} 
.navbar-nav .nav-link.active::after, 
.navbar-nav .nav-link:hover::after { 
  content: ""; 
  position: absolute; 
  left: 0; 
  bottom: 0; 
  width: 100%; 
  height: 3px; 
  background-color: red; 
  border-radius: 2px; 
} 
.navbar-nav .nav-link.active::after {
   width: 100%; 
  }

.search-icon i {
  font-size: 18px;
}

.text-color-blue{
  color:#004a98; 
  font-size: 1.2rem;
  font-family: 'GothamRounded-Book', sans-serif;
  line-height: 1.4;

}
.titulos{
  color:#004a98; 
  font-size: 2.6rem;
  font-family: 'GothamRoundedBold', sans-serif;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -1;
}
.titulos-white{
  color:#fff; 
  font-size: 2.6rem;
  font-family: 'GothamRoundedBold', sans-serif;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -1;
}

.btn-program {
  font-family: 'GothamRoundedBold', sans-serif;
  background: #e7e9ee;
  color: #F90025;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 30px;
  display: inline-block;
  width: 250px;
  border: 2px #fff solid;
  text-align: center;
  transition: .3s;
}

.btn-program:hover {
  background: #ffffff;
  color: #a30000;
  transform: translateY(-2px);
}


.right-content {
  width: 100vh;
   height: 100vh; 
  display: flex;
  align-items: flex-end;
  justify-content: relative;
}

.student-img {
  width: 100%;
  height: 100%; 
  object-fit: cover; 
  object-position: bottom; 
  display: block;
}

.logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  transform: translateY(-60%);
}

/* Fondo del slider con imagen */
/*.carousel-item {
  position: relative;
  height: 80vh; 
  min-height: 500px;
  background-size: cover;
  background-position: center;
}*/

/* Fondo 1 y 2 */
.slide-bg-1 {
  background-image: url("slide-bg-1.jpg");
}
.slide-bg-2 {
  background-image: url("../img/bg-slider1.jpg");
}


.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0096db, #0655b8);
  opacity: 0.85;
}

.content-box {
  background: #fff;
  padding: 40px 50px;
  border-radius: 30px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
}

.content-box h2 {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f90025;
  font-family: 'GothamRoundedBold', sans-serif;
  line-height: 80px;
  padding-bottom: 2rem;
}

.content-box p {
    font-size: 35px;
    font-weight: 500;
    color: #183b91;
    line-height: 1.1;
    margin-bottom: 0;
}


.slider-container {
  height: 80vh; 
  overflow: hidden;
}
.left-content-home {
    display: flex;
    justify-content: center; 
    width: 100%;
    padding-left: 80px;
  }
.right-content-home {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%; 
  z-index: 3;
}
.student-img-home {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.image-container {
  text-align: right;
  position: relative;
}

.image-container img {
  max-width: 380px;
  width: 100%;
  position: relative;
  right: 0;
  bottom: -40px;
  z-index: 3;
}

.welcome-gradient{
  background: linear-gradient(180deg, #c6e9fb 0%, #ffffff 30%);
}
.welcome-gradient-canvas{
    background: linear-gradient(180deg, #c6e9fb 0%, #f4f4f4 40%);
}
.content-box-left,
.content-box-right {
  min-height: 350px;
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 10px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}


.content-box-left {
  background-image: url("../img/antes-clase.webp");
  margin-right: 10px;
}

.content-box-right {
  background-image: url("../img/durante-clases.webp");
  margin-left: 10px;
}


.content-box-left:hover,
.content-box-right:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}


.content-box-left::before,
.content-box-right::before {
  content: none;
}


.content-box-left h2,
.content-box-right h2,
.content-box-left p,
.content-box-right p {
  color: #ffffff !important;
  position: relative;
  z-index: 2;
}


.metodologia-section {
  width: 100%;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px;
  position: relative;
}


.titulo-metodologia {
  letter-spacing: 3px;
  font-size: 16px;
  font-family: 'GothamRounded-Book', sans-serif;
  text-transform: uppercase;
}
.descripcion-metodologia {
    font-size: 2rem;
    line-height: 2.1rem;
  }

.btn-proctorizer{
  background-color: #f90025 !important;
  color: #fff !important;
  padding: 12px 25px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-size: 14px !important;
  border: none !important;
}

.btn-proctorizer:hover {
  background-color: #c00000 !important;
  color: #fff !important;
}

.btn-metodologia {
  background-color: #f90025;
  color: #fff;
  padding: 12px 25px;
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  border: none;
}


.btn-metodologia:hover {
  background-color: #c00000;
  color: #fff;
}
.linea-roja {
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #f90025;
  border-radius: 2px;
}
.beneficios-section {
  width: 100%;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px;
  position: relative;
}

.header-section {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 44vh;
  position: relative;
  display: flex;
  justify-content: start;
  align-items: flex-end;
}
.header-section h1{
    font-size: 55px;
    font-weight: 700;
    line-height: 58px;
    font-family: 'GothamRoundedBold', sans-serif;
}
.estrellas i {
  font-size: 20px;
}
.header-antes {
  background-image: url("../img/bg-header-antes-clases.webp");
}

.header-durante {
  background-image: url("../img/bg-header-durante-clases.webp");
}

.header-aprendizaje {
  background-image: url("../img/bg-header-aprendizaje.webp");
}

.header-beneficios {
  background-image: url("../img/bg-header-beneficios.webp");
}
.header-preguntas {
  background-image: url("../img/bg-header-preguntas.webp");
}


/* Contenedor general del tab*/
.tabs-section {
  background: transparent;
}

/* Botones del tab */
.tab-btn {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 10px;
}

.tab-img-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.tab-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.2;
}

.tab-btn:hover .tab-img-wrapper {
  transform: scale(1.03);
}
.tab-icon-mobile {
  display: none; /* oculto en PC */
}
.tabs-nav-clases .nav-item-clases {
  display: flex;
  justify-content: center;
}
/* Contenedor del tab */
.tab-box {
  background-color: #ededed;
  max-width: 950px;
  position: relative;
  border-radius: 15px;
}
.tab-box h3{
  color: #183b91;
  font-family: 'GothamRounded-Book', sans-serif;
  font-weight: 700;
}
/* Triángulo indicador base */
.tab-box::before {
  content: "";
  position: absolute;
  top: -15px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 15px solid #ededed;
  opacity: 0;
  transition: all 0.4s ease;
}


.tab-pane.active .tab-box::before {
  opacity: 1;
}


#tab1.tab-pane.active .tab-box::before {
  left: 10%; 
  transform: translateX(0);
}

#tab2.tab-pane.active .tab-box::before {
  left: 50%; 
  transform: translateX(-50%);
}

#tab3.tab-pane.active .tab-box::before {
  right: 10%; 
}

/* Círculos de íconos */
.icon-circle-clases {
  width: 100px;
  height: 100px;
  background-color: #e8e8e8;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: -3px 3px 6px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}


/* footer*/
.footer-main {
  background-color: #004a98;
  color: white;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #f90025;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  box-shadow: -3px 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-circle:hover {
  transform: translateY(-3px);
  box-shadow: -4px 5px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #fff;
}

.footer-copy {
  background-color: #0a3e6d;
}
.revisa-calendario {
  position: relative;
  background-image: url("../img/bg-revisa-calendario.jpg"); 
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.revisa-calendario .titulo-calendario {
 font-size: 2.6rem;
    font-family: 'GothamRoundedBold', sans-serif;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -1;
    color:#fff;
}

/* durante clases */

.proctorizer-section {
  background-image: url("../img/bg-proctorizer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}


/*.proctorizer-section::before {
  content: "";
  position: absolute;
  inset: 0;
   background: rgba(0, 0, 0, 0.3);  
  z-index: 1;
}*/

.proctorizer-section .container-fluid {
  position: relative;
  z-index: 2;
}

.proctorizer-box {
  background: linear-gradient(to right,  #004ca5, #00a1e2);
  border-radius: 0px 6px 6px 0px;
  color: #fff;
}
.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #004ca5;
}



/* ===== CONTENEDOR GENERAL ===== */
.custom-tabs-section {
  padding: 0 20px 60px 20px;
  background-color: #fff;
}

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  justify-content: space-between;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  gap: 10px;
}

.tab {
  flex: 1;
  text-align: center;
  color: #fff;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.3s;
  position: relative;
  border-radius: 0;
  
}
.tab.celeste{
  background: linear-gradient(to right, #00a1e2, #008bd6);
}
.tab.azul-intermedio{
   background: linear-gradient(to right, #008bd6, #004ca5);
}
.tab.azul-deep{
   background: linear-gradient(to right, #004ca5, #004ca5);
}


.tab.active {
  
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== TRIÁNGULO INDICADOR ===== */
.triangle-indicator {
  position: relative;
  height: 0;
}

.triangle-indicator::after {
  content: "";
  position: absolute;
  top: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #004ca5;
  transition: all 0.4s ease;
  left: 16%;
  transform: translateX(-50%);
}

.triangle-indicator.center::after {
  left: 50%;
}

.triangle-indicator.right::after {
  left: 83.5%;
}

/* ===== CONTENIDO =====
.tab-content {
  border: 1px solid #ddd;
  border-top: none;
  padding: 30px;
  border-radius: 0 0 6px 6px;
  background: #fff;
}
 */
.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

/*acordeon*/
.accordion-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(to right, #00a1e2, #004ca5);
  color: #fff;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}


.accordion-button[aria-expanded="true"] .icon-circle,
.accordion-toggle-btn[aria-expanded="true"] .icon-circle {
  transform: rotate(45deg);
}


.icon-circle:hover {
  transform: scale(1.1);
}


.accordion-body {
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
  padding: 15px 20px;
}


/* video modal*/
.video-section {
  position: relative;
}

.laptop-img {
  max-width: 600px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: #000;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #222;
}
@media (max-width: 992px) {
   .navbar-nav .nav-link {
    position: relative;
    text-align: center;
  }

  /* subrayado centrado y del tamaño del texto */
  .navbar-nav .nav-link.active::after,
  .navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -2px;
    height: 3px;
    background-color: red;
    border-radius: 2px;

    width: 40%;        /* se ajusta al texto */
    left: 50%;                 /* centrado */
    transform: translateX(-50%);
    padding: 0 4px;            /* opcional */
  }
   .carousel-item {
    height: auto;
    padding: 60px 0;
    height: 80vh;
  }
  .image-container img {
    bottom: 0;
    margin-top: 20px;
  }
  .content-box {
    margin: 0 auto 30px;
    max-width: 90%;
    padding: 25px 30px;
  }
  .image-container {
    text-align: center;
  }
}

@media(max-width: 768px) {
  .logo-section {
    justify-content: center !important;
  }
  .subtitle {
    margin-bottom: 1rem;
  }
  .logo {
    margin-top: 50px; 
    width: 100px;
    margin-right: 0;
    position: relative;
  }
  .titulos{
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .titulos-white{
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .revisa-calendario .titulo-calendario{
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .btn-program {
    width: 100%;
  }
  .header-section {
    min-height: 30vh;
  }
   .header-section h1 {
    font-size: 1.8rem;
    line-height: 2rem;
  }

  .buttons {
    flex-direction: column;
  }
  .bg-left,
  .bg-right {
    height: 260px;
  }

  h2 {
    font-size: 22px;
    text-align: center !important;
  }
   .metodologia-content {
    text-align: center !important;
  }

  .titulo-metodologia {
    font-size: 18px;
  }

  .descripcion-metodologia {
    font-size: 22px;
    line-height: 26px;
  }
   .right-content {
   width: 100%;
   justify-content: center;
   height: auto;
  }
  .student-img {
  max-width: 90%;
  height: auto;
}

  .student-img-home {
    height: auto; 
    width: 100%;
    object-position: bottom;
  }
   .slider-container {
    height: auto; 
  }

  .right-content-home {
    position: relative;
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }

  .left-content-home {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-left: 0;
  }
  .content-box h2 {
    font-size: 40px;
    line-height: 40px;
    padding-bottom: 0.5rem;
  }
  .content-box p {
    font-size: 20px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0;
  }
.content-box-left, .content-box-right{
  margin-right: 0;
  margin-left: 0;
}
/*tab responsivo*/
.tab-img-wrapper {
    width: 200px;
    height: 200px;
  }
  .tab-text {
    font-size: 1rem;
  }
  #tab1.tab-pane.active .tab-box::before {
    left: 20%;
  }
  #tab3.tab-pane.active .tab-box::before {
    right: 20%;
  }

    .proctorizer-box {
    text-align: left;
    border-radius: 6px;
  }
  .proctorizer-section {
    padding: 40px 15px;
  }

   .tabs {
    flex-direction: column;
  }

  .tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .triangle-indicator::after {
    display: none; 
  }
 .tabs-nav-clases {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 5px;
  }

  .tabs-nav-clases .nav-item-clases {
    flex: 1;
    max-width: 200px;
    text-align: center;
  }

  .tabs-nav-clases .tab-btn {
    width: 100%;
    margin: 0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #004a98;
    padding: 8px;
    border-radius: 10px;
  }
  .tab-btn.active{
    background: #004a98;
    color: #fff;
  }
  .tab-btn.active .tab-icon-mobile i,
  .tab-btn.active .tab-icon-mobile span {
  color: #fff;
  }

  .tabs-nav-clases .tab-img-wrapper {
    display: none;
  }

  .tabs-nav-clases .tab-icon-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #004a98;
    text-align: center;
  }


  .tabs-nav-clases .tab-icon-mobile i {
    font-size: 1.8rem;
    color: #004a98;
    margin-bottom: 4px;
  }
}

/* ===== MODAL DE BÚSQUEDA GLOBAL ===== */
.search-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

.search-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}

.search-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.search-results-container {
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  transition: all 0.2s ease;
  border-radius: 5px;
}

.search-result-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .search-modal-content {
    margin: 10% 1rem;
    max-height: 85vh;
  }
  
  .search-modal-header,
  .search-modal-body {
    padding: 1rem;
  }
}
