/* Stile di base */
body {
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #85d2d0;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    font-family: 'Varela Round';

}

.navbar {
    z-index: 10;
    /* Ensure navbar stays above other content */
    background-color: #85d2d0;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #85d2d0 !important;
    font-family: "Lora", serif;
    font-size: large;

}

.dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    font-family: 'Varela Round';
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
        color: #887bb0;
        font-family: 'Varela Round';
    }
}

h2 {
    font-size: 36px;
    color: #887bb0;
    margin-bottom: 30px;
    font-family: 'Varela Round';
}

/* INIZIO BANNER */
/* INIZIO BANNER */
.banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #887bb0;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
    transition: filter 0.5s ease-in-out;
}

.banner-section:hover .image-layer {
    filter: brightness(0.5);
}

.auto-container {
    max-width: 1200px;
    padding: 0 15px;
    width: 100%;
    text-align: center;
}

.content-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 1.5s ease-in-out;
}

.content .inner {
    max-width: 800px;
}

.services-title {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: slideInLeft 1s ease;
}

h1 {
    font-size: 48px;
    margin: 0;
    line-height: 1.2;
    animation: slideInRight 1s ease;
    font-family: "Lora", serif;
color: #85d2d0;}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-down .scroll-to-target {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.scroll-down .icon {
    font-size: 16px;
    color: #887bb0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .services-title {
        font-size: 14px;
    }

    .scroll-down .scroll-to-target {
        width: 30px;
        height: 30px;
    }
}
/* FINE BANNNER */
/* Stile per le sezioni */
.section {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
}

.section:nth-child(odd) {
    background-color: #fff;
}

/* Stile per le colonne */
.column {
    flex: 1 1 50%;
    padding: 20px;
    box-sizing: border-box;
}

.left-column {
    border-right: 2px solid #000;
}

h2 {
    color: #6a5acd;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
}

/* Responsività */
@media (max-width: 768px) {
    .column {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 2px solid #ccc;
    }

    .column:last-child {
        border-bottom: none;
    }
}

/* INIZIO CTA  */
/* Base Styles */
.call-to-section {
    position: relative;
    padding: 100px 0;
    background-color: #f9f9f9;
    overflow: hidden;
    text-align: center;
    background-image: url('assets/img/home/CTA_IMAGE.png');
}

.bubble-dotted {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bubble-dotted .dotted {
    position: absolute;
    background-color: #887bb0;
    border-radius: 50%;
}

.dotted-1 {
    top: 10%;
    left: 10%;
    width: 20px;
    height: 20px;
}

.dotted-2 {
    top: 20%;
    left: 30%;
    width: 15px;
    height: 15px;
}

.dotted-3 {
    top: 40%;
    left: 60%;
    width: 25px;
    height: 25px;
}

.dotted-4 {
    top: 60%;
    left: 80%;
    width: 18px;
    height: 18px;
}

.dotted-5 {
    top: 80%;
    left: 50%;
    width: 22px;
    height: 22px;
}

.dotted-6 {
    top: 10%;
    left: 80%;
    width: 15px;
    height: 15px;
}

.dotted-7 {
    top: 30%;
    left: 20%;
    width: 20px;
    height: 20px;
}

.dotted-8 {
    top: 50%;
    left: 40%;
    width: 17px;
    height: 17px;
}

.dotted-9 {
    top: 70%;
    left: 70%;
    width: 30px;
    height: 30px;
}

.dotted-10 {
    top: 90%;
    left: 90%;
    width: 25px;
    height: 25px;
}

.auto-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.content {
    max-width: 700px;
    margin: 0 auto;
}

.sub-title {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Lora';
}

h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 30px;
    font-family: 'Varela Round';

}

.link-box {
    display: flex;
    justify-content: center;
}

.theme-btn {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 30px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-style-one {
    color: #fff;
    background-color: #887bb0;
    border: 2px solid #fff;
}

.btn-style-two {
    color: #fff;
    background-color: #887bb0;
    border: 2px solid #fff;
}

.theme-btn:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 767px) {
    .content {
        padding: 0 15px;
        /* Aggiunge spazio ai lati del contenuto */
    }
}

/* FINE CTA */


/* INIZIO FOOTER */
/* Base Styles */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.auto-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.widgets-section {
    margin-bottom: 30px;
}

.column {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 22px;
    color: #887bb0;
    margin-bottom: 20px;
}

.footer-widget .widget-content {
    color: #ccc;
}

.footer-widget ul {
    padding: 0;
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #887bb0;
}

.news-widget .news-post {
    margin-bottom: 20px;
}

.news-widget .news-post h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.news-widget .news-post .date {
    color: #999;
}

.news-widget .news-post .date .icon {
    margin-right: 5px;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
}

.outer-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-block {
    flex: 1 1 calc(25% - 30px);
    margin: 15px;
    text-align: center;
    vertical-align: middle;
}

.info-block .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-block .inner .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-block .inner .info-title {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-block .inner .phone,
.info-block .inner .email,
.info-block .inner .address,
.info-block .inner .social-links {
    font-size: 14px;
    margin-bottom: 5px;
}

.info-block .inner .social-links a {
    color: #ccc;
    margin: 0 5px;
}

.info-block .inner .social-links a:hover {
    color: #887bb0;
}

/* Responsive */
@media (max-width: 991px) {
    .column {
        margin-bottom: 50px;
    }

    .footer-widget ul li {
        margin-bottom: 15px;
    }

    .info-block {
        flex: 1 1 50%;
    }
}

@media (max-width: 767px) {
    .info-block {
        flex: 1 1 100%;
    }
}

img, svg {
    vertical-align: middle;
    width: 50%;
}

.text {
    font-size: 18px;
    color: #85d2d0;
}

.news-widget .news-post h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #887bb0;
}

.news-widget .news-post .date {
    color: #85d2d0;
}
a {
    color: #85d2d0;
    text-decoration: underline;
}
.info-block .inner .social-links a {
    color: #85d2d0;
    margin: 0 5px;
}

/* FINE FOOTER */