 /* Your original navbar styles */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-blue: #1E3A8A;
  --light-blue: #EFF6FF;
  --dark-gray: #1e293b;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  /* fallback color */
  background-image: url('../img/Background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 70px;
  /* For fixed navbar */
}

/* Navbar Styles */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1E3A8A;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-toggler {
    background-color: #ffffff;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

.navbar-title {
  margin-left: 0.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-link-custom {
  position: relative;
  color: white;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: #BFDBFE;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
  transform: scaleX(1);
}

.nav-link-custom:hover .nav-chevron {
  opacity: 1;
}

.nav-chevron {
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 0.25rem;
}

.btn-login {
  background-color: white;
  color: #1E3A8A;
  font-weight: 500;
  margin-left: 1rem;
}

/* Login button styles - removes underline and maintains consistency */
.btn-login {
  background-color: white;
  color: #1E3A8A;
  font-weight: 500;
  margin-left: 1rem;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
  /* Ensures no underline */
  display: inline-block;
  /* For proper button sizing */
}

.btn-login:hover {
  background-color: #EFF6FF;
  text-decoration: none !important;
}

/* Specifically targets the link inside the button */
.btn-login a {
  color: inherit;
  /* Inherits color from parent button */
  text-decoration: none !important;
  /* Removes underline */
  display: block;
  /* Makes the entire button area clickable */
  width: 100%;
  height: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  background-color: #3B82F6;
  text-decoration: none;
}

/* Login Container */
.login-container {
  min-height: calc(100vh - 70px - 150px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.login-card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
}

.login-header {
  text-align: center;
  padding: 2rem 0 1rem;
}

.login-header img {
  height: 80px;
  margin-bottom: 1rem;
}

.login-header h1 {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.75rem;
}

/* Your exact footer styles */
.footer {
  background-color: #1e293b;
  color: white;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-map {
  height: 12rem;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #334155;
  margin-bottom: 1rem;
  transition: height 0.3s ease;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-contact-item,
.footer-hours-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-icon {
  color: #60a5fa;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #60a5fa;
}

.footer-quick-links {
  list-style: none;
  padding-left: 0;
}

.footer-quick-links li {
  margin-bottom: 0.5rem;
}

.footer-quick-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-quick-links a:hover {
  color: #60a5fa;
}

.footer-quick-links a::before {
  content: "›";
  color: #60a5fa;
  margin-right: 0.5rem;
  transition: margin-right 0.2s ease;
}

.footer-quick-links a:hover::before {
  margin-right: 0.7rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-link {
  background-color: #1e40af;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #1e3a8a;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-divider {
  height: 1px;
  background-color: #334155;
  margin: 2rem 0;
  transition: margin 0.3s ease;
}

.footer-copyright {
  color: #94a3b8;
  text-align: center;
  transition: font-size 0.3s ease;
}

.footer-logo-container {
  margin-top: 2rem;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-img {
  height: auto;
  max-height: 120px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (min-width: 1200px) {
  .footer-logo-container {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: auto;
    margin-top: 0;
  }

  .footer-logos {
    justify-content: flex-end;
  }

  .footer-logo-img {
    max-height: 150px;
    max-width: 150px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-logo-container {
    position: static;
    margin: 2rem auto 0;
    max-width: 300px;
  }

  .footer-logos {
    justify-content: center;
  }

  .footer-logo-img {
    max-height: 110px;
    max-width: 110px;
  }

  .footer-map {
    height: 10rem;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .footer-logo-img {
    max-height: 100px;
    max-width: 100px;
  }

  .footer-map {
    height: 9rem;
  }

  .footer-divider {
    margin: 1.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .footer-logo-img {
    max-height: 90px;
    max-width: 90px;
  }

  .footer-map {
    height: 8rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-copyright {
    font-size: 0.9rem;
  }

  .footer-divider {
    margin: 1rem 0;
  }
}

@media (max-width: 399.98px) {
  .footer-logos {
    gap: 1rem;
  }

  .footer-logo-img {
    max-height: 80px;
    max-width: 80px;
  }
}

/* Text Input Styles - Reusable Component */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control {
  border: none;
  border-bottom: 1px solid #dee2e6;
  border-radius: 0;
  padding: 0.75rem 0;
  font-weight: 400;
  color: var(--primary-blue);
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: none !important;
  width: 100%;
}

.form-control:focus {
  border-bottom: 1px solid var(--primary-blue);
  box-shadow: none !important;
  outline: none;
}

.form-label {
  position: absolute;
  top: 0.75rem;
  left: 0;
  font-size: 0.95rem;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -0.75rem;
  font-size: 0.75rem;
  color: #6c757d;
}

/* Error Message Styles */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-control.is-invalid ~ .error-message {
  display: block;
}

/* Password Toggle Styles */
.password-input-group {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 0;
  top: 30%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  padding: 0 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.password-toggle-btn:focus {
  outline: none;
  box-shadow: none;
}

/* Links Styling (Copied from previous design, adapted to your colors) */
.form-links {
  text-align: center;
  margin-top: 1rem;
}

.form-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.form-links a:hover {
  color: #dc3545;
}