:root {
  --primary: #007bff !important;
  --secondary: #6c757d !important;
  --success: #28a745 !important;
  --info: #17a2b8 !important;
  --warning: #ffc107 !important;
  --danger: #dc3545 !important;
  --light: #f8f9fa !important;
  --dark: #343a40 !important;
  --error: #dc3545 !important; /* Using danger color for error */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}
html {
  scroll-behavior: smooth !important;
}
/*-- Global Styles --*/
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  background-color: #0a1f44;
  color: #d3e2f4;
}
#schoolResults .list-group-item:hover {
  background-color: #f3f3f3;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.alert {
  z-index: 1000;
  min-height: 67px;
  width: 500px;
  max-width: 90%;
  border-radius: 12px;
  padding: 16px 22px 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  position: fixed;
  bottom: 5%;
  right: 3%;
}
.alert-warning {
  background: var(--warning) !important;
}
.alert-success {
  background: var(--success) !important;
}
.alert-primary {
  background: var(--primary) !important;
}
.alert-dark {
  background: var(--dark) !important;
}
.alert-error {
  background: var(--error) !important;
}
.alert .icon__wrapper {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.253);
  display: flex;
  align-items: center;
  justify-content: center;
}
.alert .icon__wrapper span {
  font-size: 21px;
  color: #fff;
}
.alert p {
  color: #fff;
  font-family: Verdana;
  margin-left: 10px;
}
.alert p a,
.alert p a:visited,
.alert p a:active {
  color: #fff;
}
.alert .open {
  margin-left: auto;
  margin-right: 5px;
}
.alert .close,
.alert .open {
  color: #fff;
  transition: transform 0.5s;
  font-size: 18px;
  cursor: pointer;
}
.alert .close:hover,
.alert .open:hover {
  transform: scale(1.3);
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header {
  background-color: #0a1f44; /* Dark blue */
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.full {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a img {
  max-height: 50px;
}

/* Navbar links */
.navigation.navbar-dark .navbar-nav .nav-link {
  color: #d3e2f4; /* Light blue */
  font-size: 16px;
  padding: 10px 15px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navigation.navbar-dark .navbar-nav .nav-link:hover,
.navigation.navbar-dark .navbar-nav .nav-link:focus {
  color: #fdd430; /* Yellow highlight */
}

.navigation.navbar-dark .navbar-nav .active > .nav-link {
  color: #fdd430;
  font-weight: bold;
}

/* Toggler visibility */
.navbar-toggler {
  display: none;
  border: 1px solid;
  padding: 5px;
  border-radius: 5px;
  border-color: #d3e2f4; /* Light blue */
  margin-left: auto; /* Keep the toggler on the right */
}

.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%28211,226,244,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .navigation.navbar-dark .navbar-nav .nav-link {
    font-size: 14px;
    text-align: center;
  }
  .navbar-toggler {
    display: block;
  }
  .navbar-collapse {
    background-color: #0a1f44; /* Dark blue for mobile dropdown */
  }
  .logo_section {
    text-align: left;
  }
}

/* Footer Styles */
#footer {
  background-color: #0a1f447a; /* Dark blue */
  color: #d3e2f4; /* Light blue text */
  font-size: 14px;
}

#footer a {
  color: #d3e2f4; /* Light blue */
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: #fdd430; /* Yellow highlight */
}

.social-icon {
  font-size: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
  border: 3px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3;
}

::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

/* Custom scrollbar Firefox */
scrollbar {
  width: 12px;
}

scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
}

scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

.form header {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4a90e2; /* Bright blue accent for header */
}

.form input {
  height: 60px;
  width: 100%;
  padding: 0 15px;
  font-size: 17px;
  margin-bottom: 0.5rem;
  border: 1px solid #4a90e2; /* Blue accent border */
  border-radius: 6px;
  outline: none;
  /* background: #2b2b2b; Slightly lighter dark gray for inputs */
  color: #252525; /* Light text for contrast */
}

.form input:focus {
  border-color: #3445b4; /* Darker blue border on focus */
  box-shadow: 0 1px 0 rgba(52, 69, 180, 0.5); /* Subtle focus shadow */
}

.form a {
  font-size: 16px;
  color: #4a90e2; /* Blue accent for links */
  text-decoration: none;
}

.form a:hover {
  text-decoration: underline;
}

.form input.button {
  color: #fff;
  background: #4a90e2; /* Blue accent for buttons */
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 1.7rem;
  cursor: pointer;
  transition: 0.4s;
  border: none; /* Remove border for cleaner look */
}

.form input.button:hover {
  background: #3445b4; /* Slightly darker blue on hover */
}

.signup {
  font-size: 17px;
  text-align: center;
  color: #f0f0f0; /* Keep the text light for contrast */
}

.signup label {
  color: #4a90e2; /* Blue accent for clickable labels */
  cursor: pointer;
}
.form label {
  color: rgb(41, 41, 41);
  font-weight: lighter;
  cursor: pointer;
}

.signup label:hover {
  text-decoration: underline;
}

#schoolResults .list-group-item:hover {
  background-color: #f3f3f3;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}
