html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Mega Menu Custom Styling */
.megamenu-container {
    min-width: 680px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    padding: 1.5rem !important;
    margin-top: 8px !important;
}

.megamenu-container .dropdown-header {
    color: #00d2ff !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.megamenu-container .dropdown-item {
    color: #e0e6ed !important;
    font-size: 0.9rem !important;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.megamenu-container .dropdown-item:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.15) !important;
    transform: translateX(4px);
}

.megamenu-container .border-end-custom {
    border-right: 1px solid rgba(255,255,255,0.15);
}

/* Premium White & Yellow Navbar Style */
.navbar-custom {
    background-color: #ffffff !important;
    border-top: 4px solid #ffc107 !important; /* Sleek Yellow/Gold accent at the very top */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-custom .navbar-brand {
    color: #1a1a1a !important;
    font-weight: 700;
}

.navbar-custom .navbar-brand i {
    color: #ffc107 !important; /* Yellow Brand Icon */
}

.navbar-custom .nav-link {
    color: #495057 !important;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #ffb300 !important; /* Beautiful deep yellow on hover */
}

.navbar-custom .nav-link.active {
    color: #ff9800 !important;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* User Profile button styled with yellow/gold accent */
.btn-user-profile {
    color: #495057 !important;
    border-color: #ffc107 !important;
    background-color: transparent !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-user-profile:hover,
.btn-user-profile:focus {
    background-color: #ffc107 !important;
    color: #1a1a1a !important;
    border-color: #ffc107 !important;
}