/* Default styles */
* {
    margin: 0;
    padding: 0;
}

.highlight {
    background-color: red; /* Adjust the background color as needed */
    font-weight: bold; /* Optional: Make the text bold */
    padding: 0.5px 0.5px; /* Optional: Add some padding */
    border-radius: 2px; /* Optional: Add rounded corners */
}

body {
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.logo {
    height: 13vw;
    max-height: 80px;
}

header {
    background-color: #B80102;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.8rem;
    max-height: 30vh; /* Set a maximum height */
    overflow: hidden;
}

header h1 {
    flex-grow: 1;
    text-align: center;
}

header h1 a {
    color: #FFE600;
    text-decoration: none;
    font-size: clamp(1.3rem, 12vw, 5rem);
}

.navbar {
    display: flex;
    justify-content: center;
    background-color: #333;
    list-style-type: none;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: #FFE600;
    text-decoration: none;
    padding: 6px 20px;
    font-weight: bold;
    font-size: clamp(0.8rem, 3vw, 4rem);
    display: block;
}

.navbar a:hover {
    background-color: #B80102;
}

.hidden-section {
    display: none;
    padding: 20px;
    background-color: #1a1a1a;
    margin: 20px 0;
    border-radius: 5px;
}

.hidden-section.active {
    display: block;
}

#why-us h2 {
    margin-bottom: 20px; /* Adjust the value as needed */
}

#why-us ul {
    list-style-type: disc;
    padding-left: 20px; /* Adjust to set left padding for bullets */
}

#why-us ul li {
    margin-bottom: 10px; /* Adjust the value as needed */
    line-height: 1.4;
}

#about-us h2 {
    margin-bottom: 20px; /* Adjust the value as needed */
}

#about-us ul {
    list-style-type: disc;
    padding-left: 20px; /* Adjust to set left padding for bullets */
}

#about-us ul li {
    margin-bottom: 10px; /* Adjust the value as needed */
    line-height: 1.4;
}

#toggle-all {
    display: block;
    margin: 0rem auto;
    margin-top: 1rem;
    padding: 0.3rem 1em;
    background-color: #F5F5F5;
    color: #B80102;
    font-weight: bold;
    font-size: clamp(0.7rem, 1.7vw, 1.7rem);
    border: none;
    cursor: pointer;
}

#toggle-all:hover {
    background-color: #FFD700;
}

.sections {
  line-height: 2;
  display: grid;
  gap: 0px;
  padding: 0px;
}

.section1, .section2 {
  padding: 15px;
}

h2 {
    text-decoration: underline;
    font-weight: bold;
    color: cyan;
    text-align: center;
    font-size: clamp(1rem, 2.4vw, 2.4rem);
    margin-bottom: 0rem;
}

.course h3 {
    background-color: #eee;
    margin-top: 1.2rem;
    padding: 0.2em;
    font-size: clamp(1.2rem, 2vw, 2rem);
    cursor: pointer;
}

.course-list {
    display: none;
    list-style-type: none;
}

.course-list.show {
    display: block;
}

.course-list li {
    padding: 0.3rem;
    font-weight: bold;
    font-size: clamp(0.7rem, 1.5vw, 1.5rem); /* Adjusted to be larger */
    background-color: #fff;
    border: 10px solid currentColor;
    border-top: currentColor;
}

.course-list li:first-child {
    border-top: 10px solid currentColor;
}

.course-list li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Color customization for each course */
#computer-science h3, #computer-science .course-list li {
   background-color: #e6f2ff; /* Light blue */
   color: #003366; /* Dark blue */
}

#data-science h3, #data-science .course-list li {
   background-color: #fff2e6; /* Light orange */
   color: #993300; /* Dark orange */
}

#civil h3, #civil .course-list li {
   background-color: #e6ffe6; /* Light green */
   color: #006600; /* Dark green */
}

#electrical h3, #electrical .course-list li {
   background-color: #ffffe6; /* Light yellow */
   color: #808000; /* Olive */
}

#electronics h3, #electronics .course-list li {
   background-color: #ffe6ff; /* Light purple */
   color: #660066; /* Dark purple */
}

#mechanical h3, #mechanical .course-list li {
   background-color: #e6e6ff; /* Light indigo */
   color: #000066; /* Dark indigo */
}

#others h3, #others .course-list li {
   background-color: #ffe6e6; /* Light red */
   color: #990000; /* Dark red */
}

.course h4 {
    background-color: #cf8080;
    padding: 0.2rem;
    margin-top: 1rem;
    font-size: clamp(0.7rem,1.2vw,1.2rem);
    color: black;
}

footer {
    text-align: center;
    margin-top: 0.3rem;
    line-height: 1.5;
    padding: 0.2rem;
}

.footer-links p {
    padding: 0.1rem;
    font-size: clamp(0.2rem, 3.4vw, 4rem);
}

.footer-links a {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (min-height: 1080px) and (max-height: 1899px) {
    .sections {
        line-height: 3;
    }
    
    #toggle-all {
        margin-top: 2.3rem;
        font-size: clamp(1.2rem, 2.6vw, 2.6rem);
    }
   
    h2 {
        font-size: clamp(1.3rem, 3.6vw, 3.6rem);
    }
    
    .course h3 {
        font-size: clamp(1.2rem, 3vw, 3rem);
        padding: 0.5rem;
    }
    
    .course-list li {
        padding: 0.8rem;
        font-size: clamp(0.5rem, 2vw, 2rem); /* Adjusted to be larger */
    }

    .course h4 {
        padding: 0.4rem;
        font-size: clamp(0.8rem,1.7vw,1.7rem);
    }
  
    .course-list li:first-child {
    border-top: 15px solid currentColor;
    }
}


@media screen and (min-height: 1900px) {
    
    .sections {
        line-height: 2.4;
    }
    
    #toggle-all {
        margin-top: 2.3rem;
        font-size: clamp(1.2rem, 2.6vw, 2.6rem);
    }
   
    h2 {
        font-size: clamp(1.3rem, 3.4vw, 3.4rem);
    }
    
    .course h3 {
        font-size: clamp(1.2rem, 2.2vw, 2.8rem);
        padding: 0.5rem;
    }
    
    .course-list li {
        padding: 0.8rem;
        font-size: clamp(0.5rem, 1vw, 1rem); /* Adjusted to be larger */
    }


    .course-list li:first-child {
    border-top: 15px solid currentColor;
    }

    .course h4 {
        padding: 0.2rem;
        font-size: clamp(0.8rem,1.3vw,1.3rem);
    }
}

