/* General Styles */
strong {
    color: #000;
}

.package-style {
    display: block;
    margin-top: 8px;
    color: #555;
}

.my-5 {
    margin-top: 0.5rem !important;
    margin-bottom: 0rem !important;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0) !important;
}

.text-block {
    width: 130px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    background-color: #007bff;
    border-radius: 5px;
    margin-top: 20px;
    margin-left: 5px;
    padding: 5px;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.live-ceu-highlight {
    background-color: #ffc325;
    color: #000;
    padding: 5px;
    border-radius: 4px;
}

.course {
    padding: 0 2rem;
    margin-top: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    display: flex;
}

/* Columns Layout */
.columns {
    width: auto;
    display: flex;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 30, 0.3));
}

.column {
    height: auto;
    background-color: #3599fc;
    border-radius: 10px 0 0 10px;
    padding: 20px; /* Added padding */
}

.column-2 {
    min-height: 260px;
    background-color: #f5fbff;
    border-radius: 0 10px 10px 0;
    padding: 20px; /* Added padding */
}

/* Text Blocks */
.text-block-2 {
    width: 300px;
    color: #fff;
    padding: 20px 5px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
}

.text-block-3 {
    color: #fff;
    text-transform: uppercase;
    background-image: url("pngwing.png");
    background-position: 175px 3px;
    background-repeat: no-repeat;
    background-size: 20px;
    margin-left: 5px;
    padding-bottom: 20px;
    padding-left: 0;
    font-size: 18px;
    font-weight: 700;
}

.text-block-4 {
    color: #fff;
    text-transform: uppercase;
    margin-left: 5px;
    padding-bottom: 20px;
    padding-left: 0;
    font-size: 18px;
    font-weight: 700;
}

.text-block-5 {
    color: #283885;
    border: 1px solid rgba(0, 0, 0, 0);
    margin-top: 20px;
    margin-left: 5px;
    font-size: 16px;
    font-weight: 700;
}

.text-block-6 {
    color: #566575;
    margin-top: 5px;
    margin-left: 7px;
    font-weight: 400;
    line-height: 30px;
}

input.w-button {
    -webkit-appearance: button;
}

/* Add space below each column */
.col-lg-4, .col-md-6, .col-sm-12 {
    margin-bottom: 20px; /* Adjust this value to control the space */
}



/* Card Styles */
.card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px; /* Match border radius with the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    height: 100%;
    overflow: hidden; /* Ensure the buttons stay within the card boundaries */
    justify-content: space-between; /* Ensure space is pushed to the bottom */
}





.card-info-row {
    display: flex;
    justify-content: space-between; /* Align price and hours/courses on the same line */
    padding: 10px 0; /* Add spacing */
    border-top: 0px solid #ddd; /* Optional: subtle separation */	
}


.card-hours-courses {
    display: flex;
    gap: 20px; /* Space between hours and courses */
}

.card-hours-courses div {
    display: flex;
    flex-direction: column; /* Stack values vertically */
    align-items: center; /* Center align values */
}

.card-hours-courses div div:first-child {
    font-size: 1.2em; /* Larger size for numbers */
    font-weight: bold;
	margin-bottom: -5px;
}

.card-hours-courses div div:last-child {
    font-size: 0.8em; /* Smaller size for labels */
    color: #555;
}





.card-img-top {
    width: 80%; /* Reduce image size to 80% */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure block-level alignment */
    margin: 0 auto; /* Center image horizontally */
}

/* Ensure cards take up equal space within the container */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between cards */
}

.card-item {
    flex: 1; /* Makes cards flexible and grow equally */
    min-width: 300px; /* Minimum width for each card */
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    height: 100%; /* Ensures cards expand to fill the container */
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .card-container {
        gap: 10px; /* Adjust gap for smaller screens */
    }

    .card-item {
        margin-bottom: 10px; /* Adjust margin for smaller screens */
    }
	
	
	 .card-footer {
        flex-direction: column; /* Stack buttons vertically on small screens */
    }

    .btn-add-to-cart, .btn-details {
        border-right: none; /* Remove the border on the right for stacked buttons */
        border-bottom: 1px solid #ddd; /* Add bottom border for separation */
    }



    .extra-style {
        padding: 5px 22px;
    }

    .hidden-text {
        display: none;
    }

    .read-more {
        color: blue;
        cursor: pointer;
    }

    .text-block-6 .read-more {
        display: block;
        text-decoration: none;
        color: #566575;
        font-weight: 700;
    }

    .column {
        height: auto;
        border-radius: 10px 10px 0 0;
        padding: 10px; /* Adjust padding for small screens */
    }

    .column-2 {
        padding: 10px; /* Adjust padding for small screens */
    }
}

@media screen and (max-width: 1280px) {
    .course {
        width: auto;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 991px) {
    .w-container {
        max-width: auto;
    }

    .w-hidden-medium {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .w-hidden-small {
        display: none !important;
    }

    .w-col {
        width: 100%;
    }

    .scroll-down {
        left: 47.2%;
    }

    .scroll-down::before,
    .scroll-down::after {
        left: 47.2%;
    }
}

@media screen and (max-width: 479px) {
    .w-container {
        max-width: none;
    }

    .w-col {
        width: 100%;
    }
}

/* Scroll Down Button */
.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid white;
    position: absolute;
    left: 50%;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-down::before,
.scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid white;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 1s ease-in-out infinite;
}

.scroll-down::before {
    top: 30%;
    animation-delay: 0.3s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
     100% {
        top: 90%;
        opacity: 0;
    }
}
