/* 
 * Style.css - Estilos principales
 * Diseño idéntico a UREAL.edu.bo
 * Bootstrap 5.3 + Custom

 *  color principal? #003b61 #1f2e4f
 * púrpura #72246c 
 */
@import url("./fonts.css");

:root {
  --primary-color: #9b1a2f;
  --text-color: #1b2945;
  --secondary-color: #72246c;
  --celeste-color: #9b1a2f;
  --tertiary-color: #72246c;
  --danger-color: #ff5e00;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --gray-light: #bdc3c7;
  --images-mision: url("../images/misionfondo.png");
}

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

button {
  background: none;
  width: auto;
}

body {
  font-family: "Gotham", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #374151;
  line-height: 1.6;
  font-weight: 500;
}

a {
  text-decoration: none !important;
}

.categoria {
  padding: 15px;
  border-radius: 5px;
}

.categoria h2 {
  margin-top: 0;
  color: #333;
  font-size: 1.4em;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  font-weight: bold;
}

.categoria ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.categoria li {
  margin-bottom: 5px;
  color: var(--celeste-color);
}

.categoria .listasDeco li {
  color: var(--text-color);
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background-color: #1f2937 !important;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.top-bar small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* ==================== HEADER MAIN ==================== */
/* Positioning and mobile rules are in header.css (authoritative). 
   Only non-conflicting visual tweaks here. */

.logo-section {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo-section h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
}

.logo-section h1 a {
  color: inherit;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-section h1 a:hover {
  transform: translateY(-3px) scale(1.02);
}

.logo-section h1 a img {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-section h1 a:hover img {
  transform: scale(1.12) rotate(2deg);
}

.logo-section small {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: #6b7280;
}

.logo-section small {
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  font-weight: 500;
  color: var(--gray-light);
}

/* Buscador */
.form-control {
  border-color: #ddd;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 61, 130, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #002d5c;
  border-color: #002d5c;
}

.quick-links .btn {
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.quick-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-success {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-success:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-success {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-success:hover {
  background-color: #008a3d;
  border-color: #008a3d;
}

/* ==================== NAVBAR ==================== */
/* Mobile off-canvas, toggler, and overlay rules are in header.css (authoritative).
   Only desktop dropdown visual refinements remain here. */

/* Desktop */
@media (min-width: 992px) {
  .navbar-main .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 12px 16px !important;
    position: relative;
    margin: 0 5px;
  }

  .navbar-main .nav-link:hover {
    background: linear-gradient(
      135deg,
      rgba(0, 25, 166, 0.2),
      rgba(0, 53, 166, 0.1)
    );
    border-radius: 6px;
    transform: translateY(-2px);
  }

  .navbar-main .nav-link.active {
    background-color: rgba(0, 39, 166, 0.25);
    border-radius: 6px;
  }

  .navbar-main .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 8px;
    left: 50%;
    background: linear-gradient(90deg, var(--secondary-color), #003ad9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .navbar-main .nav-link:hover::after,
  .navbar-main .nav-link.active::after {
    width: 90%;
    box-shadow: 0 2px 8px rgba(0, 166, 81, 0.3);
  }

  .navbar-main .dropdown-menu {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 8px;
    background: white;
    animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .navbar-main .dropdown-item {
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
  }

  .navbar-main .dropdown-item:hover {
    border-left: 3px solid var(--secondary-color);
    background-color: rgba(155, 26, 47, 0.08);
    padding-left: 25px;
    transform: translateX(4px);
  }

  .navbar-main .dropdown-item.active {
    background: linear-gradient(
      90deg,
      rgba(155, 26, 47, 0.15),
      rgba(155, 26, 47, 0.05)
    );
    color: var(--primary-color) !important;
  }
}

.navbar-main .dropdown-item i {
  width: 20px;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.navbar-main .dropdown-item:hover i {
  color: var(--primary-color);
}

.navbar-main .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.08);
  margin: 5px 0;
}

/* ==================== ANIMACIONES ==================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 166, 81, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 166, 81, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 166, 81, 0);
  }
}

/* ==================== MAIN CONTENT ==================== */
main {
  min-height: calc(100vh - 400px);
}

.page-title {
  color: var(--dark-color);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
}

.section-title {
  color: rgb(73, 1, 1);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid var(--primary-color);
}

.card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
  font-weight: bold;
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: url("../images/heroPrincip.jpg");
  color: white;
  padding: 50px 0px;
  text-align: center;
  background-size: 120%;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  height: 107dvh;
  max-height: 800px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.basehero {
  background: url("../images/subhero.png");
  background-size: cover;
  color: white;
  display: grid;
  grid-template-columns: 2fr 3fr;
  padding: 25px 15px;
  justify-content: center;
  align-items: center;
  place-items: center;
  gap: 17px;
}

.accesos_main {
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 30px 60px;
}

.accesos_main > div {
  h2 {
    font-weight: 900;
    font-size: 1.35rem;
  }

  p {
    font-weight: 500;
    color: #ffffff;
  }

  a {
    color: #fff !important;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease !important;
  }

  a:hover {
    color: white !important;
    font-weight: 700;
  }
}

.enlace_accesos {
  color: #fff !important;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease !important;
}

.enlace_accesos:hover {
  color: rgb(155, 31, 0) !important;
  font-weight: 900;
}

.cont {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  font-weight: 100;
  font-size: 1.5rem;
}

.noticias {
  display: grid;
  background: #931a1a00 !important;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

.noticias-content {
  padding: 60px 40px;
  background: #f8f9fa;
}

.noticias-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.noticias-title i {
  color: var(--primary-color);
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.noticia-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.noticia-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.noticia-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

.noticia-card:hover .noticia-image::after {
  opacity: 0.1;
}

.noticia-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.noticia-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.noticia-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.noticia-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.noticia-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.noticia-link:hover {
  color: #111;
  gap: 10px;
}

.noticias-cta {
  text-align: center;
  padding-top: 1rem;
}

.btn-noticias-all {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(219, 7, 11, 0.3);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-noticias-all:hover {
  background: #b80509;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(219, 7, 11, 0.4);
  color: white;
}

.noticias > .accesos_noticias {
  background-image: url("../images/noticias.png");
  background-size: cover;
  background-position: center;
  min-height: 670px;
  padding: 20px !important;
  height: 100%;
}

.noticias > .accesos_noticias hr {
  color: white;
}

@media (max-width: 1200px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .noticias {
    grid-template-columns: 1fr;
  }

  .noticias-content {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .noticias-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .noticias-content {
    padding: 30px 15px;
  }

  .noticia-body {
    padding: 1.2rem;
  }
}

.video {
  background: url("../images/video.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80dvh;
  max-height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-direction: column;
  color: white;

  h2 {
    font-weight: bold;
    font-size: 2.4rem;
  }

  p {
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
  }
}

.mision {
  background: url("../images/misionfondo.png");
  min-height: 95dvh;
  height: auto;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0;
  display: flex;
  align-items: center;
}

.mision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.containerm {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  border-radius: 8px;

  h2 {
    font-size: 1.7rem;
    margin-bottom: 0;
  }
}

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

.autoridades {
  background: #520c19;
  color: #fff;
  padding: 80px 10%;
  min-height: 100vh;
}

.autoridades h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

.autoridades-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.autoridad-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.autoridad-foto img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #caa14a;
}

.autoridad-info h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.autoridad-info .cargo {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #caa14a;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.autoridad-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.listasDeco {
  list-style: none;
  padding-left: 0;
}

.listasDeco li {
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 30px;
  background-image: url("../images/list.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .autoridad-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .autoridad-foto img {
    width: 200px;
    height: 260px;
  }
}

/* ==================== FOOTER ==================== */
.footer-main {
  background-color: var(--dark-color);
  color: white;
  margin-top: auto;
}

.footer-top {
  background-color: var(--dark-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: var(--tertiary-color);
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-main .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-main a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-main a:hover {
  color: var(--tertiary-color);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--tertiary-color);
  transform: scale(1.1);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #1d3aa0;
  border-color: #1d3aa0;
}

.btn-success {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 1.2rem;
  }

  .logo small {
    font-size: 0.65rem;
  }

  .quick-access .btn {
    margin: 5px 0;
    width: 100%;
    font-size: 0.85rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .footer-top .row > div {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.75rem;
  }

  .top-bar .row {
    flex-direction: column;
    text-align: center !important;
  }

  .quick-access {
    margin-top: 10px;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

/* ==================== UTILITIES ==================== */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Smooth transitions */
a,
button,
.card,
.nav-link {
  transition: all 0.3s ease;
}

/* ==================== PÁGINA HISTORIA / SOMOS TU U ==================== */

/* Hero Section */
.hero-section {
  background: url("../images/hero2.png");
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center;
  height: 90dvh;
  max-height: 1000px;
  color: white;
  padding: 80px;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    45deg,
    transparent 48%,
    rgba(255, 255, 255, 0.05) 49%,
    rgba(255, 255, 255, 0.05) 51%,
    transparent 52%
  );
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content span {
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.95;
  margin-bottom: 20px;
  color: var(--celeste-color);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.basehero_nu {
  background-size: cover;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 25px 45px;
  justify-content: start;
  align-items: top;
  place-items: top;
  gap: 17px;

  h2 {
    color: var(--secondary-color);
    font-weight: 900 !important;
    font-size: 2.35rem !important;
    text-decoration: underline var(--celeste-color) 3px;
  }
}

.datos-carreras {
  background: var(--primary-color);
  box-shadow: 1px 14px 12px rgba(0, 0, 0, 0.37);
  width: 100%;
  height: 550px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  gap: 20px;
  padding: 30px;
  color: white;

  h2 {
    color: var(--celeste-color);
    font-size: 1.4rem !important;
  }
}

.datos-contacto {
  background: #72246c;
  display: flex;
  flex-direction: column;
  padding: 10px;
  color: #000;
  border-radius: 20px;
  border: none;
}

.info-carrera {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin: 50px 0;
  font-size: 1rem;
  color: var(--text-color);

  h2 {
    font-size: 1.5rem;
    font-weight: bold;
  }

  h3 {
    font-size: 1rem;
  }
}

/* Sticky Navigation */
.sticky-nav {
  background: white;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 98;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.nav-sections {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0;
}

.nav-sections li a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  display: block;
}

.nav-sections li a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Content Sections */
.content-section {
  padding: 80px 0;
  position: relative;
}

.content-section.alt-bg {
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.header-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin: 0 auto;
}

/* Content Box */
.content-box {
  padding: 30px 0;
}

.content-box .lead-text {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.6;
}

.content-box p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: justify;
}

.highlight-list {
  list-style: none;
  margin-top: 25px;
}

.highlight-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #4b5563;
  font-weight: 500;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

/* Stat Boxes */
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 600;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.value-item {
  padding: 25px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.pensum {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
  background: linear-gradient(135deg, rgb(145, 0, 0), #002d5c);
  width: 100%;
  height: 200px;
}

.value-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
}

/* Timeline Professional */
.timeline-professional {
  position: relative;
  padding: 20px 0;
}

.timeline-professional::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), #e5e7eb);
}

.timeline-item {
  margin-bottom: 40px;
  padding-left: 100px;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -15px;
  top: 0;
  background: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 61, 130, 0.3);
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.timeline-content p {
  color: #4b5563;
  margin: 0;
  line-height: 1.7;
}

/* Authorities Grid */
.authorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.authority-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

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

.authority-avatar {
  margin-bottom: 20px;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #002d5c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 61, 130, 0.25);
}

.authority-card h4 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.authority-position {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.authority-description {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Location Section */
.location-info {
  padding: 20px;
}

.location-info h4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.address {
  font-size: 1.1rem;
  color: var(--dark-color);
  font-weight: 500;
  line-height: 1.8;
}

.contact-details h5,
.transporte h5 {
  color: var(--dark-color);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
}

.contact-list,
.access-list {
  list-style: none;
  margin: 0;
}

.contact-list li,
.access-list li {
  padding: 10px 0;
  color: #4b5563;
  font-size: 0.95rem;
  display: flex;
  gap: 15px;
}

.contact-label {
  font-weight: 600;
  color: var(--dark-color);
  min-width: 90px;
}

.access-list li::before {
  content: "";
  min-width: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  margin-top: 5px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .nav-sections {
    gap: 15px;
  }

  .nav-sections li a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .content-section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stat-boxes {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .timeline-professional::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 80px;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
  }

  .authorities-grid {
    grid-template-columns: 1fr;
  }

  .sticky-nav {
    position: relative;
    margin-bottom: 30px;
  }

  .sticky-nav .nav-sections {
    gap: 10px;
  }
}
