body {
    background-color: #a0a0a0; 
    margin-bottom: 40px;
    padding-bottom: 50px !important;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-image: url('');
    background-size: 40%; 
    background-position: right !important;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
}

.logo-faktoje {
    margin-top: 20px;
    text-align: center;
}

.carousel-container .carousel-cell .imageSection img{
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;
    position: relative;
    z-index: 999!important;
}

.carousel div .card-body{
    border-bottom-right-radius: 10%;
    border-bottom-left-radius: 10%;
}

.hero-section {
    padding-top: 50px;
    /* padding: 50px; */
    /* text-align: left; */
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin-top: 0px;
    margin-left: 280px;
    width: 100%;
}

.main-image {
display: none; /* Hide the div since its purpose is now handled by the body */
}

.carousel-container {
    width: 100%;
    max-width: 1800px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 80px;
    margin-bottom: 50px;
    overflow: visible;
    position: relative;
}

.carousel {
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.carousel:active {
    cursor: grabbing;
}

.carousel-arrow {
    position: absolute;
    top: 250px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 50px;
    line-height: 60px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    color: #000;
    font-weight: bold;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-arrow:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}


.carousel-cell {
    width: 320px;
    min-width: 320px;
    height: 500px;
    margin-right: 30px;
    border-radius: 10%;
    cursor: pointer;
    display: inline-block;
    padding: 0px;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border: none;
    flex-shrink: 0;
}
.carousel-cell .card{
    width: 20em !important;
    /* border-radius: 50px; */

}

.carousel-cell:hover {
    transform: scale(1.05);
}
.card-body {
    background-color: #fff; /* Default white */
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  

.carousel-cell::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    /* border-radius: 12px; */
}

.carousel-cell span {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: bold;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

ol.flickity-page-dots {
    display: none;
}

.custom-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

h5.card-title {
    color: black;
    font-size: 16px;
    font-weight: 400;
    padding: 20px;
    padding-top: 50px;
}
a{
    text-decoration: none;
}

.carousel-cell.active .card-body {
    margin-top: -85px;
}

.carousel-cell.active h5.card-title {
    padding: 20px;
    padding-top: 80px;
}



@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }
    .carousel-container {
        width: 100%;
    }
    .custom-arrow {
        display: none;
    }
}


.card-number{
    text-align: left;
    width: 100%;
    color: white;
    opacity: 0.6;
    font-size:80px ;
    font-weight: 900;
    margin-bottom: -45px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

img.card-img-top.wp-post-image{
    z-index: 99;
}

.carousel-cell.avances.is-selected .card-promise {
    background: #ffe000 !important;
}
.is-selected .promesometro {
    opacity: 1;
    visibility: hidden;
}

.promesometro {
    top: 180px;
}
img.imagen-promesometro {
    width: 150px;
}
.is-selected .footer-card {
    opacity: 1;
    transition-property: opacity;
    transition-duration: .4s;
    /* transition-delay: 1s; */
}

 .footer-card {
    padding: 11px 30px 15px 30px !important;
    opacity: 0;
} 

@media (max-width: 480px) {

    .hero-section h1{
        font-size: 30px;
        color: #fff;
        width: 100%;
        margin-left: 20px;
    }

    .logo-faktoje img{
        width: 35%;
    }
    body {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
}


@media screen and (max-width: 768px) and (min-width: 481px){
    .hero-section h1{
        font-size: 35px;
        color: #fff;
        width: 100%;
        margin-left: 20px;
    }
    .logo-faktoje img{
        width: 30%;
    }

}

@media screen and (max-width: 1280px) and (min-width: 769px){
    .hero-section h1{
        font-size: 35px;
        color: #fff;
        width: 100%;
        margin-left: 10px;
    }
    .logo-faktoje img{
        width: 20%;
    }

}

