/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    color: #555555;
    font-family: "Open Sans", sans-serif;
}

a {
    color: #7cc576;
    text-decoration: none;
}

a:hover {
    color: #9ed49a;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff; /* Cambia il colore di sfondo se necessario */
    text-align: center; /* Centra il testo all'interno del banner */
    padding: 10px;
    z-index: 9999; /* Assicurati che il banner sia sopra altri elementi della pagina */
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    background: #7cc576;
    border-radius: 4px;
    bottom: 15px;
    height: 40px;
    opacity: 0;
    position: fixed;
    right: 15px;
    transition: all 0.4s;
    visibility: hidden;
    width: 40px;
    z-index: 996;
}

.back-to-top i {
    color: #fff;
    font-size: 28px;
    line-height: 0;
}

.back-to-top:hover {
    background: #97d193;
    color: #fff;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    box-shadow: 0 4px 10px -3px hsla(0, 0%, 75%, 0.5);
    height: 90px;
    transition: all 0.5s;
    z-index: 997;
}

#header .logo h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
    color: #fff;
    text-decoration: none;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 40px;
}

@media (max-width: 992px) {
    #header {
        height: 70px;
    }
}

.scrolled-offset {
    margin-top: 90px;
}

@media (max-width: 992px) {
    .scrolled-offset {
        margin-top: 90px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

.navbar ul {
    align-items: center;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    position: relative;
}

.navbar a, .navbar a:focus {
    align-items: center;
    color: #151515;
    display: inline-block;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 1px 10px;
    padding: 10px 0 10px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    white-space: nowrap;
}

.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    background-color: #003396;
    border-radius: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto;
    padding: 0 05px;
}


.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 10px;
    /* Spazio tra gli elementi del menu */
}

.navbar .dropdown ul {
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    display: block;
    left: 14px;
    margin: 0;
    opacity: 0;
    padding: 10px 0;
    position: absolute;
    top: calc(100% + 30px);
    transition: 0.3s;
    visibility: hidden;
    z-index: 99;
}

.navbar .dropdown ul a {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    text-transform: none;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #7cc576;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown .dropdown ul {
    left: calc(100% - 30px);
    top: 0;
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    left: 100%;
    opacity: 1;
    top: 0;
    visibility: visible;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

@media (max-width: 1640px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
 * Mobile Navigation
 */
.mobile-nav-toggle {
    color: #151515;
    cursor: pointer;
    display: none;
    font-size: 28px;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    background: rgba(0, 0, 0, 0.9);
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 15px;
}

.navbar-mobile ul {
    background-color: #fff;
    bottom: 15px;
    display: block;
    left: 15px;
    padding: 10px 0;
    position: absolute;
    right: 15px;
    top: 55px;
    transition: 0.3s;
    overflow-y: auto;
}


.navbar-mobile a,
.navbar-mobile a:focus {
    color: #151515;
    font-size: 15px;
    padding: 10px 20px;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #7cc576;
}

.navbar-mobile .dropdown ul {
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    display: none;
    margin: 10px 20px;
    opacity: 1;
    padding: 10px 0;
    position: static;
    visibility: visible;
    z-index: 99;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: #7cc576;
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    background: url("../img/background.jpg") no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    position: relative;
    width: 100%;
}

#hero .hero-container {
    align-items: center;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    padding: 0 15px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    max-width: 1200px;
    margin: 0 auto;
}

#hero .hero-logo {
    margin-bottom: 40px;
}

#hero .hero-logo > div {
    max-width: 90%;
    margin: 0 auto;
}

#hero h1 {
    color: #000000;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 30px 0;
    padding: 0 10px;
}

#hero h2 {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    padding: 0 10px;
}

#hero .btn-get-started {
    background: #7cc576;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 10px;
    padding: 14px 30px;
    text-transform: uppercase;
}

#hero .btn-get-started:hover {
    background: #fff;
    color: #7cc576;
    transition: 0.5s;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.current-lang {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.current-lang:hover {
    background: #e9ecef;
}

.current-lang img {
    width: 24px;
    height: 18px;
    margin-right: 8px;
    border-radius: 2px;
}

.current-lang span {
    font-weight: 600;
    font-size: 14px;
    margin-right: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: none;
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.lang-dropdown li {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
    list-style: none;
}

.lang-dropdown li:last-child {
    border-bottom: none;
}

.lang-dropdown li:hover {
    background: #f8f9fa;
}

.lang-dropdown li.active {
    background: #7cc576;
    color: white;
}

.lang-dropdown img {
    width: 24px;
    height: 18px;
    margin-right: 12px;
    border-radius: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
    }
    
    .current-lang {
        padding: 6px 10px;
    }
    
    .current-lang img {
        width: 20px;
        height: 15px;
    }
    
    .lang-dropdown {
        right: -10px;
        min-width: 140px;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    #hero {
        height: 100vh;
        padding: 0 10px;
    }
    
    #hero .hero-container {
        padding: 0 10px;
    }
    
    #hero .hero-logo {
        margin-bottom: 30px;
    }
    
    #hero .hero-logo img {
        max-width: 200px !important;
        height: auto !important;
    }
    
    #hero h1 {
        font-size: 24px;
        line-height: 1.3;
        margin: 0 0 20px 0;
        padding: 0 5px;
    }

    #hero h2 {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    #hero .btn-get-started {
        font-size: 14px;
        padding: 12px 25px;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    #hero h2 {
        font-size: 14px;
    }
    
    #hero .hero-logo img {
        max-width: 150px !important;
        height: auto !important;
    }
    
    #hero .btn-get-started {
        font-size: 13px;
        padding: 10px 20px;
    }
}
@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

/* CSS per selettore lingua - DA SOSTITUIRE nella sezione <style> dell'index.html */

/* ===============================================
   SELETTORE LINGUA HEADER 
   =============================================== */
.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.current-lang {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.current-lang:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.current-lang img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border-radius: 2px;
}

.current-lang span {
    font-size: 14px;
    font-weight: 500;
}

.current-lang i {
    margin-left: 8px;
    font-size: 12px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 140px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.lang-dropdown li:last-child {
    border-bottom: none;
}

.lang-dropdown li:hover {
    background: #f8f9fa;
}

.lang-dropdown li.active {
    background: #e3f2fd;
    color: #1976d2;
}

.lang-dropdown li img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    border-radius: 2px;
}

.lang-dropdown li span {
    font-size: 14px;
}

/* ===============================================
   SELETTORE LINGUA HERO 
   =============================================== */

.hero-language-selector {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
}

.hero-current-lang {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    justify-content: center;
}

.hero-current-lang:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.hero-current-lang img {
    width: 24px;
    height: 18px;
    margin-right: 10px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-current-lang span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-current-lang i {
    margin-left: 10px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hero-current-lang:hover i {
    transform: rotate(180deg);
}

.hero-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    min-width: 160px;
    overflow: hidden;
}

.hero-lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-lang-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.hero-lang-dropdown li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-lang-dropdown li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.hero-lang-dropdown li:hover::before {
    width: 100%;
}

.hero-lang-dropdown li:hover {
    color: white;
    transform: translateX(5px);
}

.hero-lang-dropdown li.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-lang-dropdown li img {
    width: 24px;
    height: 18px;
    margin-right: 12px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-lang-dropdown li span {
    font-size: 15px;
    font-weight: 500;
}

/* ===============================================
   RESPONSIVE DESIGN 
   =============================================== */

@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
    }
    
    .current-lang {
        padding: 6px 10px;
    }
    
    .current-lang img {
        width: 20px;
        height: 15px;
    }
    
    .lang-dropdown {
        right: -10px;
        min-width: 140px;
    }

    .hero-language-selector {
        top: 20px;
        right: 20px;
    }
    
    .hero-current-lang {
        padding: 10px 14px;
        min-width: 100px;
    }
    
    .hero-current-lang img {
        width: 20px;
        height: 15px;
        margin-right: 8px;
    }
    
    .hero-current-lang span {
        font-size: 14px;
    }
    
    .hero-lang-dropdown {
        min-width: 140px;
    }
    
    .hero-lang-dropdown li {
        padding: 10px 16px;
    }
    
    .hero-lang-dropdown li img {
        width: 20px;
        height: 15px;
        margin-right: 10px;
    }
    
    .hero-lang-dropdown li span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-language-selector {
        top: 15px;
        right: 15px;
    }
    
    .hero-current-lang {
        padding: 8px 12px;
        min-width: 90px;
    }
}

/* ===============================================
   ANIMAZIONI AGGIUNTIVE 
   =============================================== */

@keyframes heroLangPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    }
}

.hero-current-lang:focus {
    animation: heroLangPulse 2s infinite;
    outline: none;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    overflow: hidden;
    padding: 60px 0;
}

.section-bg {
    background-color: whitesmoke;
}

.section-title {
    padding-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    color: #151515;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 0;
    text-transform: uppercase;
}

.section-title p {
    color: #aeaeae;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 26px;
    font-weight: 600;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul i {
    color: #7cc576;
    font-size: 24px;
    padding: 2px 6px 0 0;
}

.about .content ul li {
    align-items: flex-start;
    display: flex;
    padding-bottom: 10px;
}

.about .image {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0 10px 60px;
}

.services .icon-box i {
    color: #7cc576;
    font-size: 48px;
    float: left;
}

.services .icon-box p {
    color: #959595;
    font-size: 15px;
    margin-left: 60px;
}

.services .image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
}

/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
    background: white;
    padding: 40px 0 0 0;
}

.featured .carousel-inner img {
    border: 1px solid #b4b4b4; /* Grigio tenue */
    border-radius: 15px; /* Opzionale: angoli arrotondati */
}

.featured .nav-link {
    color: #151515;
    border: 0;
    padding: 20px;
    transition: 0.3s;
}

.featured .nav-link.active {
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.08);
}

.featured .nav-link.active h4 {
    color: #7cc576;
}

.featured .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.featured .nav-link p {
    font-size: 14px;
    margin-bottom: 0;
}

.featured .nav-link:hover h4 {
    color: #7cc576;
}

.featured .tab-pane.active {
    animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.featured .carousel-control-prev,
.featured .carousel-control-next {
    filter: invert(200%);
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
    background: white;
    padding: 30px;
}

.why-us .accordion-list {
    padding: 0 100px 60px 100px;
}

.why-us .accordion-list a {
    cursor: pointer;
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    outline: none;
    padding-right: 30px;
    position: relative;
}

.why-us .accordion-list a.collapsed {
    color: #343a40;
}

.why-us .accordion-list a.collapsed:hover {
    color: #7cc576;
}

.why-us .accordion-list a.collapsed .icon-close {
    display: none;
}

.why-us .accordion-list a.collapsed .icon-show {
    display: inline-block;
}

.why-us .accordion-list i {
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
}

.why-us .accordion-list li {
    background: #f7f7f7;
    border-radius: 4px;
    padding: 20px;
}

.why-us .accordion-list li + li {
    margin-top: 15px;
}

.why-us .accordion-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
}

.why-us .accordion-list span {
    color: #7cc576;
    font-size: 18px;
    font-weight: 600;
    padding-right: 10px;
}

.why-us .content {
    padding: 60px 100px 0 100px;
}

.why-us .content h3 {
    font-size: 34px;
    font-weight: 400;
}

.why-us .content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
}

.why-us .content p {
    color: #ffffff;
    font-size: 15px;
}

.why-us .image {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.why-us .video-box {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    position: relative;
}

@media (max-width: 1024px) {
    .why-us .accordion-list,
    .why-us .content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .why-us .accordion-list {
        padding-bottom: 30px;
    }

    .why-us .content {
        padding-top: 30px;
    }
}

@keyframes pulsate-btn {
    0% {
        opacity: 1;
        transform: scale(0.6, 0.6);
    }
    100% {
        opacity: 0;
        transform: scale(1, 1);
    }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 18px 12px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: #555555;
    transition: all 0.3s ease-in-out;
    margin: 0 4px 10px 4px;
    background: whitesmoke;
    border-radius: 4px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #7cc576;
    color: #fff;
}

.portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgba(21, 21, 21, 0.6);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    top: 35px;
    left: 35px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transition: all 0.5s ease 0s;
    z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 35px;
    right: 35px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transition: all 0.5s ease 0s;
    z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
    text-align: center;
    z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
    color: #fff;
    margin: 0 2px;
    font-size: 28px;
    display: inline-block;
    transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
    color: #7cc576;
}

.portfolio .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
    top: 15px;
    left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
    bottom: 15px;
    right: 15px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.portfolio-links a {
    display: flex;
    align-items: center;
    color: #000;
    /* Cambia il colore del testo se necessario */
    text-decoration: none;
    visibility: visible;
    /* Assicura che l'elemento sia visibile */
}

.portfolio-links a i {
    margin-right: 5px;
    /* Spazio tra l'icona e il testo */
    vertical-align: middle;
    /* Assicura che l'icona sia allineata al centro */
    line-height: 1;
    /* Line height per evitare scompensi di altezza */
}

.portfolio-links a span {
    align-items: center;
    display: inline-block;
    /* Assicura che il testo sia trattato come un elemento inline */
    font-size: 14px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
    padding-top: 40px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    background-color: #fff;
    border: 1px solid #7cc576;
    height: 12px;
    opacity: 1;
    width: 12px;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #7cc576;
}

.portfolio-details .portfolio-info {
    box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
    padding: 30px;
}

.portfolio-details .portfolio-info h3 {
    border-bottom: 1px solid #eee;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.portfolio-details .portfolio-info ul {
    font-size: 15px;
    list-style: none;
    padding: 0;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.description-content {
    align-items: flex-start;
    display: flex;
}

.description-content p {
    flex: 1;
    margin: 0;
}

.description-image {
    height: auto;
    max-width: 150px;
    margin-right: 15px;
}

.swiper-container {
    height: auto;
    width: 100%;
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

.swiper-container h3 {
    font-size: 1.5rem;
    margin-top: 10px;
    text-align: center;
}

.portfolio-description {
    margin: 0 auto;
    max-width: 800px;
}

.defect-list {
    list-style: none;
    padding: 0;
}

.defect-item {
    align-items: flex-start;
    display: flex;
    margin-bottom: 20px;
}

.defect-item strong {
    margin-right: 10px;
}

.defect-image {
    height: auto;
    margin-left: 20px;
    max-width: 150px;
}

.spaced-table {
    margin-top: 20px;
}

.btn-primary {
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
#clients {
    padding: 60px 0;
}

#clients .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

#clients .swiper-pagination .swiper-pagination-bullet {
    background-color: #fff;
    border: 1px solid #18d26e;
    height: 12px;
    opacity: 1;
    width: 12px;
}

#clients .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #18d26e;
}

#clients img {
    opacity: 0.5;
    transition: 0.3s;
}

#clients img:hover {
    opacity: 1;
}

@media (max-width: 575px) {
    .clients img {
        width: 50%;
    }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
    background: #fff;
    padding: 60px 0;
}

.team .member {
    margin-bottom: 20px;
    overflow: hidden;
}

.team .member .member-img {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.team .member .member-info h4 {
    display: flex;
    font-size: 24px;
    font-weight: 900;
    justify-content: center;
    margin: 15px 0 5px 0;
}

.team .member .member-info p {
    color: #888888;
    font-size: 14px;
    font-style: italic;
    line-height: 26px;
}

.team .member .member-info span {
    color: #7cc576;
    display: flex;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
}


.team .member .social {
    background: rgba(124, 197, 118, 0.8);
    bottom: -40px;
    display: flex;
    align-items: center;
    height: 40px;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transition: bottom ease-in-out 0.4s;
}

.team .member .social a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    margin: 0 10px;
    transition: color 0.3s;
}

.team .member .social a i {
    line-height: 0;
}

.team .member .social a:hover {
    color: #fff;
}

.team .member .social i {
    font-size: 18px;
    margin: 0 2px;
}

.team .member:hover .social {
    bottom: 0;
    opacity: 1;
    transition: bottom ease-in-out 0.4s;
}

.center-row {
    display: flex;
    justify-content: center;
}

.member {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
    background: #fff;
    border-radius: 5px;
    height: 100%;
    padding: 20px;
    width: 100%;
}

.contact .info i {
    align-items: center;
    background: #eaf6e9;
    border-radius: 50px;
    color: #7cc576;
    display: flex;
    float: left;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    width: 44px;
}

.contact .info h4 {
    color: #151515;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 0 0 0 60px;
}

.contact .info p {
    color: #484848;
    font-size: 14px;
    margin-bottom: 0;
    padding: 0 0 0 60px;
}

.contact .info .address:hover i,
.contact .info .email:hover i,
.contact .info .phone:hover i {
    background: #7cc576;
    color: #fff;
}

.contact .info .email,
.contact .info .phone {
    margin-top: 40px;
}

.contact .php-email-form {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.contact .php-email-form .error-message {
    background: #ed3c0d;
    color: #fff;
    display: none;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}

.contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

.contact .php-email-form .loading {
    background: #fff;
    display: none;
    padding: 15px;
    text-align: center;
}

.contact .php-email-form .loading:before {
    animation: animate-loading 1s linear infinite;
    border: 3px solid #18d26e;
    border-radius: 50%;
    border-top-color: #eee;
    content: "";
    display: inline-block;
    height: 24px;
    margin: 0 10px -6px 0;
    width: 24px;
}

.contact .php-email-form .sent-message {
    background: #18d26e;
    color: #fff;
    display: none;
    font-weight: 600;
    padding: 15px;
    text-align: center;
}

.contact .php-email-form button[type=submit] {
    background: #7cc576;
    border: 0;
    border-radius: 4px;
    color: #fff;
    padding: 10px 24px;
    transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
    background: #61b959;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.info-box {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.info-box h4 {
    color: #151515;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-box i {
    background: #eaf6e9;
    border-radius: 50px;
    color: #7cc576;
    display: flex;
    float: left;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
    width: 44px;
}

.info-box p {
    color: #484848;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 40px 0;
}

.breadcrumbs h2 {
    font-size: 26px;
    font-weight: 300;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    font-size: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    color: #2f2f2f;
    content: "/";
    display: inline-block;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: url("../img/footer-bg.jpg") center center no-repeat;
    color: #fff;
    font-size: 14px;
    position: relative;
}

#footer::before {
    background: rgba(0, 0, 0, 0.85);
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

#footer .footer-top {
    padding: 80px 0;
    position: relative;
    text-align: center;
    z-index: 2;
}

#footer .footer-top .footer-logo img {
    height: 30px;
}

#footer .footer-top h3 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    padding: 30px 0 0 0;
    position: relative;
}

#footer .footer-top p {
    font-size: 20px;
    font-style: italic;
    margin: 30px 0 0 0;
    padding: 0;
}

#footer .footer-top .footer-newsletter {
    font-size: 15px;
    margin-top: 30px;
    text-align: center;
}

#footer .footer-top .footer-newsletter form {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 6px 10px;
    position: relative;
    text-align: left;
}

#footer .footer-top .footer-newsletter form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
    background: #7cc576;
    border: 0;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 16px;
    padding: 0 20px;
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    transition: 0.3s;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
    background: #5ab652;
}

#footer .footer-top .social-links {
    margin-top: 30px;
}

#footer .footer-top .social-links a {
    background: #7cc576;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    margin-right: 4px;
    padding: 8px 0;
    text-align: center;
    transition: 0.3s;
    width: 36px;
    height: 36px;
}

#footer .footer-top .social-links a:hover {
    background: #5ab652;
    color: #fff;
    text-decoration: none;
}

#footer .footer-bottom {
    border-top: 1px solid #222222;
    padding-bottom: 40px;
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

#footer .copyright {
    text-align: center;
}

#footer .credits {
    font-size: 13px;
    padding-top: 5px;
    text-align: center;
}

/*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/
#cookieConsent {
    background: #333;
    bottom: 0;
    color: #fff;
    display: none; /* Nascondi per default */
    left: 0;
    padding: 15px;
    position: fixed;
    width: 100%;
}

.cookie-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

#cookieConsent button {
    background: #f1d600;
    border: none;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    padding: 10px 20px;
}
