@font-face {
    font-family: Suprema;
    src: url(../fuentes/Artegra-SupremaThin.otf);
}
@font-face {
    font-family: SupremaBold;
    src: url(../fuentes/suprema-bold.ttf);
}
body, html {
    margin: 0;
    padding: 0;
    font-family: Suprema;
    box-sizing: border-box;
    text-align: justify;
}
span{
    font-family: SupremaBold;
    color: #233a64;
}

section {
    margin-bottom: 40px;
}
.navbar {
    transition: background-color 0.8s ease;
    background-color: transparent; 
    margin-bottom: 20px;
    position: fixed;
    width: 100vw;
    z-index: 999;
}
.scrolled {
    background-color: #f4f4f4
}

.nav-link {
    font-family: SupremaBold;
    color: #ffffff;
}
.scrollednl{
    color: #233a64;
}
#hero {
    position: relative;
    height: 100vh;
}

#hero .carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}
#hero .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}


#hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 0 15px;
    z-index: 2;
}

#hero .hero-text h1 {
    font-size: 3rem;
    margin: 0;
}
#hero span {
    color: white;
}

/* Medidas responsivas */
@media (max-width: 768px) {
    #hero .hero-text h1 {
        font-size: 2rem;
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
    
}

#mision-vision img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 1s ease;
}

#mision-vision img:hover{
    transition: transform 1s ease;
    transform: scale(1.05);
}

#valores img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 1s ease;
    margin-bottom: 10px;
}

#valores img:hover{
    transition: transform 1s ease;
    transform: scale(1.05);
}

#valores h2 {
    margin-bottom: 20px;
}

#valores ul {
    list-style-type: none;
    padding-left: 0;
}

#valores ul li {
    margin-bottom: 10px;
}

#valores p {
    margin-top: 20px;
}

#donde-estamos {
    padding: 50px 0;
}

#donde-estamos h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#donde-estamos p.lead {
    font-size: 1.25rem;
    color: #6c757d;
}

#donde-estamos .map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#donde-estamos iframe {
    border: none;
}

#donde-estamos h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

#donde-estamos p {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}
#actividades {
    background-color: #ffffff;
    padding: 50px 0;
}

#actividades h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#actividades p.lead {
    font-size: 1.25rem;
    color: #6c757d;
}

#actividades .activity-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 650px;
}

#actividades .activity-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#actividades .activity-card img {
    width: 100%;
    height: 400px;
    
}

#actividades .activity-content {
    padding: 20px;
}

#actividades .activity-content h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

#actividades .activity-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

#historia .carousel-item{
    height: 400px;
    border-radius: 15px;
}

#historia .carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

#historia .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#historia .col-md-6 h2 {
  margin-bottom: 1rem;
}

#historia .col-md-6 p {
  margin-bottom: 1rem;
}



footer {
    background-color: rgb(243, 243, 243);
    color: #233a64;
    padding: 20px 0;
    font-family: SupremaBold;
}

footer p {
    margin: 0;
    font-size: 0.875rem;
    color: #233a64;
}

footer a {
    color: #233a64;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .col-md-4 {
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center;
}

footer .col-md-4 img {
  margin-bottom: 1rem;
}

footer .col-md-4 h5 {
  margin-bottom: 0; 
}

footer .desarrollo{
    color: #54728fc4;
}


#loader-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 2s ease-out; 
}