/* Header/Nav styles removed to use style.css defaults */

.nav-center {
  position: static;
  justify-content: flex-start !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: flex-start !important;
}

.nav-links li a {
  display: inline-flex;
    align-items: center;
    gap: 5px; /* space between text and icon */
    
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.nav-links li a:hover {
  color: #ff6b00;
}

.nav-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.btn.login {
  background-color: #ff6f6f;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.join {
  background-color: #56d47b;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}


.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: #003b73;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 0;
  min-width: 200px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-align: left;
}

.dropdown-menu li a:hover {
  background-color: #005a9c;
}

@media (max-width: 768px) {
  .top-header {
    position: static;
    top: auto;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    top: 0;
  }

  .nav-left {
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .nav-right {
    width: 100%;
    margin-top: 15px;
    justify-content: flex-start;
  }
}
/* Login Form Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right,#141e30,#243b55);
  color: #fff;
  animation: fadeIn 1s ease-in-out;
  min-height: 100vh;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.login-box {
  background: rgba(225,225,225,0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 1s ease-out;
}

.login-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2ec4b6;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #eee;
}

.input-group input,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s ease;
}

.input-group input:focus,
select:focus {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.3);
}

.input-group input::placeholder {
  color: #ddd;
}

.login-btn {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg,#00c9ff,#92fe9d);
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.login-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg,#00b3cc,#7dde7c);
  color: #fff;
}

.signup-link {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.9rem;
}

.signup-link a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s;
}

.signup-link a:hover {
  color: #00ffcc;
}

/* Select Role Customization */
select {
  /* inherits styles from above */
  appearance: none;
  position: relative;
  margin-bottom: 1.5rem;
}

select option {
  background-color: #243b55;
  color: #fff;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}



/* Additional Enhancements for OP Look */

/* Glowing animated heading */
.login-box h2 {
  color: #00ffe5;
  text-shadow: 0 0 5px #00ffe5, 0 0 10px #00ffe5, 0 0 20px #00ffe5;
  animation: glowLogin 2s ease-in-out infinite alternate;
}
@keyframes glowLogin {
  0% { text-shadow: 0 0 5px #00ffe5; }
  100% { text-shadow: 0 0 20px #00ffe5, 0 0 40px #00ffe5; }
}

/* Add neon glow to focus input fields */
.input-group input:focus,
select:focus {
  border: 2px solid #00ffe5;
  box-shadow: 0 0 12px #00ffe5;
  transform: scale(1.05);
}

/* Add hover and pulse to login button */
.login-btn {
  animation: fadeInUp 1s ease, bounceBtn 2s infinite alternate;
}
@keyframes bounceBtn {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.login-btn:hover {
  background: linear-gradient(90deg,#ff6a00,#ee0979);
  box-shadow: 0 0 15px #ff6a00;
  color: #fff;
}

/* Add glow to the select dropdown */
select:focus {
  box-shadow: 0 0 10px #00ffe5;
}

/* Animated link on hover */
.signup-link a:hover {
  text-shadow: 0 0 10px #00ffe5;
}



/* Wrapper to style the select and icon */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.custom-select-wrapper select {
  appearance: none;
  padding-right: 2.5rem;
}

.select-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #00ffe5;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.custom-select-wrapper select:focus + .select-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* Footer */
.footer {
  background: #330000;
  color: #fff;
  padding: 50px 0 20px;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #ff4b2b;
}

.footer-logo p {
  font-weight: 300;
  color: #ccc;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 10px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff4b2b;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  margin-right: 15px;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ff4b2b;
  transform: scale(1.2);
}

.site-footer {
  text-align: center;
  background-color: #2a0000;
  padding: 15px 0;
  font-size: 14px;
  color: #bbb;
  border-top: 1px solid #555;
}

.footer-top {
  background-color: #2a0000;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.footer-nav {
  background-color: #2a0000;
  padding: 20px 0;
}

.footer-nav .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav .footer-links li a {
  color: #fff;
  font-weight: bold;
  transition: color 0.4s ease, transform 0.3s ease;
}

.footer-nav .footer-links li a:hover {
  color: red;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
  }

  .footer-nav .footer-links {
    gap: 12px;
  }

  .footer-nav .footer-links li a {
    font-size: 13px;
  }
}
