/* ===================================
    Crafto - Green energy
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
/* variable */
:root {
    --alt-font: "Inter", sans-serif;
    --primary-font: "Roboto", sans-serif;
    --base-color: #006794;
    --green: #195828;
    --dark-gray: #1f2220;
    --medium-gray: #828282;
    --very-light-gray: #f7f7f7;
}
body {
    font-size: 16px;
    line-height: 28px;
}
/* header */
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 300;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active:hover > a {
    background-color: var(--base-color);
    color: var(--white);
}
.navbar .navbar-nav .dropdown .dropdown-menu a i,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 40px;
    margin-right: 10px;
    width: 40px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover i {
    color: var(--white);
}
header .navbar-brand img {
    max-height: 36px;
}
.navbar .navbar-nav .nav-link {
    font-weight: 300;
    font-size: 18px;
}
/* button */
.btn {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0px;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 17px 38px;
    font-size: 17px;
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 12px 26px;
    font-size:14px;
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* Text gradient color */
.text-gradient-light-green-white {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #6c6c6c12 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Background color */
.bg-light-green {
    background-color: #6c6c6c12;
}
.bg-very-light-green {
    background-color: #6c6c6c12;
}
/* Transparent background color */
.bg-gradient-green-transparent {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #6c6c6c12 100%);
}

.right-210px {
  right: 210px;
}

/* page title */
.page-title-large h1 {
    font-size: 4.2rem;
    line-height: 4rem;
}
.page-title-large h2 {
    font-size: 18px;
}

/* Border color */
.border-color-dark-green {
    border-color: var(--green);
}
/* Subcribe style 02 */
.newsletter-style-02 .btn:hover {
    background-color: var(--green);
}
.newsletter-style-02 .btn {
    height: 85%;
    margin: 4px;
    padding: 5px 20px 5px;
}
.newsletter-style-02 input {
    padding-right: 75px !important;
}
/* CSS */
.video-background-container {
  position: relative;
  width: 100%;
  height: 810px; /* oppure un'altezza specifica che ti serve, es. 400px, 500px... */
  overflow: hidden;
  background-color: #fff; /* bianco di fallback se ci sono fasce o spazi */
}

.video-background-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh; /* proporzione 16:9, altezza uguale a container height */
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none; /* disattiva interazioni sull’iframe */
}

.bold {
  font-weight: bold!important;
}

/* Will change */
.animation-rotation {
    -webkit-animation: rotation 2.5s infinite linear;
}

.logo-carousel-prev,
.logo-carousel-next {
  width: 40px;
  height: 40px;
  background-color: transparent!important;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 5px!important;
}

.logo-carousel-prev:hover,
.logo-carousel-next:hover {
  background-color: transparent!important;
}

.logo-carousel-prev {
  left: -20px;
}

.logo-carousel-next {
  right: -20px;
}

/* footer */

footer .footer-logo img {
    max-height: 43px;
    width: auto;
}
footer a:hover {
    color: var(--white);
}
footer ul li {
    margin-bottom: 2px;
}
/* Colore base dei link nel footer */
footer a {
    color: inherit; /* eredita il colore del testo */
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* Effetto underline animato da sinistra a destra */
footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: black;
    transition: width 0.3s ease;
    bottom: -2px;     /* distanza dalla scritta */
    height: 1px;      /* spessore linea */

}

/* Hover: colore nero e underline animato */
footer a:hover {
    color: black;
}

footer a:hover::after {
    width: 100%;
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}
@media (max-width: 1600px) {
    /* Font size */
    .fs-80 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (max-width: 1199px){
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 10px;
    }
}

@media (max-width: 991px){
    /* Background image */
    .md-background-position-top-center {
        background-position: top center !important;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        padding-bottom: 15px;
    }
    .pt-100px {
      padding-top: 60px !important;
    }
}

@media (max-width: 767px){
    /* Background image */
    .sm-background-position-top-center {
        background-position: top center !important;
    }
    .fs-14 {
      font-size: 12px!important;
    }
}
