.hero-background {
  background-attachment: fixed;
}.btn.whatsapp-btn, .btn.email-btn {
    border: 2px solid #aeaeae;
    margin-top: 5px;
}
/* Estilos generales del contenedor de proyecto */
.projeto-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Estilos para la introducción */
.projeto-intro h1 {
    color: #005f9e;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.projeto-intro p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Estilos para la imagen */
.projeto-imagem {
    margin: 2rem 0;
    text-align: center;
}

.projeto-imagem img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilos para la descripción */
.projeto-descricao {
    margin: 2rem 0;
}

.projeto-descricao p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Estilos para características (tabla visual) */
.projeto-caracteristicas {
    margin: 3rem 0;
    background-color: #f8fcff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 95, 158, 0.08);
}

.projeto-caracteristicas h2 {
    color: #005f9e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.projeto-caracteristicas h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #005f9e, #4BB4E6);
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.caracteristica-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4BB4E6;
}

.caracteristica-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.caracteristica-item h3 {
    color: #005f9e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.caracteristica-item p {
    font-size: 1.3rem;
    color: #333;
    font-weight: 500;
}

/* Estilos para beneficios */
.projeto-beneficios {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #eef8f2;
    border-radius: 10px;
}

.projeto-beneficios h2 {
    color: #00815d;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Estilos para diferencial */
.projeto-diferencial {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f7f7f7;
    border-radius: 10px;
}

.projeto-diferencial h2 {
    color: #444;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Estilos para contacto */
.projeto-contato {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #005f9e;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.projeto-contato h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.projeto-contato p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-contato {
    display: inline-block;
    background-color: white;
    color: #005f9e;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-contato:hover {
    background-color: #f2f2f2;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .caracteristicas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .caracteristicas-grid {
        grid-template-columns: 1fr;
    }
    
    .projeto-intro h1 {
        font-size: 2rem;
    }
    
    .projeto-caracteristicas,
    .projeto-beneficios,
    .projeto-diferencial,
    .projeto-contato {
        padding: 1.5rem;
    }
}
#g-offcanvas #g-mobilemenu-container ul > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module).active {
    background: #959595;
}
/* Override para iOS */
@supports (-webkit-overflow-scrolling: touch) {
  .hero-background {
    background-attachment: scroll;
  }
}
#g-mainbar,#g-sidebar
{padding: 0}
.view-article .page-header h2 {
    margin: 0;
    line-height: 1.3em;
}
.blog .items-leading .item-image {
    display: block;
    position: relative;
    height: 300px; /* Fixed height container */
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback color */
}

.blog .items-leading .item-image a {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.blog .items-leading .item-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: cover;
}
.blog .items-leading>div {
    background: white;
    margin-bottom: 2em;
    border-bottom: 1px solid #cecece;
}
.share-btns .share-btn {
    padding:  0 .2em;
    color: #7b878b;
}
.blog-item .item-content h2 a {
    color: #0b0b0b;
    font-size: 1.2em;
    margin-top: .2em;
    margin-left: 0.4em;
    display: block;
}
.sliderbox h4 {
    line-height: 1.2em;
    max-width: 92%;
    margin-bottom: 0;
    text-shadow: 2px 2px 2px black;
}
.item-page .item-image {
    margin: 1em 0;
}
.g-home-particles.g-helium-style #g-navigation .g-social a:hover{
  color: #909090;
}
.g-home-particles.g-helium-style #g-navigation .g-social a{
      color: #f6a627;font-size: 1.2em;
}
.view-article #g-mainbar .g-block .g-content {
    margin: 0;
    padding: 0.938rem 0;
}
/* Navigation styling with gradient */
#g-navigation {
  background: linear-gradient(to right, white, transparent)!important;
}
.sliderbox .g-block.size-100.withpic.underimage.box ,.sliderbox .description p {
    display: none;
}
#g-navigation.sticky{
  background: white!important;
}
/* Navigation menu styling */
.g-main-nav .g-toplevel > li > .g-menu-item-container {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #777;
}

.contact-button-nav {
  background: linear-gradient(to bottom, #FCCF22, #F5A024);
  color: white!important;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.2em!important;
  padding: 0.7em 1em!important;
  border: none;
  border-bottom: 0px solid #868686;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.contact-button-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.25);
}

/* Hero section with background image */
.hero-section {
  position: relative;
}

.hero-background {
  background-size: cover;
  background-position: center;
  min-height: 600px;
  position: relative;
}

/* Hero content styling */
.hero-content {
  position: relative;
  padding-top: 16em;
}

.hero-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.75);
  line-height: 1.2;
}

/* Contact button on hero */
.hero-button {
  margin-top: 2rem;
}

.hero-button a {
  padding: 0.8rem 2rem;
  border: 2px solid white;
  border-radius: 5px;
  margin-bottom: 3.8em;
  color: white!important;
  text-decoration: none;
  display: block;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-button a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.sticky {
  position: fixed!important;
  padding-bottom: 10px!important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.g-offcanvas-toggle {
    position: absolute;
    top: 1.4rem;
    COLOR: #f37224;
    background: #fff;
    display: flex;
    padding: 3px!important;
    width: 40px;
    height: 20px!important;
    left: auto;
    right: 0px!important;
    font-size: 1.3em;
    padding: 12px;
    width: 51px;
    height: 51px;
}
.g-offcanvas-toggle.sticky {
    position: fixed;
     top: 1.2rem;
}

/* Stats container */
.stats-container {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.stat-box {
      background-color: rgb(255 255 255 / 6%);
    color: white;
    padding: 10px 0px 20px;
    border-radius: 7px 7px 7px 7px;
    text-align: center;
    width: 200px;
}

.stat-box h3 {
  font-size: 1.7rem;
  margin: 0;
  font-weight: bold;
}

.stat-box p {
  margin: 0;
  font-size: 0.9rem;
    line-height: 1.2em;
}
div#custom-8907-particle {
    position: relative;
}
.partner-logos.row .col {
    padding: 0;
    margin: 3px;
    text-align: center;
}

.g-grid.contact-header {
    width: 100%;}
/* Responsive adjustments */
@media (max-width: 768px) {

.view-article .page-header h2 {
    font-size: 1.67em;}
.view-article figure.item-image {
    margin: 0;
}
  #g-header{background-color: white;}
  #g-navigation  {
    padding-bottom: .5em;
  }
  #g-navigation .g-logo{
    padding-left: 0!important;
  }
  #g-navigation .g-social {
    display: none;
}
  .porque-fazsol-section{
    padding-top: 0em!important;

    display: table-cell;
    padding-left: 0!important;
    padding-right: 0!important;
  }
  .benefit-item {
        gap: 0;}
        .benefit-icon {
    flex: 0 0 60px;}
  .g-logo.g-logo-helium img{

    max-height: 70px!important;
    margin-top: .4em;
  }
  .hero-content h2 {
    font-size: 1.8rem;
    
        line-height: 1.4em !important;
        text-align: left;
  }
  
  .stats-container {
        position: relative;
        margin: 1em;
        bottom: auto;
        margin-top: 0;
        padding: 0px 0px 20px;
        background-color: #f5f5f5;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
          }
  
  .stat-box {
background-color: white;
        color: #595959;
        margin-top: -15px;
        box-shadow: 1px -2px 20px 0px rgb(251 251 251 / 45%);
        width: auto;
    }  
    .stat-box h3 {
        font-size: 1.3rem;
        margin: 0 1em;
        line-height: 1.2em;
        white-space: nowrap;
      }
    .stat-box p {
    margin: 0 1em;}
  .hero-content {
    padding: 20px;
    position: relative;
        max-width: 350px;
    top: auto;
    left: auto;
  }
  
  .hero-background {
    min-height: auto;
    padding-top: 60px;
  }
}

@media screen and (min-width: 769px) {
  .stats-container {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
  }
  
  .hero-background {
    min-height: 600px;
    padding-bottom: 100px; /* Espacio para que no se corte el contenido */
  }
}

@media screen and (min-width: 992px) {
  .hero-button {
    display: flex;
    margin-bottom: 1.2em;
    margin-left: 8em;
  }
  
  .hero-content h2 {
    width: 37%;
    display: block;
    line-height: 1.4em!important;
    margin-left: 8rem;
    font-size: 3em;
    text-align: left;
  }
}