/* body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: white;
    margin: 0;
    padding: 0;
} */
header {
    text-align: center;
    padding: 30px;
    background: #de2a0a;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.5);
    color: white;
}
.curriculum {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    min-height: 600px; /* Fix height so it doesn’t grow */
    overflow: visible;
    /* background: lightblue; */
/* Hide overflowing content */
}
/* display: flex;
align-items: flex-start;
justify-content: center;
padding: 40px;
gap: 20px;
min-height: 600px;
overflow: visible; */

.sidebarrr {
    width: 30%;
    min-width: 300px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    transition: transform 0.3s ease-in-out;
    height: auto; /* Full height of .curriculum */
    /* overflow-y: auto;  */
    position: relative;   
    /* border: 2px dashed yellow;
    background-color: red !important; */
    color: white;
    /* height: 300px; */
    width: 500px !important;
    z-index: -9999;
   
}


.course-contenttt {
    width: 70%;
    padding: 20px;
    height: 100%; /* Full height of .curriculum */
    overflow: auto; 
    max-height: 500px;/* Enable scrolling inside */
}


.sidebarrr:hover {
    transform: scale(1.05);
}

.white {
    color: white;
}

.module {
    background: darkblue;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.module:hover {
    background: #de2a0a;
    transform: scale(1.03);
}
.details {
    display: none;
    list-style-type: disc;
    opacity: 0;
    padding-left: 20px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 200px;
    overflow: hidden;
    columns:2;
}
   /* transition: opacity 0.3s ease-in-out; */
.tag {
    background: #FFD700;
    padding: 6px;
    border-radius: 5px;
}
.duration {
    float: right;
    font-size: 0.9em;
}
.course-image {
    width: 50%;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.5);
}

.brochure-btnns {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border: none;
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.5);
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}
.brochure-btnns:hover {
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 75, 43, 0.7);
}
.brochure-btnns:active {
    transform: scale(0.98);
}


@media screen and (max-width:450px), (max-width:768px){
    
    .course-contenttt {
        width: 100%;
        padding: 20px;
        height: 100%; /* Full height of .curriculum */
        overflow: auto; 
        max-height: 500px;/* Enable scrolling inside */
        flex-wrap: wrap;
        /* margin-left:-342px;
        margin-top: 500px;
        min-width:300px;
        max-width: auto; */

    
    }
    .sidebarrr {
    
        min-width: 350px;
        padding: 20px;
        background: #1a1a1a;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
        transition: transform 0.3s ease-in-out;
        height: auto; /* Full height of .curriculum */
        /* overflow-y: auto;  */
        position: relative;   
        /* border: 2px dashed yellow;
        background-color: red !important; */
        color: white;
        /* height: 300px; */
        width: 350px!important;
        z-index: -9999;
        margin-left: 20px;
        max-width: auto;
       margin-right: 20px;
    }
    .curriculum {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    
        /* background: lightblue; */
    /* Hide overflowing content */
    }
    
}


/* .curriculum {
    display: flex;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    course_content ke niche
}
.sidebar {
    width: 30%;
    padding: 25px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    transition: transform 0.3s ease-in-out;
} */

/* .course-content {
    width: 65%;
    padding: 25px;
    .white ke niche
} */