@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;
}
/* Ajustes Navbar */
.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;
}

/* Ajustes Hero */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/sostenibilidad.jpg) no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.hero-section span {
    color: white;
}
#sostenibilidad {
    background-color: #ffffff;
    padding: 50px 0;
}

#sostenibilidad h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    padding: 0 10px;
}

#sostenibilidad p.lead {
    font-size: 1.25rem;
    color: #6c757d;
}

#sostenibilidad .contenido{
    text-align: center;
}


#sostenibilidad .sustainability-feature {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 280px;
}
#sostenibilidad .sustainability-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#sostenibilidad .sustainability-feature-r{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
#sostenibilidad .sustainability-feature-r:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#sostenibilidad .sustainability-feature h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

#sostenibilidad .sustainability-feature p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #495057;
}
#sostenibilidad .sustainability-feature-r p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #495057;
}

/* Iconos de Bootstrap */
.bi {
    font-size: 2rem;
}

#galeria img{
    width: 370px;
    height: 370px;
    object-fit: cover;
}


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; 
}