/* login.css */

/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Role Selection Area */
.login-selection {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: auto;
  animation: fadeIn 0.6s ease-out;
  margin-top: 20px;
}

.login-selection h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #003366;
  animation: slideDown 0.6s ease-out;
}

.login-selection p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  animation: slideDown 0.6s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.role-card {
  margin-bottom: 2rem;
}

/* Main Role Buttons */
.role-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background-color: #0066cc;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 1rem;
}

.role-btn:hover {
  background-color: #004999;
  transform: translateY(-2px);
}

/* Animated Dropdown */
.role-options {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-options.show {
  max-height: 200px;
  padding-top: 1rem;
}

/* Login/Signup Options */
.option-btn {
  background-color: #f1f9ff;
  color: #003366;
  padding: 0.9rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid #0066cc;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.option-btn:hover {
  background-color: #e0f7fa;
  transform: scale(1.02);
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 480px) {
  .login-selection {
    padding: 2rem 1rem;
  }

  .role-btn {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .option-btn {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}



.footer {
  background-color: #05011c;
  color: #ccc;
  padding: 30px 20px 10px;
  margin-top: 120px;
  font-size: 14px;
  text-align: center; /* Ensures text aligns center by default */
}

.footer a {
  text-decoration: none;
  color: #ccc;
}

.footer a:hover {
  color: #fff;
}

/* .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
} */

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Changed from space-between */
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto; /* Centering the content */
}


.footer-logo {
  max-width: 220px;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 13px;
  line-height: 1.4;
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-section h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 20px;
}

.footer-social a span {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-social a:hover span {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 15px;
}

@media (max-width: 768px) {
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .footer-logo p {
  font-size: 12px;
}

  .footer-social {
    justify-content: center;
    margin-top: 20px;
  }

  .footer-social a {
    font-size: 18px;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 10px;
  }
}
