/* service */
/* .service {
    margin: 40px 0;
} */

.services-title h5 {
    font-style: italic;
    color: #424242 ;
    font-family: 'Caveat';
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}

.services-title h1 {
    font-family: 'Parkinsans', sans-serif;
    font-size: 60px;
    color: rgb(0, 0, 0);
    font-weight: 900;
    margin-top: 5px;
}

.view-all-btn {
    background-color: black;
    color: white;
    padding: 10px 30px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.view-all-btn {
    position: relative;
    display: inline-block;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 14px 40px;
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    overflow: hidden;
    transition: background 0.3s ease, padding-right 0.3s ease;
}

.view-all-btn::after {
    content: "↗";
    position: absolute;
    right: 25px;
    top: 48%;
    transform: translateY(-10%) scale(0);
    color: black;
    font-size: 25px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-all-btn:hover {
    background: #DFE121;
    padding-right: 60px;
    /* make space for arrow */
}

.view-all-btn:hover::after {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}


.sectino-2 {
    background: #FCFCE9;
    /* Light gray background */
    padding: 100px 0;
}


/* Swiper Carousel */
.mySwiper {
    width: 100%;
    padding: 20px 0;
    cursor: grab;
}

.mySwiper:active {
    cursor: grabbing;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    width: calc(33.33% - 20px);
    margin-right: 30px;
    height: 500px;
}

/* Card Styling */
.card {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 110%;
    width: 100%;
    max-width: 360px;
    transition: transform 0.3s ease;
}

.det-loc {
    line-height: 70px;
}

.date_det {
    line-height: 30px;
}

.card:hover {
    transform: translateY(-5px);
    /* Lift on hover */
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-top-left-radius: 12px;
    /* Match card radius */
    border-top-right-radius: 12px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover .card-img-top {
    display: none;
    /* Hide default image on hover */
}

.card-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.card:hover .card-img-hover {
    display: block;
    /* Show hover image */
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.card-text-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-text-left {
    display: flex;
    align-items: center;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.icon-text i {
    font-size: 1.1rem;
    color: black;
    /* Yellow icon color */
}

.card-text-right {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.card-text-right a {
    color: #DFE121;
    /* Yellow link color */
    font-weight: bold;
    transition: color 0.3s ease;
}

.card-text-right a:hover {
    color: #b8c01a;
    /* Darker yellow on hover */
}


.divider {
    border: none;
    border-top: 2px dashed #ccc;
    /* Customize thickness and color as needed */
    margin: 20px 0;
}

.more_det {
    position: relative;
    display: inline-block;
    color: rgb(0, 0, 0);
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    padding-right: 30px;
    /* Add space for the arrow */
    transition: padding-right 0.3s ease;
}

.more_det::after {
    content: "↗";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    color: black;
    font-size: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.more_det:hover {
    padding-right: 25px;
    /* Creates space when hovering */
}

.more_det:hover::after {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}


/* Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: 10px;
    /* Yellow bullets */
    opacity: 0.5;
    width: 10px;
    height: 40px;
}

.swiper-pagination-bullet-active {
    opacity: 0;
    background-color: #d3d3d3;
}

.text-black {
    color: black;
    font-size: 18px;
    font-weight: 700;
}

.date-number {
    margin: 10px 0px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .swiper-slide {
        width: calc(50% - 15px);
        /* 2 cards */
        margin-right: 30px;
    }

    .card {
        max-width: 300px;
    }

    .card-img-container {
        height: 180px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-body {
        padding: 15px;
    }

    .icon-text,
    .card-text-right {
        font-size: 0.85rem;
    }
    .sectino-2 .services-title h1 {
        font-size: 30px !important;
    }
    .services-title h1 {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
}

@media (max-width: 576px) {
    .swiper-slide {
        width: calc(100% - 10px);
        /* 1 card */
        margin-right: 20px;
    }

    .card {
        max-width: 100%;
    }

    .card-img-container {
        height: 350px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-body {
        padding: 10px;
    }

    .icon-text,
    .card-text-right {
        font-size: 0.8rem;
    }
}

@media (max-width: 772px) {
   .section-7 .d-flex.service.justify-content-between.align-items-center.mb-5.flex-wrap.home-testimonials{
        margin-bottom: 0% !important;
    }

    .service {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .services-title h5 {
        font-style: normal;
        font-weight: 500 !important;
    }

    .view-all-btn {
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 12px;
        font-weight: 600;
        padding: 5px 26px !important;
    }
    .view-all-btn-discover {
        font-size: 16px !important;
        /* margin-left: 60px; */
    }
    .d-flex.service.justify-content-between.align-items-center.mb-5.flex-wrap {
        margin-top: 2rem;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 768px) {
    .sectino-2 {
        background: #FCFCE9;
        /* Light gray background */
        padding: 0;
    }
    .section-spacing {
        margin: 0;
    }
    .cards-mobile-responsive {
        display: flex;
        justify-content: center;
    }

    .more_det {
        padding: 0px 3px;
    }

    .Discover_btn_center {
        display: flex;
        justify-content: center;
    }

    .about-company-details {
        width: 80%;
    }

    .date-number {
        margin: 0px 0px;
    }
    .view-all-btn:hover::after {
        display: none;
    }
}