/* Variables y configuración global */
:root {
  --primary-color: #0056a6;
  --secondary-color: #00aaff;
  --dark-color: #343a40;
  --light-blue: #e6f7ff;
  --font-family: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--light-blue);
  font-family: var(--font-family);
  color: var(--dark-color);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Header / Navbar */
.navbar {
  background-color: var(--primary-color);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-link {
  margin: 0 0.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Hero Section y Carousel (Altura: 500px) */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-img {
  object-fit: cover;
  height: 500px;
  width: 100%;
  filter: brightness(0.75);
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  
  bottom: 50%;
  transform: translateY(50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color:white;
}

.carousel-caption h5 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color:white;
}

.carousel-caption p {
  font-size: 1.2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.3));
  z-index: 1;
}

/* Main content */
main {
  padding: 2rem 0;
}

/* Tarjetas (Team, etc.) */
.card {
  overflow: hidden;
  max-width: 300px;
  margin: 1rem auto;
}

.card-img-top {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer Minimalista */
.footer-minimal {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.instagram-handle {
  font-weight: 500;
}

.instagram-handle:hover {
  color: var(--secondary-color);
}
/* Tipografía general */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  color: #333;
  /* background-color: #ffffff; */ /* Fondo original respetado */
}

/* Títulos */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #2c3e50;
}

/* Título principal */
h2.section-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

/* Párrafos */
p {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 1rem;
}

/* Enlaces */
a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}

/* Tablas curriculares */
.tabla-anual th, .tabla-anual td {
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
  padding: 0.5rem;
}
.tabla-anual thead th {
  background-color: var(--primary-color, #0056a6);
  color: white;
}

/* Imágenes responsive */
.img-fluid {
  border-radius: 10px;
}

/* Ajustes de secciones */
.section {
  padding: 3rem 0;
}

/* Alineación de columnas iguales */
@media (min-width: 768px) {
  .equal-height-row {
    display: flex;
    align-items: stretch;
  }
  .equal-height-img-container {
    display: flex;
    flex-direction: column;
  }
  .equal-height-img-container img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
  }
}

