/* Existing CSS (keep all your current styles) */
body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  height: 100%;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('home_page_images/ClassAq.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

@media (max-width: 600px) {
   .background {
    background-image: url('home_page_images/classroomMobile.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .overlay {
    width: 95%;
    padding: 8px;
    font-size: 1rem;
    top: 10%;
  }
  .tagline span {
    font-size: 2rem;
    padding: 8px 10px;
  }
}
.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  border-radius: 15px;
}

.tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 0;
}

.ignite-logo {
  position: absolute;
  top: 00px;
  left: 04px;
  width: 220px;
  height: auto;
  z-index: 200;
}

.tagline span {
  font-family: Cambria, Cochin, Georgia, Times, serif;
  font-size: 3.5rem;
  font-weight: 400;
  background: linear-gradient(90deg, #ff9800 10%, #1a237e 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(26,35,126,0.18);
  padding: 16px 56px;
  border-radius: 48px;
  background-color: rgba(255,255,255,0.18);
  box-shadow: 0 2px 16px rgba(26,35,126,0.08);
  display: inline-block;
}


.cta, .sections, .socials {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta img {
  width: 150px;
  height: auto;
  border-radius: 20px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #03213be8;
  margin-top: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  background: rgba(255,255,255,0.7);
  padding: 6px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.cta-button {
  display: inline-block;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff9800 40%, #1a237e 100%);
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}
.cta-button:hover {
  background: linear-gradient(90deg, #1a237e 40%, #ff9800 100%);
  transform: translateY(-2px) scale(1.03);
}

.section img, .socials img {
  width: 90px;
  height: 30px;
}

.sections .section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sections {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 10px;
}

.section a img[src*="join_us.png"] {
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,35,126,0.10);
  border-radius: 18px;
}

.section a:hover img[src*="join_us.png"] {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 8px 24px rgba(26,35,126,0.18);
}

.section a img,
.section img {
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,35,126,0.10);
  border-radius: 18px;
}

.section:hover a img,
.section:hover img {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 8px 24px rgba(26,35,126,0.18);
}

.demo-bg {
  background-image: url('demoPage_images/demoPage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}
.demo-img-link img {
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,35,126,0.10);
  border-radius: 18px;
}

.demo-img-link:hover img {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 8px 24px rgba(26,35,126,0.18);
}

.form-container select {
  width: 100%;
  padding: 14px 10px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  margin-bottom: 10px;
  font-size: 1.1rem;
  box-sizing: border-box;
  background: #fff;
  color: #1a237e;
}

.socials {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  z-index: 100;
  color: #fff;
}

.form-container {
  max-width: 420px;
  margin: 60px auto;
  background: rgba(255,255,255,0.75);
  padding: 36px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(26,35,126,0.10);
  text-align: center;
}

.form-container h2 {
  color: #1a237e;
  margin-bottom: 28px;
}

.form-container label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
  color: #1a237e;
  text-align: left;
}

/* Specific style for the group label, adding cursor pointer to indicate clickability */
.checkbox-group-label {
  cursor: pointer; /* This is key for the label to feel clickable */
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="number"] {
  width: 100%;
  padding: 14px 10px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  margin-bottom: 10px;
  font-size: 1.1rem;
  box-sizing: border-box;
}

#recaptcha-container {
  margin-top: 15px;
  margin-bottom: 15px;
}

.recaptcha-instruction {
  font-size: 0.85em;
  color: #555;
  margin-top: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.validation-error {
  color: #d32f2f;
  font-size: 0.85em;
  margin-top: 5px;
  margin-bottom: 10px;
  min-height: 1.2em;
}

/* Base input error style - applies to text, number, email, tel, select */
.input-error {
  border-color: #d32f2f !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

/* Ensure your general input styles allow these error styles to apply */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* --- NEW CSS FOR DROPDOWN MULTISELECT --- */

/* Wrapper for the multiselect component */
.multiselect {
    position: relative; /* Essential for positioning the dropdown */
    width: 100%;
    margin-bottom: 15px; /* Space below the multiselect component */
}

/* Style for the button that toggles the dropdown */
.multi-btn {
    width: 100%;
    padding: 14px 10px;
    border-radius: 10px;
    border: 1.5px solid #ccc;
    background-color: #fff;
    color: #1a237e;
    font-size: 1.1rem;
    text-align: left; /* Align text to the left */
    cursor: pointer;
    box-sizing: border-box;
    display: flex; /* Use flexbox to align text and dropdown arrow */
    justify-content: space-between; /* Space out content and arrow */
    align-items: center;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Add a pseudo-element for a dropdown arrow */
.multi-btn::after {
    content: '▼'; /* Unicode for down arrow */
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.2s ease-in-out;
}

/* Rotate arrow when dropdown is open (JS will add .open class) */
/* This style assumes your JavaScript will toggle a class named 'open' on the button.
   If showCheckboxes() only toggles the 'show' class on checkbox-dropdown,
   you might need to adjust your JS to toggle 'open' on the button too. */
.multi-btn.open::after {
    transform: rotate(180deg);
}

/* Error state for the dropdown button */
.multi-btn.input-error {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}


/* Style for the dropdown container itself */
.checkbox-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    width: 100%;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    max-height: 200px; /* Limit height and make it scrollable */
    overflow-y: auto;
    z-index: 1001; /* Ensure it appears above other content */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 4px; /* Small space below the button */
    padding: 8px 0; /* Vertical padding, no horizontal */
    box-sizing: border-box;
}

/* Class to show the dropdown (toggled by JS) */
.checkbox-dropdown.show {
    display: block;
}

/* Styles for individual checkbox labels within the dropdown */
.checkbox-dropdown label {
    display: flex; /* Use flexbox for checkbox and text alignment */
    align-items: center;
    padding: 8px 15px; /* Padding for each item */
    cursor: pointer;
    font-weight: normal; /* Override general label bold from form-container label */
    color: #333; /* Darker text for readability */
    margin: 0; /* Remove default label margins */
    transition: background-color 0.2s ease;
}

.checkbox-dropdown label:hover {
    background-color: #f0f0f0; /* Highlight on hover */
}

/* Style for the actual checkbox input within the dropdown */
.checkbox-dropdown input[type="checkbox"] {
    width: auto; /* Allow natural size */
    margin-right: 10px; /* Space between checkbox and text */
    margin-bottom: 0; /* Remove extra margin that might come from general input styles */
    /* You can add custom styles for the checkbox itself if needed,
       like custom appearance with -webkit-appearance: none; */
}
