﻿
.swiper {
    width: 100%;
    height: 100%;
}


.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.overlay-container {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
}

    .overlay-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

.text-overlay {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

    .text-overlay button {
        margin: 0;
        font-size: 1rem;
        color: black;
        text-align: center;
        font-weight: bold;
        border-radius: 20px;
        background-color: rgb(255, 255, 255, 0.6);
    }

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #cbc3b7;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-family: swiper-icons;
        font-size: 20px;
        color: #000;
        text-transform: none !important;
        letter-spacing: 0;
        font-variant: initial;
        line-height: 1;
    }

    /* Optional: Hover effect */
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background-color: #f0f0f0;
    }



/* card bg color */
.charcol {
    background: url("/images/elementra/constel-charcol.jpg");
}

.coffee {
    background: url("/images/elementra/constel-coffee.jpg");
}
.frost {
    background: url("/images/elementra/constel-frost.jpg");
}

.night-star {
    background: url("/images/elementra/constel-nightstar.jpg");
}

.olive {
    background: url("/images/elementra/constel-olive.jpg");
}

.snow {
    background: url("/images/elementra/constel-snow.jpg");
}

.dove {
    background: #f4f0e6;
}

.sand {
    background: #e2d0a9;
}

.silver {
    background: #8b8b8c;
}

.fawn {
    background: #7d674d;
}
.ashen {
    background-color: #4c4d4d;
}
.midnight {
    background-color: #02020a;
}
.card {
    width: auto;
    height: 100px;
    width: 90%;
    border: 1px solid #000;
    position: relative;
    overflow: hidden;
}
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

.card-body {
    height: 100%;
    width: 100%;
}

.title-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
}
.card:hover .card-body .title-text {
    color: #fff;
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.col-md-12 {
    justify-items: anchor-center;
}





    

.icon-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding:5px 0;
}

.icon-box {
    flex: 0 0 calc(16.66% - 10px);
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

    .icon-box i {
        font-size: 24px;
        margin-bottom: 5px;
        color: #fff;
    }

    .icon-box p {
        margin: 0;
        padding-top:10px;
        font-size: 12px;
        color: #fff;
    }


@media screen and (max-width: 768px) {
    .card {
        width: 330px;
    }
    .icon-box {
        flex: 0 0 calc(33.33% - 10px);
    }
    .toptitle{
        margin-top:15px !important;
    }
    .paragraph{
        padding:10px 15px !important;
    }
    .bgimage-cont {
        position: relative;
        margin: 50px 0;
        background-image: url('/images/elementra/application-banner-mobile.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .top-container {
        margin-top: 50px;
    }
    
    /*    two items per row in mobile */
    .edge-profiles {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /*        justify-content: space-between;*/
        text-align: center;
        /*        padding: 20px;*/
    }

    .col-6 {
        width: 48%; /* Two per row */
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .col-6 img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 10px;
    }
    
    .col-6 {
        width: 48%; 
        box-sizing: border-box;
    }
    .allpara{
        padding-top:20px;
    }
}

@media screen and (min-width: 992px) {
    
    .second-row {
        padding-top:30px;
        margin: auto 140px;
    }
    .swiper-button-next, .swiper-rtl
    .swiper-button-prev {
        right: 0px;
        left: auto;
    }

    .swiper-button-prev, .swiper-rtl
    .swiper-button-next {
        left: 0;
        right: auto;
    }
    .bgimage-cont {
        position: relative;
        margin: 50px 0;
        background-image: url('/images/elementra/application-banner.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .top-container{
        margin-top:50px;
    }
}


.above-footer{
    display:none;
}