:root {
    --primary-color: #007bff;
    --success-color: #265892;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --background-color: #f4f7f6;
    --card-background: #fff;
    --timeline-line-color: #e9ecef;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 0;
    overflow-x: hidden;
}
body::-webkit-scrollbar {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}
#bg-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-success {
    color: var(--success-color) !important;
}
.text-primary {
    color: var(--primary-color) !important;
}

.no-container-style > h2 {
    margin-top: 1.5rem;
}
p {
    margin-bottom: 1rem;
}

.container {
    max-width: 960px;
}

section {
    margin-bottom: 3rem;
    background-color: var(--card-background);
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1)!important;
}

.list-group-item {
    background-color: var(--card-background) !important;
    border-color: rgba(0,0,0,.1);
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
    margin: 4rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--timeline-line-color);
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 10px 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    margin-left: 2px;
}

.timeline-icon {
    position: absolute;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: 3px solid var(--background-color);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

.timeline-content {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
     transform: translateY(-5px);
     box-shadow: 0 .25rem .5rem rgba(0,0,0,.15);
}

.timeline-content::before {
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--card-background);
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-background) transparent transparent;
    left: -10px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
        margin-left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        left: 0 !important;
        text-align: left !important;
    }

    .timeline-icon {
        left: 0 !important;
        margin-left: 0;
    }

    .timeline-item .timeline-content::before {
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent var(--card-background) transparent transparent !important;
        left: 50px !important;
        right: auto !important;
    }
}

section.text-center img {
    margin-top: 3rem;
    border-radius: 0.75rem !important;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.05)!important;
}

footer {
    margin-top: 4rem;
    background-color: var(--dark-color) !important;
    color: var(--light-color) !important;
}


.sostenibilidad-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sostenibilidad-content-container p {
    width: 100%;
    text-align: left;
}

.read-more-button {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.read-more-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.carousel {
  max-width: 600px;
  margin: auto;
}
    
.carousel-item img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.texto{
  background-color: rgba(217, 228, 217, 0.674);
}

.blue {
  color: #265892;
  font-size: xx-large;
  font-weight: bold;
}
.tituloB {
    color: #103661;
    font-size: xx-large;
    font-weight: bold;
}
.descargas a {
  margin-top: 1%;
  color: #005d8c;
  border: 1px solid #16405d;
}

.descargas img {
  margin-right: 5%;
  width: 10%;
}
.descargas a:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  background-color: #022e6f8e;
  border: 1px solid #16405d;
}

.cartas{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.card{
  margin: 4%;
}
.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  background-color: rgba(217, 228, 217, 0.674);
}

.titulo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  padding: 0 20px;
  width: 90%;
  max-width: 1200px;
  z-index: 10;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .titulo {
    font-size: 3rem;
  }
  .sello-cabecera {       
    width: 8%;
  }
}

@media (max-width: 768px) {
  .titulo {
    font-size: 2.5rem;
  }
  .sello-cabecera {       
    width: 6%;
  }
}

@media (max-width: 576px) {
  .titulo {
    font-size: 2rem;
    width: 95%;
  }
  .separado>img {
    display: none;
  }
  .sello-cabecera {       
    width: 5%;
  }
  .columnas {
    display: block !important;
    width: 100% !important;
  }
  .columna {
    width: 100% !important;
    display: block !important;
    margin-bottom: 15px !important;
  }
  .containers {
    display: block !important;
    width: 100% !important;
  }
  .container-sm {
    width: 100% !important;
    display: block !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    border: none !important;
  }
  .separado {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .parteDer {
    width: 100% !important;
  }

  .accordion-button {
    font-size: 1rem !important;
  }

  .accordion-body {
    font-size: 0.9rem !important;
  }
}


#que-es-sostenibilidad.content-collapsed {
  background-color: var(--card-background) !important;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.05)!important;
  padding: 1rem !important;
}

#que-es-sostenibilidad.content-expanded {
  background-color: var(--card-background);
  padding: 3rem !important;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.05)!important;
}

.download-link-custom {
  max-width: 400px;
}

#fullscreen-video-container {
  position: relative; 
}
.sello-cabecera {
  position: absolute; 
  top: 20px;          
  right: 50px;         
  width: 13%;       
  z-index: 10;        
}

.fondo {
    background-color: rgba(224, 232, 223, 0.226); 
    border-radius: 5%;}
.fondo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color: rgba(217, 228, 217, 0.674);
}

.lado {
    text-align: center;
    width: 100%;
}

.separado {
    display: flex;
    justify-content: center;
    width: 100%;
}
.separado>img{
    max-width: 35%;
}
.separado > div {
    width: 48%;
}
.progress {
    margin-top: 1%;
}
.barras {
    width: 100%;
}
#complementoBarras {
    color: #013f5ed0;
    margin-top: 1%;
    font-weight: bold;
}
.columna {
    width: 40%;
    text-align: justify;
}
.columnas {
    display: flex;
    justify-content: space-between;
}

.container-sm {
    background-color: #cfe3ed;
    width: 50%;
    border: 5px solid white;
}
.container-sm>h2 {
    color: rgb(44, 55, 100);
    text-align: center;
}
.contariners{
    display: flex;
    flex-wrap: wrap;
}