/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    padding: 0;
}
  
.hero .carousel {
    width: 100%;
    min-height: calc(100vh - 100px);
    padding: 0;
    margin: 0;
    background-color: var(--background-color);
    position: relative;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero .carousel-item:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 60%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .carousel-container {
    position: absolute;
    inset: 90px 64px 64px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 3;
}

.hero h2 {
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 700;
    animation: fadeInDown 1s both;
}

@media (max-width: 768px) {

    .hero .carousel-container {
        inset: 90px 45px 64px 45px;
    }

    .hero h2 {
        font-size: 30px;
    }
}

.hero p {
    animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

    .hero h2,
    .hero p {
        max-width: 60%;
    }
}

.hero .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    animation: fadeInUp 1s both 0.4s;
}

.hero .btn-get-started:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 10%;
    transition: 0.3s;
    opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

@media (min-width: 1024px) {

    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        width: 5%;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 32px;
    line-height: 1;
}

.hero .carousel-indicators {
    list-style: none;
}

.hero .carousel-indicators li {
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services .row-content-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 25px;
}

.services .content .service-item {
    background-color: var(--surface-color);
    padding: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    position: relative;
    border-radius: 5px;
    transition: 0.3s all ease;
}

.services .content .service-item:hover {
    transform: scale(1.03);
}

.services .content .service-item .service-item-icon {
    position: relative;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.services .content .service-item .service-item-icon img {
    width: 80px;
    color: var(--accent-color);
}

.services .content .service-item .service-item-icon:before {
    position: absolute;
    content: "";
    transform: rotate(45deg);
    z-index: -1;
    left: -20px;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-right: 40px solid var(--accent-color);
    display: none;
}

.services .content .service-item .service-item-icon>span {
    color: var(--default-color);
    font-size: 4rem;
}

.services .content .service-item .service-item-content .service-heading {
    font-size: 20px;
    color: var(--default-color);
    font-weight: 400;
}

.services .content .service-item .service-item-content p {
    font-size: 15px;
}


@media (max-width: 768px) {
   
    .services .row-content-services{
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 576px) {
   
    .services .row-content-services{
        grid-template-columns: repeat(1, 1fr);
    }
    
}

/*--------------------------------------------------------------
# Productos Section
--------------------------------------------------------------*/
.productos {
    overflow: visible;
    margin-bottom: 200px;
}

.productos .section-title {
    text-align: left;
}

.productos .productos-carousel-wrap {
    position: relative;
    margin-bottom: -200px;
}

.productos .swiper-wrapper {
    height: auto;
}

.productos .producto-item {
    position: relative;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.productos .producto-item:before {
    content: "";
    background-color: color-mix(in srgb, var(--default-color), transparent 50%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: 0.3s all ease;
}

.productos .producto-item img {
    transition: 0.5s all ease;
    transform: scale(1);
}

.productos .producto-item .producto-item-contents {
    z-index: 9;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    transition: 0.3s all ease;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.productos .producto-item .producto-item-contents .producto-item-category {
    color: var(--contrast-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
}

.productos .producto-item .producto-item-contents .producto-item-title {
    color: var(--contrast-color);
    margin-bottom: 0;
    font-size: 16px;
}

.productos .producto-item:hover:before {
    opacity: 1;
    visibility: visible;
}

.productos .producto-item:hover .producto-item-contents {
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
}

.productos .producto-item:hover img {
    transform: scale(1.2);
}

.productos .navigation-prev,
.productos .navigation-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 9;
    width: 46px;
    height: 46px;
    background: var(--contrast-color);
    background-color: none;
    border: none;
    transition: 0.3s all ease;
}

.productos .navigation-prev i,
.productos .navigation-next i {
    font-size: 2rem;
}

.productos .navigation-prev:hover,
.productos .navigation-next:hover {
    background-color: var(--accent-color);
    font-weight: bold;
    color: var(--contrast-color);
}

.productos .navigation-prev {
    left: 10px;
}

.productos .navigation-next {
    right: 10px;
}

.productos .swiper {
    padding-bottom: 50px;
}

.productos .swiper-pagination {
    bottom: 0px;
}

.productos .swiper-pagination .swiper-pagination-bullet {
    border-radius: 0;
    width: 20px;
    height: 4px;
    background-color: color-mix(in srgb, var(--default-color), transparent 80%) !important;
    opacity: 1;
}

.productos .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
}

@media (max-width: 768px) {

    .productos .producto-item:hover:before {
        opacity: 0;
        visibility: hidden;
    }    

    .productos .producto-item:before {
        background-color: color-mix(in srgb, var(--default-color), transparent 60%);
        opacity: 1;
        visibility: visible;
    }
    
    .productos .producto-item .producto-item-contents {
        transform: translateY(0%);
        opacity: 1;
        visibility: visible;
    }
    .productos .producto-item:hover img {
        transform: none;
    }
    
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-item {
    background: var(--surface-color);
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.recent-posts .post-item .post-img img {
    transition: 0.5s;
}

.recent-posts .post-item .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.recent-posts .post-item .post-content {
    padding: 15px;
}

.recent-posts .post-item .post-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.recent-posts .post-item .meta i {
    font-size: 16px;
    color: var(--accent-color);
}

.recent-posts .post-item .meta span {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-posts .post-item hr {
    color: color-mix(in srgb, var(--default-color), transparent 80%);
    margin: 20px 0;
}

.recent-posts .post-item .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-item .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.recent-posts .post-item:hover .post-title,
.recent-posts .post-item:hover .readmore {
    color: var(--accent-color);
}

.recent-posts .post-item:hover .post-img img {
    transform: scale(1.1);
}