/* Color Variables */
:root {
    --primary-color: #007bff;
    --secondary-color: #555;
    --highlight-color: #ffc325;
    --text-light: #fff;
    --text-dark: #283885;
    --background-light: #f5fbff;
}

/* Typography */
strong {
    color: var(--primary-color);
}

.package-style {
    display: block;
    margin-top: 8px;
    color: var(--secondary-color);
}





 .my-5 {
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
	
	.courses-section {
     margin-top: 1rem !important;
    }






/* For small screens */
@media (max-width: 768px) {



}


/*     */
.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    color: #d69515; /* Matches the button color */
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}





/* Card Styles */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%; /* Ensure all cards have the same height */
}

.card.offer-item {
    border-radius: 10px; /* Rounded corners for the whole card */
    overflow: hidden; /* Ensure content fits inside the rounded corners */
}




/* Paragraph Style */
.card .board_title {
    font-size: 1em; /* Modern, readable size */
    line-height: 1.6; /* Improve readability */
    color: var(--paragraph-color);
	margin-bottom: -5px; /* Add spacing between paragraphs */
    margin-bottom: -5px; /* Add spacing between paragraphs */
   
	
}

.badge-card {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background-color: #f0f0f0; /* Grey background */
    border: 0px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #63686d;
	font-weight: bold; /* Makes the font bold */
}

.professions {
    display: flex;
    flex-wrap: wrap;
}
.professions {
    margin-left: -5px; /* Move all badges slightly to the left */
}
.course-card:first-child {
    margin-left: 0; /* Removes margin only from the first card */
}






/* Container for Cards */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows the cards to wrap onto the next line */
    justify-content: space-between; /* Space out the cards evenly */
}



/* Specific styling for Row View buttons to have square corners */
.courses-table .btn-add-to-cart, 
.courses-table .btn-details {
    border-radius: 0;
}





/* Button hover effect */
.extra-style:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3; /* Darker border on hover */
}
/* Column Layout */
.columns {
    width: auto;
    display: flex;
    margin-bottom: 20px;
    filter: drop-shadow(0.0rem 0.0rem 0.25rem rgba(0, 0, 30, 0.3));
}

.column {
    height: auto;
    background-color: #3599fc;
    border-radius: 10px 0 0 10px;
}

.column-2 {
    min-height: 260px;
    background-color: var(--background-light);
    border-radius: 0 10px 10px 0;
}

/* Flexbox Grid */
.courses-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Space between cards */
}

.col-lg-4 {
    flex: 0 0 33.33%; /* 3 cards per row */
    max-width: 33.33%;
    display: flex; /* Flex to ensure uniform height */
}

@media (max-width: 992px) {
    .col-md-6 {
        flex: 0 0 50%; /* 2 cards per row on medium screens */
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .col-sm-12 {
        flex: 0 0 100%; /* 1 card per row on small screens */
        max-width: 100%;
    }
}

/* Media Queries */
@media screen and (max-width: 1280px) {
    .course {
        width: auto;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .columns {
        flex-direction: column; /* Stack columns vertically */
    }

  

    .extra-style {
        padding: 5px 22px; 
    }

    .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;
    }

    .my-5 {
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
	
	.courses-section {
     margin-top: 1rem !important;
    }
	
	 .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 */
    }
	
}

/* 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;
}

@keyframes scroll-down {
    0% { opacity: 0; }
    30% { opacity: 1; }
    60% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* Container Styles */
.w-layout-blockcontainer,
.w-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Column Widths */
.w-col {
    float: left;
    width: 100%;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
}

@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%;
    }
}
