body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f7f9fb;
}


/*
body.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}


body {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
*/

body {
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.3s ease, filter 0.3s ease;

}

body.loaded {
    opacity: 1;
    filter: blur(0);
}

/*
body {
    opacity: 0;
    transform: translateY(2px);
    animation: fadeMove 0.4s ease forwards;
}

@keyframes fadeMove {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/


header {
    background: #002b5c;
    color: #fff;
    /* padding: 1rem 2rem; */
    padding:0;

    /* Cambiamos a flex-column para que los dos DIVs se apilen verticalmente */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea logo y menú a la izquierda */
}


header nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
}

header .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    text-decoration: none;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    header .navbar-nav .nav-item {
        margin-left: 1.5rem;
    }
}

header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


header div a,
header div a:visited,
header div a:hover,
header div a:active {
    color: #000 !important;
    text-decoration: none;
}


.mystrcard-soft {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.mystrcard-soft a{
  text-decoration:none;
}

.mystrcard-soft::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ddd;
    z-index: 1;
}

.mystrcard-soft::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0d6efd;
  transition: width 0.3s ease;
    z-index: 2;
}

.card:hover .mystrcard-soft::before {
  width: 100%;

}

.card:hover .mystrcard-soft::before,
.mystrcard-soft:hover::before {
  width: 100%;
}


/* UNDERLINED */
.mystrcard {
  position: relative;
  display: inline-block;
}

.mystrcard::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #0d6efd;
  transition: width 0.3s ease;
}

.col:hover .mystrcard::after {
  width: 100%;
}

.card:hover .mystrcard::after {
  width: 100%;
}


p {
  text-align: justify;
}

/* BACKGROUND
.mystrcard {
  background-color: white;
  color: black;
  transition: all 0.3s ease;
}

.col:hover .mystrcard {
  background-color: #f0f8ff;
  color: #0d6efd;
}
*/

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.card ul {
  margin-top: 0;
}

.card-body ul {
  padding-left:10px;
  margin-left: 0;
  margin-right: 0;
}


.hero {
    background: #ffffff;
    padding: 1.5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #444;
}

.cta-buttons a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.cta-buttons a.secondary {
    background: #e0e6ed;
    color: #002b5c;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card, .committee-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card h3 {
    margin-top: 0;
}

/*
.section {
    padding: 1rem 2rem;
    max-width: 1100px;
    margin: auto;
}

.committee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.committee-card h3 {
    margin-top: 0;
    color: #002b5c;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 0.5rem;
}
*/

.chair {
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* li format */
.members {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.members li {
  margin-bottom: 4px;
}


footer {
    background: #002b5c;
    color: #fff;
    padding: 2rem;
    font-size: 0.9rem;
}

footer a {
    color: #cce0ff;
    text-decoration: none;
}
