/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Poppins', Sans-serif, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100px;
}

.logo img {
  height: 80px;
  display: block;
  margin-top: 30px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-left {
  max-width: 640px;
  color: #fff;
}

.hero-title {
  font-size: 140px;
  line-height: 0.85;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-sub span {
  display: inline-block;
  color: #fff;
  padding: 6px 12px;
  margin-bottom: 8px;
  font-size: 30px;
  border-radius: 2px;
}

.hero-sub span+span {
  margin-top: 8px;
}

/* Form */
.lead-form {
  width: 500px;
  background: rgba(255, 255, 255, 0.96);
  padding: 28px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}


/* Responsive */
@media (max-width: 1000px) {
  .hero-title {
    font-size: 100px;
  }

  .lead-form {
    width: 340px;
  }
}

@media (max-width: 800px) {
  .hero-inner {
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px;
  }

  .hero-left {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 72px;
  }

  .lead-form {
    width: 100%;
    max-width: 460px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 56px;
  }

  .hero-sub span {
    font-size: 16px;
  }
}

/* Small tweaks for accessibility */
input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(9, 18, 214, 0.18);
  outline-offset: 2px;
}

/* Descripción section */
.section-descripcion {
  background: #fff;
}

.descripcion-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.desc-left h2 {
  font-size: 32px;
  color: #1a2b48;
  margin-bottom: 18px;
  font-weight: 500;
  margin-top: 38px;
}

.desc-left p {
  color: #444;
  line-height: 2;
  margin-bottom: 16px;
}

.desc-right {
  width: 100%;
  height: 100%;
  background: url('../img/Ejecutiva-scaled.webp');
  background-size: cover;
  background-position: 30% 50%;
  background-repeat: no-repeat;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-row {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.info-item {
  display: flex;
  gap: 0px;
  align-items: center;
  min-width: 100px;
}

.info-item .icon {
  font-size: 22px;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item .label {
  font-size: 13px;
  color: #333;
  font-weight: 600;
}

.info-item .muted {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 100;
}

@media (max-width: 980px) {
  .descripcion-inner {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 720px) {
  .descripcion-inner {
    grid-template-columns: 1fr;
  }

  .desc-right {
    order: -1;
  }

  .desc-right img {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Menu/banner section */
.section-menu {
  background: #f5f5f7;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-bar {
  display: block;
}

.menu-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu-item a {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 10px;
  transition: transform 1s ease, color 0.25s ease;
  transform-origin: center;
}

.menu-item a:hover {
  transform: scale(1.18);
  color: #0912d6;
}

@media (max-width: 720px) {
  .menu-list {
    gap: 18px;
    flex-wrap: wrap;
  }

  .menu-item a {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .menu-list {
    flex-direction: column;
    gap: 10px;

    /* Tabs section styles */
    .section-tabs {
      background: #f3f4f6;
      padding: 44px 0 72px 0;
    }

    .tabs {
      max-width: 1100px;
      margin: 0 auto;
    }

    .tabs-nav {
      display: flex;
      gap: 14px;
      margin-bottom: 28px;
    }

    .tab-btn {
      background: transparent;
      border: 2px solid rgba(12, 23, 94, 0.12);
      padding: 12px 22px;
      border-radius: 10px;
      cursor: pointer;
      font-weight: 600;
      color: #222;
      transition: background-color 0.25s ease, transform 0.2s ease;
    }

    .tab-btn.active {
      background: #08106a;
      color: #fff;
      border-color: rgba(8, 16, 106, 0.95);
      box-shadow: 0 6px 16px rgba(8, 16, 106, 0.18);
    }

    .tabs-panels {
      position: relative;
    }

    .tab-panel {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 1s ease, transform 1s ease;
      max-width: 100%;
      display: none;
    }

    .tab-panel.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .tabs-panels {
      overflow: hidden;
      transition: height 1s ease;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    .tab-panel h3 {
      margin: 0 0 12px 0;
      font-size: 22px;
      color: #1f2937;
    }

    .tab-panel p {
      margin: 0;
      color: #374151;
      line-height: 1.9;
      font-size: 16px;
    }

    @media (max-width: 720px) {
      .tabs-nav {
        flex-direction: column;
        gap: 10px;
      }

      .tab-btn {
        width: 100%;
        text-align: left;
      }
    }

  }

  .menu-item a {
    transform-origin: left center;
  }
}

/* Competencias section (visual refinement) */
.section-competencias {
  background: #000040;
  color: #fff;
  padding: 100px 0;
}

.section-competencias .container {
  padding-left: 48px;
  padding-right: 48px;
}

.section-competencias .section-title {
  color: #fff;
  text-align: left;
  font-size: 36px;
  margin: 0 0 36px 0;
  font-weight: 500;
}

.competencias-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.competencia-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;

}

.competencia-row {
  display: contents;
}

.competencia-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #262782;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 30px rgba(11, 8, 50, 0.45);
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.competencia-item h3 {
  margin: 0;
  font-size: 22px;
  color: #fff;
  font-weight: 500;
  align-self: center;
}

.competencia-item p {
  grid-column: 2 / -1;
  margin: 0;
  color: #cbd3ff;
  line-height: 1.95;
  font-size: 15px;
  max-width: 620px;
}

@media (max-width: 900px) {
  .competencias-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .section-competencias .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 720px) {
  .competencia-item {
    grid-template-columns: 60px 1fr;
  }

  .competencia-item p {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}



.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 1200px;
padding-bottom: 100px;  


}

.tabs label {
  background: #f1f1f1;
  color: #434343;
  cursor: pointer;
  display: block;

  margin-right: 0.3rem;
  order: initial;
  padding: 1rem 2rem;
  transition: background ease 0.3s;
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.tabs .tab-content {

  display: none;
  flex-grow: 1;
  padding: 1rem;
  border-radius: 8px;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs input[type="radio"]:checked+label {
  background: #000080;
  color: #FFFFFF;
  border-radius: 8px;


}

.tabs input[type="radio"]:checked+label+.tab-content {
  display: block;

}

.tab-content h2 {
  font-family: "Poppins", Sans-serif;
  font-weight: 600;
  line-height: 54px;
  letter-spacing: 0px;
  color: #434343;
}

.tab-content  {

  color: #666666;

  text-align: left;

  font-family: "Poppins", Sans-serif;
  line-height: 2em;
}

@media (min-width: 10em) {
  .tabs .tab-content {
    order: 99
  }

  .tabs label {
    order: 1;
  }

  .tabs label {
    margin-right: 0.3rem;
    margin-top: 0;
    width: auto;
  }
}

/* Plan de Estudios Section */

.plan-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 40px;
  align-items: flex-start;
}

.plan-left {
  display: flex;
  justify-content: center;
  background: url('../img/MBA_EXECUTIVE.webp');
  background-size: cover;
  background-position: 66% 45%;
  height: 100%;
  background-repeat: no-repeat;
}

.plan-left img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}


  .plan-right h2 {
   font-size: 32px;
  color: #1a2b48;
  margin-bottom: 18px;
  font-weight: 500;
  margin-top: 38px;
  }

.courses-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #222;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background-color 0.3s ease;
  background-color: #f5f5f5;
  position: relative;
}

.accordion-header:hover {
  background-color: #f5f5f5;
}

.accordion-header::after {
  
  content: '›';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  transform-origin: center;
  margin-left: auto;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item p {
  padding: 20px 20px 16px 20px;
  color: #666;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .plan-inner {
    grid-template-columns: 1fr;
  }

  .plan-right h2 {
   font-size: 32px;
  color: #1a2b48;
  margin-bottom: 18px;
  font-weight: 500;
  margin-top: 38px;
  }
}

@media (max-width: 720px) {
  .section-plan {
    padding: 40px 20px;
  }

  .plan-inner {
    gap: 20px;
  }

  .plan-right h2 {
    font-size: 24px;
  }

  .accordion-item summary {
    font-size: 13px;
    padding: 14px 16px;
  }

  .accordion-item p {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

/* Oportunidades Laborales Section */
.section-oportunidades {
  background: #f5f5f7;
  padding: 60px 20px;
}

.oportunidades-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.oportunidades-left {
  padding: 20px 0;
}

.oportunidades-left h2 {
  
 font-weight: 500;
 
  color: #1a2b48;
  margin-bottom: 20px;
  line-height: 1.2;
}

.oportunidades-left p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.oportunidades-left strong {
 font-weight: 500;
  color: #222;
}

.oportunidades-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.oportunidades-icon {
  width: 70px;
  height: 70px;
  background: #08106a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.oportunidades-right h3 {
  font-size: 18px;
font-weight: 500;
  color: #222;
  margin: 0;
}

.work-areas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-areas li {
  font-size: 15px;
  color: #555;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.work-areas li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #08106a;
  font-weight: bold;
}

.accent-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #08106a, transparent);
  margin-top: 20px;
}

@media (max-width: 900px) {
  .oportunidades-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oportunidades-left h2 {
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .section-oportunidades {
    padding: 40px 20px;
  }

  .oportunidades-left h2 {
    font-size: 24px;
  }

  .oportunidades-left p {
    font-size: 14px;
  }

  .work-areas li {
    font-size: 14px;
  }
}

/* Cuerpo Docente Section */
.section-docentes {
  background: #fff;
  padding: 60px 20px;
}

.docentes-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-docentes h2 {

  font-weight: 500;
  color: #222;
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: left;
}

.section-docentes p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  text-align: left;
}

@media (max-width: 900px) {
  .section-docentes h2 {
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .section-docentes {
    padding: 40px 20px;
  }

  .section-docentes h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .section-docentes p {
    font-size: 14px;
  }
}
.section-carousel {
  padding: 60px 20px;
  background-color: #f8f9fc;
}

.carousel-title {
  font-size: 32px;
  color: #1a2b48;
  margin-bottom: 18px;
  font-weight: 500;
  margin-top: 38px;
  margin-bottom: 40px;
  line-height: 1.2;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
 
 
  

  font-size: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #222;
}

.carousel-btn:hover {
 
  color: #000080;
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-container {
  overflow: hidden;
  width: calc(100% + 32px);
  margin: 0 40px 0 calc(40px - 16px);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 32px;
}

.carousel-card {
  flex: 0 0 calc(33.33% - 21px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e0e0e0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card h3 {
  text-align: center;
  font-weight: 500;
  color: #000080;
  padding: 16px 16px 8px;
  line-height: 1.3;
}

.carousel-card p {
 
  color: #000040;
  font-weight: 300;
  padding: 0 16px 16px;
  line-height: 1.6;
  text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .carousel-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 900px) {
  .carousel-title {
    font-size: 28px;
  }

  .carousel-container {
    margin: 0 30px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .carousel-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 720px) {
  .carousel-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .carousel-container {
    margin: 0 20px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .carousel-card {
    flex: 0 0 calc(100% - 0px);
  }

  .card-image {
    height: 150px;
  }

  .carousel-card h3 {
    font-size: 14px;
    padding: 14px 14px 6px;
  }

  .carousel-card p {
    padding: 0 14px 14px;
    font-size: 12px;
  }

  .accordion-item p {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

/* Teachers Grid */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.teacher-card {
  background: #f8f9fc;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.teacher-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #e0e0e0;
}

.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  padding: 20px 20px 8px;
  margin: 0;
  line-height: 1.2;
}

.teacher-card p {
  font-size: 14px;
  color: #666;
  padding: 0 20px 20px;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teacher-image {
    height: 240px;
  }

  .teacher-card h3 {
    font-size: 18px;
  }

  .teacher-card p {
    font-size: 13px;
  }
}

/* Footer */
.footer {
  background: #001f5c;
  color: #fff;
  padding: 60px 20px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 50px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5ff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #cbd5ff;
  line-height: 1.6;
}

.footer-contact a {
  color: #cbd5ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact strong {
  color: #fff;
  font-weight: 700;
}

.footer-certifications {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 0;
}

.certifications {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
}

.certifications img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  padding: 30px 0;
}

.footer-bottom-content {
  border-top: solid 1px rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-content p {
  margin: 0;
  font-size: 14px;
  color: #cbd5ff;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  color: #cbd5ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .certifications {
    gap: 30px;
  }

  .certifications img {
    height: 80px;
  }
}

@media (max-width: 720px) {
  .footer {
    padding: 40px 20px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .certifications {
    flex-direction: column;
    gap: 20px;
  }

  .certifications img {
    height: 70px;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-contact p {
    font-size: 14px;
  }
}