/* Style for loading spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
  }
  
  /* Spin animation */
  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  /* Style for the popup message */
  .popup-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 128, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    display: none; /* Hidden initially */
    animation: fadeIn 0.5s forwards;
    z-index: 999;
  }
  
  /* Fade in animation for popup */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
  }

  /*--------------------------------------------------------------
# artQuest details
--------------------------------------------------------------*/

  .artquest-section {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    padding: 60px 15px;
    /* background: linear-gradient(to right, #fceabb, #f8b500); */
      color: #333;
  }

  .artquest-section h2{
    text-align: center;
    font-weight: bold;
    color: #151515;
  }
  .content-box {
    /* background: white; */
    background: linear-gradient(to right, #fceabb, #f8b500);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  .animation-box img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }

 /*--------------------------------------------------------------
# scholarship banner
--------------------------------------------------------------*/
  .scholarship-banner {
    padding: 80px 20px;
  }
  .highlight-card {
    /* background: white; */
    background: linear-gradient(to right, #ffe29f, #ffa99f);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .highlight-card::before {
    content: "🎓";
    font-size: 6rem;
    position: absolute;
    top: -30px;
    left: -20px;
    opacity: 0.1;
    transform: rotate(-20deg);
  }
  .highlight-card h2 {
    color: #d63447;
    font-weight: bold;
  }
  .highlight-card p {
    font-size: 1.25rem;
  }
  .date-pill {
    background: #d63447;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 15px;
  }

  /*--------------------------------------------------------------
# course Title
--------------------------------------------------------------*/

  .section-heading{
    font-size: 32px;
    text-align: center;
  font-weight: bold;
  /* text-transform: uppercase; */
  /* margin-bottom: 15px; */
  /* padding-bottom: 40px; */
  color: #151515;
  }

  /*--------------------------------------------------------------
# form style
--------------------------------------------------------------*/

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkbox-item {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 auto;
  user-select: none;
}

.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #555;
  background-color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-label::after {
  content: "";
  position: absolute;
  left: -23px;
  top: 2px;
  width: 7px;
  height: 13px;
  border: solid black;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-label::before {
  background-color: #007bff;
  border-color: #007bff;
}

.checkbox-label {
  display: inline-block;
  position: relative;
  padding-left: 0;
}

textarea {
  display: none;
  margin-top: 10px;
  width: 100%;
  min-height: 80px;
  resize: vertical;
}

@media (max-width: 600px) {
  .checkbox-group {
    flex-direction: column;
  }
}
  
  