m

/* Full-page background */
body,
html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow-x: hidden;
}

/* Overlay styling */
.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  /* Dark semi-transparent overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  flex-direction: column;
  /* Stack content vertically */
  gap: 30px;
  /* Space between header content and login card */
}

nav ul {
  padding: 0;
  margin: 0 auto;
}

.nav {
  padding: 0;
}

/* Header content styling */
.header-content {
  font-size: 1.5rem;
  /* Default smaller size */
  max-width: 600px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  /* Adding text shadow for better readability */
  color: white;
  padding: 10px;
  text-align: center;
  /* Center text within header */
}

/* Increase size on larger screens */
@media (min-width: 768px) {
  .header-content {
    font-size: 2.5rem;
    /* Larger text for tablets and desktops */
  }

  .header-content p {
    font-size: 2.5rem;
    /* Adjust paragraph size on larger screens */
  }
}

/* Header content text */
.header-content h2 {
  font-size: 3rem;
  font-weight: bold;
}

.header-content p {
  font-size: 2rem;
  margin: 15px 0;
}

/* Sign-in card styling */
.login-card {
  background-color: #f8f9fa;
  /* Light gray color for the card */
  color: black;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 350px;
  /* Small card by default */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Increase login card size on larger screens */
@media (min-width: 768px) {
  .login-card {
    max-width: 500px;
    /* Larger card for tablets and desktops */
  }
}

/* Button customization */
.btn-primary {
  background-color: #3a6b5e;
  border-color: darkgreen;
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 50px;
  /* Rounded button */
  transition: background-color 0.3s, box-shadow 0.3s;
  /* Smooth transition for hover */
}


.text-center {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 768px) {
  .login-card {
    max-width: 500px;
  }
}


.container-fluid .row {
  margin-right: 0;
  margin-left: 0;
}

.row>[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 auto;
  /* Maintain flex properties */
}

.card {
  display: flex;
  flex-direction: column;
}

.card-img-top {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.image-container {
  width: 100%;
  /* Full width of the parent container */
  aspect-ratio: 16 / 9;
  /* Adjust aspect ratio as needed (e.g., 1/1 for square) */
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
  position: absolute;
}

/* Ensure all cards are the same size */
.card-fixed-size {
  width: 100%;
  max-width: 300px;
  /* Adjust based on your design */
  height: 400px;
  /* Fixed height for all cards */
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Ensure all image containers are the same size */
.image-container {
  width: 100%;
  height: 200px;
  /* Fixed height for the image section */
  overflow: hidden;
  position: relative;
}

/* Ensure all images take the same size */
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
}

/* Ensure uniform spacing for text and buttons */
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  #nav-links {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    width: 80%;
    height: calc(100vh - 60px);
    padding: 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 20;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #nav-links.d-flex {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  #nav-links li {
    text-align: left;
    margin: 10px 0;
  }

  /* Burger Menu Button - Mobile */
  #burger-menu {
    margin-right: 10px;
    /* Add some spacing to the left */
    cursor: pointer;
    z-index: 30;
    /* Ensure it stays above other elements */
  }
}

/* Desktop Styles (optional cleanup) */
@media (min-width: 992px) {
  #burger-menu {
    display: none;
    /* Hide burger menu on larger screens */
  }

  #nav-links {
    display: flex;
    /* Always show nav links on larger screens */
    flex-direction: row;
  }
}


.dashboard-link:hover {
  transform: scale(1.10);
}

.eco-green-btn {
  background-color: #0d3b23;
  color: white;
  border: none;
}

.btn-primary-selected {
  font-weight: bold !important;
}

.header-btn {
  background-color: #3a6b5e;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: transform 0.2s, background-color 0.2s;
  display: none;
}

.header-btn:hover {
  background-color: #3a6b5e;
  transform: scale(1.05);
}

/* Mobile sidebar styles */
.sidebar {
  background-color: #0d3b23;
  color: white;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1045;
}

.dt-navbar {
  display: none;
}

.sidebar.show {
  transform: translateX(0);
}

.sidebar a {
  color: white;
  text-decoration: none;
}

.sidebar .nav-link.active {
  background-color: #155d36;
}

@media (min-width: 992px) {
  .sidebar {
    display: none;
  }

  .dt-navbar {
    display: flex;
  }

  .header-btn {
    display: inline-block;
  }

  #burger-menu {
    display: none;
  }
}