/* 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;
}

.promo-banner {
    font-weight: 600;
    color: #FFD700;
    text-align: center;
    font-size: clamp(0.7rem, 1.5vw, 1rem); /* Smaller font size */
    margin-bottom: 0.4rem; /* Tighter spacing */
    line-height: 1.3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 8px 16px; /* Reduced padding */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-left: 3px solid #FFD700; /* Thinner border */
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

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: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap; /* helps on smaller screens */
}

.navbar li {
  margin: 0 15px; /* spacing between items */
}

.navbar a {
  display: block;
  padding: 14px 10px;
  text-decoration: none;
  color: #FFE600;
  white-space: nowrap; /* prevents breaking long text */
}

.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;
}

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

#lowest-price ol {
    margin-top: 10px;
    list-style-type: disc;
    padding-left: 20px; /* Adjust to set left padding for bullets */
}

#lowest-price ol li {
    margin-bottom: 10px; /* Adjust the value as needed */
    line-height: 1.4;
}


.marquee {
  width: 100%;
  height: 80px;
  overflow: hidden;
  background-color: #FFE600;
  margin-bottom: 1px;
  position: relative;
}

.marquee-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: absolute;
  animation: marquee-horizontal 7s linear infinite;
  white-space: nowrap;
}

.marquee span {
  display: block;
  padding: 1px;
  color: #B80102;
  font-weight: bold;
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  border-bottom: 1px solid #000000;
}

.marquee span:last-child {
  border-bottom: none;
}

@keyframes marquee-horizontal {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#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;
}

/* Engineering Branch Colors - Light backgrounds with dark text in same color family */

#computer-science h3, #computer-science .course-list li {
   background-color: #DBEAFE; /* Very light blue background */
   color: #1E3A8A; /* Dark blue text */
}

#data-science h3, #data-science .course-list li {
   background-color: #FED7AA; /* Very light orange background */
   color: #9A3412; /* Dark orange text */
}

#civil h3, #civil .course-list li {
   background-color: #D1FAE5; /* Very light green background */
   color: #065F46; /* Dark green text */
}

#mechanical h3, #mechanical .course-list li {
   background-color: #F3F4F6; /* Very light gray background */
   color: #374151; /* Dark gray text */
}

#electrical h3, #electrical .course-list li {
   background-color: #FEF3C7; /* Very light yellow background */
   color: #92400E; /* Dark amber/yellow text */
}

#electronics h3, #electronics .course-list li {
   background-color: #EDE9FE; /* Very light purple background */
   color: #581C87; /* Dark purple text */
}

/* Corrected Brand-Based Colors */

/* ACE Academy - Professional Blue-Teal (keeping original) */
#ace h3, #ace .course-list li {
   background-color: #006dff; /* ACE Official Blue */
   color: #E7E7DB; /* ACE Dark */
}

/* IES Master - Green & Dark Gray/Black */
#ies-master h3, #ies-master .course-list li {
   background-color: #22C55E; /* IES Master Green */
   color: #1F2937; /* Dark Gray */
}

/* Physics Wallah - Black & White (keeping original) */
#pw h3, #pw .course-list li {
   background-color: #FFFFFF; /* PW Black */
   color: #000000; /* PW White */
}

/* MADE Easy - Red/Maroon theme (keeping original) */
#made-easy-2025 h3, #made-easy-2025 .course-list li {
   background-color: #FFFFFF; /* MADE Easy Red */
   color: #B91C1C; /* Light grey text */
}

#made-easy-state h3, #made-easy-state .course-list li {
   background-color: #FFFFFF; /* Lighter Red */
   color: #B91C1C; /* White text */
}

#made-easy-others h3, #made-easy-others .course-list li {
   background-color: #FFFFFF; /* Darker Red */
   color: #B91C1C; /* White text */
}

/* Next IAS - Blue & White */
#next-ias h3, #next-ias .course-list li {
   background-color: #1E40AF; /* Next IAS Blue */
   color: #D9D9C5; /* White text for contrast */
}

/* SHERYIANS - Old Logo Colors: Orange, Blue, Yellow */
#sheryians h3, #sheryians .course-list li {
   background-color: #D69857; /* Warm tan */
   color: #2D3E6F; /* Muted navy */
   border-left: 4px solid #B8A020; /* Olive yellow */
}

/* Others - Neutral Professional (keeping original) */
#others h3, #others .course-list li {
   background-color: #9CA3AF; /* Neutral Gray */
   color: #374151; /* Dark Gray */
}

#tests-series h3, #tests-series .course-list li {
   background-color: #e9c861; /* Light yellow */
   color: #664d00; /* Dark brown */
}

.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);
    }
}

@media screen and (min-width: 750px) {
    .marquee {
        height: 100px;
    }
    .marquee span {
        font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    }
}
