body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400;
}
.uk-navbar-nav > li.uk-active > a {
  color: #ffc000 !important;
  font-weight: 200;
}

.uk-navbar-container {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.uk-navbar-nav > li > a {
  color: #333 !important;
  font-weight: 500;
  padding: 20px 15px;
}

h1.uk-heading-medium {
  color: #2a3542 !important;
  font-weight: 500 !important;
    font-size: 3em !important;
}


.hero-section {
  background-image: url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
}

.fixed-padding {
  padding: 2em !important;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.hero-title {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.25;
  color: #2a3340;
}

.custom-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.custom-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.custom-card p {
  font-size: 0.95rem;
  color: #5a6473;
  margin-bottom: 30px;
}

.custom-btn {
  background-color: #ffb300 !important;
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 500;
  color: #fff !important;
  transition: background-color 180ms ease, transform 180ms ease;
  transform-origin: center center;
}

.custom-btn:hover {
  background-color: #ffc84d !important;
  transform: scale(1.05);
}

.uk-navbar-dropdown {
  margin-top: 0;
  padding-top: 10px;
  border-top: 2px solid #ffb300;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.uk-navbar-dropdown-nav > li > a {
  padding: 10px 20px;
  font-weight: 400;
}

.footer {
  background-color: #f3f6f9;
  padding-top: 50px;
  padding-bottom: 30px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 15px;
}

.footer-location {
  font-size: 0.9rem;
  color: #f5a623;
  margin: 4px 0;
}

.footer-email {
  display: block;
  font-size: 0.9rem;
  color: #f5a623;
  margin-bottom: 10px;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-social a {
  color: #4a5568;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Caja de texto */
.about-text-box {
    background: #fff;
    padding: 40px 50px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
    border-radius: 4px;
}

.about-text-box p {
    font-size: 0.95rem;
    color: #3a4554;
    line-height: 1.7;
}

/* Team */
.team-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.team-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: #2a3340;
}

.team-role {
    font-size: 0.85rem;
    color: #5a6473;
    margin-bottom: 10px;
}

.team-bio-link {
    font-size: 0.85rem;
    color: #00a6a6;
    font-weight: 500;
    text-decoration: none;
}

.team-bio-link:hover {
    text-decoration: underline;
}

.bio-modal {
    max-width: 1100px;
    width: 90%;
}


.bio-title {
    font-weight: 400;
    margin-bottom: 20px;
}

.bio-image {
    max-width: 260px;
    width: 100%;
    border-radius: 4px;
}

/* MOBILE */
@media (max-width: 640px) {
    .bio-modal {
        padding: 20px;
    }

    .bio-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .bio-image {
        margin-top: 20px;
        max-width: 220px;
    }
}

@media (min-width: 960px) {
    .bio-modal .uk-grid {
        flex-wrap: nowrap;
    }

    .bio-modal .bio-text {
        flex: 0 0 65%;
    }

    .bio-modal .bio-photo {
        flex: 0 0 35%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
}

/* Overlay del modal - Only show when modal is active */
.uk-modal:not(.uk-open) {
    display: none !important;
}

.uk-modal.uk-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Caja del modal */
.bio-modal {
    margin: 0;
}
