

/* Estilo para la barra de desplazamiento */
::-webkit-scrollbar {
    width: 12px; /
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Color de la barra para hacer scroll */
::-webkit-scrollbar-thumb {
    background-color: #002E62;
    border-radius: 10px;
    border: 3px solid #f1f1f1;}


::-webkit-scrollbar-thumb:hover {
    background-color: #011E41; 
}

body {
    background-color: #F5F9FF; 
    color: white;
    font-family: 'Inter'; 
    overflow-x: hidden;
}

.landing-section {
    overflow-x: hidden;
    position: relative;
    padding: 20px 0;
    background-color: #011E41;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
 
}

.celebracion-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    max-width: 90%;
    margin: 0 auto;
    gap: 30px; 
    z-index: 1000;
}

.celebracion-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}

.celebracion-logo {
    max-width: 90%;
    margin-bottom: 10px;
    display: block;
}


.celebracion-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
}

.celebracion-video {
    width: 100%;
   height: 350px;
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.celebracion-divider {
    width: 100%;
    max-width: 600px;
    margin: 15px 0; 
}

.celebracion-text {
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    max-width: 650px;
    padding-top: 10px;
    margin: 0;
    font-weight: 300;
    font-family:'Inter' ;
}




.corner-image {
    position: absolute;
   
    z-index: 10;
    
}
.top-left-logo{
    top: 50px;
    left: 50px;
    width: 150px;
}
.top-right {
    top: -20px;
    right: 10px;
}

.bottom-left {
    bottom: 20px;
    left: 0px;
}
.celebracion-logo-mobile {
    display: none;
}

@media (max-width: 768px) {
    body{
        overflow-x: hidden;
        }
        .top-left-logo{
            top: 40px;
            left: 20px;
            width: 100px;
        }
        
        .top-right {
           display: none;
        }
        
        .bottom-left {
          display: none;
        }
        
        
        
        .celebracion-container {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 20px; /* Espacio reducido para móvil */
        }
    
        .celebracion-logo{
            display: none;
        }
        .celebracion-logo-mobile{
            width: 70%;
            margin-top: 60px;
            display: block;
        }
        .celebracion-video,
        .celebracion-divider,
        .celebracion-text {
            max-width: 100%; /* Reduce el ancho en pantallas pequeñas */
        }
    
        .celebracion-text {
            font-size: 12px;
        }
}


/* GALLERY SECTION */


.gallery-section {
    position: relative;
    padding: 100px 20px;
    background-color: #FFFFFF;
    text-align: center;
   
}

/* Elementos decorativos en las esquinas */
.corner-image-two {
    position: absolute;
    width: 50px;
}

.top-right {
    top: 40px;
    right: 0px;
}

.bottom-left {
    bottom: 40px;
    left: 0px;
}


.titulo-desktop {
    max-width: 80%;
    margin: 0 auto 80px;
    
}

.titulo-mobile{
    display: none;
}

/* Estilo del grid de imágenes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Estilos de los thumbnails */
.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid transparent;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.thumbnail-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-transform: capitalize;
    transition: font-weight 0.3s ease;
}

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 2px; /* Grosor del borde */
    background: linear-gradient(to bottom, #0047AF, #E68F0F);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.thumbnail:hover::before {
    opacity: 1;
}

.thumbnail-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    transition: font-weight 0.3s ease;
}


.thumbnail:hover .thumbnail-title {
    font-weight: 600; /* Semi bold */
}

/* Ajustes para tabletas */
@media (max-width: 1024px) {
    .gallery-section {
        padding: 60px 20px;
    }
    
    .titulo-desktop{
        max-width: 90%;
        margin-bottom: 60px;
        display: block;
    }

    .titulo-mobile{
       display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .thumbnail-title {
        font-size: 14px;
    }
}


@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 15px;
    }
    
  .titulo-desktop {
        max-width: 100%;
        margin-bottom: 40px;
        display: none;
    }
    
    .titulo-mobile{
        max-width: 90%;
        margin-bottom: 60px;
        display: block;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .thumbnail-title {
        font-size: 12px;
    }

    .corner-image-two {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 30px 10px;
    }
    
    .titulo-desktop {
        max-width: 100%;
        margin-bottom: 30px;
        display: none;
    }

    .titulo-mobile{
        max-width: 100%;
        margin-bottom: 30px;
        display: block;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    .thumbnail-title {
        font-size: 10px;
    }


    .corner-image-two {
        width: 30px;
    }

    .thumbnail-title {
        bottom: 5px;
        left: 5px;
        font-size: 10px;
    }
}






/* BANNER SECTION */

/* Sección de recap */
.recap-section {
  position: relative;
  width: 100%;
  text-align: center;
}

/* Imagen de fondo del banner */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Botón de recap */
.recap-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFFFFF;
  color: #011E41;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra del botón */
  transition: all 0.3s ease;
}

/* Efecto hover del botón */
.recap-button:hover {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra del botón */
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .recap-button {
    font-size: 10px;
    padding: 5px 8px;
    bottom: 5px;
    
  }
}

  
/* NEWS SECTION */



.news-section {
    position: relative;
    padding: 60px 20px;
    background-color: #011E41;
    text-align: center;
}

/* Estilo para el título */
.news-title img {
    max-width: 60%;
    margin: 0 auto 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.news-item {
    background-color: transparent;
    padding: 20px;
   
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-logo {
    width: 100px;
    margin-bottom: 10px;
}

.news-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
}


.news-button {
    display: inline-block;
    padding: 8px 20px;
    font-size: 16px;
    color: white;
    background-color: transparent;
    border: none;
    position: relative;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.news-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 2px; /* Grosor del borde */
    background: linear-gradient(90deg, #FFFFFF 0%, #003F9F 100%);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.news-button:hover {
    color: #003F9F;
    background-color: white;
    border: none;
}


.corner-image-3 {
    position: absolute;
    width: 50px;
}

.top-right-news{
    bottom: 0px;
    right: 0px;
}

.bottom-left-news {
    top: 50px !important;
    left: 0px;
}

.news-title img.desktop-title {
    display: block;
}

.news-title img.mobile-title {
    display: none;
}





@media (max-width: 768px) {
 
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-title img.desktop-title {
        display: none;
    }

    .news-title img.mobile-title {
        display: block;
        max-width: 80%;
        margin-bottom: 30px;
    }

    /* Ajustes en el tamaño de los elementos en mobile */
    .news-item {
        padding: 15px;
    }

    .news-logo {
        width: 80px;
        margin-bottom: 8px;
    }

    .news-text {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .news-button {
        font-size: 14px;
        padding: 8px 16px;
    }
    .corner-image-3 {
        display: none;
    }
}


/* OFFICES SECTION */


.offices-section {
    padding: 50px 20px;
    background-color: #011E41;
    text-align: center;
    position: relative;
    z-index: 10000;
}

.offices-title img {
    max-width: 50% !important;
    margin-bottom: 100px;
}
.offices-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 40px !important;
    border-bottom: 1px solid #FFFFFF; 
    max-width: 900px;
    margin: 0 auto;
}

.map-container, .swiper-container {
    width: 400px;
  
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe, .swiper-slide img {
    width: 100%;
     
    border-radius: 10px;
    border: 2px solid #003F9F !important;
}

.map-container iframe {
    height: 270px;
}

.address-title {
    margin-top: 10px;
    text-align: left;
}

.address {
    font-size: 16px;
    color: white;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1;
    gap: 0px; 
    font-weight: lighter;
}

.pin-icon {
    width: 25px;
    height: 25px;
    margin-right: 8px;
    margin-top: 10px;
}

.location-subtext {
    white-space: nowrap; 
    margin-left: 30px;
}


.swiper-container {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

.swiper-pagination {
    position: relative; 
    margin-top: 20px;
    text-align: center;
}


.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.swiper-pagination-bullet {
    background-color: #0047AF;
    width: 8px;
    height: 8px;
    opacity: 1;
    border-radius: 50%;
    margin: 0 4px;
    transition: width 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 50px;
    border-radius: 10px;
    background-color: white;
}



.cta-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cta-link {
    display: inline-block;
    padding: 15px 25px;
    font-size: 18px;
    color: #011E41;
    background-color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    gap: 8px;
    position: relative;
}

.cta-link:hover {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}

.corner-image-4{
    position: absolute;
    width: 50px;
    z-index: -1;
}

.top-right-office{
    bottom: 20px;
    right: 0px;
}

.bottom-left-office {
    top: 40px !important;
    left: 0px;
}

.cta-arrow {
    width: 16px;
    height: 16px;
    transition: opacity 0.3s ease;
}

.dark-arrow {
    opacity: 1;
}

.white-arrow {
    opacity: 0;
    position: absolute;
    right: 25px; 
    top: 22px;
}

.cta-link:hover .dark-arrow {
    opacity: 0;
}

.cta-link:hover .white-arrow {
    opacity: 1;
}


.offices-grid-container {
    padding: 20px;
    padding-top: 0;
    max-width: 950px;
    text-align: left;
    margin: 0 auto;
}



.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
    column-gap: 80px;
    align-items: center;

}

.office-item {
    display: flex;
    align-items: center; 
    color: white;
    font-size: 16px;
    line-height: 1.2;
    font-weight: lighter;
   
}

.pin-icon-2 {
    width: 25px;
    height: 25px;
    margin-right: 10px; 
    align-self: center; 
    margin-top: -25px;
}

/* Estilos para mobile */
@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .offices-grid-container {
        max-width: 100%; /* Asegura que se adapte al ancho del móvil */
    }
    .pin-icon-2 {
        width: 18px;
        height: 18px;
        margin-right: 6px;
        margin-top: -20px;
    }
    .office-item {
        font-size: 12px;
    }
}


@media (max-width: 768px) {

    .offices-section{
     
    }
    .offices-title img {
        max-width: 70% !important;
        margin-bottom: 20px;
    }


    .address {
        font-size: 12px;
        line-height: 1.2;
    }
    .pin-icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
        margin-top: 0;
    }


    .offices-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .map-container, .swiper-container {
        width: 90%;
    }

    
    .cta-link {
        padding: 10px 20px;
        font-size: 12px !important;
    }

    .cta-arrow {
        width: 14px;
        height: 14px;
        right: 15px; 
    }

    .cta-link:hover .white-arrow {
        opacity: 1;
    }
    
  
    .cta-link {
        padding: 10px 20px;
        font-size: 16px;
    }


    .swiper-pagination {
        margin-top: 10px;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .swiper-pagination-bullet-active {
        width: 30px;
        background-color: white;
    }
}












/* FOOTER */

.footer-section {
    padding: 60px 0px;
    background-color: #FFFFFF;
    text-align: center;
    position: relative;
  }
  
  .footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logos {
    margin-bottom: 10px;
  }
  
  .footer-main-logo {
    max-width: 400px;
    margin-bottom: 30px;
  }
  
  .footer-message {

    width: 450px;
  }
  
  .footer-social {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }
  
  .footer-social a img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
  }
  
  .footer-social a:hover img {
    transform: scale(1.1);
  }
 /* Círculos decorativos */
.circle-decor {
  position: absolute;
  width: 50px;
  z-index: 1;
}
.circle-decor-2 {
    position: absolute;
    width: 80px;
    z-index: 1;
  }
.top-left {
  top: 0px;
  left: 0px;
}

.top-right {
  top: 0px;
  right: 0px;
}

.bottom-left {
  bottom: 0px;
  left: 0px;
}

.bottom-right {
  bottom: 0px;
  right: 0px;
}

  @media (max-width: 768px) {
    .footer-main-logo {
      max-width: 320px;
      margin-bottom: 10px;
    }
  
    .footer-message {
      width: 300px;
    }
  
    .footer-social a img {
      width: 20px;
      height: 20px;
    }
    .circle-decor {
        width: 50px;
      }
  }
  @media (max-width: 480px) {
    .circle-decor {
      width: 40px;
    }
  }

@media (min-width:768px)and (max-width: 1024px) {
    .landing-section {
        background-position: top center; 
        background-size: contain;
        height: auto; 
        padding: 80px 20px !important; 
       padding-top: 80px ;
    }
    .arrow-image{
    margin-top:-20px;

    }

    .cumplimos-image{
        max-width: 500px;
        margin-bottom: 10px;
        margin-top: -20px;
    }


    .p-title{
        margin-bottom: 0;
    }


  
 
}

/* Estilos para iPad mini  */
@media (min-width: 768px) and (max-width: 1000px)  {
    .landing-section {
        background-position: top center; 
        background-size: cover; 
        height: auto;
        padding: 60px 20px; 
        
    }
   .logo{
    max-width: 150px;
    margin-left: -40px;
   }

    .cumplimos-image{
        max-width: 400px;
    }




}



/* GALERIAS */
/* Estilos para el modal */
.gallery-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    background: #011E41;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    border: 0.5px solid  #E68F0F;
}

.modal-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover; 
    object-position: top; 
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-thumbnails img:hover {
    transform: scale(1.1);
}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
