  /**
  * Template Name: Selecao
  * Template URL: https://bootstrapmade.com/selecao-bootstrap-template/
  * Updated: Aug 07 2024 with Bootstrap v5.3.3
  * Author: BootstrapMade.com
  * License: https://bootstrapmade.com/license/
  */

  /*--------------------------------------------------------------
  # Font & Color Variables
  # Help: https://bootstrapmade.com/color-system/
  --------------------------------------------------------------*/
  /* Fonts */
  :root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
  }

  /* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
  :root {
    /* Background color for the entire website, including individual sections */
    --default-color: #444444;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #2a2c39;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #0050b8;
    /* Color para los headers de las secciones */
    --header-color: #220371ea;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  }

  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
  :root {
    --nav-color: #ffffff;
    /* The default color of the main navmenu links */
    --nav-hover-color: #0050b8;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #060606;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #0050b8;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }

  /* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

  .light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
  }

  .dark-background {
    --background-color: #220371ea;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #404356;
    --contrast-color: #ffffff;
  }

  /* Smooth scroll */
  :root {
    scroll-behavior: smooth;
  }

  /*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/
  body {
    color: var(--default-color);
    background:
      linear-gradient(rgba(0, 0, 0, 0.133), rgba(0, 0, 0, 0.181)),
      url('../img/home/FONDO.png');
    font-family: var(--default-font);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }

  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }

  /* PHP Email Form Messages
  ------------------------------*/
  .php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }

  .php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }

  .php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
  }

  .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
  }

  @keyframes php-email-form-loading {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  /*--------------------------------------------------------------
  # Global Header
  --------------------------------------------------------------*/
  .header {
    --background-color: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
  }

  .header .logo {
    line-height: 1;
  }

  .header .logo img {
    max-height: 48px;
    margin-right: 8px;
  }

  .header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
  }

  .scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  }

  /* Global Header on Scroll
  ------------------------------*/
  .scrolled .header {
    --background-color: #220371ea;
  }

  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  /* Navmenu - Desktop */
  @media (min-width: 1200px) {
    .navmenu {
      padding: 0;
    }

    .navmenu ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
    }

    .navmenu li {
      position: relative;
      margin-left: 5px;
    }

    .navmenu a,
    .navmenu a:focus {
      color: var(--nav-color);
      padding: 8px 20px;
      font-size: 14px;
      font-family: var(--nav-font);
      font-weight: 400;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
      border-radius: 50px;
    }

    .navmenu a i,
    .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
    }

    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
      background-color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: var(--nav-dropdown-background-color);
      display: block;
      position: absolute;
      visibility: hidden;
      left: 0;
      top: 130%;
      opacity: 0;
      transition: 0.3s;
      border-radius: 15px;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
      min-width: 200px;
      margin-left: 0;
    }

    .navmenu .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px;
      text-transform: none;
      color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
      font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
      background-color: transparent;
      color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul .active,
    .navmenu .dropdown ul .active:focus {
      color: rgba(0, 0, 0, 0.863) !important;
      background-color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul a {
      color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a:hover {
      color: var(--nav-hover-color);
      background-color: transparent;
    }

    .navmenu .dropdown:hover>ul {
      opacity: 1;
      top: 105%;
      visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
      top: 0;
      left: -90%;
      visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover>ul {
      opacity: 1;
      top: 0;
      left: -100%;
      visibility: visible;
    }
  }

  /* Navmenu - Mobile */
  @media (max-width: 1199px) {
    .mobile-nav-toggle {
      color: var(--nav-color);
      font-size: 28px;
      line-height: 0;
      margin-right: 10px;
      cursor: pointer;
      transition: color 0.3s;
    }

    .navmenu {
      padding: 0;
      z-index: 9997;
    }

    .navmenu ul {
      display: none;
      list-style: none;
      position: absolute;
      inset: 60px 20px 20px 20px;
      padding: 10px 0;
      margin: 0;
      border-radius: 6px;
      background-color: var(--nav-mobile-background-color);
      overflow-y: auto;
      transition: 0.3s;
      z-index: 9998;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
      color: var(--nav-dropdown-color);
      padding: 10px 20px;
      font-family: var(--nav-font);
      font-size: 17px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: 0.3s;
      background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
      color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
      position: static;
      display: none;
      z-index: 99;
      padding: 10px 0;
      margin: 10px 20px;
      background-color: var(--nav-dropdown-background-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      box-shadow: none;
      transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
      background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
      display: block;
      background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
      overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
      position: absolute;
      font-size: 32px;
      top: 15px;
      right: 15px;
      margin-right: 0;
      z-index: 9999;
    }

    .mobile-nav-active .navmenu {
      position: fixed;
      overflow: hidden;
      inset: 0;
      background: rgba(33, 37, 41, 0.8);
      transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
      display: block;
    }
  }

  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    position: relative;
  }

  .footer h3 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    padding: 0;
    margin: 0 0 15px 0;
  }

  .footer p {
    font-size: 15;
    font-style: italic;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .footer .social-links {
    margin: 0 0 30px 0;
  }

  .footer .social-links a {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--contrast-color);
    line-height: 1;
    margin: 0 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }

  .footer .social-links a:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    text-decoration: none;
  }

  .footer .copyright {
    padding-top: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .footer .credits {
    font-size: 13px;
    padding-top: 5px;
  }

  /*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
  }

  #preloader:before,
  #preloader:after {
    content: "";
    position: absolute;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }

  #preloader:after {
    animation-delay: -0.5s;
  }

  @keyframes animate-preloader {
    0% {
      width: 10px;
      height: 10px;
      top: calc(50% - 5px);
      left: calc(50% - 5px);
      opacity: 1;
    }

    100% {
      width: 72px;
      height: 72px;
      top: calc(50% - 36px);
      left: calc(50% - 36px);
      opacity: 0;
    }
  }

  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
  }

  .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
  }

  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }

  .scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
  }

  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }

  /*--------------------------------------------------------------
  # Global Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
  .page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
  }

  .page-title:before {
    content: "";
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
  }

  .page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
  }

  .page-title .breadcrumbs ol li+li {
    padding-left: 10px;
  }

  .page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
  }

  /*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 77px;
    overflow: clip;
  }

  /*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
  .section-title {
    padding-bottom: 60px;
    position: relative;
  }

  .section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    position: relative;
  }

  .section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 4px 10px;
  }

  .section-title p {
    color: var(--heading-color);
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--heading-font);
  }

  /*--------------------------------------------------------------
  # Hero Section
  --------------------------------------------------------------*/
  /* Cambiar el fondo de la sección hero a una imagen */
  #hero {
    background-color: var(--header-color);
    background-size: cover;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
  }

  #hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    /* Oscurece la imagen para mejor legibilidad */
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }

  #hero .carousel-container {
    position: relative;
    /* Asegura que el contenido esté sobre el pseudo-elemento */
    z-index: 2;
  }

  .hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    min-height: 40vh;
    padding-top: 60px;
  }

  .hero h2 {
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 700;
  }

  .hero h2 span {
    text-decoration: underline;
  }

  .hero p {
    max-width: 80%;
    animation-delay: 0.4s;
    margin: 0 auto 30px auto;
  }

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 10%;
  }

  .hero .carousel-control-next-icon,
  .hero .carousel-control-prev-icon {
    background: none;
    font-size: 48px;
    line-height: 1;
    width: auto;
    height: auto;
  }

  .hero .btn-get-started {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    animation-delay: 0.8s;
    color: var(--default-color);
    border: 2px solid var(--accent-color);
  }

  .hero .btn-get-started:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    text-decoration: none;
  }

  @media (min-width: 1024px) {
    .hero p {
      max-width: 60%;
    }

    .hero .carousel-control-prev,
    .hero .carousel-control-next {
      width: 5%;
    }
  }

  @media (max-width: 308px) {
    .hero .carousel-container {
      min-height: 90vh;
    }

    .hero h2 {
      font-size: 28px;
    }
  }

  .hero .hero-waves {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
  }

  .hero .wave1 use {
    animation: move-forever1 10s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.6;
  }

  .hero .wave2 use {
    animation: move-forever2 8s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.4;
  }

  .hero .wave3 use {
    animation: move-forever3 6s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
  }

  @keyframes move-forever1 {
    0% {
      transform: translate(85px, 0%);
    }

    100% {
      transform: translate(-90px, 0%);
    }
  }

  @keyframes move-forever2 {
    0% {
      transform: translate(-90px, 0%);
    }

    100% {
      transform: translate(85px, 0%);
    }
  }

  @keyframes move-forever3 {
    0% {
      transform: translate(-90px, 0%);
    }

    100% {
      transform: translate(85px, 0%);
    }
  }

  /*--------------------------------------------------------------
  # Portal de Transparencia
  --------------------------------------------------------------*/
  /* Colores y estilo */
  .text-accent {
    color: var(--accent-color);
  }

  .transparency-card {
    border: none;
    border-radius: 15px;
    background: var(--surface-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.87);
  }

  .transparency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .info-box {
    background-color: #f8f9fa;
    border: 1px solid #e5e5e5;
  }

  /* Tablas */
  table th {
    background-color: #f8f9fa;
    color: var(--heading-color);
  }

  table td,
  table th {
    padding: 12px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .info-box p {
      font-size: 0.95rem;
    }

    table {
      font-size: 0.9rem;
    }
  }


  /*--------------------------------------------------------------
  # CARDS-PORTAL
  --------------------------------------------------------------*/
  .text-accent {
    color: var(--accent-color);
  }

  .btn-outline-accent {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }

  .btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: #fff;
  }

  .transparency-card {
    border: none;
    border-radius: 15px;
    background: var(--surface-color);
    transition: all 0.3s ease;
  }

  .transparency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .modal-content {
    border-radius: 15px;
  }

  .modal-body ul {
    padding-left: 1.2rem;
  }

  /*--------------------------------------------------------------
  # Acordion
  --------------------------------------------------------------*/
  .accordion-button {
    font-weight: 500;
    font-size: 1.05rem;
    background-color: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
  }

  .accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: white;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  }

  .accordion-body {
    background-color: white;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }



  .blog-post {
    background: var(--surface-color);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .post-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .post-meta {
    color: #6c757d;
    font-size: 0.9rem;
  }

  .post-content {
    padding: 2rem;
  }

  .post-image {
    position: relative;
  }

  .image-caption {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    display: inline-block;
  }

  .poem-container {
    background-color: rgba(170, 165, 126, 0.1);
    border-left: 4px solid var(--accent-color);
  }

  .poem-title {
    font-weight: 600;
    color: var(--accent-color);
  }

  .poem-text {
    font-style: italic;
    line-height: 1.8;
  }

  .poem-author {
    text-align: right;
    font-weight: 500;
  }

  .progress-container {
    margin-top: 1.5rem;
  }

  .progress-item {
    margin-bottom: 1rem;
  }

  .progress-label {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
  }

  .progress {
    height: 8px;
    background-color: #e9ecef;
  }

  .progress-bar {
    background-color: var(--accent-color);
  }

  /* Widget Styles */
  .widget {
    background: var(--surface-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
  }

  .widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
  }

  .event-date {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }

  .event-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .event-desc {
    font-size: 0.9rem;
    color: #6c757d;
  }

  .event-meta {
    color: var(--accent-color);
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .post-title {
      font-size: 1.5rem;
    }

    .post-content,
    .post-header {
      padding: 1.5rem;
    }
  }

  @media (max-width: 576px) {
    .post-title {
      font-size: 1.25rem;
    }

    .section-title {
      font-size: 1.25rem;
    }
  }

  /* Accent Color Overrides */
  .btn-accent {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
  }

  .btn-accent:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    color: var(--contrast-color);
  }

  .btn-outline-accent {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }

  .btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .badge.bg-accent {
    background-color: var(--accent-color) !important;
    color: var(--contrast-color);
  }

  .text-accent {
    color: var(--accent-color) !important;
  }

  .border-accent {
    border-color: var(--accent-color) !important;
  }

  .transparency-modal {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .transparency-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem;
  }

  .transparency-modal .modal-title small {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: normal;
  }

  .transparency-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
  }

  .transparency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .transparency-card .card-body {
    padding: 1.5rem;
  }

  .transparency-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
  }

  .section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
  }

  .btn-accent {
    background-color: var(--accent-color);
    color: white;
    border: none;
  }

  .btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--accent-color);
  }

  .text-accent {
    color: var(--accent-color);
  }

  .bg-accent {
    background-color: var(--accent-color);
  }


  #galleryCarousel .carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
  }

  @media (max-width: 768px) {
    #galleryCarousel .carousel-item img {
      height: 300px;
    }
  }


  /*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
  .contact .info-box {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
  }

  .contact .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .contact .info-item:last-child {
    margin-bottom: 0;
  }

  .contact .info-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    line-height: 1.2;
  }

  .contact .info-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .contact .info-item p {
    margin: 0;
    line-height: 1.6;
  }

  .contact .info-item a {
    color: var(--default-color);
    transition: 0.3s;
  }

  .contact .info-item a:hover {
    color: var(--accent-color);
  }

  .contact .map-container {
    border-radius: 10px;
    overflow: hidden;
  }

  .contact .php-email-form {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
  }

  .contact .php-email-form .form-group {
    margin-bottom: 20px;
  }

  .contact .php-email-form input,
  .contact .php-email-form textarea {
    border-radius: 5px;
    box-shadow: none;
    font-size: 14px;
    padding: 12px 15px;
  }

  .contact .php-email-form input:focus,
  .contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
  }

  .contact .php-email-form button[type="submit"] {
    background: var(--accent-color);
    border: 0;
    padding: 12px 30px;
    color: var(--contrast-color);
    transition: 0.4s;
    border-radius: 50px;
    font-weight: 600;
  }

  .contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
  }

  /*--------------------------------------------------------------
  # Departments Section
  --------------------------------------------------------------*/
  .departments .department-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .departments .department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .departments .icon-box {
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .departments .icon-box i {
    font-size: 24px;
    color: var(--accent-color);
  }

  .departments .department-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .departments .department-card p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
  }

  .departments .department-card a {
    color: var(--default-color);
    transition: 0.3s;
  }

  .departments .department-card a:hover {
    color: var(--accent-color);
  }


  /*--------------------------------------------------------------
  # Authorities Pyramid 1-4-5 Layout
  --------------------------------------------------------------*/
  .authorities-pyramid {
    text-align: center;
  }

  .authorities-pyramid .authority-card {
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin: 0 auto 20px;
    max-width: 300px;
  }

  .authorities-pyramid .authority-card.president {
    max-width: 500px;
    border: 3px solid var(--accent-color);
    margin-bottom: 40px;
  }

  .authorities-pyramid .authority-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }

  .authorities-pyramid .authority-img {
    overflow: hidden;
    height: 180px;
    position: relative;
  }

  .authorities-pyramid .authority-card.president .authority-img {
    height: 250px;
  }

  .authorities-pyramid .authority-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .authorities-pyramid .authority-card:hover .authority-img img {
    transform: scale(1.1);
  }

  .authorities-pyramid .authority-info {
    padding: 20px 15px;
  }

  .authorities-pyramid .authority-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
  }

  .authorities-pyramid .authority-card.president .authority-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .authorities-pyramid .authority-info .position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .authorities-pyramid .authority-card.president .authority-info .position {
    font-size: 16px;
    min-height: auto;
  }

  .authorities-pyramid .authority-info .social-links {
    margin-top: 15px;
  }

  .authorities-pyramid .authority-info .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s ease;
  }

  .authorities-pyramid .authority-info .social-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-3px);
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .authorities-pyramid .authority-card {
      max-width: 280px;
    }

    .authorities-pyramid .authority-card.president {
      max-width: 450px;
    }
  }

  @media (max-width: 768px) {
    .authorities-pyramid .authority-img {
      height: 160px;
    }

    .authorities-pyramid .authority-card.president .authority-img {
      height: 220px;
    }

    .authorities-pyramid .authority-info h3 {
      font-size: 16px;
    }

    .authorities-pyramid .authority-card.president .authority-info h3 {
      font-size: 19px;
    }

    .authorities-pyramid .authority-info .position {
      font-size: 13px;
    }
  }

  @media (max-width: 576px) {
    .authorities-pyramid .authority-card {
      max-width: 100%;
    }

    .authorities-pyramid .authority-card.president {
      max-width: 100%;
    }
  }


  /*--------------------------------------------------------------
  # ORGANIGRAMA
  --------------------------------------------------------------*/

  /* Estilos minimalistas que no afectan otros componentes */
  .organigrama-simple {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .organigrama-img-simple {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 4px;
  }

  /* Ajuste extra para móviles */
  @media (max-width: 576px) {
    .organigrama-img-simple {
      padding: 5px;
      border: none;
    }
  }



  /* Estilos para la sección de trámites y servicios */
  .services-section {
    padding: 60px 0;
  }

  .services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .services-nav {
    flex: 0 0 300px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .services-content {
    flex: 1;
    min-width: 300px;
  }

  .nav-title {
    font-size: 20px;
    font-weight: 600;
    color: #2a2c39;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #220371;
  }

  .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-item {
    margin-bottom: 10px;
  }

  .nav-link {
    display: block;
    padding: 10px 15px;
    color: #444;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: #220371;
    color: white;
  }

  .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
  }

  .service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .card-header {
    background-color: #220371;
    color: white;
    padding: 15px 20px;
  }

  .card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  .card-body {
    padding: 20px;
  }

  .card-blog {
    padding: 20px;
    border-left: 6px solid #0050b8;
    border-radius: 10px;
  }

  .card-description {
    color: #555;
    margin-bottom: 15px;
  }

  .card-schedule {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
  }

  .card-schedule i {
    margin-right: 8px;
    color: #AAA57E;
  }

  /* Responsive */
  @media (max-width: 992px) {
    .services-container {
      flex-direction: column;
    }

    .services-nav {
      flex: 1;
      margin-bottom: 30px;
    }

    .nav-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .nav-item {
      margin-bottom: 0;
    }

    .nav-link {
      padding: 8px 12px;
    }
  }

  @media (max-width: 768px) {
    .service-cards {
      grid-template-columns: 1fr;
    }
  }



  /*--------------------------------------------------------------
# PDF Viewer Styles
--------------------------------------------------------------*/
  .pdf-viewer-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .pdf-viewer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
  }

  .pdf-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f5f5f5;
  }

  .pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .btn-accent {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .btn-accent:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .pdf-container {
      height: 500px;
    }
  }

  @media (max-width: 768px) {
    .pdf-container {
      height: 400px;
    }

    .btn-accent {
      padding: 8px 20px;
      font-size: 0.9rem;
    }
  }

  @media (max-width: 576px) {
    .pdf-container {
      height: 300px;
    }

    .pdf-viewer-card .card-header h3 {
      font-size: 1.2rem;
    }
  }

  /* PDF Loader Styles */
  .pdf-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .spinner-border.text-accent {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
  }

  .text-mejoremos {
    color: #002855;
    /* azul marino */
    font-weight: 700;
  }

  .text-venustiano {
    color: #1DA1F2;
    /* azul cielo */
    font-weight: 700;
  }

  .text-carranza {
    color: #E91E63;
    /* rosa */
    font-weight: 700;
  }



  /* Estilos para la sección del presidente */
  .president-hero {
    padding: 80px 0;
    background-color: #f8f9fa;
  }

  .president-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #0050b8;
  }

  .president-image-container {
    position: relative;
    float: left;
    width: 40%;
    margin: 0 25px 15px 0;
    shape-outside: rectangle(0, 0, 100%, 100%);
  }

  .president-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
  }

  .president-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: #0050b8;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
  }

  .president-info {
    padding: 20px;
    color: #444444;
    overflow: hidden;
    /* Para contener el float */
  }

  .president-info h1 {
    font-size: 2.5rem;
    color: #2a2c39;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
  }

  .president-info h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #0050b8;
    border-radius: 2px;
  }

  .president-info .position {
    color: #0050b8;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 500;
  }

  .president-bio {
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    font-size: 1.05rem;
    color: #555;
  }

  .president-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    clear: both;
    /* Para que aparezca debajo del texto que fluye */
  }

  .contact-item {
    display: flex;
    align-items: center;
    background: #f0f4ff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .contact-item:hover {
    background: #0050b8;
    color: white;
  }

  .contact-item:hover i {
    color: white;
  }

  .contact-item i {
    margin-right: 10px;
    color: #0050b8;
    font-size: 1.2rem;
  }

  .president-social {
    display: flex;
    gap: 15px;
    clear: both;
    /* Para que aparezca debajo del texto que fluye */
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f0f4ff;
    color: #0050b8;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .social-link:hover {
    background: #0050b8;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  /* Responsive */
  @media (max-width: 1199px) {
    .president-info h1 {
      font-size: 2.2rem;
    }
  }

  @media (max-width: 991px) {
    .president-image-container {
      float: none;
      width: 100%;
      margin: 0 0 25px 0;
      text-align: center;
    }

    .president-image {
      width: 70%;
      max-width: 400px;
    }

    .president-info {
      padding: 30px;
    }

    .president-info h1 {
      font-size: 2rem;
      text-align: center;
    }

    .president-info h1::after {
      left: 50%;
      transform: translateX(-50%);
    }

    .position {
      text-align: center;
    }
  }

  @media (max-width: 767px) {
    .president-hero {
      padding: 60px 0;
    }

    .president-info {
      padding: 25px;
    }

    .president-info h1 {
      font-size: 1.8rem;
    }

    .president-position {
      font-size: 1.1rem;
    }

    .president-contact {
      flex-direction: column;
    }

    .president-image {
      width: 85%;
    }
  }

  @media (max-width: 575px) {
    .president-info {
      padding: 20px;
    }

    .president-info h1 {
      font-size: 1.6rem;
    }

    .president-bio {
      font-size: 1rem;
    }

    .contact-item {
      font-size: 0.9rem;
      padding: 10px 15px;
    }

    .president-image {
      width: 100%;
    }
  }

  /* Sección de Gabinete */
  .cabinet-section {
    padding: 80px 0;
    background: #f9f9f9;
  }

  .cabinet-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
  }

  .cabinet-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .cabinet-image {
    aspect-ratio: 3 / 0;
    overflow: hidden;
  }

  .cabinet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }


  .cabinet-info {
    padding: 20px;
    text-align: center;
  }

  .cabinet-info h3 {
    font-size: 1.25rem;
    color: #2a2c39;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .cabinet-info .position {
    color: #0050b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cabinet-social {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .cabinet-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f4ff;
    color: #0050b8;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .cabinet-social a:hover {
    background: #0050b8;
    color: white;
    transform: translateY(-3px);
  }




  /* Fondo del modal */
  .image-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }

  /* Imagen dentro */
  .image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  }

  /* Botón cerrar */
  .image-modal .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }




  .custom-table {
    background-color: #fff;

  }

  .custom-table th {
    background-color: #d4d4d4a3;
    color: #0050B8;
    font-weight: 600;
    border: 1px solid #0050B8 !important;
  }

  .custom-table td {
    border: 1px solid #0050B8 !important;
    /* un solo color de borde */
    text-align: center;
    /* centrado horizontal */
    vertical-align: middle;
    /* centrado vertical */
  }



  .song-container {
    background: #fff;
    border: 1px solid #ddd;
  }

  .song-title {
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .song-lyrics {
    line-height: 1.6;
  }

  /* Hacer iframe responsivo */
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
  }

  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }



  .btn-system {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-system:hover {
    background-color: color-mix(in srgb, var(--accent-color), #000 15%);
    color: var(--contrast-color);
  }

  .btn-system-alt {
    background-color: var(--header-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-system-alt:hover {
    background-color: color-mix(in srgb, var(--header-color), #000 15%);
    color: var(--contrast-color);
  }


  .historia {
    text-align: justify;
  }

  