/* Custom Color Variables */
:root {
  --primary-blue: #34588f;
  --primary-blue-dark: #1a3e75;
  --brand-blue: #1d4582;
  --accent-blue: #2b96cc;
  --footer-blue: #617da8;
}

/* Navbar Custom Styling */
.navbar-brand,
#offcanvasNavbarLabel {
  color: var(--brand-blue) !important;
}

.nav-link {
  color: #333 !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-blue) !important;
}

/* Custom Buttons */
.btn-custom-call,
.btn-custom-login {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.625rem 1.25rem;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
}

.btn-custom-call:hover,
.btn-custom-login:hover {
  background-color: var(--primary-blue-dark);
  color: white;
}

/* User Avatar Styles */
.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #607d8b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  min-width: 200px;
  border-radius: 8px;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  transition: background 0.2s;
}

.dropdown-item i {
  color: var(--primary-blue);
}

.dropdown-item form button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

/* Footer Styles */
.footer {
  background-color: var(--footer-blue);
  color: white;
  padding: 1.875rem 1.25rem 0.625rem;
  margin-top: auto;
}

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

.footer-section {
  text-align: center;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 0.938rem;
}

.footer-section p {
  margin-bottom: 0.625rem;
}

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

.footer-section ul li {
  margin-bottom: 0.625rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  padding-top: 1.25rem;
  font-size: 1.5rem;
}

.social-icons a {
  color: #fff;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* Body Layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }

  .nav-item {
    padding: 0.5rem 0;
  }
}
