.lcr-slider {
    width: 100%;
    position: relative;
    padding-top: 0;
}

.lcr-slider .swiper-button-prev,
.lcr-slider .swiper-button-next {
    position: absolute;
    top: 0px;
    width: 40px;
    height: 40px;
    margin: 0;
    background: #0a3e87;
    color: #fff;
    border-radius: 5px;
    z-index: 10;
}

.lcr-slider .swiper-button-prev:after,
.lcr-slider .swiper-button-next:after {
    font-size: 18px;
}

.lcr-slider .swiper-button-prev {
    right: 50px;
    left: auto;
}

.lcr-slider .swiper-button-next {
    right: 0;
    left: auto;
}

.lcr-slider .swiper-pagination {
    display: none;
}

.slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;   
     padding-top: 50px;
}

.lcr-slider[data-rows="1"] .slide-grid {
    grid-template-rows: 1fr;
}

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

@media (max-width: 480px) {
    .slide-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Container */
.card {
    background: #fff;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Card Image Wrapper */
.card-link,
.title-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.title-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.card-img {
    width: 100%;
height: 250px !important;
    object-fit: cover !important;
    display: block;
    transition: transform 1.5s ease-in-out;
}

/* Smooth Zoom In/Out on Hover */
.card:hover .card-img {
    transform: scale(1.2);
}

/* Card Body */
.card-body {
    padding: 24px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title Styling */
.card-body h3 {
font-size: 21px !important;
    font-weight: 600;
    margin: 0;
    color: #04192a !important;
       line-height: 29px;
    transition: color 0.3s ease;
     font-family:  Outfit, sans-serif;
}

.title-link {
    margin-bottom: 12px;
}

.title-link:hover h3 {
    color:#D4A84C !important
}

.title-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.title-link:hover .title-arrow {
    transform: translateX(5px);
}

/* Description Styling */
.card-body p {
font-size: 16px;
    color: #3e4751 !important;
    margin: 0 0 16px 0;
    flex: 1;
    line-height: 24px;
     font-family:  Outfit, sans-serif;
}

/* Button Styling */
.learn-btn {
    display: block;
    width: 180px;
    margin-top: auto;
    margin-bottom: 0;
    padding: 11px 26px;
    font-size: 16px;
    font-weight: 400;
    color: #21356A !important;
    background-color: #f9f6ef;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
        margin: 10px 0px;
       font-family:  Outfit, sans-serif;
}

.learn-btn:hover {
background-color: #fff;
    color: #21356a;
    border-color: #f7921e;
}
