:root {
    --primary-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Header styles */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 0px 0;
    font-size: 14px;
}

.navbar-brand img {
    max-height: 85px;
}

.navbar {
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero-section {
    background-color: var(--dark-color);
    color: white;
    padding: 145px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/500');
    background-size: cover;
    background-position: top center;
    position: relative;
}

.hero-img {
    position: absolute;
    right: 10%;
    bottom: 0;
    max-height: 540px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.hero-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Service icons section */
.service-icons {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.service-item {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

.service-item:hover {
    background-color: #FACF0E;
}

.service-item img {
    height: 75px;
    margin-bottom: 15px;
}

/* Mission vision section */
.mission-vision {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1200/600');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.mission-box,
.vision-box {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    text-align: center;
}

.mission-box h3,
.vision-box h3 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
}

.mission-box p,
.vision-box p {
    padding: 0 100px;
}

.mission-box h3 span,
.vision-box h3 span {
    display: block;
    font-size: 28px;
}

/* Features section */
.features-section {
    padding: 80px 0;
    background-color: #000;
}

.feature-box {
    /* background-color: #f8f9fa; */
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* .feature-icon {
    background-color: var(--primary-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 2rem;
    margin-bottom: 20px;
} */

.feature-box img {
    max-height: 80px;
}

.feature-icon {
    margin-bottom: 10px;
}

.feature-box p {
    padding-right: 70px;
}

.cmn_heading h2 small {
    display: block;
    font-size: 16px;
}

/* Services showcase */
.services-showcase {
    padding: 60px 0;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Stats section */
.stats-section {
    /* background-color: #1c1c1c; */
    color: white;
    padding: 50px 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 10px;
    position: relative;
}



.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

/* Partners */
.partners {
    padding: 30px 0;
    background-color: var(--primary-color);
}

.partner-logo {
    height: 50px;
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.stats-section img {
    max-height: 70px;
}

/* Footer */
/* .footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
} */

.footer {
    background-color: white;
    color: rgb(8, 8, 8);
    padding: 50px 0 20px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

/* .footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
} */
.footer a {
    color: rgba(14, 13, 13, 0.7);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    color: white;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/** nav **/
.nav-item {
    padding: 0 10px;
}

/** banner **/
.banner_text {}

.banner_text p {
    font-size: 25px;
}

.banner_text h1 {
    font-size: 58px;
}

.banner_text h2 {
    font-size: 50px;
}

.bnr_btn {
    font-size: 20px;
    padding: 20px 75px;
}

.mission-box img,
.vision-box img {
    max-height: 110px;
    margin-bottom: 15px;
}

.social-icons a:hover {
    background-color: #ffffff;
}


.testimonial-card img.cote {
    position: absolute;
    top: -25px;
    width: 50px !important;
}

.owl-carousel .item {
    /* background: #4a90e2; */
    /* padding: 40px; */
    border-radius: 10px;
    /* color: #fff; */

}

.owl-carousel .owl-stage-outer {
    padding: 25px 0;
}

.owl-carousel2 .item {
    /* background: #4a90e2; */
    /* padding: 40px; */
    border-radius: 10px;
    /* color: #fff; */
    font-size: 24px;
    font-weight: bold;
}

.owl-theme .owl-nav {
    margin-top: 10px;
}

.owl-theme .owl-nav [class*="owl-"] {
    background: #444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    transition: 0.3s;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: #007bff;
}

.owl-carousel .owl-item img {
    max-width: 100%;
    width: auto;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    display: none;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ffffff;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #facf0e;
}

.carousel-1 .item img {
    margin: 0 auto;
}


/**inner page **/
.inner_banner .hero-img {
    max-height: 424px;
}

.img-responsive {
    max-width: 100%;
}



#contatti {
    /* background-color: #ebebeb; */
    letter-spacing: 2px;
}

#contatti a {
    color: #fff;
    text-decoration: none;
}


/** header **/
.mega-menu,
.dropdown-menu {
    border: 0;
}

.mega-menu h5 {
    margin-bottom: 15px;
}

.mega-menu .list-unstyled li {
    margin-bottom: 10px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

.newClass {
    position: fixed;
    bottom: 90px;
    right: 0;
    z-index: 999;
}

@media (max-width: 575.98px) {

    #contatti {
        padding-bottom: 800px;
    }

    #contatti .maps iframe {
        width: 100%;
        height: 450px;
    }
}


@media (min-width: 576px) {

    #contatti {
        padding-bottom: 800px;
    }

    #contatti .maps iframe {
        width: 100%;
        height: 450px;
    }
}

@media (min-width: 768px) {

    #contatti {
        padding-bottom: 350px;
    }

    #contatti .maps iframe {
        width: 100%;
        height: 850px;
    }
}

@media (min-width: 992px) {
    #contatti {
        padding-bottom: 150px;
    }

    #contatti .maps iframe {
        width: 100%;
        height: 700px;
    }
}


#author a {
    color: #fff;
    text-decoration: none;

}

/**nav**/
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu.mega-menu {
        width: 45%;
        margin-top: 0px;
        padding: 15px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu a {
        color: #000;
        text-decoration: none;
        margin-top: 10px;
    }
}


/* Responsive styles */
@media (max-width: 1400px) {
    .banner_text h1 {
        font-size: 48px;
    }

    .banner_text h2 {
        font-size: 40px;
    }

    .bnr_btn {
        font-size: 20px;
        padding: 20px 45px;
    }

    .mission-box p,
    .vision-box p {
        padding: 0 30px;
    }

    .feature-box p {
        padding-right: 0px;
    }
}

@media (max-width: 1200px) {
    .banner_text h1 {
        font-size: 38px;
    }

    .banner_text h2 {
        font-size: 32px;
    }

    .bnr_btn {
        font-size: 20px;
        padding: 20px 28px;
    }

    .hero-img {
        max-height: 510px;
    }
}

@media (max-width: 992px) {
    .banner_text h1 {
        font-size: 38px;
    }

    .banner_text h2 {
        font-size: 32px;
    }

    .bnr_btn {
        font-size: 16px;
        padding: 20px 28px;
    }

    .hero-img {
        max-height: 381px;
    }

    .service-icons .col {
        flex: auto;
        margin: 20px 0;
    }

    /* .hero-img {
        position: static;
        max-height: 300px;
        margin-top: 30px;
    } */

}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 0 0;
    }

    .hero-img {
        position: relative;
        right: 0;
    }

    .banner_text {
        text-align: center;
    }

    .banner_text p {
        font-size: 16px;
    }

    .banner_text h1 {
        font-size: 26px;
    }

    .banner_text h2 {
        font-size: 20px;
    }

    .bnr_btn {
        font-size: 16px;
        padding: 10px 5px;
    }

    .hero-img {
        max-height: 273px;
    }

    .banner_text .d-flex,
    .footer .d-flex,
    .top-bar .d-flex,
    .top-bar .text-end {
        display: block !important;
        text-align: center !important;
    }

    .mission-box p,
    .vision-box p {
        padding: 0 0px;
    }

    .cmn_btn {
        padding: 5px 10px !important;
        margin-top: 10px;
    }
}