/* styles.css */

/* ----- Globals ----- */
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f7f9fb;
  color: #222;
}

/* ----- Buttons (including .btn-warning primary color) ----- */
.btn-warning, 
.btn-warning:active, 
.btn-warning:focus, 
.btn-warning:visited {
  background-color: #97dd21 !important;
  border-color: #8ecd1e !important;
  color: #272700 !important;
}
.btn-warning:hover {
  background-color: #7ec119 !important;
  color: #fff !important;
  border-color: #71ac18 !important;
}

/* Ensure text-warning uses the correct color sitewide */
.text-warning {
  color: #97dd21 !important;
}

/* ----- Responsive Cards & Shadows ----- */
.card {
  border-radius: 1rem;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(50,100,254,0.10), 0 2px 8px rgba(0,0,0,0.03);
}

.card .card-title {
  font-weight: 600;
}

.card .card-text {
  font-size: 1rem;
}

/* ----- Navbar & Footer ----- */
.navbar-nav .nav-link.active {
  color: #3264fe !important;
  font-weight: 600;
}

.footer a.text-warning:hover {
  text-decoration: underline;
}

/* ----- Hero Section ----- */
section.py-5 {
  background: linear-gradient(90deg, #3264fe 0%, #24292e 120%);
  color: #fff;
}
section.py-5 .btn-outline-light {
  border-width: 2px;
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 991.98px) {
  .navbar .navbar-brand img {
    width: 150px !important;
  }
  .card {
    margin-bottom: 1.5rem;
  }
}

/* Extra Padding for Section Spacing */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
@media (max-width: 767.98px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ----- Custom Footer Styles ----- */
footer {
  font-size: 1rem;
  background: #23272b !important;
  color: #eaeaea !important;
}
footer a {
  color: #97dd21;
  transition: color 0.2s;
}
footer a:hover {
  color: #fff;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Custom scroll/selection colors (optional) */
::-webkit-scrollbar-thumb {
  background: #97dd21;
}
::selection {
  background: #97dd21;
  color: #24292e;
}
#bdvOfferOverlay {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.68) !important;
  z-index: 999999 !important;
}

#bdvOfferOverlay[hidden] {
  display: none !important;
}

.bdv-offer-popup {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  color: #111827;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.bdv-offer-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}