
:root {
    /* Colores */
    --color-primary: #FFB800;
    --color-secondary: #FF0000;
    --color-tertiary: #000080;
    --color-white: #ffffff;
    --color-light: #f5f9ff;
    --color-gray: #6c757d;
    --color-dark: #333333;
    
    /* Tipografía */
    --font-family: 'Kanit', sans-serif;
    --fs-xs: 0.875rem;
    --fs-sm: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.5rem;
    --fs-xl: 2rem;
    --fs-xxl: 2.5rem;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Layout */
    --container-width: 1300px;
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 30px;
  }
  
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: #25D366;
    color: var(--color-white);
  }
  
  .btn-primary:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--color-tertiary);
    border: 2px solid var(--color-tertiary);
  }
  
  .btn-secondary:hover {
    background-color: var(--color-tertiary);
    color: var(--color-white);
  }
  
  /* ==== Header ==== */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  
  .nav-logo img {
    width: 120px;
    height: auto;
  }
  
  .nav-menu {
    display: flex;
    gap: var(--spacing-sm);
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-tertiary);
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--color-white);
    background-color: var(--color-tertiary);
  }
  
  .has-submenu {
    position: relative;
  }
  
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--color-white);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
  }
  
  .submenu-link:hover {
    background-color: rgba(0,0,128,0.05);
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-tertiary);
  }
  .menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-tertiary);
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* ==== Hero Section ==== */
  .hero-section {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,223,0,0.1));
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-text h1 {
    font-size: var(--fs-xxl);
    color: var(--color-tertiary);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-text p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-buttons {
    display: flex;
    gap: var(--spacing-md);
  }
  
  .hero-image {
    flex: 1;
    position: relative;
  }
  
  .hero-image img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 250px;
  }
  
  .floating-card h3 {
    color: var(--color-tertiary);
    margin-bottom: 0.5rem;
  }
  
  .floating-card p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-size: var(--fs-xs);
  }
  
  .btn-floating {
    display: block;
    text-align: center;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: background-color 0.3s;
  }
  
  .btn-floating:hover {
    background: rgba(255,0,0,0.9);
  }
  

  
 /* ==== Sección Nosotros ==== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa;
    overflow: hidden;
  }
  
  .section-title {
    font-size: 2rem;
    color: #000;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }

  
  .title-underline {
    width: 80px;
    height: 4px;
    background-color: #000080;
    margin: 0 auto 40px;
    border-radius: 2px;
  }
  
  .about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
  }
  
  .about-text {
    flex: 0 0 45%;
    padding-right: 20px;
    text-align: center;
  }
  
  .about-description {
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin-bottom: 40px;
    font-size: 1.05rem;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-iconA {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000080;
    font-size: 1.2rem;
    border: 2px solid #000080;
    transition: all 0.3s ease;
  }
  
  .social-iconA:hover {
    background-color: #000080;
    color: #fff;
    transform: translateY(-3px);
  }
  
  .about-right-column {
    flex: 0 0 50%;
    position: relative;
    padding-bottom: 100px; 
  }
  
  .about-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 95%;
    margin: 0 auto;
  }
  
  .stat-card {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .stat-number {
    color: #000080;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .star-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
    color: #FFD700;
  }
  
  .stat-text {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
  }

  .mision-vision-section {
    padding: 40px 0 80px;
    background-color: #f8f9fa;
    position: relative;
  }
  
  .mision-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
  }
  
  .mision-vision-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  .mision-vision-card {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: justify;
    
  }
  
  .mision-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
  
  .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,128,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tertiary);
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .mision-vision-card h3 {
    font-size: var(--fs-lg);
    color: var(--color-tertiary);
    margin: 0;
    font-weight: 600;
  }
  
  .card-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    margin: 15px 0;
    border-radius: 3px;
  }
  
  .mision-vision-card p {
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
    font-size: var(--fs-sm);
  }
  
 .mision-vision-section {
      padding: 40px 0 80px;
      background-color: #f8f9fa;
      position: relative;
  }
    
  .mision-vision-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 1px;
  }
    
  .mision-vision-content {
      display: flex;
      gap: 30px;
      justify-content: center;
      flex-wrap: wrap;
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 var(--spacing-md);
  }
    
  .mision-vision-card {
      flex: 1;
      min-width: 400px;
      max-width: 600px;
      background-color: white;
      border-radius: var(--border-radius-md);
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      padding: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: justify;
  }
    
  .mision-vision-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
    
  .card-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 15px;
  }
    
  .icon-container {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: rgba(0,0,128,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-tertiary);
      font-size: 1.2rem;
      flex-shrink: 0;
  }
    
  .mision-vision-card h3 {
      font-size: var(--fs-lg);
      color: var(--color-tertiary);
      margin: 0;
      font-weight: 600;
  }
    
  .card-divider {
      width: 60px;
      height: 3px;
      background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
      margin: 15px 0;
      border-radius: 3px;
  }
    
  .mision-vision-card p {
      color: var(--color-gray);
      line-height: 1.7;
      margin: 0;
      font-size: var(--fs-sm);
  }
    
  /* Tablets */
  @media (max-width: 768px) {
      .mision-vision-content {
          flex-direction: column;
      }
      
      .mision-vision-card {
          max-width: 100%;
          min-width: auto;
      }
  }
  
  /* Celulares */
  @media (max-width: 480px) {
      .mision-vision-section {
          padding: 30px 0 60px;
      }
      
      .mision-vision-content {
          gap: 20px;
          padding: 0 var(--spacing-sm, 15px);
      }
      
      .mision-vision-card {
          padding: 20px;
          text-align: left;
      }
      
      .card-header {
          gap: 10px;
      }
      
      .icon-container {
          width: 40px;
          height: 40px;
          font-size: 1rem;
      }
      
      .mision-vision-card h3 {
          font-size: calc(var(--fs-lg) * 0.9);
      }
      
      .card-divider {
          width: 50px;
          margin: 10px 0;
      }
      
      .mision-vision-card p {
          font-size: calc(var(--fs-sm) * 0.95);
          line-height: 1.6;
      }
  }
  
  /* Celulares pequeños */
  @media (max-width: 320px) {
      .mision-vision-section {
          padding: 20px 0 40px;
      }
      
      .mision-vision-content {
          gap: 15px;
      }
      
      .mision-vision-card {
          padding: 15px;
      }
      
      .icon-container {
          width: 35px;
          height: 35px;
      }
  }

.servicios-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.servicios-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(0, 0, 128, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.servicios-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 184, 0, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  color: #000080;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: #FFB800;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px auto 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab {
  padding: 12px 25px;
  background-color: #fff;
  border: 2px solid #e9ecef;
  border-radius: 30px;
  color: #495057;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.service-tab.active,
.service-tab:hover {
  background-color: #000080;
  color: #fff;
  border-color: #000080;
  box-shadow: 0 5px 15px rgba(0, 0, 128, 0.2);
}

.services-grid {
  position: relative;
}

.service-category {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-category.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Tarjetas de servicios */
.service-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #000080, #FFB800);
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(0, 0, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: #000080;
}

.service-icon i {
  font-size: 28px;
  color: #000080;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  color: #fff;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #212529;
  margin-bottom: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card:hover h3 {
  color: #000080;
}

.service-card p {
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-actions {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #25D366;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
  margin-right: 8px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: transparent;
  color: #000080;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: rgba(0, 0, 128, 0.1);
}

/* Modales */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #adb5bd;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f8f9fa;
  z-index: 10;
}

.close-button:hover {
  color: #000080;
  background-color: #e9ecef;
}

.modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 0, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-icon i {
  font-size: 24px;
  color: #000080;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin: 0;
  color: #212529;
}

.modal-body {
  padding: 30px;
}

.modal-body p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-body ul {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.modal-body ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body ul li:last-child {
  border-bottom: none;
}

.modal-body ul li i {
  color: #198754;
}

.modal-footer {
  padding: 20px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e9ecef;
}

.modal-close-btn {
  padding: 12px 25px;
  background-color: #f8f9fa;
  border: none;
  border-radius: 30px;
  color: #495057;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background-color: #e9ecef;
}

.modal-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background-color: #25D366;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.modal-whatsapp-btn i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .service-tabs {
    gap: 10px;
  }
  
  .service-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-category {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .service-card {
    padding: 25px;
  }
  
  .service-category {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-close-btn, .modal-whatsapp-btn {
    width: 100%;
  }
}

/* Animaciones generales */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slideInUp {
  animation: slideInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }


/* Estilos corregidos para la sección de Universidades */
.universidades-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  min-height: 100vh;
}

.universidades-section .section-title {
  color: #000080;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 15px;
  padding: 60px 0 20px;
}

.section-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.university-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-description {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
}

/* Buscador mejorado */
.search-container {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  box-shadow: 0 5px 20px rgba(0, 0, 128, 0.15);
}

.search-icon {
  position: absolute;
  left: 20px;
  font-size: 1.2rem;
  color: #000080;
}

#buscadorUniversidad {
  width: 100%;
  border: none;
  padding: 15px 20px 15px 50px;
  font-size: 1rem;
  background: transparent;
  outline: none;
  color: #333;
}

#buscadorUniversidad::placeholder {
  color: #aaa;
}

#buscadorUniversidad {
  width: 100%;
  margin: 0 auto;
  border: 2px solid #D4A373;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  outline: none;
  display: block;
}

#buscadorUniversidad:focus {
  border-color: #77ACA2;
  box-shadow: 0px 0px 10px rgba(119, 172, 162, 0.5);
}

#sugerencias {
  width: 90%;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}


.list-group-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background-color: #f5f5f5;
  padding-left: 25px;
}

.list-group-item:last-child {
  border-bottom: none;
}

/* Tabs de universidades */
.university-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 40px;
  max-width: 600px;
}

.tab-button {
  padding: 12px 25px;
  background-color: #fff;
  border: 2px solid #000080;
  border-radius: 30px;
  color: #000080;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  flex: 1;
  text-align: center;
}

.tab-button.active, 
.tab-button:hover {
  background-color: #000080;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 128, 0.2);
}

/* Contenido de las tabs */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Tarjetas de universidad */
.card-wraper-Universidades {
  padding: 0 50px;
  margin-bottom: 50px;
  position: relative;
}

.card-list-Universidades {
  display: flex;
  padding-bottom: 30px;
}

.card-item-Universidades {
  flex: 0 0 auto;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.card-link-Universidades {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.card-link-Universidades:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.university-logo-container {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  overflow: hidden;
  background-color: #f8f9fa;
  margin-bottom: 20px;
  padding: 10px;
  transition: transform 0.3s ease;
}

.card-link-Universidades:hover .university-logo-container {
  transform: scale(1.1);
}

.card-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
  color: #333;
  transition: color 0.3s ease;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-link-Universidades:hover .card-title {
  color: #000080;
}


.university-more-btn {
  padding: 8px 20px;
  background-color: #e9ecef;
  color: #495057;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.card-link-Universidades:hover .university-more-btn {
  background-color: #000080;
  color: white;
}

.university-more-btn:hover {
  transform: scale(1.05);
}

/* Controles del slider */
.swiper-button-prev,
.swiper-button-next {
  color: #000080;
  width: 45px;
  height: 45px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #000080;
  color: white;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1.2rem;
}


.swiper-pagination-bullet {
  background: #000080;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #000080;
}

/* Modales mejorados para las universidades */
.university-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
  overflow-y: auto;
  padding: 20px 0;
}

.university-modal .modal-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.university-modal .close-button,
.university-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f1f1f1;
    transition: all 0.2s;
}

.university-modal .close-button:hover,
.university-modal .modal-close:hover {
    background-color: #ddd;
    color: #333;
}

.university-modal .modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 20px;
}

.university-modal .modal-logo {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  padding: 5px;
  flex-shrink: 0;
}

.university-modal .modal-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.university-modal .modal-header h2 {
  color: #333;
  font-size: 1.5rem;
  margin: 0;
  flex-grow: 1;
}

.university-modal .modal-body {
  padding: 20px 30px;
}

.university-modal .modal-body h3 {
  color: #000080;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.university-modal .modal-body h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #FFB800;
}

.university-modal .curso-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.university-modal .curso-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.university-modal .curso-list li:last-child {
  border-bottom: none;
}

.university-modal .curso-list li i {
  color: #000080;
  font-size: 1.1rem;
}

.university-modal .modal-description {
  color: #666;
  line-height: 1.6;
  margin-top: 20px;
}

.university-modal .modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.university-modal .modal-close-btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

.university-modal .modal-close-btn:hover {
  background-color: #eee;
}

.university-modal .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.university-modal .whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
}

/* Mantener los estilos de hover específicos para cada universidad */
.hover-cato { background: linear-gradient(to bottom, #fff, #fff); }
.hover-cato:hover { background: linear-gradient(45deg, #ffd700, #00274d); }

.hover-Ucsur { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Ucsur:hover { background: linear-gradient(to bottom, #0d1b2a, #0056b3); }

.hover-Esan { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Esan:hover { background: linear-gradient(to bottom, #ff0000, #ffffff); }

.hover-Uss { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Uss:hover { background: linear-gradient(to bottom, #00FF00, #FFFFFF); }

.hover-ulima { background: linear-gradient(to bottom, #fff, #fff); }
.hover-ulima:hover { background: linear-gradient(to top, #FF4500, #FFFFFF); }

.hover-upc { background: linear-gradient(to bottom, #fff, #fff); }
.hover-upc:hover { background: linear-gradient(to bottom, red, white); }

.hover-Upiura { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Upiura:hover { background: linear-gradient(to top, #5290e2, #FFFFFF); }

.hover-Upn { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Upn:hover { background: linear-gradient(to top, #FFC107, #2e2b2b); }

.hover-Usmp { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Usmp:hover { background: linear-gradient(to bottom, #FFFFFF, #da5151); }

.hover-Utec { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Utec:hover { background: linear-gradient(to bottom, #000000, #00BFFF); }

.hover-Utp { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Utp:hover { background: linear-gradient(to bottom, #FF0000, #FFFFFF); }

.hover-Ucv { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Ucv:hover { background: linear-gradient(to right, #FFFFFF, #FF0000); }

.hover-Untels { background: linear-gradient(to bottom, #fff, #fff); }
.hover-Untels:hover { background: linear-gradient(to top, #F5A623, #FFFFFF); }

.hover-UNMSM { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNMSM:hover { background: linear-gradient(to top, #C9A341, #452416); }

.hover-UNI { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNI:hover { background: linear-gradient(to top, #800000, #D3D3D3); }

.hover-UNAM { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNAM:hover { background: linear-gradient(to top, #228B22, #FFD700); }

.hover-UNFV { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNFV:hover { background: linear-gradient(to bottom, #000000, #FFA500); }

.hover-UNAC { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNAC:hover { background: linear-gradient(to bottom, #0033A0, #FFD700); }

.hover-UNSA { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNSA:hover { background: linear-gradient(to top, #800000, #FFD700); }

.hover-UNCP { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNCP:hover { background: linear-gradient(to bottom, #006400, #FFD700); }

.hover-UNCA { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNCA:hover { background: linear-gradient(to bottom, #0033A0, #FFD700); }

.hover-UNSCH { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNSCH:hover { background: linear-gradient(to bottom, #FFD700, #8B0000); }

.hover-UNSAAC { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UNSAAC:hover { background: linear-gradient(to top, #8B0000, #FFD700); }

.hover-UCSP { background: linear-gradient(to bottom, #fff, #fff); }
.hover-UCSP:hover { background: linear-gradient(to bottom, #1C1C1C, #E0E0E0); }

/* Responsive para tablets y móviles */
@media (max-width: 992px) {
  .university-tabs {
    flex-wrap: wrap;
  }
  
  .tab-button {
    width: 100%;
    text-align: center;
  }
  
  .university-modal .modal-content {
    width: 95%;
  }
  
  .university-modal .modal-header {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px 20px;
  }
  
  .university-modal .modal-logo {
    width: 70px;
    height: 70px;
  }
  
  .university-modal .modal-header h2 {
    margin-top: 10px;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .search-wrapper {
    max-width: 100%;
  }
  
  .tab-button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .university-modal .modal-content {
    max-height: 80vh;
  }
  
  .university-modal .modal-footer {
    flex-direction: column;
    gap: 10px;
  }
  
  .university-modal .modal-close-btn,
  .university-modal .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
  
  .card-item-Universidades {
    width: 100%;
  }
  
  .card-link-Universidades {
    max-width: 100%;
  }
}

/* Estilos optimizados para la sección Referencias */
.Referencias-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  position: relative;
}

.Referencias-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.Referencias-section .section-title {
  font-size: 2.2rem;
  color: #000080;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.Referencias-section .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFB800;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Contenedor del slider optimizado */
.referencias-slider-container {
  margin: 0 auto;
  max-width: 900px; /* Ancho controlado para el carrusel */
  padding: 0 20px;
}

.referencias-slider {
  padding-bottom: 50px;
}

/* Tarjetas de testimonio más pequeñas */
.testimonio-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  padding: 10px;
  border: 1px solid #eee;
}

.testimonio-img {
  width: 100%;
  height: auto;
  max-height: 450px; /* Control de altura */
  display: block;
  object-fit: contain; /* Mantiene la proporción */
}

/* Controles de navegación */
.Referencias-section .swiper-button-prev,
.Referencias-section .swiper-button-next {
  color: #000080;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.Referencias-section .swiper-button-prev:hover,
.Referencias-section .swiper-button-next:hover {
  background: #f0f0f0;
}

.Referencias-section .swiper-button-prev::after,
.Referencias-section .swiper-button-next::after {
  font-size: 1rem;
}

.Referencias-section .swiper-pagination-bullet {
  background: #000080;
  opacity: 0.5;
}

.Referencias-section .swiper-pagination-bullet-active {
  opacity: 1;
  background: #000080;
}

/* Botón de acción CTA */
.referencias-cta {
  text-align: center;
  margin-top: 20px;
}

.referencias-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: #25D366;
  color: white;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.referencias-btn:hover {
  background: #128C7E;
}

.referencias-btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .referencias-slider-container {
      max-width: 100%;
  }
  
  .Referencias-section .section-title {
      font-size: 1.8rem;
  }
  
  .referencias-btn {
      width: 100%;
      justify-content: center;
  }
}
.contact-submit {
  background-color: #000080;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.contact-submit i {
  font-size: 1.2rem;
  margin-right: 8px;
}

.contact-submit.submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-submit.submitting i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Sección de Contacto */
.contact-section {
  background-color: #000080; /* Navy blue background */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.contact-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-content {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.contact-title {
  text-align: center;
  color: #000080;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #000080;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  opacity: 1;
}

.contact-submit {
  background-color: #000080;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.contact-submit i {
  font-size: 1.2rem;
}

/* University Input Specific Styling */
#university {
  background-color: #f8f9fa;
  border: 2px solid #000080;
  font-weight: 500;
  color: #000080;
}

#university::placeholder {
  color: #6c757d;
}

/* Responsive Design */
@media (max-width: 576px) {
  .contact-container {
      padding: 0 15px;
  }

  .contact-content {
      padding: 30px 20px;
  }

  .contact-title {
      font-size: 1.6rem;
  }
}
/* Sección de Contacto */
.contact-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.contact-container {
  max-width: 600px; /* Reduced width for more compact design */
  margin: 0 auto;
  padding: 0 15px;
}

.contact-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d4d7;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #000080;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  opacity: 1;
}

.contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 30px;
  background-color: #000080;
  color: white;
  border: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.contact-submit i {
  font-size: 1.2rem;
}

/* Estilos de submitting */
.contact-submit.submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 576px) {
  .contact-container {
      padding: 0 10px;
  }

  .contact-content {
      padding: 25px;
  }

  .form-group label {
      font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
      padding: 10px 12px;
      font-size: 0.9rem;
  }

  .contact-submit {
      width: 100%;
      justify-content: center;
  }
}
/* Sección de Contacto */
.contact-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-content {
  display: flex;
  gap: 30px;
  align-items: stretch;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contact-info {
  flex: 0 0 35%;
  background-color: #000080;
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-details {
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact-detail i {
  margin-right: 10px;
  font-size: 1rem;
  color: #FFB800;
  width: 25px;
  text-align: center;
}

.contact-social {
  display: flex;
  gap: 10px;
}

.contact-social .social-icon {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.contact-social .social-icon:hover {
  background-color: #FFB800;
  color: #000080;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  flex: 0 0 65%;
  padding: 30px 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #000080;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.error-message {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 3px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  opacity: 1;
}

.contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contact-submit i {
  font-size: 1rem;
}

/* Estilos de submitting */
.contact-submit.submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-section {
      min-height: auto;
      padding: 40px 0;
  }

  .contact-content {
      flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
      flex: 0 0 100%;
      padding: 20px;
  }
}

@media (max-width: 576px) {
  .contact-section {
      padding: 20px 0;
  }

  .contact-form {
      gap: 10px;
  }

  .form-group label {
      font-size: 0.8rem;
  }

  .form-group input,
  .form-group textarea {
      padding: 8px 10px;
      font-size: 0.8rem;
  }
}
/* Sección de Contacto */
.contact-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-content {
  display: flex;
  gap: 50px;
  align-items: stretch;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contact-info {
  flex: 0 0 40%;
  background-color: #000080;
  color: white;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: white;
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-detail i {
  margin-right: 15px;
  font-size: 1.2rem;
  color: #FFB800;
  width: 30px;
  text-align: center;
}

.contact-detail span {
  opacity: 0.9;
}

.contact-social {
  display: flex;
  gap: 15px;
}

.contact-social .social-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-social .social-icon:hover {
  background-color: #FFB800;
  color: #000080;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  flex: 0 0 60%;
  padding: 50px 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #000080;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  opacity: 1;
}

.contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contact-submit i {
  font-size: 1.2rem;
}

/* Estilos de submitting */
.contact-submit.submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
/* Contenedor de botones */
.contact-form-actions {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-top: 15px;
}

/* Estilo base de botones */
.contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 10px;
}

/* Botón de WhatsApp */
.contact-btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.contact-btn-whatsapp:hover {
  background-color: #128C7E;
}

/* Botón de Correo */
.contact-btn-email {
  background-color: #000080;
  color: white;
}

.contact-btn-email:hover {
  background-color: #0056b3;
}

/* Iconos de los botones */
.contact-btn i {
  font-size: 1.2rem;
}

/* Estados de submitting */
.contact-btn.submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-btn.submitting i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-content {
      flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
      flex: 0 0 100%;
      padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact-section {
      padding: 40px 0;
  }

  .contact-form {
      gap: 15px;
  }

  .form-group label {
      font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
      padding: 10px 12px;
      font-size: 0.9rem;
  }
}
/* Footer Styles */
.site-footer {
  background-color: #000080;
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 15px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #FFB800;
  color: #000080;
  transform: translateY(-3px);
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #FFB800;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column ul li i {
  color: #FFB800;
  width: 20px;
  text-align: center;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FFB800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #FFB800;
}
@media (max-width: 992px) {
  .footer-content {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
      grid-template-columns: 1fr;
  }

  .footer-legal {
      flex-direction: column;
      text-align: center;
      gap: 15px;
  }

  .footer-legal-links {
      justify-content: center;
  }
}

