﻿
/* Ensure cards inside the row have equal height */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px; /* Ensure all cards have at least 400px height */
    max-height: 600px; /* Optional: Limit the max height of cards */
}

/* Make sure the card body takes the available space */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Ensure it takes up all available space */
    padding-top: 0;
    padding-bottom: 1rem;
}

/* Adjust margins between title, description, and price */
.course-title,
.course-description {
    margin-bottom: 0.5rem; /* Adjusted to reduce vertical space between elements */
}

.course-description {
    margin-left: 20px;
}
/* Ensure the price sticks to the bottom of the card */
.course-price {
    margin-top: auto; /* Ensures the price is at the bottom of the card */
}

/* Optional: Limit image height and prevent overflow */
.card-img {
    max-height: 250px; /* Set the maximum height for images */
    overflow: hidden;
}

/* Optional: Add spacing around card-body */
.card-body {
    padding: 1rem;
}


/* Apply Now button style */
.btn-apply-now {
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 25px;
    background-color: #58d68d; /* Blue color */
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    /* Hover effect for Apply Now button */
    .btn-apply-now:hover {
        background-color: #0056b3; /* Darker blue on hover */
        color: white;
    }

/* Add some spacing between the price and button */
.course-price .btn-apply-now {
    margin-left: 10px;
}




/* Ensure no overflow from the container */
.container {
    padding-left: 70px;
    padding-right: 70px;
    max-width: 100%; /* Allow container to take full width */
}

/* Add maximum left margin to the first column */
.first-column {
    margin-left: 0; /* Remove any previous margins */
    padding-left: 40px; /* Adjust the left padding for max margin */
}

/* Add maximum right margin to the last column */
.last-column {
    margin-right: 0; /* Remove any previous margins */
    padding-right: 40px; /* Adjust the right padding for max margin */
}

/* Ensure images are responsive */
.process-content img {
    max-width: 100%;
    height: auto;
}

/* Adjust content padding to avoid text being cut off */
.process-content {
    padding-left: 15px;
    padding-right: 15px;
}

    /* Make sure h3 and p are properly aligned */
    .process-content h3, .process-content p {
        overflow-wrap: break-word;
    }




/*style news*/

/* Parent container for the row */
.blog-section .row.g-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Each blog card */
.col-lg-6.col-xl-3 {
    flex: 1 1 calc(25% - 1.25rem); /* 4 items per row on large screens */
    max-width: calc(25% - 1.25rem); /* Ensures 4 items per row on large screens */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Set equal height for each blog card */
.blog-style1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure it stretches to fill the column */
}

/* Image and content section will have a consistent size */
.img-holder {
    flex-grow: 0;
    flex-shrink: 0;
    height: 200px; /* Fixed height for images */
    overflow: hidden;
    background-color: #f4f4f4;
}

.text-holder {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}




.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    width: max-content;
    margin: 0 auto;
}

.testimonial-item {
    flex-shrink: 0;
    width: 300px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.slider-btn-left {
    left: 0;
}

.slider-btn-right {
    right: 0;
}


