 /* Container */
 .subjects-container {
     max-width: 900px;
     margin: 40px auto;
     padding: 0 20px;
 }

 /* Card Styling */
 .card {
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     padding: 25px;
     margin-bottom: 30px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
 }

 /* Section Titles */
 .section-title {
     font-size: 1.8rem;
     font-weight: bold;
     margin-bottom: 20px;
     border-bottom: 2px solid #333;
     padding-bottom: 5px;
 }

 /* Subject Groups */
 .subject-group {
     margin-bottom: 20px;
 }

 .subject-group h3 {
     font-size: 1.2rem;
     font-weight: 600;
     margin-bottom: 10px;
 }

 .subject-group ul {
     list-style: none;
     padding-left: 0;
 }

 .subject-group li {
     background: #f8f8f8;
     margin-bottom: 8px;
     padding: 10px 15px;
     border-radius: 8px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     transition: background 0.3s ease;
 }

 .subject-group li:hover {
     background: #e2e8f0;
 }

 .subject-name {
     font-weight: 500;
 }

 .subject-code {
     font-size: 0.9rem;
     color: #555;
 }

 /* Color accents */
 .subject-group.compulsory li {
     border-left: 5px solid #4f46e5;
     /* Indigo */
 }

 .subject-group.elective li {
     border-left: 5px solid #10b981;
     /* Green */
 }

 .subject-group.optional li {
     border-left: 5px solid #f59e0b;
     /* Amber */
 }

 /* Co-curricular Activities */
 .co-curricular {
     list-style: none;
     padding-left: 0;
 }

 .co-curricular li {
     background: #f3e8ff;
     padding: 10px 15px;
     margin-bottom: 8px;
     border-radius: 8px;
     transition: background 0.3s ease;
 }

 .co-curricular li:hover {
     background: #e9d5ff;
 }

 /* Fade-in Animation */
 @keyframes fadeInUp {
     0% {
         opacity: 0;
         transform: translateY(15px);
     }

     100% {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .fade-in {
     animation: fadeInUp 0.6s ease forwards;
 }

 .fade-in.delay-1 {
     animation-delay: 0.15s;
 }

 /* Responsive */
 @media (max-width: 600px) {
     .subject-group li {
         flex-direction: column;
         align-items: flex-start;
     }

     .subject-code {
         margin-top: 4px;
     }
 }
