.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--edublink-color-heading);
}

.profile-trigger i {
    font-size: 20px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    /* background: #fff; */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    color: rgba(0,0,0,0.1);
    width: 200px
}

.dropdown-menu > .profile {
    display: flex;
    align-items: center;
    padding: 12px 0 12px 20px;
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 8px;
}

.dropdown-menu > .profile > .profile-icon {
    margin-right: 1em;
}

.dropdown-menu a {
    display: block;
    padding: 12px 0 12px 30px;
    color: var(--edublink-color-body);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--import-color-green);
    color: #fff;
}

.profile-dropdown:hover .dropdown-menu {
    display: block;
}



.profile-icon {
    width: 32px;
    height: 32px;
    background: var(--import-color-green);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon > img {
    width: 25px;
    border-radius: 20%;
}

.username {
    font-weight: 500;
    color: #000000
}

.icon-arrow-down {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.7;
    
}


.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid var(--edublink-color-border);
}

.dropdown-menu a {
    color: var(--edublink-color-heading);
    background-color: #ffffff;
}

.dropdown-menu a > svg {
    vertical-align: middle;
    padding-right: 5px;
}

.dropdown-menu a:hover {
    color: #ffffff;
    background-color: var(--import-color-green);
}


.edublink-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background-color: transparent;
    font-size: 15px;
    color: #666666;
}

.edublink-select:focus {
    outline: none;
    border-color: #1ab69d;
}


.dropdown-menu > .continue-learning-dropdown{
    display: none;
    

}
@media screen and (max-width: 1199px) {
    .dropdown-menu > .continue-learning-dropdown{
        display: block;
        padding-right: 0;
        border-bottom: 1px solid #f3f3f3;
        width: auto;
        height: auto;
    }
    .dropdown-menu > .continue-learning-dropdown .second-play {
        opacity: 0;
        position: absolute;
        top: 26.5%;
        left: 4%;
        transition: opacity 0.3s ease;
    }
    .dropdown-menu > .continue-learning-dropdown .first-play {
        opacity: 1;
        position: absolute;
        top: 26.5%;
        left: 4%;
        transition: opacity 0.3s ease;
    }
    .dropdown-menu > .continue-learning-dropdown:hover .first-play {
        opacity: 0;
    }
    .dropdown-menu > .continue-learning-dropdown:hover .second-play {
        opacity: 1
    }
}



/* Course Categories styles */
/* .course-categories {
    margin: 90px 300px;

}
.course-categories > a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.course-categories > a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.rows {
    display: flex;
    flex-direction: column;
    /* padding: 20px; */
    /* max-width: 1200px; 
    margin: 1em 0;
}

/* 50-50 layout for image and content divs 
.image-div, .content-div {
    flex: 1;
    padding: 0px;
}

/* Ensure image takes full height and width, keeping aspect ratio 
.image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: block;
    background-color: #ddd; 
    /* opacity: 0;  Initial opacity for fade-in */
    /* transform: scale(0.95); Initial smaller scale for zoom effect */
    /* transition: opacity 1s ease, transform 1s ease; Smooth fade and zoom 
}

/* Content div with responsive typography 
.content-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    padding: 10px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;    
    box-shadow: 0 4px 4px rgba(99, 99, 99, 0.1);
    /* opacity: 0;  Initial opacity for slide-in */
    /* transform: translateX(-50px); Initial off-screen position */
    /* transition: opacity 1s ease, transform 0.7s ease; Smooth slide-in 
}


/* Responsive typography using clamp

.content-div h2 {
    font-size: 20px;
    /* margin-bottom: 10px; 
}

@media only screen and (max-width: 1699px) {
    .course-categories {
        margin: 100px 400px;
        
    }
    .content-div h2 {
        font-size: 50px;
    
    }
    .content-div {
        padding: 30px;
    }
    
}

@media only screen and (max-width: 1450px) {
    .course-categories {
        margin: 95px 350px;
    
    }
    .content-div h2 {
        font-size: 40px;
    
    }
    .content-div {
        padding: 25px;
    }
    
}

@media only screen and (max-width: 767px){
    .course-categories {
        margin: 4px 5px;
        
    }
    
}

@media screen and (max-width: 350px){
    .course-categories {
        margin: 3px 2px;

    }
    .content-div h2 {
        font-size: 10px;
        
    }
    .content-div {
        padding: 6px 2px;
    }
    
}

/* Ensure 50-50 width on larger screens 
@media (min-width: 768px) {
    /* .course-categories {
    margin: 6px 32px;
} 
.content-div h2 {
    font-size: 1em;
    /* margin-bottom: 10px; 
}
    .rows {
        flex-direction: row;
    }

    .image-div, .content-div {
        flex: 1;
        max-width: 50%;
    }
    .content-div {
        padding: 10px 5px;
    }
} */


/* Styling for the entire section */
.course-categories {
    margin: 100px 300px; 
}

/* Styling for each row */
.rows {
    display: flex; /* To align content in a row */
    width: 100%; /* Ensure the rows take the full width available */
    border-radius: 20px; /* Capsule shape for each row */
    overflow: hidden; /* Ensure the border-radius affects all elements within */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 40px;
}

/* Styling for the image container */
.image-div {
    width: 50%; /* Image takes half of the row width */
}

.image-div img {
    width: 100%; /* Ensure image fits its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 20px 0 0 20px; /* Rounded edges on the left side of the image */
}

/* Styling for the content container */
.content-div {
    width: 50%; /* Content takes the other half of the row */
    display: flex; /* Flexbox for aligning text */
    flex-direction: column;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    padding: 9px; /* Add space inside content div */
    color: #ffffff !important; 
    text-align: center;
    background-color: #31ad4a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Box shadow for better visibility */
    border-radius: 0 20px 20px 0; /* Rounded edges on the right side of the content */
}

/* Hover effect when a row is hovered */
a:hover .rows {
    transform: scale(1.05); /* Slightly scale up the row */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Add a stronger box shadow */
    text-decoration: none;
    color: #000000;
}



/* Styling for the h2 text */
.content-div h2 {
    margin: 0; /* Remove default margin */
    padding-bottom: 29px;
    font-size: 16px; /* Set a font size */
    font-weight: bold; /* Bold text */
    color: #ffffff !important; /* Dark color for text */
}

.content-div p {
    font-size: 14px;
    color: #ffffff !important;
}

@media (max-width: 1025px) {
    .course-categories {
        margin: 100px 200px; /* 20px top/bottom, 120px left/right */
    }


    .image-div, .content-div {
        width: 100%; /* Image and content take full width */
    }

    .content-div {
        padding: 9px; /* Adjust padding for smaller screens */
    }

    .content-div h2 {
        font-size: 9px; /* Adjust font size for smaller screens */
    }

    .content-div p {
        font-size: 8px;
    }
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .course-categories {
        margin: 100px 65px; 
    }


    .image-div, .content-div {
        width: 100%; /* Image and content take full width */
    }

    .content-div {
        padding: 6px; /* Adjust padding for smaller screens */
    }

    .content-div h2 {
        font-size: 13px; /* Adjust font size for smaller screens */
        padding-bottom: 6px;
    }

    .content-div p {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .course-categories {
        margin: 100px 30px; 
    }

    .content-div {
        padding: 2px;
    }

    .content-div h2 {
        font-size: 8px; /* Further adjust font size for very small screens */
    }

    .content-div p {
        font-size: 7px;
    }
}









/* Main container for star rating */
.direct-star-rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    line-height: 1;
}

/* Star container styles */
.stars-container {
    display: flex;
    align-items: center;
    margin-right: 8px; /* Space between stars and text */
}

/* Individual star styles */
.stars-container span {
    font-size: 20px !important;
    line-height: 1;
    display: inline-block;
    margin-right: 2px; /* Spacing between stars */
}

/* Filled star styles (if you're using this class) */
.direct-star-rating .filled-star,
.edublink-course-review-wrapper .direct-star-rating .filled-star {
    color: #FFB606 !important;
    font-size: 20px !important;
}

/* Rating text styles */
.rating-text {
    color: #000000; /* Black when not hovered */
    transition: color 0.3s ease;
    font-size: 14px;
}

/* Rating text hover effect */
.edublink-single-course:hover .rating-text {
    color: #ffffff; /* White when hovered */
}

/* Pre-order Links Page */
.pre-order {
    margin: 40px 100px;
}

@media (max-width: 480px) {
    .pre-order {
        margin: 40px 20px
    }
}

.pre-order-links {
    border: 1px solid var(--import-color-green);
    color: #ffffff;
    border-radius: 20px;
    background-color: var(--import-color-green);
    padding: 20px;
}

.pre-order-links a {
    border-radius: 7px;
}