/* ===== BASE STYLES ===== */
html{
  scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: 
      fadeIn 1.5s ease-in-out,
      gradientShift 15s ease infinite;
    overflow-x: hidden;
  }
  
  /* ===== ANIMATED BACKGROUND ===== */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.15) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(37, 117, 252, 0.15) 0%, transparent 40%);
    z-index: -2;
  }
  
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.4)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="120" cy="30" r="0.8" fill="rgba(255,255,255,0.3)"/><circle cx="180" cy="70" r="1.2" fill="rgba(255,255,255,0.3)"/></svg>');
    opacity: 0.6;
    z-index: -1;
    animation: particlesMove 25s linear infinite;
  }
  
  /* ===== FORM CONTAINER ===== */
  .form-container {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 
      0 10px 35px rgba(0,0,0,0.3),
      0 0 0 1px rgba(255,255,255,0.1);
    animation: 
      slideUp 1s ease-out,
      gentlePulse 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  }
  
  .form-container:hover {
    transform: translateY(-5px);
    box-shadow: 
      0 15px 40px rgba(0,0,0,0.4),
      0 0 0 1px rgba(255,255,255,0.15);
  }
  
  /* ===== FORM ELEMENTS ===== */
  h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 15px;
  }
  
  h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 3px;
  }
  
  .input-group {
    margin-bottom: 25px;
    position: relative;
  }
  
  .input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  
  .input-group input,
  .input-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }
  
  .input-group input::placeholder {
    color: rgba(255,255,255,0.5);
  }
  
  .input-group input:focus,
  .input-group select:focus {
    border-color: #6a11cb;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.3);
    outline: none;
  }
  
  /* Floating label effect */
  .input-group.focused label {
    transform: translateY(-10px);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
  }
  
  /* ===== PRICE DISPLAY ===== */
  .price {
    text-align: center;
    margin: 30px 0;
    position: relative;
  }
  
  .price p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    display: inline-block;
    padding: 10px 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: priceGlow 2s ease-in-out infinite alternate;
  }
  
  /* ===== BUTTON ===== */
  button {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
      0 5px 15px rgba(0,0,0,0.3),
      0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
  }
  
  button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
  }
  
  button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
      0 10px 25px rgba(0,0,0,0.4),
      0 0 0 1px rgba(255,255,255,0.15);
  }
  
  button:hover::before {
    left: 100%;
  }
  
  button:active {
    transform: translateY(2px) scale(0.98);
  }
  
  /* ===== PAYMENT INFO ===== */
  .payment-info {
    text-align: center;
    margin: 30px 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
  }
  
  .payment-info h2 {
    color: #ffd700;
    margin: 15px 0;
    font-size: 1.3rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { transform: translateY(60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes particlesMove {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-150px) translateX(150px); }
  }
  
  @keyframes gentlePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  
  @keyframes priceGlow {
    from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
  }
  .about-page {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
    padding: 40px 20px;
  }
  
  .header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
  }
  
  .header h1 {
    font-size: 36px;
    color: #0a3d62;
  }
  
  .header p {
    font-size: 18px;
    color: #3d3d3d;
  }
  
  .about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
  }
  
  .about-box {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .about-box:hover {
    transform: scale(1.02);
  }
  
  .about-box h2 {
    color: #2c3e50;
    margin-bottom: 10px;
  }
  
  .about-box p, .about-box ul {
    color: #555;
    font-size: 16px;
  }
  
  @keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  .success-box, .error-box {
  max-width: 600px;
  margin: 30px auto;
  padding: 25px 30px;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease;
}

.success-box {
  background-color: #f0f9ff;
  border-left: 5px solid #2196F3;
  color: #0b132b;
}

.error-box {
  background-color: #ffecec;
  border-left: 5px solid #ff4d4d;
  color: #8b0000;
}

.success-box h2, .error-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.success-box p, .error-box p {
  font-size: 16px;
  line-height: 1.6;
}

.success-box a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.success-box a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*==notes section==*/
/*== subjects section*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  background: linear-gradient(to right, #ffffff, #bbbbbb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 40px;
}



.class-section {
  margin-bottom: 50px;
}

.class-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #00e0ff;
}

.group {
  margin-bottom: 20px;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e2f;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease;
}

.group-header:hover {
  background: #292944;
}

.group-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.arrow {
  font-size: 1.5rem;
  color: #00b3ff;
}

.subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 10px;
  animation: fadeIn 0.3s ease-in;
}

.subjects.hidden {
  display: none;
}

.subjects a {
  background: #2d2d4f;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  transition: 0.3s;
}

.subjects a:hover {
  background: #00e0ff;
  color: #000;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .subjects {
    flex-direction: column;
  }
}

