/* General Body */
/* ===== Auth Forms (Login / Signup) ===== */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  padding: 20px;
}

.auth-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 100%;
  animation: fadeInUp 0.6s ease;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-box input {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.auth-box input:focus {
  border-color: #2575fc;
  box-shadow: 0px 0px 6px rgba(37, 117, 252, 0.4);
  outline: none;
}

.auth-box button {
  background: #2575fc;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-box button:hover {
  background: #1a5fd1;
}

.auth-box p {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.auth-box p a {
  color: #2575fc;
  text-decoration: none;
  font-weight: 600;
}

.auth-box p a:hover {
  text-decoration: underline;
}

/* Small screen responsive */
@media (max-width: 500px) {
  .auth-box {
    padding: 25px 20px;
  }
  .auth-box h2 {
    font-size: 20px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f8fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header & Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 0.8rem 2rem;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a73e8;
    text-transform: uppercase;
}

.navbar-nav {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    position: relative;
    margin-right: 1rem;
}

.navbar-nav li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.6rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

.navbar-nav li a:hover {
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 6px;
}

/* Dropdown Menu */
.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    min-width: 250px;
    border-radius: 6px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
    border-radius: 6px;
}

/* Mega Menu Grid */
.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li a {
    padding: 0.5rem 1rem;
    display: block;
    color: #333;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-menu ul li a:hover {
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.08);
    border-radius: 4px;
}

/* Add a subtle hover animation */
.navbar-nav li a, .dropdown-menu ul li a {
    position: relative;
}

.navbar-nav li a::after, .dropdown-menu ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #1a73e8;
    transition: 0.3s;
}

.navbar-nav li a:hover::after, .dropdown-menu ul li a:hover::after {
    width: 100%;
}

/* Footer */
footer.footer {
  background-color: #ffffff !important; /* always white background */
  text-align: center;
  padding: 1rem 0;
  font-weight: 500;
}

/* force all text, links, and icons to black */
footer.footer,
footer.footer * {
  color: #000000 !important;
  fill: #000000 !important;  /* makes bootstrap-icons black too */
  text-decoration: none;
}

/* mobile adjustments */
@media (max-width: 576px) {
  footer.footer {
    font-size: 14px;
    padding: 0.75rem 0;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 0;
    }

    .dropdown-submenu .dropdown-menu {
        left: 0;
        margin-left: 0;
    }
}
