/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* Add a pseudo-element for blurry background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  backdrop-filter: blur(12px);
  z-index: -1; /* Send it behind content */
}

/* ===== Navbar ===== */
.navbar {
  background: #8f1c1c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 40px;
}

.nav-center {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-center a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: 0.3s;
}

.nav-center a:hover,
.contact-btn {
  background: rgb(73, 18, 1);
  color: rgb(221, 13, 13);
  border-radius: 4px;
}

.nav-toggle {
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  display: none;
}

.banner img {
  width: 100%;
  height: auto; /* maintain aspect ratio */
  object-fit: contain; /* show the full image */
}

/* ===== Search Box ===== */
.search-box {
  display: flex;
  justify-content: center;
  margin: 1rem;
}
.search-section {
  background: url("../images/q.jpg") no-repeat center center/cover;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
  backdrop-filter: blur(4px);
  z-index: 0;
}

.search-box {
  position: relative;
  z-index: 1;
}

.search-box input {
  padding: 0.6rem;
  width: 60%;
  max-width: 400px;
  border-radius: 5px 0 0 5px;
  border: none;
}

.search-box button {
  padding: 0.6rem;
  background: rgb(136, 44, 21);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* ===== Cards ===== */
/* ==== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card {
  /* background: #222; */ /* Removed the black background */
  background: transparent; /* Optional: make it transparent */
  padding: 0.5rem;
  border-radius: 10px;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 5px;
}

/* Blinking Animation */
.blik {
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-center {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }
  .nav-center.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

.get-free-container {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.get-free-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 999px; /* Makes it oval */
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.get-free-btn:hover {
  background: #d62828;
  transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: #ccc;
  padding: 2rem 1rem 1rem;
  font-size: 0.95rem;
  padding: 1.5rem 1rem 0.5rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #444;
  padding-bottom: 1.5rem;
}

.footer-column {
  margin-bottom: 1rem;
  flex: 1 1 250px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-about {
  line-height: 1.5;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: yellow;
}

.footer-bottom {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem; /* reduce padding */
    gap: 1rem; /* reduce gap */
  }

  .footer-column {
    margin-bottom: 2rem;
  }
}
