/* ===============================
   GLOBAL STYLES
   =============================== */
body {
  scroll-behavior: smooth;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  background-color: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(8px);
  border: none !important;
  box-shadow: none !important;
}

.navbar .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #e30016 !important;
}

/* 'Send a Case' button */
.navbar .nav-link.btn.btn-danger {
  background-color: #e30016;
  border: 2px solid #e30016;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar .nav-link.btn.btn-danger:hover {
  background-color: transparent;
  color: #e30016 !important;
  border-color: #e30016;
  transform: scale(1.05);
}

.navbar .nav-link.btn.btn-danger:active,
.navbar .nav-link.btn.btn-danger.active,
.navbar .nav-link.btn.btn-danger:focus {
  background-color: #b71c1c !important;
  border-color: #b71c1c;
  color: #fff !important;
  box-shadow: 0 0 8px rgba(227, 0, 22, 0.4);
}
section:nth-child(even) {
    background-color: #181818;
}
section:nth-child(odd) {
    background-color: #121212;
}
section {
    box-shadow: 0 -10px 20px rgba(255, 255, 255, 0.02);
}
/* ===============================
   HERO SECTION
   =============================== */
.hero {
  height: 100vh;
  overflow: hidden;
  margin-top: -55px;
  position: relative;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100vh;
  animation: zoomBg 10s ease-in-out infinite alternate;
}

@keyframes zoomBg {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* previously 0.55 — reduced darkness */
  backdrop-filter: blur(2px); /* previously 4px — softer blur */
  z-index: 1;
}

.hero .container {
  z-index: 2;
  position: relative;
}
.hero h1, .hero p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero h1,
.hero p,
.hero a {
  z-index: 3;
}

/* ===============================
   HERO TEXT ANIMATIONS
   =============================== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero p,
.hero a.btn {
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}

.hero h1 {
  animation-delay: 0.3s;
}

.hero p {
  animation-delay: 0.6s;
}

.hero a.btn {
  animation-delay: 0.9s;
}

/* Prevent flickering between slides */
.carousel-item {
  transition: opacity 1s ease-in-out;
}

/* Button hover */
.hero a.btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* ===============================
   CARDS
   =============================== */
.card {
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(227, 0, 22, 0.3);
}

/* ===============================
   SECTIONS & BUTTONS
   =============================== */
section {
  padding-top: 100px;
}

.btn-danger {
  background-color: #e30016;
  border-color: #e30016;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
}

/* ===============================
   CONTACT FORM
   =============================== */
#contact input,
#contact textarea {
  border-radius: 8px;
  padding: 10px 12px;
}

#contact button:hover {
  background-color: #b71c1c;
  transition: background-color 0.3s ease;
}

/* ===============================
   ALERTS
   =============================== */
.alert-success {
  border-left: 4px solid #e30016;
  background-color: #1a1a1a;
  color: #23fe23;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

footer a:hover {
  color: #e30016;
  transition: color 0.3s ease;
}

footer h5 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

footer .text-secondary {
  color: #aaa !important;
}

footer .bi {
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .bi:hover {
  color: #e30016 !important;
  transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer .row {
    text-align: center;
  }

  footer img {
    margin: 0 auto;
  }

  footer ul {
    padding-left: 0;
  }

  footer .col-md-4 p {
    width: 100% !important;
  }

  footer .d-flex.gap-3 {
    justify-content: center !important;
  }
}

/* ===============================
   SCROLLBAR (Red Glow)
   =============================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e30016, #8b0000);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(227, 0, 22, 0.6);
  border: 2px solid #0a0a0a;
  transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4040, #e30016);
  box-shadow: 0 0 12px rgba(227, 0, 22, 0.9);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #e30016 #0a0a0a;
}
