/*
Theme Name: Petrotal
Theme URI:  https://ruben.cunyas.com
Author: Rubén Cunyas (@rux)
Author URI: https//ruben.cunyas.com
Description: Tema hecho para Petrotal, soportado por WordPress.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: oil, extraction, Peru, reliable, sustainable
Text Domain: rub
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


body {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    background-color: #FFF/*#DAE2EA*/;
    color: #182E54;
    font-size: 1.1rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Rubik", sans-serif;
    font-weight: 300 !important;
}

h2{
    font-size: 3rem;
}

a {
   text-decoration: none; 
}

a:hover {
    
}
.text-slim{
    font-weight: 300;
}
.text-green{
    color:#0DB14B;
}
.text-lightgreen{
    color: #02A80E;
}
.text-blue{
    color:#456DCF;
}
.text-grey{
    color: #8B8E97;
}
.box-crono{
    background-color: #FFF;
}
.box-crono:hover{
    background-color: #456DCF;
    color: #FFF;
}
.box-crono:hover .text-blue, .box-crono:hover .text-green{
    color: #FFF;
}

.corner-inf-der{
    -webkit-border-bottom-right-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    border-bottom-right-radius: 50px;
}

/* Estilo personalizado del tooltip */
.custom-tooltip {
    --bs-tooltip-bg: #456DCF; /* Fondo negro */
    --bs-tooltip-color: #FFF; /* Texto blanco */
    --bs-tooltip-border-radius: 8px; /* Bordes redondeados */
    --bs-tooltip-padding-y: 10px; /* Padding vertical */
    --bs-tooltip-padding-x: 10px; /* Padding horizontal */
    --bs-tooltip-max-width: 200px; /* Ancho máximo */
    text-align: left; /* Alineación del texto */
}

.custom-tooltip .tooltip-inner {
    color: #FFF!important; /* Color del texto forzado */
}

.custom-tooltip .tooltip-arrow {
    border-color: #000 !important; /* Color de la flecha del tooltip */
}


/*ELEMEnTS*/
::selection {
    background: #33AA1F;
    color: white;
    /* text-shadow: 1px 1px #fff;*/
}

/* Firefox */
::-moz-selection {
    background: #456DCD;
    color: white;
    /*text-shadow: 1px 1px #fff;*/
}

/*SCROLL BAR*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #4EBEA6;
}

/*MODAL*/
#closebt-container {
    position: relative;
    width: 100%;
    top: -10px;
    right: -10px;
}

.closebt {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}

.closebt:hover {
    transform: rotate(90deg);
}

/*ANIMATIONS*/
a,
.btn-reserva,
.btn-blue,
.icon-round,
.box-crono,
.navbar, .navbar.navbar-scroll,
.navbar-scroll img {
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}

/*HERO SWIPER*/
h2 {
    line-height: 1.1;
}
.hero-slider {
    width: 100%;
    height: 700px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 0;
}

@media (max-width: 991px) {
    .hero-slider {
        height: 600px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 500px;
    }
}

.hero-slider .swiper-slide {
    overflow: hidden;
    color: #fff;
    border-radius: 0px;
}

.hero-slider .swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    background: rgba(0, 0, 0, 0.5) !important;
    width: 55px;
    height: 55px;
    line-height: 53px;
    margin-top: -30px;
    text-align: center;
    border: 2px solid #d4d3d3;
    border-radius: 55px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }
}

.hero-slider .swiper-button-prev {
    left: 25px;
    transform: translateX(50px);
}

.hero-slider .swiper-button-prev:before {
    font-family: "Font Awesome 5 Free";
    content: "\f060";
    font-size: 15px;
    color: #d4d3d3;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
}

.hero-slider .swiper-button-next {
    right: 25px;
    transform: translateX(-50px);
}

.hero-slider .swiper-button-next:before {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    font-size: 15px;
    color: #d4d3d3;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    text-align: left;
    line-height: 12px;
    font-size: 12px;
    color: #000;
    opacity: 0.3;
    background: #fff;
    transition: all .2s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-slider .swiper-container-horizontal>.swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
    bottom: 30px;
}

@media screen and (min-width: 992px) {

    .hero-slider .swiper-container-horizontal>.swiper-pagination-bullets,
    .hero-slider .swiper-pagination-custom,
    .hero-slider .swiper-pagination-fraction {
        /*     display: none; */
    }
}

.swiper-pagination {
    text-align: left;
}

.hero-slider .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 50px;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 767px) {
    .hero-slider .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 30px;

    }
}

/*--------------------------------------------------------------
  #hero-style
--------------------------------------------------------------*/
.hero-style {
    height: 630px;
    transition: all .4s ease;
}

@media (max-width: 991px) {
    .hero-style {
        height: 600px;
    }
}

@media (max-width: 767px) {
    .hero-style {
        height: 700px;
    }
}

@media screen and (min-width: 992px) {
    .hero-style .container {
        /*padding-top: 95px;*/
    }
}

.hero-style .slide-title,
.hero-style .slide-text,
.hero-style .slide-btns {
    max-width: 690px;
}

.hero-style .slide-title h2 {
    font-size: 100px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 40px;
    text-transform: capitalize;
    transition: all .4s ease;
}

@media (max-width: 1199px) {
    .hero-style .slide-title h2 {
        font-size: 75px;
    }
}

@media (max-width: 991px) {
    .hero-style .slide-title h2 {
        font-size: 50px;
        margin: 0 0 35px;
    }
}

@media (max-width: 767px) {
    .hero-style .slide-title h2 {
        font-size: 35px;
        margin: 0 0 30px;
    }
}

.hero-style .slide-text p {
    opacity: 0.8;
    font-family: Rajdhani;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: normal;
    color: #ffffff;
    margin: 0 0 40px;
    transition: all .4s ease;
}

@media (max-width: 767px) {
    .hero-style .slide-text p {
        font-size: 16px;
        font-size: 1rem;
        font-weight: normal;
        margin: 0 0 30px;
    }
}

.hero-style .slide-btns>a:first-child {
    margin-right: 10px;
}

.slide-inner h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 500;
}

    /*SLIDER VIDEOS*/
    /* Video de fondo */
    .video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2; /* Para que el video esté detrás del contenido */
    }

    /* Capa superpuesta con degradado */
    .overlay-gradient {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Superpuesta sobre el video */
    }

    /* Botonera fija al pie del slider */
    .slider-botonera {
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 2; /* Encima de todo */
        display: flex;
        gap: 30px;
        
    }
    .fs-7{
        font-size: 0.75rem;
    }
    .fs-0{
        font-size: 4rem;
    }


    /*END SLIDER VIDEOS*/

 /* Custom pagination alignment */
.custom-pagination {
    position: absolute;
    bottom: 30px;
    left: 15px; /* Ajusta según el margen del container */
    z-index: 10;
}

.custom-pagination-item {
    text-align: left;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    height: 2px;
    position: relative;
    overflow: hidden;
    width: 150px;
}
.progress-bar.bg-primary{
    background-color:#479CEB
}

.progress-fill {
    background: white;
    border-radius: 5px;
    height: 100%;
    width: 0;
    transition: width 5s linear;
}

.slider-number {
    font-weight: bold;
    color: white;
    font-size: 1rem;
    display: block;
}

.slider-title {
    color: white;
    font-size: 1rem;
    display: block;
}
    
        
/*END CUSTOM SLIDER*/

/*SWIPER 2*/
.block-color{
    background-color: #EDF0F4;
}
.noticias-container {
    padding: 40px 0;
}
.swiper-container {
    width: 100%;
}
.swiper-pagination-clickable .swiper-pagination-bullet{
    margin-left: 10px; /* Ajusta el valor según sea necesario */
}

.swiper-slide {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
      }
      
      .slide-content {
        flex-grow: 1;
        position: relative;
        overflow: hidden;
      }
      
      .slide-title {
        font-weight: bold;
        color: #fff;
        font-size: 0.9rem;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        background: linear-gradient(to bottom, rgba(28, 52, 95, 0) 50%, rgba(28, 52, 95, 0.6) 100%);
        padding: 10px;
        display: flex;
        align-items: flex-end;
        
      }
      


  
  
.slide-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.swiper-button-prev,
.swiper-button-next {
    color: #007bff;
}
.section-title {
    font-size: 3rem;
    font-weight: 500;
    /*color: #3366cc;*/
    margin-bottom: 20px;
}
.section-subtitle {
    color: #28a745;
    font-size: 1.2rem;
}


/*NAVBAR*/
.menu-item{
    margin: 0 10px;
}
.nav-link{
    padding: 2px 5px !important;
}
.menu-item-8318, .menu-item-8524{
    border: 1px solid white;
}
#interna .menu-item-8318, #interna .menu-item-8524{
    border: 1px solid #172747;
}
#interna .navbar-nav li.active.menu-item-8318,
#interna .navbar-nav li.active.menu-item-8524{
    border: 1px solid #456DCD;
}
.navbar-nav li.active a.nav-link{
    color: #FFF;
    font-weight: 500;
}
.navbar-expand-lg .navbar-nav .nav-link{
    color: #fff;
    font-size: 0.9rem;
}

.swiper-button-prev::after, .swiper-rtl .swiper-button-next::after, .swiper-button-next::after, .swiper-rtl .swiper-button-prev::after {
    display: none;
}

.navbar-collapse {
    background: transparent;
}

.navbar {
    background: transparent;
    padding: 15px 0 !important;
}

.navbar-toggler {
    border: transparent !important;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5); /* Cambia el color del borde del botón a blanco */
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Estilos iniciales del navbar */
.navbar {
    transition: background-color 0.3s ease;
}

/* Fondo del navbar cuando el usuario hace scroll */
.navbar-scroll {
    background-color: rgba(23, 39, 71, 0.95) !important; /* Color del fondo que cambia al hacer scroll */
    padding: 10px 0 !important;
}
.navbar-scroll img{
    height: 60px !important;
}



/* Enlace activo con subrayado */
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: #9EE217; /* Color del texto activo */
    font-weight: 600;
    position: relative; /* Necesario para ::after */
}
.navbar-nav li.active a.nav-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px; /* Distancia del subrayado respecto al texto */
    width: 100%;
    height: 2px; /* Grosor del subrayado */
    background-color: #fff; /* Color blanco para el subrayado */
    transition: transform 0.3s ease; /* Transición suave */
    transform: scaleX(1); /* Mostrar subrayado */
}

/* Subrayado por defecto oculto */
.navbar-expand-lg .navbar-nav .nav-link {
    position: relative; /* Necesario para ::after */
}

.navbar-expand-lg .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background-color: #fff; /* Color blanco para el subrayado */
    transform: scaleX(0); /* Esconde el subrayado por defecto */
    transition: transform 0.3s ease; /* Animación suave */
}

/* Mostrar el subrayado al hacer hover */
.navbar-expand-lg .navbar-nav .nav-link:hover::after {
    transform: scaleX(1); /* Muestra el subrayado al hacer hover */
}



/* BLOQUE PUBLICACIONES */
.publication-item {
    width: 140px;
    height: 200px;
    position: absolute;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

/* Ajustes de rotación y separación para evitar que se vean amontonadas */
.rotate-left {
    transform: rotate(-10deg);
    top: -100px;
    left: 50px;
}
.rotate-right {
    transform: rotate(10deg);
    top: -90px;
    left: 180px;
}
.rotate-left-alt {
    transform: rotate(-5deg);
    top: -110px;
    left: 310px;
}

/* Efecto de hover */
.publication-item:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Estilo de las imágenes */
.publication-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilo específico para mobile */
@media (max-width: 767px) {
    .publication-container {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .publication-item {
        position: static;
        width: 48%; /* Ajusta para que las imágenes se muestren en dos columnas */
        height: auto;
        margin-bottom: 1rem;
        transform: rotate(0deg); /* Elimina la rotación en mobile */
    }
}


/*CONTACTO*/
.contact-header {
    padding: 100px 0;
    color: #ffffff;
    background-size: cover;
    text-align: center;
}

.contact-info h4 {
    margin-top: 15px;
    font-weight: bold;
}

.contact-info p {
    color: #666;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.contact-form h2 {
    color: #333;
}

.contact-map iframe {
    width: 100%;
    border: 0;
}

.wpcf7-submit, .search_submit>input, .btn-green {
    background-color: #479CEB; /* Color de fondo */
    color: #fff; /* Color del texto */
    border: none; /* Sin borde */
    padding: 10px 20px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor a pointer */
    font-size: 16px; /* Tamaño de fuente */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transición para el efecto de hover */
}

.wpcf7-submit:hover, .search_submit:hover>input, .btn-green:hover{
    background-color: #479CEB; /* Color de fondo más oscuro en hover */
    transform: scale(1.05); /* Efecto de ampliación ligera en hover */
}




/*FORM PROVEEDORES*/
.form-steps {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}


.btn-primary {
    background-color: #3366CC;
    border-color: #3366CC;
}

.btn-primary:hover {
    background-color: #254a9c;
    border-color: #254a9c;
}

.btn-secondary {
    background-color: #cccccc;
    border-color: #cccccc;
}

.btn-secondary:hover {
    background-color: #b3b3b3;
    border-color: #b3b3b3;
}




/*FOOTER*/
.footer {
    color: white;
    font-size: 0.9rem;
}

.footer .footer-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

.footer .divider {
    border-top: 1px solid #779adb;
    margin: 20px 0;
}

.footer .logos {
    margin-top: 20px;
}

.footer .logos img {
    max-width: 250px;
}
.footer .container{
    border-top: 1px solid white;
}


/*HEAD*/
.header, .header_ga{
    background-position: center center;
    background-size: cover;
    height: 420px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 109, 207, 0.5);
}
.header-overlay-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/*NOSOTROS*/
.head{
    background-position: center center;
    background-size: cover;
    height: auto;
}

/*BLOCK INNOVACION*/


.block-innovacion .section-title {
    color: #4A7FE1;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.block-innovacion .card {
    border: none;
}

.block-innovacion .card-img-top {
    border-radius: 10px;
}

.block-innovacion .card-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.block-innovacion .card-body h5 {
    font-weight: bold;
    color: #1B4C88;
}

.block-innovacion .card-body p {
    color: #4F5C6B;
}

/*BLOCK SEGURIDAD*/
.custom-content {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 15px;
    margin-left: auto;
  }
  .custom-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .custom-icon {
    font-size: 1.5rem;
    color: #4caf50;
    margin-right: 10px;
  }
  @media (max-width: 768px) {
    .custom-image {
      order: 2; /* Mueve la imagen debajo del contenido en mobile */
    }
    .custom-content {
      order: 1;
      text-align: center;
    }
  }


  /*PROYECTS*/
  .project-content{
    background-color: #467DD8 !important;
    color: white;
  }


  /* ACORDEON */
  /* Estilos del acordeón */
  .accordion-button {
    background-color: white;
    border-radius: 15px;
    padding: 15px 25px;
    color: #1E355D;
    font-weight: bold;
    font-size: 1.2rem;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-button:not(.collapsed) {
    color: #1E355D;
    background-color: white;
  }

  .accordion-item {
    border: none;
    margin-bottom: 10px;
  }

  /* Centrar la flecha predeterminada de Bootstrap */
  .accordion-button::after {
    margin-left: auto;
    margin-right: 0;
    font-size: 1.5rem;
  }

  /* Contenido del acordeón */
  .accordion-body {
    background-color: white;
    border-radius: 15px;
  }

  .accordion-body p {
    margin: 0;
  }
.acordeon{
    background-size: cover;
}

/* NOTICIAS */



.card-img-overlay {
    background: linear-gradient(to bottom, rgba(28, 52, 95, 0) 50%, rgba(28, 52, 95, 0.6) 100%) !important;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: end;
}

.custom-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.custom-card img {
    transition: transform 0.3s ease;
    flex: 1; /* Hace que la imagen ocupe el espacio restante */
}

.custom-card:hover img {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.5rem; /* Ajuste de tamaño para desktop */
    font-weight: bold;
}
/* Forzar una altura mínima en desktop */
@media (min-width: 768px) {
    .custom-card {
        min-height: 400px; /* Ajusta este valor según la altura deseada */
    }
}


/* Ajustes para mobile */
@media (max-width: 767px) {
    .custom-card {
        height: 260px; /* Ajusta la altura de las tarjetas para que sean uniformes en mobile */
    }

    .card-title {
        font-size: 1.2rem !important; /* Ajuste de tamaño de fuente para mobile */
    }

    .card-img-overlay {
        padding: 0.5rem;
        display: flex;
        align-items: end;
    }
}


 
/*EL GUACAMAYO*/

.filter-link.active {
    background-color: #007bff; /* Color de fondo del botón activo */
    color: white; /* Color del texto del botón activo */
}

#guacamayo .card-text p{
    display: none;
}

/*BUSCADOR*/
.search-bar {
    position: absolute;
    top: 50%;
    right: 15px; /* Ajusta según el diseño */
    transform: translateY(-50%);
    background: white;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
    width: 250px; /* Ajusta el ancho según sea necesario */
}

#close-search {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 999;
}

@media (max-width: 992px) { 
    /*.search-bar {
        display: block !important; 
        position: static; 
        width: 100%; 
        margin-top: 10px; 
    }*/
    .search-bar {
        display: none !important;
    }
}



/*HEADS*/
.head-proposito {
    width: 100%; /* Asegura que la sección ocupe todo el ancho de la pantalla */
    min-height: 300px; /* Ajusta el alto según sea necesario */
    margin: 0; /* Elimina los márgenes */
    overflow: hidden;
}
.gradient-overlay {
    z-index: 1;
}
.head-proposito .container {
    z-index: 2; /* Asegura que el contenido esté sobre la capa de degradado */
}
.head-proposito h2 {
    font-size: 2.5rem; /* Ajusta el tamaño del título */
}
.head-proposito div {
    font-size: 1.2rem; /* Ajusta el tamaño de la descripción */
}

/* Ajustes para mobile */
@media (max-width: 767px) {
    .head-proposito {
        height: 300px; /* Ajusta el alto en dispositivos móviles */
    }
    .head-proposito h2 {
        font-size: 1.8rem;
    }
    .head-proposito div {
        font-size: 1rem;
    }
}


/*MEDIA QUERY*/
@media screen and (max-width: 1200px) {}

@media screen and (max-width: 480px) {
    .navbar {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    /* Ocultar el menú en móvil por defecto */
    .navbar-collapse {
        position: fixed; /* Cambiado a fijo para superponerse */
        top: 0;
        right: -250px; /* Fuera de la vista */
        height: 100vh; /* Altura completa */
        width: 250px; /* Ancho del menú */
        background-color: #0d1f35ec ;
        transition: right 0.3s ease; /* Transición suave */
        z-index: 1050; /* Asegúrate de que esté sobre otros elementos */
    }

    /* Muestra el menú cuando está activo */
    .navbar-collapse.show {
        right: 0; /* Mostrar el menú */
    }

    /* Cambiar el icono del botón */
    .navbar-toggler {
        transition: transform 0.3s ease; /* Transición suave para el botón */
    }

    /* Cambiar el estado del botón cuando el menú está activo */
    .navbar-toggler.active {
        transform: rotate(90deg); /* Rotación opcional para el efecto */
    }
    .nav-link{
        padding-left: 15px;
    }
    .navbar-toggler{
        z-index: 9999;
    }
    .slider-botonera{
        display: none;
    }

    .section-title{
        font-size: 2rem;
    }
    footer {
        text-align: center;
    }
    .head{
        height: 400px;
    }
    .slide-inner h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    .table-box{
        display: none;
    }
    .header, .header_ga{
        height: 300px;
    }
}

/*NEW ADJUST*/
.fs-7{
    font-size: 0.7rem;
}
.fs-8{
    font-size: 0.9rem;
}
.text-skyblue{
    color: #479CEB;
}
.text-darkblue{
    color: #172747;
}
.border-skyblue{
    border-color: #479CEB !important;
    border-width: 1px !important;
}
.bg-skyblue{
    background-color: #479CEB;
    color: #FFF;
}
.bg-darkblue{
    background-color: #172747;
    color: #FFF;
}
.bg-skybluegradient{
    background: linear-gradient(to left, #6BC8C6, #0065B0);
}
.bg-topdarkblue{
    background: url('./assets/img/bg-top-darkblue.png') repeat-x top;   
}
.bg-blue{
    background-color: #3366CC;
}
.bg-green{
    background-color: #0DB14B;
}
.bg-lightgreen{
    background-color: #02A80E;
}
.bg-brightgreen{
    background-color: #8CCE17;
}
.title-column {
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    padding-top: 10px;
}

/* Estilo base del botón */
.btn-skyblue {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    padding-right: 15px;
}

/* Estilo base para el ícono */
.btn-skyblue i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Efecto hover del botón */
.btn-skyblue:hover {
    background-color: #479CEB;
    color: #fff;
    transform: translateX(-2px); /* Eleva ligeramente el botón */
    box-shadow: 0 8px 16px rgba(71, 156, 235, 0.6);
}

/* Efecto hover del ícono */
.btn-skyblue:hover i {
    background-color: #479CEB;
    color: #fff;
    transform: translateX(8px); /* Mueve la flecha hacia la derecha */
}

/* Foco accesible */
.btn-skyblue:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(71, 156, 235, 0.5);
}


/*--*/
/* Estilo base del botón */
.btn-darkblue {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    padding-right: 15px;
}

/* Estilo base para el ícono */
.btn-darkblue i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Efecto hover del botón */
.btn-darkblue:hover {
    background-color: #172747;
    color: #fff;
    transform: translateX(-2px); /* Eleva ligeramente el botón */
    box-shadow: 0 8px 16px rgba(71, 156, 235, 0.6);
}

/* Efecto hover del ícono */
.btn-darkblue:hover i {
    background-color: #1B4C88;
    color: #fff;
    transform: translateX(8px); /* Mueve la flecha hacia la derecha */
}

/* Foco accesible */
.btn-darkblue:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(71, 156, 235, 0.5);
}



.title-column::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: currentColor;
}

.nota{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nota:hover {
    transform: scale(1.025);
}

.block-image{
    background-position: center;
    background-size: cover;
}
#interna .navbar{
    background-color: #FFF;
    color: #172747;
    padding: 15px 0 !important;
}
#interna .navbar-nav li.active a.nav-link{
    color: #3366CC;
}
#interna .navbar-nav li a.nav-link{
    color: #172747;
}
/* Enlace activo con subrayado */
#interna .navbar-expand-lg .navbar-nav .nav-link.active {
    position: relative; /* Necesario para ::after */
}
#interna .navbar-nav li.active a.nav-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px; /* Distancia del subrayado respecto al texto */
    width: 100%;
    height: 2px; /* Grosor del subrayado */
    background-color: #3366CC; /* Color blanco para el subrayado */
    transition: transform 0.3s ease; /* Transición suave */
    transform: scaleX(1); /* Mostrar subrayado */
}

/* Subrayado por defecto oculto */
#interna .navbar-expand-lg .navbar-nav .nav-link {
    position: relative; /* Necesario para ::after */
}

#interna .navbar-expand-lg .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background-color: #3366CC; /* Color blanco para el subrayado */
    transform: scaleX(0); /* Esconde el subrayado por defecto */
    transition: transform 0.3s ease; /* Animación suave */
}

/*FILTROS LOGO*/
.home .navbar-brand img , .footer img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(239deg) brightness(102%) contrast(99%);
}
#interna .navbar-brand img{
    filter:none;
}
/* Mostrar el subrayado al hacer hover */
#interna .navbar-expand-lg .navbar-nav .nav-link:hover::after {
    transform: scaleX(1); /* Muestra el subrayado al hacer hover */
}
#interna .menu-item-8173, #interna .menu-item-8174{
    border: 1px solid #172747;
}
#interna .navbar-scroll{
    background-color: #fff !important;
    box-shadow: 1px 2px 19px -4px rgba(0,0,0,0.47);
    -webkit-box-shadow: 1px 2px 19px -4px rgba(0,0,0,0.47);
    -moz-box-shadow: 1px 2px 19px -4px rgba(0,0,0,0.47);
}
body#interna{
    margin-top: 80px;
}
.text-underline {
    background-color: #479CEB;
    height: 2px;
    width: 100%;
}
.nota-img {
    width: 100%;
    height: 300px;
    object-fit: cover; 
}
.nota a .nota-img {
    height: 400px;
}
.tabs-petro .nav-tabs .nav-link.active{
    background-color: #0DB14B !important;
    color: #FFF !important;
    
}
.tabs-petro .nav-tabs .nav-link{
    background-color: #FFF;
    padding: 15px 20px !important;
}


/* Estilo por defecto: línea vertical */
.divider {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: #ddd; /* Color de la línea */
    z-index: 1;
}

/* Padding en la columna para evitar que la línea toque el contenido */
.nota {
    position: relative;
    padding-right: 10px; /* Espacio para la línea divisora */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .divider {
        position: relative;
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;
        height: 1px; /* Línea horizontal */
        width: 100%; /* Ancho total de la columna */
        margin-top: 10px; /* Espaciado entre la línea y el contenido */
    }
    
    .nota {
        padding-right: 0; /* Quitar espacio para la línea vertical en mobile */
    }
}


.arrow-space{
    background: url('./assets/img/space-arrow.png') center right no-repeat;
    height: 20px;
    width: 100%;
}
.fs-1{
    line-height: 3rem !important;
}
.fs-2{
    line-height: 2.7rem !important;
}
.separator-notes{
    height: 2px;
    width: 150px;
}
.separator-blocks{
    height: 1px;
    width: 100%;
}

.contact-form-section .progress-bar{
    height: 15px;
    background-color: #479CEB !important;
}
.separator-white{
    background-color: #fff;
    height: 1px;
}

.rrss {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    text-decoration: none; 
}
/* =====================================================
   PUBLICACIONES - SOLO PAGINA PUBLICACION
   ===================================================== */

#guacamayo .publicacion-card {
    background: #ffffff !important;
    color: #173A67 !important;
    border: 1px solid #ddd;
    overflow: hidden;
    height: auto !important;
}

#guacamayo .publicacion-card-body {
    padding: 16px !important;
    background: #ffffff !important;
}

#guacamayo .publicacion-titulo {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 64px;

    margin: 0 0 14px 0 !important;
    padding: 0 4px !important;

    color: #173A67 !important;
    background: transparent !important;

    text-align: center !important;
    letter-spacing: 0;
}

#guacamayo .publicacion-titulo .primeraLinea {
    display: block;

    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;

    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

#guacamayo .publicacion-titulo .segundaLinea {
    display: block;

    margin-top: 4px;

    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;

    text-transform: none !important;
    letter-spacing: 0;
}

#guacamayo .publicacion-contenido,
#guacamayo .publicacion-contenido p,
#guacamayo .publicacion-contenido a,
#guacamayo .publicacion-contenido span,
#guacamayo .publicacion-contenido div {
    background: transparent !important;
    color: inherit !important;
}

#guacamayo .publicacion-contenido p {
    display: block !important;
    margin: 0 !important;
}

#guacamayo .publicacion-contenido img {
    display: block;
    width: 92%;
    height: auto;
    margin: 0 auto;
}

#guacamayo .custom-card:hover img {
    transform: none !important;
}

@media (max-width: 767px) {
    #guacamayo .publicacion-card {
        height: auto !important;
    }

    #guacamayo .publicacion-titulo {
        min-height: auto;
    }

    #guacamayo .publicacion-titulo .primeraLinea {
        font-size: 14px !important;
    }

    #guacamayo .publicacion-titulo .segundaLinea {
        font-size: 20px !important;
    }

    #guacamayo .publicacion-contenido img {
        width: 100%;
    }
}