:root {
    --primary-color: #279B48;
    --secondary-color: #142334;
    --tertiary-color: #FFEA00;
    --white-color: #F4F9F0;
    --font-size: 16px;
    --padding: 10px;
    --margin: 15px;
}


/*################# Globals Style */

.section-last-news .new-caption {
    padding: 1.2rem;
}
.section-last-news .new-caption h3 {
    margin-bottom: 0;
}

.theme-main-menu .navbar-toggler {
    background: transparent;
}

#carouselExampleCaptions .carousel-inner .carousel-item {
    position: relative;
}

#carouselExampleCaptions .carousel-item::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
}

.cards-hero-home .card-style-two  {
    cursor: pointer;
    min-height: 100%;
    max-height: 350px;
}

.cards-hero-home .card-style-two .wrap-icon,
.cards-hero-home .card-style-two h4 {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.cards-hero-home .card-style-two:hover .wrap-icon {
    background-color: var(--secondary-color);
}

.cards-hero-home .card-style-two:hover h4 {
    color: var(--secondary-color);
}

.cards-hero-home .card-style-two {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.cards-hero-home .card-style-two:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.cards-hero-home .card-style-two:hover {
    animation: zoomIn .5s;
}

.call-eviroment__items .item img {
    cursor: pointer;
    object-position: center;
    object-fit: cover;
    min-height: 250px;
    max-height: 250px;
    min-width: 100%;
}

.section-last-news .card-style-seven h4 {
    font-size: 1.3rem;
}

.section-last-news .card-style-seven > div:not(.new-caption) {
    min-height: initial;
    justify-content: initial;
    margin-bottom: 30px;
}

.section-last-news .card-style-seven h4 {
    font-size: 1.3rem;
    margin: 10px 0;
    margin-bottom: 20px;
}

.last-news__post-content {
    min-height: 280px;
    max-height: 280px;
    margin-bottom: 30px;
}


.badge > div:first-child {
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.green-achievements .blog-meta-one .post-img {
    height: 450px;
}
 
/*################# Responsive */

/* Small mobile (360px) and Medium mobile (375px) and Large smartphone (720px) */

@media screen and (max-width: 991px) {
    /* ############# Header Styles */
    .theme-main-menu.menu-style-two .inner-content {
        background-color: var(--primary-color);
    }

    .theme-main-menu.menu-style-two .inner-content {
        border-top: 0;
        border-bottom: 0;
    }

    #carouselExampleCaptions {
        margin-top: 106px;
    }

    div.logo-separator {
        margin-right: 15px;
        height: 34px;
    } 

    .logo-mobile div.border-decoration {
        height: 34px;
    }

    div.logo-alcaldia-mini {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div.logo-alcaldia-mini a div {
        width: 40px;
        height: 40px;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
    }

    .theme-main-menu .nav-item .nav-link {
        color: white;
    }
    
    .theme-main-menu .nav-item:hover .nav-link {
        color: var(--tertiary-color);
    }

    .navbar .navbar-nav .nav-link {
        border-top: 1px dashed var(--white-color);
    }

    .regulatory-navbar .btn-group-header {
        background-color: var(--white-color);
    }

    .regulatory-navbar .btn-group-header a {
        color: black;
    }

    .regulatory-navbar .btn-group-header a:not(:last-of-type) {
        border-bottom: 1px dashed black;
    }

    .navbar .dropdown-menu {
        background-color: var(--white-color);
    }

    .contact-baq ul li a {
        color: white;
    }

    .contact-baq {
        margin-bottom: 1rem;
    }

    .d-block.d-lg-none div.logo-mobile {
        padding-left: 8px;
    }

    .contact-baq ul {
        list-style: none;
    }

    /* ############# End Header Styles */



    /* #################  Carousel Styles */
    .carousel-inner .carousel-item {
        min-height: 364px;
    }

    .carousel-inner .carousel-item img {
        min-height: 364px;
        object-fit: cover;
        object-position: right;
    }

    #carouselExampleCaptions h5 {
        font-size: 2.5rem;
        max-width: 70%;
        margin: 0 auto;
        margin-bottom: 3rem;
    }

    #carouselExampleCaptions p {
        font-size: 1.2rem;
        max-width: 75%;
        margin: 0 auto;
    }
}

/* Large smartphone */
@media (max-width: 720px) {

    /* #################  Carousel Styles */
    #carouselExampleCaptions h5 {
        font-size: 2rem !important;
        max-width: 75%;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    #carouselExampleCaptions p {
        font-size: 1rem;
        max-width: 75%;
        margin: 0 auto;
    }

    /* ################ Services Cards of Home */
    .cards-hero-home {
        margin-top: -20%;
        position: relative;
        z-index: 2;
    }
}


/* Small mobile */
@media (max-width: 360px) {}

/* Medium mobile */
@media (max-width: 375px) {}

/* Medium laptop */
@media (min-width: 991px) and (max-width: 1366px) {
    /* #################  Carousel Styles */
    .carousel-inner .carousel-item {
        max-height: 60vh;
    }

    .carousel-inner .carousel-item img {
        max-height: 60vh;
        object-fit: cover;
        object-position: center;
    }

    .cards-hero-home > .row {
        top: -30%;
    }

    /* ################# Home Cards Styles */
    .cards-hero-home {
        min-height: 350px;
    }

    .cards-hero-home  .card-style-two {
        padding: 30px;
    }
    
}

/* Medium desktop */
@media (max-width: 1440px) and (min-width: 1366px) {
    .carousel-inner .carousel-item {
        max-height: 70vh;
    }

    .carousel-inner .carousel-item img {
        max-height: 70vh;
        object-fit: cover;
        object-position: center;
    }

    .cards-hero-home > .row {
        top: -30%;
    }

    .cards-hero-home {
        min-height: 400px;
    }

    .carousel-inner h5 {
        font-size: 3.8rem;
    }

    .break-word {
        display: inline-block;
    }
}

/* Large desktop PC */
@media (min-width: 1440px) and (max-width: 1920px) {
    .carousel-inner .carousel-item {
        max-height: 70vh;
    }

    .carousel-inner .carousel-item img {
        max-height: 70vh;
        object-fit: cover;
        object-position: center;
    }

}

@media (max-width: 991px) {
    .cards-hero-home .card-style-two  {
        min-height: initial;
        max-height:initial;
    }
}


.cards-hero-home .wrap-icon {
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.residuos-section .card-title {
    background-color: #279B48;
    font-family: 'Volkswagen';
    color: #fff;
    padding: 2rem 0;
}

.residuos-section .card-body {
    padding: 0;
}

.residuos-section .card-text {
    padding: 1.5rem;
    font-weight: bold;
}

.residuos-section .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}

.residuos-section .card img {
    min-height: 178px;
    max-height: 178px;
    object-fit: cover;
}

.residuos-section .card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}