@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
  background-color: #050607;
  color: #f1f3f5;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  padding-top: 80px;
  line-height: 1.6;
}

a {
  color: #12b886;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0fa176;
}

/* ===============================
   NAVBAR
================================ */
.neo-navbar {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.neo-navbar .nav-link {
  color: #ced4da;
  font-weight: 500;
  transition: color 0.2s ease;
}

.neo-navbar .nav-link.active,
.neo-navbar .nav-link:hover {
  color: #ffffff;
}

.neo-logo {
  width: auto;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.98);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
  }

  .navbar-brand span {
    font-size: 0.9rem;
    /* Smaller text on mobile */
  }
}

.neo-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Fix for buttons inside navbar to ensure text is white */
.neo-navbar .nav-link.btn {
  color: #fff;
}

.neo-navbar .nav-link.btn:hover,
.neo-navbar .nav-link.btn:focus {
  color: #fff;
}

/* ===============================
   HERO SECTION
================================ */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(rgba(5, 6, 7, 0.65), rgba(5, 6, 7, 0.65)), url('../img/hero-back.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

/* ===============================
   HEADER
================================ */
.page-header {
  padding: 90px 0 60px;
  background: radial-gradient(circle at top left, #12b886, #050607);
}

/* ===============================
   BUTTONS (NEW)
================================ */
.btn-neo-primary {
  background: linear-gradient(135deg, #12b886 0%, #0ca678 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(18, 184, 134, 0.2);
}

.btn-neo-primary:hover,
.btn-neo-primary:focus {
  background: linear-gradient(135deg, #0ca678 0%, #099268 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 184, 134, 0.4);
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #050607;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ===============================
   CARDS
================================ */
.neo-card {
  background: rgba(15, 16, 20, 0.96);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #dee2e6;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.neo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #12b886, #0ca678);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.neo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(18, 184, 134, 0.3);
}

.neo-card:hover::before {
  opacity: 1;
}

.neo-card:hover {
  transform: translateY(-5px);
}

.text-neo {
  color: #12b886 !important;
}

/* ===============================
   SECTIONS & GRADIENTS (NEW)
================================ */
.bg-neo-gradient {
  background: linear-gradient(135deg, #050607 0%, #0ca678 100%);
  position: relative;
  overflow: hidden;
}

.neo-why-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  color: #dee2e6;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===============================
   DASHBOARD STATS (NEW)
================================ */
.neo-stat-card {
  background: rgba(15, 16, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
}

.neo-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #12b886;
}

/* ===============================
   LIST ITEMS
================================ */
.neo-list.list-group {
  --bs-list-group-bg: transparent;
  --bs-list-group-color: #e9ecef;
  --bs-list-group-border-color: rgba(255, 255, 255, 0.12);
}

.neo-list .list-group-item {
  background-color: transparent !important;
  color: #e9ecef !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 0;
  padding-right: 0;
}

.neo-list .list-group-item strong {
  color: #ffffff;
}

.neo-list .list-group-item:hover {
  color: #ffffff;
}

/* ===============================
   FOOTER
================================ */
.neo-footer {
  background: #050608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ced4da;
  margin-top: auto;
}

/* ===============================
   DARK MODE OVERRIDES (Fix Text Visibility)
================================ */
.text-muted {
  color: #e9ecef !important;
  /* Made significantly lighter: Gray-200 */
}

.text-secondary {
  color: #f8f9fa !important;
  /* Made white: Gray-100 */
}

/* Fix for specific dashboard elements */
.display-6 {
  color: #f8f9fa;
  font-weight: 500;
}

/* Ensure inputs blend with dark theme */
.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8f9fa !important;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #12b886;
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(18, 184, 134, 0.25);
}

.form-select option {
  background-color: #050607;
  color: #f8f9fa;
}

.form-control::placeholder {
  color: #adb5bd;
  opacity: 0.6;
}

/* Fix table text if needed */
.table {
  color: #dee2e6;
  --bs-table-color: #dee2e6;
  --bs-table-bg: transparent;
}

/* Specific overrides for very dark headers if any */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f8f9fa;
  font-weight: 700;
  /* Outfit generally looks better bolder */
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
  animation-delay: 0.1s;
  opacity: 0;
}

/* opacity 0 ensures it's hidden before animation starts */
.delay-200 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-300 {
  animation-delay: 0.3s;
  opacity: 0;
}