.lms-circle-card {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.lms-main {
    width: 300px;
    height: 300px;
    border: 3px solid var(--brand-primary);
}

.home-section .welcome-paragraph {
    max-width: 500px !important;
    text-align: justify;
}

@media(min-width: 700px) {
    .home-section .welcome-paragraph {
        text-align: center !important;
        max-width: 850px !important;
    }

}

@media(min-width: 1400px) {
    .home-section .welcome-paragraph {
        max-width: 1000px !important;
    }
}

.home-section .logo-1 {
    width: 27% !important;
}

@media (max-width: 1200px) {
    .home-section .logo-1 {
        width: calc(27% + 5%) !important;
    }
}

@media (max-width: 500px) {
    .home-section .logo-1 {
        width: calc(27% + 30%) !important;
    }
}

.home-section .flex-row-reverse {
    background-color: #f0f1f2;
}

.home-section .heading_underline_dot {
    line-height: 0;
}

.home-section .heading_underline {
    color: silver;
    vertical-align: text-bottom;
}

.home-section .helpdesk-address {
    color: #4D5665;
}

.home-section .shaping-future-sub-heading {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #4D5665;
}

@media(min-width: 800px) {
    .home-section .shaping-future-sub-heading {
        font-size: 20px;
    }
}

@media(min-width: 992x) {
    .home-section .shaping-future-sub-heading {
        font-size: 24px;
        font-weight: 600;
    }
}

.home-section .carousel-control-prev {
    width: 5%;
    margin-bottom: 30%;
    margin-left: 13%;
}

.home-section .carousel-control-next {
    width: 5%;
    margin-bottom: 30%;
    margin-right: 13%;
}

/* dont remove */
.home-section .testimonial-card-background {
    height: 600px;
    width: 600px;
    /* position: absolute !important; */
    z-index: -10;
    top: 230px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.home-section .testimonial-section .carousel-item {
    width: 400px;
}

.home-section .testimonial-section .active {
    max-width: 700px;
}

.home-section .testimonial-section #carouselExampleControls {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.testimonial-cards-section .slider-track {
    display: flex;
    justify-content: center;
    align-items: center; /* Added for vertical alignment */
    gap: 0px;
    height: 500px;
    transition: transform 0.5s ease; /* Re-enabled */
}

.testimonial-cards-section .slider-track {
    display: flex;
    justify-content: center;
    gap: 0px;
    /* transition: transform 0.5s ease; */
    /* will-change: transform; */
    height: 500px;
}

.testimonial-cards-section .testimonial-card {
    /* width: 180px; */
    /* height: 240px; */
    flex-shrink: 0;
    text-align: center;
    /* margin-top: 0px; */
    transition: all 0.5s ease-out; /* Removed delay */
    position: relative;
    border-radius: 12px;
    /* opacity: 0.7; Added */
    /* transform: scale(0.9); */
     /* Added */
}


.testimonial-cards-section .testimonial-card.active {
    /* width: 400px; */
    height: fit-content;
    margin: 0 9px;
    opacity: 1;
    transform: scale(1); /* Scale up */
    z-index: 2;
    transition: all 0.5s ease-out; /* Same transition timing */
}

.testimonial-cards-section .slider-img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    /* margin-top: 0%; */
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.testimonial-cards-section .testimonial-card.active .slider-img {
    width: 400px;
    height: 350px;
    opacity: 1;
    z-index: 1;
    margin-top: 0px;
    margin: 10px 0;
    object-fit: cover;
}

/* Hide text by default */
.testimonial-cards-section .testimonial-card .card-body {
    display: none;
    /* transition: opacity 0.5s ease; */
    /* transition: opacity 0.3s ease, transform 0.3s ease; */
}

/* Show text only for active card */
.testimonial-cards-section .testimonial-card.active .card-body {
    display: block;
}

.testimonial-cards-section .student-name {
    font-weight: bold;
}

.testimonial-cards-section .student-department {
    font-size: 0.9rem;
    color: #555;
}

.testimonial-cards-section .student-feedback {
    font-size: 0.85rem;
    margin-top: 4px;
}

.testimonial-cards-section #prevBtn {
    transform: rotate(40deg);
}

.testimonial-cards-section #nextBtn {
    transform: rotate(322deg);
}

.testimonial-cards-section #prevBtn,
.testimonial-cards-section #nextBtn {
    --bs-btn-color: #1d3e73 !important;
    --bs-btn-border-color: #1d3e73 !important;
    --bs-btn-active-bg: #1d3e73 !important;
    --bs-btn-active-border-color: #1d3e73 !important;
    --bs-btn-bg: transparent;

}

.testimonial-cards-section #prevBtn:hover,
.testimonial-cards-section #nextBtn:hover {
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: #1d3e73 !important;
    --bs-btn-bg: #1d3e73 !important;
    --bs-btn-border-color: #1d3e73 !important;
    --bs-btn-hover-border-color: #1d3e73 !important;
}

.testimonial-cards-section .card-body {
    width: 360px;
    margin: 0 auto;
    text-align: left;
}

/* 
.testimonial-cards-section #viewport {
    overflow: hidden;
} */

@media (max-width: 1399px) {
    .testimonial-cards-section #prevBtn {
        left: 0 !important;
    }

    .testimonial-cards-section #nextBtn {
        right: 0 !important;
    }
}

@media (min-width: 1400px) {
    .testimonial-cards-section #prevBtn {
        left: 6% !important;
    }

    .testimonial-cards-section #nextBtn {
        right: 6% !important;
    }
}

@media (max-width: 1199px) {
    .testimonial-cards-section #prevBtn {
        left: 0 !important;
    }

    .testimonial-cards-section #nextBtn {
        right: 0 !important;
    }

    .testimonial-cards-section .testimonial-card.active .slider-img {
        width: 360px !important;
        height: 300px !important;
        margin-top: 0 !important;

    }

    .testimonial-cards-section .slider-img {
        height: 200px !important;
        width: 140px !important;
        /* margin-top: 70% !important; */
        /* transform: scale(0.9); */
        /* transition: transform 0.3s ease-in-out; */

    }

    .testimonial-cards-section .card-body {
        width: 320px;
        margin: 0 auto;
        text-align: left;
    }

    .home-section .testimonial-card-background {
        height: 530px;
        width: 520px;
        /* position: absolute !important; */
        z-index: -10;
        top: 230px !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* Mobile view */

.testimonial-cards-mobile .testimonial-scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.testimonial-cards-mobile .testimonial-scroll-container::-webkit-scrollbar {
    height: 5px;
}

.testimonial-cards-mobile .testimonial-scroll-container::-webkit-scrollbar-thumb {
    background: #1d3e73;
    border-radius: 10px;
}

.testimonial-cards-mobile .testimonial-scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    cursor: pointer;
}

.testimonial-cards-mobile .testimonial-scroll-img {
    width: 120px;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Highlight active item when tapped */
.testimonial-cards-mobile .testimonial-scroll-item.active img {
    /* transform: scale(1.08); */
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/*  laptop screens */

.testimonial-cards-mobile .testimonial-cards-section .slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-cards-mobile .testimonial-cards-section .slider-img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(0.9);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial-cards-mobile .testimonial-cards-section .slider-img.active {
  transform: scale(1.25);
  opacity: 1;
  z-index: 2;
}

.login-modal-class .modal-content{
    border:none;
}
