body {
    font-family: 'Poppins', sans-serif;
}

.list-group-item {
    border: none;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
}

h1.display-4 {
    color: #0E0E0E;
    font-weight: 600;
    
}

.common-style {
    color: #000;
    font-weight: 500;
   
}

.common-text-style {
    color: #000;
    text-align: right;
    font-weight: 500;
   
}

.note {
    color: #0040C3;
    font-size: 16px;
   
    background: rgba(0, 64, 195, 0.04);
    border-radius: 5px;
    margin-top: 8px;
    max-width: 100%;
}

.star {
    color: gold;
}

.author-card {
    position: relative;
    padding-left: 130px;
    display: flex;
    align-items: center;
    background-color: #FFC107;
    border-radius: 10px;
    color: #fff;
    z-index: 2; 
}

.by-badge {
    font-weight: 500;
    color: #FFFFFF;
    background-color: #FFC107;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; 
}

.author-card img {
    position: relative; 
    z-index: 3;
}

.img-size {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }

    .author-card img {
        margin-bottom: 10px;
    }

    .learn-list li {
        font-size: 14px;
    }

    .learn-list img {
        width: 20px;
        height: 20px;
    }

    .by-badge {
        width: 40px;
        height: 40px;
    }
}


.learn-subtitle {
    color: #000;
    text-align: center;
    font-weight: 400;
    
    max-width: 924px;
}
.learn-list {
    list-style: none;
    /* padding-left: 0; */
    color: #000;
}

.learn-list li {
    font-size: 16px;
}

/* .learn-list img {
    width: 25px;
    height: 25px;
} */

.journey-title {
    font-weight: 500;
    
    color: #FFFFFF;
}

.journey-subtitle {
    font-weight: 400;
    
    color: #FFFFFF;
}

.journey-button {
    font-weight: 500;
    
    border-radius: 5px;
    padding: 10px 20px;
    color: #0040C3;
}


.journey-container {
    background-color: #0040C3;
}

.content-header {
    padding: 20px;
}

.content-header .nav-link {
    font-weight: 500;
    color: #898989;
   
    margin-right: 20px;
}

.content-header .nav-link.active {
    color: #0040c3;
}

.content-box {
    border: 0.5px solid #c4c4c4;
    border-radius: 15px;
    padding: 50px;
    margin-top: 20px;
}

.content-box .content-title {
    font-weight: 500;
    font-size: 16px;
    
    color: #505050;
    margin-bottom: 20px;
}

.content-box .content-description {
    font-size: 16px;
   
    color: #505050;
    margin-bottom: 30px;
}

.content-box .info-note {
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.content-box .info-note img {
    margin-right: 10px;
}

.content-box .info-note .text-warning,
.content-box .info-note .text-primary {
    font-size: 16px;
    
}

.content-box .info-note .text-warning {
    color: #ffb700;
}

.content-box .info-note .text-primary {
    color: #0040c3;
}

.info-note.primary {
    background: #f5f8fd;
}

.info-note.warning {
    background: #fff7e1;
}

@media (max-width: 768px) {
    .content-header {
        padding: 10px;
    }

    .content-header .nav-link {
        margin-right: 10px;
    }

    .content-box {
        padding: 15px;
    }

    .content-box .content-title,
    .content-box .info-note .text-warning,
    .content-box .info-note .text-primary {
        font-size: 14px;
        
    }

    .content-box .content-description {
        font-size: 14px;
        
    }

    .content-box .info-note {
        padding: 10px;
    }
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    font-weight: 500;
    color: #000;
    border: none;
    background-color: transparent;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    border-color: transparent;
    border-bottom: 3px solid #1D5BDB;
    color: #1D5BDB;
    font-weight: 600;
}

.course-content {
    border: 0.5px solid #c4c4c4;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.course-content .content-title {
    font-weight: 500;
    font-size: 25px;
    
    color: #505050;
    margin-bottom: 20px;
}

.course-content .content-description {
    font-weight: 400;
    font-size: 16px;
    
    color: #505050;
    margin-bottom: 30px;
}

.course-content .learn-more-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 15.31px;
    
    color: #0040c3;
    text-decoration: none;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .nav-tabs .nav-item {
        margin-bottom: 0.5rem;
    }
}

.course-content .learn-more-link img {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .course-content-header {
        padding: 10px;
    }

    .course-content-header .nav-link {
        margin-right: 10px;
    }

    .course-content {
        padding: 15px;
    }

    .course-content .content-title,
    .course-content .learn-more-link {
        
    }

    .course-content .content-description {
        
    }
}

.modules-content {
    border: 0.5px solid #c4c4c4;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.modules-title {
    font-weight: 500;
    font-size: 16px;
    
    color: #505050;
    margin-bottom: 20px;
}

.module-item {
    font-weight: 400;
    font-size: 16px;
   
    color: #505050;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.module-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .modules-content {
        padding: 15px;
    }

    .modules-title,
    .module-item {
        font-size: 14px;
        
    }
}

.testimonial-section {
    max-width: 934px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex; /* Use flexbox to enable sliding */
    transition: transform 0.5s ease-in-out; /* Add a smooth transition effect */
}

.slide {
    min-width: 100%; /* Each slide takes full width */
    box-sizing: border-box;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 64px;
    height: 64px;
    margin-right: 16px;
    object-fit: cover; /* Maintain aspect ratio */
}

.testimonial-name {
    font-weight: 500;
    color: #505050;
    margin-bottom: 5px;
}

.testimonial-stars {
    color: #FFC107; /* Set the star color */
}

.testimonial-stars i {
    font-size: 18px;
}

.testimonial-content {
    font-weight: 400;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-controls button {
    background: transparent;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .slider-controls {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .slider-controls button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .slider-controls {
        position: relative;
        top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 20px;
        gap: 15px;
        padding: 10px 0;
    }

    .slider-controls button {
        padding: 8px 15px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        background: transparent;
        border-radius: 5px;
    }

    .testimonial-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider-container {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .slider-controls {
        position: relative;
        top: auto;
        justify-content: center;
        margin-top: 20px;
    }

    .slider-controls button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .slider-controls button i {
        font-size: 10px;
    }
}

/* Slider Dots */
.slider-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc; /* Adjust as needed */
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: #666; /* Active dot color */
}

/* Media Query */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 15px;
    }

    .testimonial-content {
        
    }

    .slider-controls button {
        font-size: 12px;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-header img {
        margin-bottom: 10px;
    }

    .testimonial-stars i {
        font-size: 16px;
    }

}

.merchandise-title {
    font-weight: 500;
    font-size: 49px;
    
    color: #FFFFFF;
    margin-top: 20px;
}

.merchandise-description,
.merchandise-note {
    font-weight: 400;
    font-size: 22px;
   
    color: #FFFFFF;
}

.merchandise-note {
    margin-top: 20px;
}

.btn-light {
    font-weight: 500;
    
    padding: 10px 20px;
    color: #0040c3;
}

@media (max-width: 768px) {
    .merchandise-title {
        font-size: 36px;
    }

    .merchandise-description,
    .merchandise-note {
        font-size: 18px;
    }
}


.advisory-title {
    font-weight: 500;
    
    color: #0e0e0e;
    transition: font-size 0.3s ease;
}

.nav-arrow {
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.board-images img {
    border-radius: 50%;
}

.learn-more {
    font-size: 1rem;
    font-weight: 500;
    color: #0040c3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #002d8a;
}

@media (max-width: 768px) {

    .nav-arrow {
        width: 24px;
        height: 24px;
    }

    .learn-more {
        font-size: 0.875rem;
    }
}

.rounded-circle-wrapper {
    background-color: #F7BF2E;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rounded-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.rounded-circle-wrapper {
    background-color: #F7BF2E; /* Change the color code to your desired color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rounded-circle-wrapper img {
    border-radius: 50%;
}


.nav-arrow {
    cursor: pointer;
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
}

/* Map and Languages Section */
.map-background {
    position: relative;
    min-height: 300px;
    width: 100%;
}

.map-background img {
    max-width: 100%;
    height: auto;
}

.regions-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 15px;
}

.text-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.text-container ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0;
}

.text-container li {
    padding-left: 25px;
    min-height: 15px;
}

.languages-box {
    border: 1px solid #648AD6;
    border-radius: 8px;
    padding: 20px;
}

.language-heading {
    font-size: 1.5rem;
    color: #FFF;
}

.languages-list {
    margin: 0;
    padding: 0;
}

.languages-list li {
    padding-left: 30px;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .map-background {
        min-height: 250px;
    }

    .text-container ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-box {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .map-background {
        min-height: 200px;
    }

    .text-container ul {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575.98px) {
    .map-background {
        min-height: 180px;
    }

    .text-container {
        padding: 10px;
    }

    .languages-box {
        padding: 15px;
    }
}

.regions-languages-section {
    background-color: #0040C3;
    color: white;
    padding: 60px 15px;
}

.regions-languages-section h2 {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    
    /* 58.8px */
}

.regions-languages-section p {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
   
    /* 35px */
}
.map-background {
    position: relative;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 95%;
    padding: 10px;
}

.text-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    text-align: left;
    width: 100%;
}

.text-container li {
    background-image: url('../../../storage/frontend/circle-tick.svg');
    padding: 5px;
    border-radius: 4px;
    background-repeat: no-repeat;
    padding-left: 20px;
    height: 15px;
    background-size: 13px 13px;
    background-position: left center;
    display: flex;
    align-items: center;
}

.language-heading{
    color: #FFF;
    font-family: Poppins;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
     /* 30px */
}
.text-container ul, .regions-list,
.languages-list,
.population-list {
    font-size: 16px;
    font-weight: 400;
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.regions-list li::before,
.population-list li::before {
    content: url('../../../storage/frontend/circle-tick.svg');
    display: inline-block;
    margin-left: -1em;
    margin-right: 0.5em;
    transform: scale(0.3);
    width: 0.5em;
    height: 0.5em;
}

/* Hide default list style */
.regions-list li,
.languages-list li,
.population-list li {
    list-style-type: none;
    display: flex;
    align-items: center;
    height: 25px;
}

.languages-list li {
    list-style-type: none !important;
    /* Removes the bullet points */
    background-repeat: no-repeat;
    /* Prevents the background image from repeating */
    padding-left: 35px; /* Increased padding to provide more space for the image */
    height: 35px;
    /* Adjust based on your image size */
    background-size: 30px 30px;
    /* Adjust based on your image size */
    background-position: left center;
    /* Aligns the image to the left and vertically centers it */
    display: flex;
    align-items: center;
    /* Centers the text vertically next to the image */
}

.languages-list li {
    background-image: url('../../../storage/frontend/circle-tick.svg');
    background-size: 12px 12px;
    /* Adjusts the size of the icon */
    background-position: 10px center; /* Adjusts the position to leave space between the icon and text */
}

.languages-box {
    border: 1px solid #648AD6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.regions-text {
    position: absolute;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

@media (max-width: 768px) {

    .regions-text {
        top: 3rem;
        left: 50%;
    }
    .text-container ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-box {
        margin-top: 5rem;
    }
}

.text-container {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    margin: 0 15px; 
}

.map-background {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.regions-text {
    position: absolute;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}


.regions-list li {
    margin-right: 80px; /* Adjust the value as needed */
}

@media (max-width: 768px) {
    .regions-list li {
        margin-right: 10px; /* Adjust the value as needed */
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.testimonial-header img {
    margin-right: 10px;
}

.line {
    width: 23px;
    height: 2px;
    background-color: #0e0e0e;
}

.student-testimonial-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.student-testimonial-text {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

.quote-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px; /* Set minimum height for the quote container */
}

.student-name {
    font-weight: 500;
    color: #505050;
}

.stars {
    color: gold;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.video-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.responsive-video, .responsive-video-2 {
    width: 100%;
    border-radius: 35px;
    height: auto;
    min-height: 300px;
    max-height: 450px;
    object-fit: cover;
}

/* Testimonial Slider */

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 0 20px;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    height: 100%;
}

.testimonial-card {
    border-radius: 5px;
    border: 1px solid #CFDEFF;
    background: #FDFDFD;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.card-title {
    color: #0040C3;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-text {
    color: #505050;
    
    margin-bottom: 15px;
    flex-grow: 1;
}

.slider-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .student-testimonial-content {
        flex-direction: column;
    }
    
    .student-testimonial-text {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .quote-container {
        min-height: 150px;
        margin-bottom: 20px;
        align-items: center;
    }
    
    .quote {
        min-height: auto;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .video-container {
        min-height: 200px;
    }
    
    .responsive-video, .responsive-video-2 {
        min-height: 200px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-header {
        justify-content: center;
    }
}

.custom-testimonial-section {
    border-radius: 10px;
}

.quote {
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
    min-height: 80px; /* Ensures consistent height even with short text */
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* Minimum height of video container to maintain spacing */
}

.responsive-video {
    width: 100%;
    border-radius: 35px;
    height: auto;
    min-height: 300px;
    max-height: 450px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .custom-testimonial-section .row {
        flex-direction: column;
        align-items: center;
    }

    .custom-testimonial-section .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .quote-container {
        min-height: 150px;
        margin-bottom: 20px;
        align-items: center;
    }
    
    .quote {
        min-height: auto;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .video-container {
        min-height: 200px;
    }
    
    .responsive-video {
        min-height: 200px;
        max-height: 350px;
    }

    .stars {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .responsive-video {
        min-height: 180px;
        max-height: 300px;
    }
}
.card-text {
    color: #505050;
    
}

.font-weight-bold {
    color: #505050;
}

.student-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.line {
    width: 23px;
    height: 2px;
    background-color: #0e0e0e;
}



.experts-title {
    font-weight: 500;
    color: #0e0e0e;
    
    margin-bottom: 20px;
}

.experts-description {
    font-weight: 400;
    color: #505050;
   
    margin: auto;
    margin-bottom: 40px;
}

.bg-dark {
    background-color: #000;
}

.bg-dark p {
    font-size: 20px;
    font-weight: 400;
    
    margin: 0;
}

.assessment-container {
    width: 100%;
    padding: 1rem 0;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.assessment-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .assessment-container {
        padding: 0.5rem 0;
    }
}

.contact-us {
    background-color: #0040C3;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.contact-us h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
   
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

.video-player, .course-image {
    width: 100%;
    height: 405px;
    object-fit: cover;

}

@media (min-width: 768px) and (max-width: 1025px) {
    .video-player, .course-image {
        height: 399px;
    }

}
@media  (max-width: 768px) {
    .video-player, .course-image {
        height: 381px;
    }
    
}


.contact-us p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
   
    color: #fff;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.social-icons div {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
}

.social-icons div img {
    display: block;
    margin: 0 auto 5px;
}


.faq-title {
    font-size: 49px;
    font-weight: 500;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 25px;
    font-weight: 400;
   
    margin: 0 auto 40px;
    color: #0e0e0e;
}

.faq-container {
    max-width: 1154px;
    margin: 0 auto;
}


.faq-container .accordion-item {
    margin-bottom: 20px;
    /* Adds bottom margin to each accordion card */
    border-radius: 20px;
    color: #FFF;
    box-shadow: 0 4px 8px rgba(21, 21, 21, 0.1);
}

.faq-container .accordion-button {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    border-radius: 20px;
    height: 100px;
}

.faq-container .accordion-item:first-of-type {
    border-radius: 20px;
}

.faq-container .accordion-item:last-of-type {
    border-radius: 20px;
}

/* Apply border-radius to the first accordion button */
.faq-container .accordion-item:first-of-type .accordion-button,
.accordion-item:first-of-type .accordion-collapse.collapse:not(.show) .accordion-body {
    border-top-left-radius: 20px;
    /* Adjust as needed */
    border-top-right-radius: 20px;
    /* Adjust as needed */
}

/* Apply border-radius to the last accordion item when not collapsed */
.faq-container .accordion-item:last-of-type .accordion-collapse.collapse:not(.show) .accordion-body {
    border-bottom-left-radius: 20px;
    /* Adjust as needed */
    border-bottom-right-radius: 20px;
    /* Adjust as needed */
}

.faq-container .accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 20px;
}

/* Ensure the last accordion item always has rounded corners at the bottom */
.faq-container .accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-button {
    border-bottom-left-radius: 20px;
    /* Adjust as needed */
    border-bottom-right-radius: 20px;
    /* Adjust as needed */
}

.faq-container .accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23e59114\'%3e%3cpath stroke=\'%23e59114\' stroke-width=\'2\' fill-rule=\'evenodd\' d=\'M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\'/%3e%3c/svg%3e');
    transform: rotate(-180deg);
}

.faq-container .accordion-button::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23666565\'%3e%3cpath stroke=\'%23666565\' stroke-width=\'2\' fill-rule=\'evenodd\' d=\'M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\'/%3e%3c/svg%3e');
}

.faq-container .accordion-button:hover {
    background-color: inherit;
    /* Or use the specific color of the button's non-hover state */
    color: inherit;
    /* Adjust if the text color also changes on hover */
}

.faq-container .accordion-header {
    background-color: #fff;
    color: #000;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 20px;
    height: 100px;
    font-family: 'Poppins', sans-serif;
}

.faq-container .accordion {
    border-radius: 20px;
}

.faq-container .accordion-body {
    color: #000;
    background-color: #FFF;
    border-radius: 0 0 20px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
}


@media (max-width: 768px) {
    .faq-title {
        font-size: 36px;
    }

    .faq-subtitle {
        font-size: 18px;
    }

    .faq-item {
        width: 100%;
        padding: 15px;
    }

    .faq-question {
        font-size: 20px;
    }

    .faq-question::after {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .contact-us h1 {
        font-size: 36px;
    }

    .contact-us p {
        font-size: 18px;
    }

    .contact-us-icons .icon-item p {
        font-size: 14px;
    }

    .contact-us-icons .icon-item img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {

    .assessment-images {
        width: 100%;
        height: auto;
    }

    .assessment-container .col-md-3 {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .custom-testimonial-section .row {
        flex-direction: column;
        align-items: center;
    }

    .custom-testimonial-section .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .custom-testimonial-section .col-md-6 img {
        width: 80%;
        height: auto;
    }



    .stars {
        display: flex;
        align-items: center;
        font-size: 14px;
    }
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    color: #0040C3;
    font-family: Poppins;
    font-weight: 400;
}

.card-text {
    color: #505050;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learn-more {
    color: #0040c3;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}

.enroll-button {
    display: flex;
    align-items: center;
    color: #0040c3;
    font-weight: 500;
    text-decoration: none;
}

.enroll-button span {
    margin-right: 5px;
}

.card-price-label {
    font-size: 0.875rem;
    color: #505050;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0040c3;
}

@media (max-width: 767.98px) {

    .enroll-button {
        font-size: 0.875rem;
    }

    .card-price-label {
        font-size: 0.75rem;
    }

    .card-price {
        font-size: 1rem;
    }
}

/* Testimonial Container */
.testimonial-container {
    background-color: #0040c3;
    background-image: url('../../../storage/frontend/testimonial-background.svg');
    background-size: auto;
    background-repeat: repeat-y;
    background-position: center;
    font-family: 'Poppins', sans-serif;
    background-color: #0040c3 !important;
    color: #fff !important;
    margin: 0;
    padding: 0;
}
.testimonial-heading {
    font-size: 3rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
}
.testimonial-body {
    font-size: 19px;
    font-weight: 400;
   
    max-width: 800px;
    margin: 0 auto;
}
.student-video {
    background-color: transparent;
   /* Removed white background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 700px;
    width: 100%;
}
.student-video video {
    width: 100%;
    border-radius: 10px;
    background-color: #000;
}
.testimonials-wrapper {
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.testimonials {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.testimonial {
    width: 80%;
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.5s ease;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    opacity: 0.3;
    transform: scale(0.9);
}
.testimonial img.quote {
    width: 30px;
    margin-bottom: 10px;
}
.testimonial .author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.testimonial .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}
.testimonial.clear {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.testimonial-slider-container {
    width: 100%;
    /* padding: 20px 0; */
    position: relative;
}

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 0 20px;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.slider-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.testimonial-card{
    border-radius: 5px;
    border: 1px solid #CFDEFF;
    background: #FDFDFD;
}

.card-img-top {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.card-img-top:hover {
    opacity: 0.9;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 767.98px) {
    .author-card {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .author-card img {
        margin-bottom: 10px;
    }

    .by-badge {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    /* List item improvements */
    .learn-list {
        margin-bottom: 1rem;
    }
    
    .learn-list li {
        margin-bottom: 0.75rem;
    }

    /* Content spacing */
    .content-header {
        padding: 10px 5px;
        overflow-x: auto;
    }

    .content-box {
        padding: 15px 10px;
        margin-top: 15px;
    }
    
    /* Tab improvements */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .nav-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .nav-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-tabs::-webkit-scrollbar-thumb {
        background: #ddd;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    /* Spacing adjustments */
    /* .row {
        margin-bottom: 1rem;
    } */
    
    /* .container > .row:not(:last-child) {
        margin-bottom: 2rem;
    } */
    
    /* Button adjustments */
    .btn {
        padding: 0.5rem 1rem;
        width: 100%;
    }

    /* Course details list */
    .list-group-item {
        padding: 12px 15px;
        margin-bottom: 8px;
    }
    
    .list-group-item .common-style,
    .list-group-item .common-text-style {
        font-size: 0.875rem; 
    }
    
    .img-size {
        width: 24px;
        height: 24px;
    }

    /* Testimonials */
    .testimonial-section {
        padding: 15px;
    }
    
    .slider-controls {
        gap: 8px;
    }
    
    /* Journey section */
    .journey-container {
        padding: 2rem 1rem;
    }
    
    /* Video player */
    .video-player, .course-image {
        height: 220px;
    }
}

/* Further enhancements for very small mobile devices */
@media (max-width: 575.98px) {
    h1.display-4 {
        font-size: 1.75rem;
        
        margin-bottom: 0.75rem;
    }
    
    .list-group-item {
        padding: 10px;
    }
    
    .img-size {
        width: 20px;
        height: 20px;
    }
    
    .nav-tabs .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .video-player, .course-image {
        height: 180px;
    }
    
    .by-badge {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
}

.student-reviews-section {
    text-align: center;
}

.student-review-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    background-color: #ffffff;
    height: 180px; /* Initial fixed height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.student-review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
    transition: border-color 0.4s ease;
}

.student-review-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    transition: opacity 0.3s ease;
}

.student-review-card:hover {
    height: auto;
    transform: translateY(0px);
    box-shadow: 0 12px 28px rgba(0, 64, 195, 0.15);
}

.student-review-card:hover::before {
    animation: borderPulse 1.5s infinite alternate;
}

.student-review-card:hover::after {
    opacity: 0;
}

.student-review-text {
    font-weight: 400;
    color: #000;
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.student-review-card:hover .student-review-text {
    -webkit-line-clamp: unset;
    display: block;
    animation: contentFadeIn 0.7s ease-out forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0.5;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentExpand {
    0% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.98);
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.student-review-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.student-review-rating {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 5px;

}

.student-review-rating img {
    /* width: 12px;
    height: 12px; */
    margin-right: 5px;
}

.student-review-rating span {
    font-weight: 400;
    font-size: 16px;
    color: #000;
}

.student-review-verified {
    font-weight: 400;
    /* font-size: 13px; */
    color: #000;
    margin-bottom: 0px;
}

.student-review-batch {
    font-weight: 400;
    /* font-size: 12px; */
    color: #505050;
}

@media (max-width: 768px) {

    .student-review-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-review-rating {
        font-size: 12px;
    }
}
.testimonial-slider-container {
    position: relative;
    padding: 10px 0;
}

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 0 20px;
}

.slider-track {
    display: flex;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.student-review-card {
    border-radius: 5px;
    border: 1px solid #CFDEFF;
    background: #FDFDFD;
    height: 250px; /* Initial fixed height */
    overflow: hidden;
    transition: height 0.3s ease; /* Smooth height transition */
}

.student-review-card.expanded {
    height: auto; /* Allow full height when expanded */
}

.student-review-name {
    color: #000;
    font-weight: 500;
    margin-bottom: 10px !important;
}


@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: -3%;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    font-size: 12px;
    color: black;
    border: 1px solid #CFDEFF;
    border-radius: 50%;
    padding: 7px 10px;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: -3%;
}