body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 5px;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;

    
}

   .question_bank {
    max-width: 700px;
   } 

#test-info {
  background-color: #f0f8ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

  .answer_btn {
    padding: 12px 24px; 
    font-size: 18px; 
    border: none; 
    border-radius: 8px; 
    background-color: #4CAF50; 
    color: white; 
    cursor: pointer; 
    box-shadow: 4px 7px 7px rgba(5,6,9,0.9); 
    transition: all 0.3s ease;"
  }

#status-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#options {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 10px; 
  margin-top: 20px;
}

    .card {     
      padding: 15px;
      text-align: center; 
    }

        .topic-card { 
      max-width: 700px;
      width: 100%; 
      text-align: center;
      transition: 0.3s ease;
    }


    .profile-img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 20px; 
    }

    p {
      font-size: 16px;
      line-height: 1.6;
      margin: 15px 0;
    }

.wp-btn {
display: inline-flex; 
align-items: center; 
padding: 10px 16px; 
margin-top: 10px; 
background-color: #25D366; 
color: white; 
text-decoration: none; 
font-size: 16px; 
border-radius: 8px; 
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
font-family: sans-serif;"
}



  .accordion {
    width: 100%;
    max-width: 600px;
    border-radius: 12px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    overflow: hidden;
  }

  .accordion-item {
    border-bottom: 1px solid #44445a;
    transition: background-color 0.3s ease;
  }

  .accordion-item:last-child {
    border-bottom: none;
  }

  .accordion-header { 
  	color: blue;
    padding: 9px 25px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
  }

  /* Plus/minus icon */
  .accordion-header::after {
    content: '+';
    position: absolute;
    left: 25px;
    font-size: 24px;
    transition: transform 0.3s ease;
  }

  .accordion-item.active .accordion-header::after {
    content: '−';
    transform: rotate(180deg);
  }

  .accordion-content {
    text-align: left;
    max-height: 0;
    overflow: hidden; 
    padding: 0 25px;
    font-size: 17px;
    line-height: 1.5;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);


    background: #f0f4f8; 
    border-radius: 12px;  
    font-family: 'Segoe UI', sans-serif;
  }

  .accordion-item.active .accordion-content {
    max-height: fit-content; /* məzmun uzunluğuna görə artır */
    padding: 0px 5px 10px 5px;

  }

.test-name { 
    display: block;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    padding: 12px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

  .yt_link {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4); /* Kölgə effekti */
  transition: all 0.3s ease;
  animation: gentlePulse 2.5s ease-in-out infinite;
}

.yt_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 4%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
  transform: skewX(-80deg);
  animation: shine 1.5s linear infinite;
}


@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


.shine-button-topic-reading {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  cursor: pointer; 
}

/* Parıltı effekti - Shine */
.shine-button-topic-reading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  animation: shineMove 3s linear infinite;
}

/* Pulse animasiyası */
@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 114, 255, 0.6);
  }
}

/* Shine animasiyası - parıltının düymənin üzərindən hərəkəti */
@keyframes shineMove {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


.shine-button-return-homepage {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #a8e063, #56ab2f); /* Açıq yaşıl tonlar */
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(88, 200, 50, 0.4); /* Yaşıl rəngli kölgə */
  transition: all 0.35s ease;
  cursor: pointer;
}


#questionImage {
  width: 100%;
}


 
/* 



*/



    .topic-text { 
      border-radius: 15px; 
      max-width: 700px;
      width: 100%;
    }

    .topic-text h3 {
      color: #2c3e50;
      font-size: 1.6em;
      margin-bottom: 15px;
      border-left: 6px solid #3498db;
      padding-left: 12px;
    }


    .gradient-heading {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 20px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.green-gradient-heading {
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  margin-top: 30px;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeRotateIn 1s ease-out;
}

@keyframes fadeRotateIn {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0);
  }
}


.math-text {
  font-size: 1.15rem;
  text-align: left;
  line-height: 1.8;
  font-family: 'Georgia', serif;
  padding: 20px;
  margin: 30px auto;
  max-width: 700px;
  background: #f9fff9;
  border-left: 5px solid;
  border-image: linear-gradient(to bottom, #00c853, #b2ff59) 1;
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.1);
  border-radius: 10px;
  color: #2e7d32;
  background-image: linear-gradient(to bottom right, #ffffff, #f1fff1);
  animation: fadeInText 1s ease;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

    #progress-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 5px;
      background: #4caf50;
      width: 0%;
      z-index: 9999;
      transition: width 0.1s ease-out;
    }
