/* General Navbar Styles */
.navbar {
  background-color: #1A1F36 !important;
  /* Light background */


  height: 90px;
  /* Adjust height */
  transition: all 0.3s ease-in-out;
  /* Smooth transition for hover effects */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

.navbar .navbar-brand img {
  height: 120px;
  /* Adjust logo size */
  width: 150px;

}


.navbar-nav .nav-item .nav-link {
  color: #007bff;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #0056b3;
  transform: translateY(-2px);
  /* Subtle hover animation */
}

.navbar .dropdown-menu {
  animation: dropdownFadeIn 0.3s ease-in-out;
  border: 1px solid #ddd;
  border-radius: 5px;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Styling */
.navbar .btn-outline-success {
  border: 1px solid #28a745;
  color: #28a745;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.navbar .btn-outline-success:hover {
  background-color: #28a745;
  color: #fff;
}

/* Search Box Styling */
.navbar .form-control {
  border-radius: 20px;
  border: 1px solid #007bff;
  transition: box-shadow 0.3s ease-in-out;
}

.navbar .form-control:focus {
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar {
    height: auto;
    /* Adjust height for smaller screens */
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
    /* Space out items vertically */
  }
}

/* Sticky Animation */
.sticky-top {
  animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}



/* Compact Footer Styles */
footer {
  background-color: #212529 !important;
  /* Dark background */
  color: #ffffff !important;
  /* White text */
  padding: 5px 0;
  /* Reduce padding for compact size */
  font-size: 0.85rem;
  /* Smaller font size */
}

footer h5 {
  color: #ffc107;
  /* Highlight color */
  font-size: 1rem;
  /* Smaller heading size */
  margin-bottom: 5px;
  /* Compact spacing */
}

footer p {
  margin: 0;
  /* Remove extra space */
  line-height: 1.5;
  /* Adjust line height */
}

footer a {
  color: #ffc107;
  /* Link color */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

footer a:hover {
  color: #ffdf80;
  /* Lighter hover effect */
}

footer .logo {
  height: 30px;
  /* Smaller logo size */
  width: auto;
  margin-bottom: 10px;
}

footer .fas {
  margin-right: 8px;
  /* Reduce icon margin */
  font-size: 0.9rem;
  /* Smaller icon size */
  color: #ffc107;
  /* Match highlight color */
}

/* Copyright Section */
footer .copyright {
  font-size: 0.75rem;
  /* Smaller font */
  color: #cccccc;
  /* Muted text color */
  margin-top: 10px;
  border-top: 1px solid #444;
  /* Subtle divider */
  padding-top: 5px;
  /* Compact padding */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  footer .text-center.text-md-left {
    text-align: center !important;
  }

  footer .row {
    flex-direction: column;
    align-items: center;
  }

  footer .col-md-3,
  footer .col-md-4 {
    margin-bottom: 15px;
  }
}

.bg-light {
  background-color: #f8f9fa !important;
}

.list-group-item {
  border: none;
  padding: 20px;
  font-size: 18px;
}

.btn-primary,
.btn-outline-primary {
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-outline-primary:hover {
  transform: translateY(-5px);
}

.animate__animated {
  animation-duration: 1s;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

h1,
h3 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}



.card {
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  border-radius: 10px 10px 0 0;
}

.card-body {
  padding: 30px;
}

.form-group label {
  font-weight: bold;
}

.form-control {
  padding: 15px;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: #0056b3;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-primary:focus {
  outline: none;
}

.card-header h4 {
  margin: 0;
}

.text-center {
  text-align: center;
}

.shadow-lg {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 800px;
}

.py-5 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.form-group.mb-4 {
  margin-bottom: 1.5rem;
}



/* Change the background of the navbar buttons to dark color */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-item .dropdown-menu .dropdown-item {
  color: #000;
  /* White text color */

  border-radius: 5px;
  padding: 10px 15px;
}

/* On hover, change the background color to a lighter shade */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
  background-color: #9ee3e6;
  /* Lighter dark background on hover */
  text-decoration: none;
  /* Remove underline */
}

/* On focus, make sure the background color stays dark */
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus {
  background-color: #b6c479;
  outline: none;
}