
.aa {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
}

.bb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 64, 255, 0.85),
      rgba(0, 64, 255, 0.65));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.hero-subtitle {
  color: white;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 50px);
}

.hero-title {
  color: white;
  font-weight: 800;
  font-size: clamp(32px, 6vw, 80px);
}


 /* Signup Section */
        .signup-section {
            display: flex;
            gap: 30px;
            padding: 50px 20px;
            max-width: 1100px;
            margin: auto;
        }

        /* Card Style */
        .signup-card {
            flex: 1;
            background: #ffffff;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        /* Headings */
        .signup-card h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
        }

        /* Inputs */
        .signup-card input {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border-radius: 8px;
            border: 1px solid #ccc;
            font-size: 15px;
        }

        /* Buttons */
        .signup-card button {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            color: #fff;
        }

        /* Student Button */
        .signup-card.student button {
            background: #007bff;
        }

        /* Teacher Button */
        .signup-card.teacher button {
            background: #28a745;
        }

        /* Hover Effect */
        .signup-card button:hover {
            opacity: 0.9;
        }

        .signup-card select {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border-radius: 8px;
            border: 1px solid #ccc;
            font-size: 15px;
            background: #fff;
        }

        /* 📱 Mobile Responsive */
        @media (max-width: 768px) {
            .signup-section {
                flex-direction: column;
            }
        }

        /* Login Text */
        .login-text {
            text-align: center;
            margin-top: 15px;
            font-size: 14px;
            color: #555;
        }

        .login-text a {
            text-decoration: none;
            font-weight: 600;
        }

        /* Student Login Link */
        .signup-card.student .login-text a {
            color: #007bff;
        }

        /* Teacher Login Link */
        .signup-card.teacher .login-text a {
            color: #28a745;
        }

        .login-text a:hover {
            text-decoration: underline;
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: #007bff;
        }

        .error-text {
            color: red;
            font-size: 13px;
            margin-top: -8px;
            margin-bottom: 10px;
            display: none;
        }

        .password-box {
            position: relative;
        }

        .password-box input {
            width: 100%;
            padding-right: 40px;
        }

        .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 18px;
            color: #777;
        }

        .toggle-password:hover {
            color: #000;
        }


        .signup-card input,
        .signup-card select {
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .signup-card input:focus,
        .signup-card select:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
            outline: none;
        }


        .signup-card {
            animation: fadeUp 0.6s ease forwards;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }



        .signup-card form>* {
            opacity: 0;
            animation: fieldFade 0.5s ease forwards;
        }

        .signup-card form>*:nth-child(1) {
            animation-delay: 0.1s;
        }

        .signup-card form>*:nth-child(2) {
            animation-delay: 0.2s;
        }

        .signup-card form>*:nth-child(3) {
            animation-delay: 0.3s;
        }

        .signup-card form>*:nth-child(4) {
            animation-delay: 0.4s;
        }

        .signup-card form>*:nth-child(5) {
            animation-delay: 0.5s;
        }

        @keyframes fieldFade {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .signup-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .signup-card:hover {
            transform: perspective(1000px) rotateX(2deg);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }


        /* Floating animation */
        .floating {
            animation: floating 3s ease-in-out infinite;
        }

        @keyframes floating {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-12px);
            }

            100% {
                transform: translateY(0);
            }
        }


        .success-text {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #c3e6cb;
}































.footer {
  background: radial-gradient(circle at top, #1e1b4b, #020617);
  color: #c7d2fe;
  padding: 70px 20px 0;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
}

.footer h2,
.footer h3 {
  color: #fff;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter input {
  flex: 1;
  padding: 14px;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 14px 25px;
  background: #2563eb;
  border: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
  font-size: 15px;
  cursor: pointer;
}

.footer-links ul li:hover {
  color: #fff;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 12px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter button {
    margin-top: 10px;
  }
}