/*
Theme name: TGE Solutions Custom Theme
Text Domain: tge-solutions-custom-theme
Version: 1.0
Description: Testing 
Tags: user-friendly, modern, professional
Author: LoGiudice WebStudios
Author URI: https://agribit.it
*/


body {
    /* Need to align the footer to the center */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

:root {
    /* COLORS */
    --primary: #0F71AC; 

    /* FONTS */
    --main-font: "Lexend Deca", sans-serif;

    --font-weight-regular: 300;
    --font-weight-bold: 500;
    --font-weight-extra-bold: 600;

    --font-size-title: 10vw;
    --font-size-title-medium: 8vw;
    --font-size-title-small: 5vw;
    --font-size-subtitle: 4.2vw;
    --font-size-description: 4.2vw;
}

/* UTILITY CLASSES */

img {
    border-radius: 15px;
}

.carousel img {
    border-radius: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--main-font);
    font-weight: var(--font-weight-extra-bold);
    color: black;
}

h1 {
    font-size: var(--font-size-title);
}

h2 {
    font-size: var(--font-size-title-medium);
}

h3 {
    font-size: var(--font-size-title-small);
}

.title {
    font-family: var(--main-font);
    font-weight: var(--font-weight-extra-bold);
    font-size: var(--font-size-title);
    color: black;
}

.subtitle {
    font-family: var(--main-font);
    font-weight: var(--font-weight-extra-bold);
    font-size: var(--font-size-subtitle);
    align-self: flex-start;
}

.title-medium {
    font-family: var(--main-font);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-title-medium);
    color: black;
}

.title-small {
    font-family: var(--main-font);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-title-small);
    color: black;
}

.description-small {
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-description);
}

.description {
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-description);
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10vw;
    width: 100%;
}

.container {

    display: flex;
    flex-direction: column;
    gap: 10vw;
}

.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-top: 15%;
    margin-bottom: 15%;
    gap: 10vw;
}

.mini-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5vw;
}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 5vw;
}

.bold {
    font-weight: var(--font-weight-bold);
}

.regular {
    font-weight: var(--font-weight-regular);
}

.btn-primary {
    border: none;
    background-color: var(--primary);
    color: white;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    border-radius: 5px;
    padding: 3%;
    padding-left: 5%;
    padding-right: 5%;
    transition: all 0.3s ease-in-out;
}

.btn-secondary {
    border: 1px solid rgb(0, 0, 0, 0.3);
    background: none;
    color: black;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    border-radius: 5px;
    padding: 3%;
    padding-left: 5%;
    padding-right: 5%;
    transition: all 0.3s ease-in-out;
}

.btn-secondary-white {
    border: 1px solid rgb(255, 255, 255, 0.3);
    background: none;
    color: white;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    border-radius: 5px;
    padding: 3%;
    padding-left: 5%;
    padding-right: 5%;
    transition: all 0.3s ease-in-out;
}


.btn-tertiary {
    border: none;
    background: none;
    border: none;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    padding: 3%;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: black;
}

.btn-tertiary-white {
    border: none;
    background: none;
    border: none;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    padding: 3%;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: white;
}




.btn-primary:hover {

    transform: scale(1.05);
    /* Slight zoom-in */


    /* EFFECT: LIFT WITH BOX SHADOW
        transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
        
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
        */

}

.btn-secondary:hover {
    transform: scale(1.05);

    /* EFFECT: LIFT WITH BOX SHADOW: 
        
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);

        */
}



/* !HERO SECTION HOMEPAGE */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* semi-trasparente */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.overlay h1 {
    color: white;
    font-size: var(--font-size-title-small);
    margin-bottom: 1rem;
}

.overlay p {
    font-size: var(--font-size-description-small);
    margin-bottom: 2rem;
}

.overlay a{
    text-decoration: none;
}

.overlay .buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.overlay .btn-secondary {
    background-color: white;
    border: none;
    
}

.overlay-content{
    width: 90%;
}

/* !SECTIONS */

/** SECTION TYPE 1 */
.section-type-1 .mini-container .icon {
    font-size: 8vw;
}

.section-type-1 .mini-container {
    text-align: center;
}

.section-type-1 .buttons {
    justify-content: center;
}

.section-type-1 .title {
    text-align: center;
}

.section-type-1 .description {
    text-align: center;
}


/** SECTION TYPE 2 */
.section-type-2 .container-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}


.section-type-2 .container-right {
    max-width: 100%;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;

}

.section-type-2 .container-right img {
    width: 90vw;
    height: 40vh;
    opacity: 0;
}

/** SECTION TYPE 3 */
.section-type-3 .container-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}

.section-type-3 .features {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}

.section-type-3 .features-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3vw;
}

.section-type-3 .container-right {
    width: 100%;
    height: auto;
}

.section-type-3 .container-right {
    width: 100%;
    height: 90%;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-type-3 .container-right img {
    width: 90vw;
    height: 40vh;
    opacity: 0;
}


/** SECTION TYPE 4 */
.section-type-4 .container-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vw;
}

.section-type-4 .container-left .subtitle {
    font-weight: 700;
    align-self: flex-start;
}

.section-type-4 .benefits-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3vw;
}

.section-type-4 .benefits-list .benefits-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3vw;
}

.section-type-4 .container-left .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.section-type-4 .container-right {
    width: 100%;
    height: 90%;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-type-4 .container-right img {
    width: 100%;
    opacity: 0;
}



/* NAVBAR */
.navbar-nav .current-menu-item .nav-link {
    color: #212529;
    /* text-dark */
}

.navbar-brand {
    width: 70%;
}

.navbar-logo {
    width: 70%;
}

.navbar-nav {
    gap: 2%;
}

.nav-link {
    font-family: var(--main-font);
    font-size: 1.2rem;
    font-weight: 300;
}

.nav-btn {
    width: 100%;
    padding: 1% !important;
}


/* SECTION */

section {
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* OVERVIEW */
.overview {
    gap: 20px;
    width: 90%;
}

/* BENEFITS */

.benefits {
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    width: 100%;
    background-color: #579BC4;
    color: white;
    padding-top: 15%;
    padding-bottom: 15%;
    margin: 0;
}

.benefits .title {
    width: 90%;
    color: white;
}

.benefits .title-small {
    color: white;
}

.benefits .description {
    width: 90%;
}

.benefists .content {
    gap: 19vw;
}

.benefits .mini-container {
    gap: 19vw;
}

.content-down {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}

.content-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}


.content .icon {
    font-size: 10vw;
}


.content-left {
    order: 1;
}

.content-right {
    order: 2;
}

.content-center {
    order: 3;
}

.content-center .image {
    border-radius: 15px;
    width: 100%;
}

.benefits .buttons {
    justify-content: center;
}

.benefits .subtitle {
    align-self: center;
}



.list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5vw;
}

.list-item .icon {
    font-size: 14vw;
}

.services .button {
    width: 30%;
}

/* *    FOOTER */

.footer {
    gap: 5vw;
    margin-top: 35%;
}

.footer-logo {
    width: 50%;
}


.footer .quick-links {
    display: flex;
    flex-direction: column;
    gap: 5vw;
    cursor: pointer;
}

.footer a {
    text-decoration: none;
    color: black;
}


.footer-navigation {
    font-family: var(--main-font);
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3vw;

}

.footer-navigation .footer-navigation-link {
    font-weight: 300;
}

.footer-navigation .dropdown-toggle {
    color: black;
    text-decoration: none;
}


.connect-with-us {
    display: flex;
    flex-direction: column;
    gap: 3vw;
}


.connect-with-us .item {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
}

.stay-updated {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3vw;
}


.stay-updated .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3vw;
}

.footer-line {
    width: 90%;
    height: 0.2vh;
    background-color: black;
}

.technical-links {
    text-decoration: underline;
    width: 90%;
    text-align: left;
}

.copyright {
    width: 90%;
    text-align: left;
}



/* !ELETRIC */

/*  EV-CHARGERS */
.ev-chargers .container-right {
    background-image: url('../images/ev-charger.jpg');
}

/* MAIN PANEL UPGRADES */

.main-panel-upgrades .container-bottom {
    width: 100%;
    height: 30vh;
    background-image: url("../images/main-panel.jpg");
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
}

.main-panel-upgrades .container-bottom img {
    width: 100%;
    opacity: 0;
}

.list-item .title {
    font-size: 5vw;
}

.main-panel-upgrades .benefits-list-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.main-panel-upgrades .benefits-list-item .icon {
    font-size: 8vw;
}

.main-panel-upgrades .container-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vw;
}

.main-panel-upgrades .container-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}


.main-panel-upgrades .container-right .benefits-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}


/* TROUBLESHOOTING */
.troubleshooting .container-right {
    background-image: url('../images/troubleshooting.jpg');
}

/* INTEGRATION */
.integration .subtitle {
    align-self: center;
}

/* REVIEWS */


/* Posiziona gli indicatori fuori dalla .carousel-inner */
.carousel-indicators {
    position: absolute;
    /* Posizione assoluta rispetto al container */
    bottom: -50px;
    /* Posiziona i pallini a 10px dal basso */
    z-index: 10;
    /* Mantiene gli indicatori sopra l'immagine */
}

.carousel-indicators [data-bs-target] {
    width: 2vw;
    height: 2vw;
    border-radius: 100%;
    background-color: black;
    border: none;
}

.carousel-indicators .active {
    background-color: black;
}


.reviews .carousel-control-next,
.reviews .carousel-control-prev {
    display: none;
    color: black;
    opacity: 1;
    font-size: 3vw;
}

.reviews .title {
    width: 89%;
    text-align: center;
    font-size: 6vw;
}

.reviews .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
    text-align: center;
    gap: 5vw;
}

.reviews .testimonial .testimonial-description {
    font-family: var(--main-font);
    font-weight: var(--font-weight-extra-bold);
    color: black;
    font-size: var(--font-size-description);
}

.reviews .testimonial .testimonial-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0 vw;
}

.reviews .testimonial .testimonial-name {
    font-family: var(--main-font);
    font-weight: var(--font-weight-extra-bold);
    color: black;
    font-size: var(--font-size-description);
}

.reviews .testimonial .testimonial-pfp {
    border-radius: 100%;
    width: 15vw;
    max-width: 15vw;
    height: 15vw;
}


/* FINAL-CTA */
.final-cta {
    gap: 3vw;
}

.final-cta .container-right {
    width: 100%;
}


/*! ROOFING */
/*  DURABILITY */
.durability .container-right {
    background-image: url("../images/durability.jpg");
}


/* EFFICIENCY */
.efficiency .container-right {
    background-image: url("../images/energy-efficency.jpg");
}

/* SOLAR ROOFING */
.solar-roofing {
    justify-content: center;
}

/* SINGLE BLOG POST */
.featured-image {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 5%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}


/* RECENT POSTS */
.recent-posts-section {
    margin-top: 4rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.recent-post h3 {
    margin: 0.5rem 0;
}

.thumbnail img {
    width: 10%;
    height: auto;
    border-radius: 8px;
}

/* SEARCH BAR */
.box {
    position: relative;
    margin-top: 5%;
}

.input {
    padding: 10px;
    width: 100%;
    height: 35px;
    background: none;
    border: 1px solid rgb(0, 0, 0, 0.3);
    border-radius: 5px;
    box-sizing: border-box;
    font-family: var(--main-font);
    font-weight: var(--font-weight-regular);
    font-size: 15px;
    color: black;
    outline: none;
    transition: .5s;
}

.box input {
    width: 100%;
}

.box i {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    color: #767677;
    transition: .2s;
}

.box i {
    opacity: 0;
    z-index: -1;
}


/* BLOG PAGE */
.posts_page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5vw;
}

.posts_page header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 90%;
    gap: 1vw;
    margin-top: 5%;
}

.posts_page header .subtitle {
    align-self: center;
}


/* CATEGORY FILTER */
.category-filter {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    background-color: transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.category-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-button.active {
    border-color: black;
    font-weight: bold;
}

/* POST GRID */
.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}



.post-preview {
    border-radius: 5px;
    padding: 1rem;
    font-family: var(--main-font);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1vw;
}

.post-preview .post-title a {
    text-decoration: none;
    color: black;
}

.post-preview .post-title a:hover {
    text-decoration: underline;
}

.post-preview .post-thumbnail {
    width: 100%;
    height: 15vh;
    overflow: hidden;
    border-radius: 5px;
}

.post-preview .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.post-preview .post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.post-meta .meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2vw;
}

.post-meta .meta-right .post-info {
    font-weight: var(--font-weight-regular);
    display: flex;
    flex-direction: row;
    gap: 0.5vw;
}

.post-meta .author-pfp img {
    width: 3vw;
    max-width: 3vw;
    height: 3vw;
    border-radius: 50%;
}

@media (min-width: 700px) {
    .post-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 500px));
    }

    .post-preview .post-thumbnail {
        width: 100%;
        height: 40vh;
        overflow: hidden;
        border-radius: 5px;
    }

}

/* SEARCH RESULTS */
.search-results {
    width: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 1vw;
    margin: 5%;
}

.search-result-single {
    display: flex;
    flex-direction: column;

}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
@media (min-width: 700px) {
    :root {
        --font-size-title: 2.5vw;
        --font-size-title-small: 1.25vw;
        --font-size-title-medium: 2vw;
        --font-size-subtitle: 0.8vw;
        --font-size-description: 1vw;
    }

    /* UTILITY CLASSES */

    .sub-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }


    .buttons {
        gap: 0.8vw;
    }

    .btn-primary {
        font-size: 1vw;
        border-radius: 8px;
        padding: 2%;
        padding-left: 4%;
        padding-right: 4%;
    }

    .btn-secondary {
        font-size: 1vw;
        border-radius: 8px;
        padding: 2%;
        padding-left: 4%;
        padding-right: 4%;
    }

    .btn-secondary-white {
        font-size: 1vw;
        border-radius: 8px;
        padding: 1%;
        padding-left: 2%;
        padding-right: 2%;
    }


    .btn-tertiary {
        font-size: 1vw;
        padding: 2%;
        padding-left: 4%;
        padding-right: 4%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .btn-tertiary-white {
        font-size: 1vw;
        padding: 1%;
        padding-left: 2%;
        padding-right: 2%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1vw;
    }

    .section-container {
        margin-top: 5%;
        margin-bottom: 5%;
        gap: 3vw;
    }


    /* !HERO SECTION HOMEPAGE */
    .overlay h1 {
    color: white;
    font-size: var(--font-size-title);
    margin-bottom: 1rem;
    }

    .overlay p {
        font-size: var(--font-size-description);
        margin-bottom: 2rem;
    }

    
    .overlay-content{
        width: 50%;
    }


    /*! SECTION TYPES */

    /** SECTION TYPE 1 */
    .section-type-1 .title,
    .section-type-1 .description,
    .section-type-1 .buttons {
        width: 50%;
    }

    .section-type-1 .content {
        flex-direction: row;
        gap: 5vw;
        margin-top: 3%;
        margin-bottom: 3%;
    }

    .section-type-1 .mini-container .icon {
        font-size: 3vw;
    }

    .section-type-1 .mini-container {
        width: 30%;
        gap: 1vw;
    }

    .section-type-1 .title {
        text-align: center;
    }

    /** SECTION TYPE 2 */
    .section-type-2 {
        flex-direction: row;
    }

    .section-type-2 .container-left {
        gap: 3vw;
    }

    .section-type-2 .container-right img {
        width: 50vw;
        max-height: 80vh;
        height: auto;
    }

    /** SECTION TYPE 3 */
    .section-type-3 {
        flex-direction: row;
    }

    .section-type-3 .container-left {
        gap: 3vw;
    }

    .section-type-3 .features {
        flex-direction: row;
        gap: 3vw;
    }


    .section-type-3 .features-container {
        gap: 1vw;
    }

    .section-type-3 .container-right img {
        width: 50vw;
        max-height: 80vh;
        height: auto;
    }

    .section-type-3 .container-right {
        width: 50%;
        border-radius: 15px;
        background-size: cover;
        background-repeat: no-repeat;
    }


    /** SECTION TYPE 4 */
    .section-type-4 {
        flex-direction: row;
        justify-content: space-between;
    }

    .section-type-4 .container-left {
        width: 40%;
        align-items: flex-start;
        gap: 1.5vw;
    }

    .section-type-4 .container-right {
        width: 50%;
    }


    .section-type-4 .benefits-list .benefits-list-item {
        gap: 1vw;
    }

    .section-type-4 .benefits-list {
        gap: 1vw;
    }

    .section-type-4 .container-right img {
        width: 50vw;
        max-height: 80vh;
        height: auto;
    }

    .section-type-4 .container-right {
        width: 50%;
        border-radius: 15px;
        background-size: cover;
        background-repeat: no-repeat;
    }



    /* NAVBAR */

    .navbar-brand {
        width: 10%;
    }

    .navbar-logo {
        width: 170%;
    }

    .navbar-nav {
        gap: 1.5vw;
    }

    .nav-link {
        font-family: var(--main-font);
        font-size: 1vw;
        font-weight: 300;
    }

    .nav-btn {
        margin-left: 3%;
        margin-right: 3%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 5%;
        height: 1vh;
    }


    /* OVERVIEW */
    .overview {
        flex-direction: row;
        gap: 10vw;
        align-items: flex-start;
    }

    .overview .title {
        width: 50%;
        font-size: 3vw;
    }

    .overview .content {
        align-items: flex-start;
        width: 50%;
        gap: 2vw;
    }

    .overview .content .description {
        width: 100%;
    }

    /* BENEFITS */
    .benefits {
        margin: 0;
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .benefits .description,
    .benefits .title {
        width: 50%;
    }

    .benefits .content {
        flex-direction: row;
        gap: 1vw;
        margin-top: 3%;
    }

    .benefists .content-left,
    .benefits .content-right {
        flex-direction: column;
    }

    .benefits .content-up,
    .benefits .content-down {
        gap: 1vw;
    }

    .benefits .content-left {
        order: 1;
    }

    .benefits .content-center {
        order: 2;
    }

    .benefits .content-right {
        order: 3;
    }

    .benefits .content .description {
        width: 80%;
    }

    .benefits .content .icon {
        font-size: 2vw;
    }

    .benefits .mini-container {
        width: 100%;
        gap: 5vw;
    }


    .list-item .icon {
        font-size: 5vw;
    }

    .list-item .title {
        font-size: 1.2vw;
        width: 90%;
    }

    .list-item .description {
        width: 90%;
        font-size: 0.8vw;
    }


    /* FOOTER */

    .footer {
        gap: 1vw;
        align-self: center;
        width: 90vw;
    }

    .footer-container {
        flex-direction: row;
        align-self: flex-start;
        align-items: flex-start;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        min-width: 100%;
    }


    .footer-subcontainer {
        flex-direction: row;
        justify-self: flex-end;
        align-items: flex-start;
        margin: 0;
        padding: 0;
        max-width: fit-content;
        gap: 10vw;
    }

    .footer .title-small {
        font-size: 1vw;
        width: 100%;
    }

    .footer .quick-links {
        gap: 1vw;
        justify-self: flex-end;
    }

    .footer-navigation {
        gap: 1vw;
    }

    .connect-with-us {
        gap: 1vw;
    }

    .connect-with-us .item {
        gap: 1vw;
    }

    .stay-updated {
        justify-self: flex-end;
        gap: 1vw;
    }

    .footer .item {
        font-size: 0.8vw;
    }

    .stay-updated .item {
        gap: 1vw;
    }


    .footer-line {
        width: 100%;
    }

    .technical-links {
        width: 100%;
    }

    .copyright {
        width: 100%;
    }

    /* !ELETRIC */


    /* MAIN PANEL UPGRADES */

    .main-panel-upgrades .container-top {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 5vw;
    }

    .main-panel-upgrades .container-right .benefits-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5vw;
    }

    .main-panel-upgrades .benefits-list-item .icon {
        font-size: 2vw;
    }

    .main-panel-upgrades .container-right {
        gap: 3vw;
    }


    /* REVIEWS */
    .carousel-indicators [data-bs-target] {
        width: 0.5vw;
        height: 0.5vw;
    }

    .reviews .carousel-control-next,
    .reviews .carousel-control-prev {
        display: block;
        font-size: 2vw;
    }

    .reviews .title {
        font-size: 3vw;
    }

    .reviews .testimonial {
        gap: 2vw;
    }

    .reviews .testimonial .testimonial-description {
        width: 70%;
    }

    .reviews .testimonial .testimonial-pfp {
        width: 5vw;
        max-width: 5vw;
        height: 5vw;
    }

    /* FINAL-CTA */
    .final-cta {
        margin-top: 10%;
        margin-bottom: 10%;
        flex-direction: row;
        width: 90%;
        padding: 3%;
        justify-content: space-between;
        background: rgba(217, 217, 217, 0.58);
        border: 1px solid white;
        box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(6px);
        border-radius: 17px;
        text-align: center;
        cursor: pointer;
        transition: all 0.5s;
        user-select: none;
        font-weight: bolder;
        color: black;
    }

    .final-cta:hover {
        border: 1px solid black;
        transform: scale(1.05);
    }

    .final-cta:active {
        transform: scale(0.95) rotateZ(1.7deg);
    }

    .final-cta .container-left {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .final-cta .container-right {
        display: flex;
        justify-content: flex-end;
    }

    .final-cta .buttons {
        justify-content: flex-end;
        width: 50%;
    }


    .homepage-cta .container-left{
        width: 130%;
    }

    .homepage-cta .buttons {
        justify-content: flex-start;
    }

    .homepage-cta .btn-primary{
        font-size: 1.5vw;
    }
    /* !ROOFING */
    .solar-roofing {
        justify-content: center;
    }

    .solar-roofing .container-left {
        width: 80%;
        height: 50%;
    }


    /* SEARCH BAR */
    .box {
        position: relative;
    }

    .input {
        padding: 10px;
        width: 35px !important;
        height: 35px;
        background: none;
        border: 1px solid rgb(0, 0, 0, 0.3);
        border-radius: 50px;
        box-sizing: border-box;
        font-family: var(--main-font);
        font-weight: var(--font-weight-regular);
        font-size: 15px;

        outline: none;
        transition: .5s;
        color: transparent;
    }

    .box:hover input {
        width: 150px !important;
        background: white;
        border-radius: 10px;
        color: black;
    }

    .box i {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px;
        color: #767677;
        transition: .2s;
    }

    .box:hover i {
        opacity: 0;
        z-index: -1;
    }

    .box i {
        opacity: 1 !important;
        z-index: 1;
    }


    input::placeholder {
        color: #F8F9FA;
    }


    .box:hover input::placeholder {
        color: #767677;
    }



}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}



#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.logo-container img {
  width: 100%;
  height: auto;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* Blocca logo e descrizione in verticale */
.footer-logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 25vw; /* Adatta secondo necessità */
}

.footer-logo {
    width: 70%;
    margin-bottom: 1vw;
    
}

.footer-logo-description {
    width: 100%;
    text-align: left;

}

/* Footer container in row */
.footer-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

/* Footer layout mobile: tutto in verticale */
@media (max-width: 699px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .footer-logo-block {
        width: 100%;
        justify-content: center;
        margin-bottom: 5vw;
        padding: 5%;
    }
    .footer-logo {
        width: 60%;
        margin-bottom: 3vw;
    }
    .footer-logo-description {
        text-align: left;
        width: 100%;
    }
    .footer-subcontainer {
        flex-direction: column;
        gap: 5vw;
        width: 100%;
    }
}



.display-none{
    display: none !important    ;
}

@media (max-width: 699px) {
.mobile-column{
    flex-direction: column !important;
    flex-wrap: wrap !important;

    padding: 5% !important;
}
}