/* =============================
   COLOURFUL INTERACTIVE FORM
============================= */
*{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  padding-top: 70px;
}

.logo-image{
    max-height: 45px;
    width: auto;
}

    header{
    position: fixed;
    background-color: #21242c;
    width: 100%;
    height:70px;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 11px rgb(14 55 54 / 15%);
    padding: 20px 100px;
    transition: 0.5s;
}

.navbar{
    display: flex;
    column-gap: 2rem;
} 
.navbar a{
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    color: white
}
.navbar a:hover, .navbar .register{
    background-color: green;
    border-radius: 5rem;
    color: white;
    transition: background 0.5s;

}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    display: none;
}


.enroll-colorful {
  min-height: calc(100vh - 70px);
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
}


/* Progress */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: rgba(255,255,255,0.1);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ff6a, #00c6ff);
  transition: width 0.3s ease;
}

/* Card */
.colorful-card {
  background: #111827;
  color: white;
  max-width: 520px;
  width: 100%;
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: popIn 0.8s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.colorful-card h1 {
  text-align: center;
  margin-bottom: 0.4rem;
}

.subtitle {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

/* Inputs */
.input-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #1f2937;
  color: white;
  font-size: 15px;
  outline: none;
  transition: 0.3s ease;
}

.input-group textarea {
  min-height: 110px;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  transition: 0.3s ease;
  background: #111827;
  padding: 0 6px;
}

/* Floating effect */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label,
.input-group select:focus + label {
  top: -8px;
  font-size: 12px;
  color: #00ff6a;
}

/* Focus glow */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #00ff6a;
  box-shadow: 0 0 20px rgba(0,255,106,0.4);
}

/* Button */
button {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #00ff6a, #00c6ff);
  color: #0f172a;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,198,255,0.5);
}

/*the footer*/
  
footer {
  background-color: #21242c;
  color: white;
  padding: 3rem 2rem;
  min-height:350px;
  line-height:4.0;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 100px;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 1rem;
  font-size: 18px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: green;
}

.footer-contact p {
  font-size: 14px;
  color: #ccc;
  margin: 0.5rem 0;
}

.footer-contact i {
  color: green;
  margin-right: 8px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #ccc;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: green;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
}

.footer-bottom hr {
  border: none;
  height: 1px;
  background-color: #444;
  margin-bottom: 1rem;
}

.footer-bottom p {
  color: #aaa;
  font-size: 14px;
}
/* === Enhanced Footer Styling === */

/* Fade-in animation on load */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply the animation */
.footer {
  animation: fadeInUp 0.9s ease-out;
}

/* Accent underline for section titles */
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 35%;
  height: 2px;
  background-color: green;
  border-radius: 4px;
}

/* Social icon glow + hover effect */
.social-icons a {
  position: relative;
  color: #ccc;
  font-size: 22px;
  transition: all 0.3s ease;
}

.social-icons a::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: radial-gradient(rgba(0, 255, 0, 0.2), transparent 70%);
  opacity: 0;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  color: #00ff6a;
  transform: scale(1.2);
}

.social-icons a:hover::before {
  opacity: 1;
}

/* Smooth link hover underline animation */
.footer-links a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: green;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #00ff6a;
}

.footer-links a:hover::after {
  width: 100%;
}
@media (max-width: 768px) {
    header {
      padding: 20px;
      flex-wrap: wrap;
    }
    
    .logo-image{
      padding-bottom: 15px;
    }
  
    #menu-icon {
      display: block;
      color: white;
      font-size: 24px;
      cursor: pointer;
      z-index: 1001;
    }
    .navbar {
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: -100%;
      width: 100%;
      background-color: #333;
      transition: right 0.3s ease-in-out;
      text-align: center;
      z-index: 1000;
    }
  
    .navbar.active {
      right: 0;
    }
  
    .navbar li {
      margin: 1rem 0;
    }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
