/* SITE OPTIONS */
body {
  font-family:sans-serif;
}
.hero-section {
  padding:100px 0;
}
.custom-block {
  border-radius:8px;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
.form-control:focus {
  border-color: #3f46b1;
  outline: none;
}

/* NAVBAR */
.navbar-transparent {
  background-color: transparent !important;
  box-shadow: none !important;
  transition: background-color .25s ease, box-shadow .25s ease;
}

/* NAVBAR SCROLL */
.navbar-solid {
  background-color: rgba(0, 0, 0, 0.88) !important;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/* BUTTONS */
.custom-btn {
  background:#19a7f9;
  color:#fff;
}
.custom-btn:hover {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13,110,253,.45);
}
.sec-custom-btn{
  background:#f9b219 !important;
  color:#fff;
}
.sec-custom-btn:hover{
  background-color: #ff7b00;
  border-color: #f9b219 !important;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(177, 131, 7, 0.45);
}

.wrn-custom-btn{
  background:#ff3434 !important;
  color:#fff;
}
.wrn-custom-btn:hover{
  background-color: #ff0000;
  border-color: #ff3434 !important;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 13, 13, 0.45);
}

/* HERO IMAGE SETTINGS */
.hero-home {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 100%),
    url('/images/hero.jpg') center/cover no-repeat fixed;
}
.hero-home .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}

/* HERO TITLE + TEXT */
.hero-home h1 {
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.hero-home p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* HERO BUTTONS */
.hero-home .btn {
  border-width: 2px;
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.hero-buttons .btn.custom-btn {
  background-color: #19a7f9;
  border-color: #19a7f9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(25,167,249,.35);
}
.hero-buttons .btn.custom-btn:hover {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13,110,253,.45);
}
.hero-buttons .btn.custom-border-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}
.hero-buttons .btn.custom-border-btn:hover {
  background-color: #fff;
  color: #242424;
  border-color: #fff !important;
  box-shadow: 0 6px 16px rgba(126, 126, 126, 0.45) !important;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .hero-home {
    min-height: 65vh;
    background-attachment: scroll; /* avoid jank on mobile */
  }
  .hero-home h1 {
    font-size: 2rem;
  }
  .hero-home p.lead {
    font-size: 1.05rem;
  }
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem auto;
  }
}
.mobile-bg {
    background-color: #f8f9fa !important;
  }

/* ---- Mobile: paint the iPhone safe-edge the same as navbar ---- */
@media (max-width: 990px) { /* leave at 990px fixes tablet spacing as well */
  /* Apply ONLY when .mobile-bg is present */
  .mobile-bg {
    background-color: #212529 !important;
  }

  .mobile-bg .navbar {
    position: relative !important;
    top: 0; left: 0; right: 0;
    background-color: #212529 !important;
  }

  .p-fix {
    margin-top: 0px !important;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    .mobile-bg .navbar {
      padding-top: env(safe-area-inset-top);
    }

    .mobile-bg .navbar::before {
      content: "";
      position: fixed;
      top: 0; left: 0; right: 0;
      height: env(safe-area-inset-top);
      background: #212529;
      pointer-events: none;
      z-index: 2147483000;
    }

    .mobile-bg { padding-top: 0 !important; }
  }
}







