/* ===============================
   GLOBAL NAVBAR STYLES
================================= */

.main-nav {
  background-color: #cccccc;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

.navbar {
  background-color: #cccccc !important;
  padding: 0;
  margin: 0;
  border: none;
}

.navbar-nav {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  color: #333 !important;
  text-decoration: none;
  font-weight: 600;
  padding: 20px 15px;
  display: block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  background-color: #004d4d;
  color: #fff !important;
  font-weight: 700;
}

/* Show navbar dropdowns on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  background: #008080 !important;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin-top: 8px;
  min-width: 200px;
  z-index: 1000;
  transform: translateX(-50%);
  left: 50% !important;
  right: auto !important;
}

.dropdown-item {
  padding: 10px 15px;
  color: #fff !important;
  font-weight: 600;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: #005353;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* ===============================
   RESPONSIVE ADJUSTMENTS
================================= */

@media (max-width: 768px) {
  .nav-link {
    padding: 12px 10px;
    text-align: center;
  }

  .navbar-collapse {
    background-color: #cccccc;
    padding: 10px 0;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .dropdown-menu {
    min-width: 100%;
    transform: none;
    left: 0 !important;
  }
}

@media (max-width: 576px) {
  .nav-link {
    font-size: 0.95rem;
    padding: 10px 8px;
  }

  .dropdown-item {
    font-size: 0.95rem;
    padding: 8px 12px;
  }

  .navbar-nav {
    gap: 5px;
  }
}


/* ===============================
   CARD & CONTAINER STYLING
================================= */

.card-title {
  font-size: 1rem;
  font-weight: bold;
}

.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/* ===============================
   STICKY FOOTER STRUCTURE
================================= */

/* Layout container that allows sticky footer */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* This ensures the main area expands to fill available space */
.dashboard-container {
  display: flex;
  flex: 1;
  flex-direction: row;
}

/* Main content area spacing */
.main-content {
  flex-grow: 1;
  padding: 20px;
  padding-bottom: 100px;
  min-height: 400px;
  box-sizing: border-box;
}

/* Sticky footer that stays at the bottom */
footer {
  flex-shrink: 0;
  background-color: #f8f9fa;
  padding: 20px 0;
  width: 100%;
  margin-top: auto;
}


  .nav-tabs .nav-link {
    background-color: #cccccc;      /* Inactive tabs = grey */
    color: #333;
    font-weight: 600;
    border: none;
    border-radius: 4px 4px 0 0;
    margin-right: 5px;
  }

  .nav-tabs .nav-link.active {
    background-color: #008080;      /* Active tab = teal */
    color: #fff;
  }

  .nav-tabs {
    border-bottom: none;            /* Optional: cleaner look */
  }


.admin-sidebar {
    width: 220px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding-top: 20px;
    position: fixed;
    top: 120px; /* header + breadcrumb */
    bottom: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1040;
}

.admin-content {
    margin-left: 220px;
    padding: 20px;
    width: 100%;
    margin-top: 120px; /* match sidebar offset */
}



.service-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.03);
}

.service-logo {
    width: 80px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: center;
}

.service-pricing {
    font-weight: bold;
    font-size: 1rem;
    color: #007b00;
}

.badge.bg-success {
    background-color: #28a745;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}

