.container-syllabus {
    max-width: 1000px;
    width: 70%;
    padding: 20px;
    margin: .5rem auto;
    font-family: 'Noto Serif Devanagari', serif;

}

.container-syllabus h1 {
    width: 100%;
    /* margin: 2px auto; */
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    color: #068576;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
    text-align: center;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
    font-size: 1.4rem;
    line-height: 1.5;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 4px solid;
    border-color: #0d9488 #14b8a6 #14b8a6 #0d9488;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3),
        /* Outer shadow for depth */
        -2px -2px 4px rgba(255, 255, 255, 0.5) inset,
        /* Inner highlight */
        2px 2px 4px rgba(0, 0, 0, 0.2) inset;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    margin-bottom: 1rem;

}

.container-syllabus h1:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    border-color: #ef2626 #ab463e #b86c14 #f61313;
    color: #ef2626;
    cursor: pointer;
}

.syllabus-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    border-left: 4px solid rgb(20, 228, 20);
}

.syllabus-section:hover {
    transform: perspective(1000px) rotateX(-2deg) rotateY(-2deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.syllabus-section h2 a {
    font-size: 1.3rem;
    color: #2980b9;
    text-decoration: none;
    /* border-bottom: 2px solid #3498db; */
    padding-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease;
    animation: slideIn 0.5s ease-in;
}

 .syllabus-section h2::after {
      content: ''; /* Default empty content */
      position: relative;
     
      top:0;
      left:1rem;
      transform: translateX(-50%);
      background-color: #333;
      color: #fff;
      padding: 5px 10px;
      font-size: 14px;
      border-radius: 3px;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

.syllabus-section h2:hover::after {
    /* color: #e67e22; */
     content: 'Click here to read'; /* Text to display on hover */
      opacity: 1;
      visibility: visible;
}

.syllabus-section h2:hover{
    content: 'Click here to read'; /* Text to display on hover */
      opacity: 1;
      visibility: visible;
}

.syllabus-section ul {
    list-style: none;
}

.syllabus-section li {
    font-size: 1.2rem;
    padding: 10px 0;
    color: #34495e;
    position: relative;
    padding-left: 25px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.syllabus-section li::before {
    content: '📜';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1.2rem;
}

.syllabus-section li:hover {
    color: #e67e22;
    transform: translateX(10px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 800px) {

    .container-syllabus h1,
    .syllabus-section h2 a {
        font-size: 1.4rem;
    }

    .syllabus-section li {
        font-size: 1.1rem;
    }

    .container-syllabus {
        width: 90%;
    }
    .syllabus-section{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container-syllabus {
        width: 100%;
    }

    .container-syllabus h1 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .syllabus-section {
        padding: 15px;
        width: 100%;
    }

    .syllabus-section h2 a {
        font-size: 1.4rem;
    }

    .syllabus-section li {
        font-size: 1.1rem;
    }
}