/* ================================== */
/* ==   1. Theme & Variables       == */
/* ================================== */
:root {
  /* Custom Bootstrap Overrides */
  --bs-body-bg: #0a0c1e;
  /* Darkest blue/black */
  --bs-body-color: #adb5bd;
  /* Light gray text */
  --bs-border-color: rgba(255, 255, 255, 0.15);
  /* MODIFIED: Softer, less-cyan border */
  --bs-primary: #00f0ff;
  /* Bright neon cyan */
  --bs-secondary: #8000ff;
  /* Bright neon purple */
  --bs-light: #161a33;
  /* Lighter card background */
  --bs-font-sans-serif: 'Poppins', sans-serif;
}

/* ================================== */
/* ==   2. Global Styles           == */
/* ================================== */
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-font-sans-serif);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-white);
  font-weight: 600;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.section-title {
  font-weight: 700;
  color: var(--bs-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--bs-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================== */
/* ==   3. Navbar (ENHANCED)       == */
/* ================================== */
.navbar {
  background-color: rgba(10, 12, 30, 0.6);
  /* MODIFIED: Darker and more transparent */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* MODIFIED: Softer border */
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bs-white);
}

.navbar-brand:hover {
  color: var(--bs-primary);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

/* NEW: Style for the user dropdown */
.navbar-dark .dropdown-menu {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
}

.navbar-dark .dropdown-item {
  color: var(--bs-body-color);
}

.navbar-dark .dropdown-item:hover {
  background-color: var(--bs-light);
  color: var(--bs-primary);
}

.navbar-toggler {
  border-color: var(--bs-border-color);
}

.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(0, 240, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.form-control-dark {
  background-color: var(--bs-body-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-white);
}

.form-control-dark:focus {
  background-color: var(--bs-body-bg);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.25);
  color: var(--bs-white);
}

/* ================================== */
/* == 3.5 BUTTONS (ENHANCED)       == */
/* ================================== */
.btn-outline-primary-enhanced {
  background-color: transparent;
  color: var(--bs-primary);
  border: 2px solid var(--bs-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary-enhanced:hover {
  background-color: var(--bs-primary);
  color: var(--bs-body-bg);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

.btn-primary-solid-glow {
  background-color: var(--bs-primary);
  color: var(--bs-body-bg);
  /* High contrast */
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--bs-primary);
  border-radius: 50px;
  padding: 0.8rem 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary-solid-glow:hover {
  background-color: transparent;
  color: var(--bs-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
  transform: scale(1.03);
}

.nav-icons {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.nav-icons .bi:hover {
  color: var(--bs-primary);
}

/* ================================== */
/* == 4. Hero / About (MODIFIED)   == */
/* ================================== */
.hero-about {
  padding: 6rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  /* UPDATED: Replaced image with matching background color */
  background-color: var(--bs-light);
}

.hero-about h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--bs-white);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  /* Enhanced shadow */
}

.hero-about .lead {
  color: var(--bs-body-color);
  font-size: 1.15rem;
  /* Slightly larger */
}

/* ================================== */
/* == 5. Main Content (ENHANCED)   == */
/* ================================== */
.section-wrapper {
  /* MODIFIED: Added subtle gradient for depth */
  background: linear-gradient(160deg, var(--bs-light) 0%, #0f1124 100%);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 3rem;
  margin-top: -5rem;
  /* The "floating card" effect */
  position: relative;
  z-index: 10;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.feature-card {
  background-color: rgba(22, 26, 51, 0.5);
  /* MODIFIED: Semi-transparent */
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  /* NEW: For hover effect */
  overflow: hidden;
  /* NEW: For hover effect */
}

/* NEW: Radial glow effect for cards */
.feature-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%,
      rgba(0, 240, 255, 0.15),
      /* MODIFIED: Primary color glow */
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.feature-card>*,
.product-card .card-body,
.product-card .card-footer {
  position: relative;
  z-index: 2;
  /* Ensure content is above the glow */
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--bs-primary);
}

.feature-card:hover::before {
  opacity: 1;
  /* Show the glow on hover */
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--bs-primary);
}

.team-card img {
  border: 2px solid var(--bs-primary);
  /* MODIFIED: Thinner border */
  padding: 4px;
  background-color: var(--bs-body-bg);
  transition: all 0.3s ease;
}

.team-card:hover img {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  /* MODIFIED: Stronger glow */
}

.team-socials a {
  color: var(--bs-body-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.team-socials a:hover {
  color: var(--bs-primary);
  transform: scale(1.1);
}

.cta-section {
  border: 2px dashed var(--bs-border-color);
  transition: all 0.3s ease;
}

.cta-section:hover {
  border-color: var(--bs-primary);
  border-style: solid;
  /* NEW: Nice hover touch */
}

/* ================================== */
/* == 6. Store Intro (ENHANCED)    == */
/* ================================== */
.product-card {
  background-color: rgba(22, 26, 51, 0.5);
  /* MODIFIED: Semi-transparent */
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  /* NEW: For hover effect */
  overflow: hidden;
  /* NEW: For hover effect */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
  border-color: var(--bs-primary);
}

/* NEW: Apply glow effect to product cards too */
.product-card:hover::before {
  opacity: 1;
}

.product-card-img-top {
  width: 100%;
  height: 200px;
  /* Fixed height for all images */
  object-fit: cover;
  /* Ensures image fills space without stretching */
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1rem;
  background-color: var(--bs-body-bg);
}

.product-card .card-body {
  text-align: center;
  flex-grow: 1;
  /* Pushes footer to the bottom */
}

.product-card .card-footer {
  background-color: transparent;
  border-top: 1px solid var(--bs-border-color);
}

/* ================================== */
/* ==   7. Footer                  == */
/* ================================== */
.footer {
  background-color: var(--bs-light);
  border-top: 1px solid var(--bs-border-color);
}

.footer-links a {
  color: var(--bs-body-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--bs-primary);
  padding-left: 5px;
}

.footer-socials a {
  color: var(--bs-body-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--bs-primary);
  transform: scale(1.1);
}

.footer-logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--bs-white);
}

.footer-bottom {
  background-color: var(--bs-body-bg);
}

/* ================================== */
/* ==   8. Animation (JS)          == */
/* ================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}