/* iOS-specific fixes: overlays, nav, modals */
@media only screen and (max-width: 700px) and (orientation: portrait) {
  body {
    min-height: -webkit-fill-available;
  }
  header {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: -webkit-fill-available;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav {
    top: 60px;
    position: fixed;
    right: 0;
    width: 80vw;
    max-width: 320px;
    z-index: 1001;
  }
}
/* Unified box/card styles for all major sections */
.package, .package-card, .faq-item, .tool-card {
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  padding: 20px 14px;
  margin: 0;
  min-width: 180px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}

/* Unified grid styles for all major sections */
.packages, .package-cards, .faq-list, .resources-grid {
  gap: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 auto;
  width: 100%;
}

/* FAQ Section Styles */
.faq-section {
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  padding: 40px 24px;
  max-width: 1000px;
  margin: 0 auto 48px auto;
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 24px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: rgba(24,24,24,0.7);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(255,45,45,0.08);
  padding: 0 0 0 0;
}
.faq-question {
  width: 100%;
  background: none;
  color: #e0e0e0;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.faq-question:hover, .faq-question:focus {
  background: rgba(32,112,32,0.16);
  color: #207020;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding: 0 24px 18px 24px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s, margin-top 0.3s;
}
/* Support Contacted Banner */
/* Support Contacted Banner - dark theme */
.support-contacted-banner {
  display: none;
  position: relative;
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 18px;
  color: #2d7a2d;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(45,122,45,0.08);
  border: 1px solid #222;
  text-align: center;
  z-index: 2;
}

/* Contact Form Fade-in Animation */
.contact-form-animate {
  animation: contactFadeIn 1s cubic-bezier(.4,0,.2,1);
}
@keyframes contactFadeIn {
  0% { opacity: 0.2; box-shadow: 0 0 0 0 #ff2d2d33; background: #fff8f8; }
  60% { opacity: 1; box-shadow: 0 0 0 4px #ff2d2d33; background: #fff8f8; }
  100% { opacity: 1; box-shadow: none; background: none; }
}
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.policy-modal-content {
  background: #181818;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(255,45,45,0.18);
  padding: 36px 32px 28px 32px;
  max-width: 520px;
  width: 90vw;
  position: relative;
  text-align: left;
}
.policy-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: #f8f6f6;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.policy-modal-close:hover {
  color: #ffb347;
}
.policy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.policy-btn {
  background: linear-gradient(90deg, #232323 0%, #181818 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  margin-top: 8px;
}
.policy-btn:hover {
  background: linear-gradient(90deg, #232323 0%, #ff2d2d 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,45,45,0.18), 0 2px 12px rgba(255,255,255,0.10);
  transform: translateY(-2px) scale(1.04);
}
/* Policy & Terms Section */
.policy {
  background: linear-gradient(120deg, #181818 60%, #232323 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255,45,45,0.08), 0 2px 12px rgba(255,255,255,0.06);
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto 48px auto;
}
.policy h2 {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 24px;
}
.policy-content h3 {
  color: #ffb347;
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.policy-content ul {
  margin: 0 0 12px 0;
  padding-left: 22px;
  font-size: 1rem;
}
.policy-content p {
  margin-top: 24px;
  font-size: 1rem;
  color: #bbb;
}
/* Fires101 - Professional, Responsive Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #181818 0%, #232323 100%);
  color: #fff;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 0 32px 0 rgba(255,45,45,0.04) inset;
  backdrop-filter: blur(1.5px);
  box-sizing: border-box;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, border-radius 0.3s;
}
/* Prevent sticky header from covering anchor targets */
section { scroll-margin-top: 80px; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px 22px 40px;
  background: linear-gradient(180deg, #181818 80%, rgba(24,24,24,0.85) 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 8px 32px rgba(255,45,45,0.10), 0 2px 16px rgba(255,255,255,0.10);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(2px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: rgba(24,24,24,0.7);
  border-radius: 24px;
  padding: 6px 18px 6px 6px;
  box-shadow: 0 2px 8px rgba(255,45,45,0.08);
}
.logo img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(255,45,45,0.12);
  margin-right: 12px;
  max-width: 56px;
  height: 56px;
  display: block;
}
.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fc2b2b;
  letter-spacing: 0.04em;
}
nav {
  display: flex;
  gap: 32px;
  background: rgba(24,24,24,0.7);
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(255,45,45,0.08);
  padding: 6px 24px;
  transition: max-height 0.3s, opacity 0.3s;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  padding: 8px 18px;
  border-radius: 16px;
  display: block;
}
/* Mobile Navbar Styles */
@media (max-width: 700px) {
  .nav-toggle {
    display: block !important;
    background: none;
    border: none;
    color: #fff;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 100;
    cursor: pointer;
  }
  nav {
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(24,24,24,0.98);
    border-radius: 0 0 0 24px;
    box-shadow: 0 8px 32px rgba(255,45,45,0.10);
    width: 80vw;
    max-width: 320px;
    padding: 18px 0 18px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, opacity 0.3s;
  }
  nav.open {
    opacity: 1;
    max-height: 400px;
    transition: max-height 0.3s, opacity 0.3s;
  }
  nav a {
    padding: 16px 24px;
    font-size: 1.2rem;
    border-radius: 0;
    border-bottom: 1px solid #232323;
  }
}
nav a:hover {
  color: #ff2d2d;
  background: rgba(255,45,45,0.08);
  box-shadow: 0 2px 8px rgba(255,45,45,0.10);
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ff2d2d;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -4px;
  
}
nav a:hover::after {
  width: 100%;
}
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Local fallback image */
  background: none;
  position: relative;
  text-align: center;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  overflow: hidden;
  /* Add subtle bottom glow to match other sections */
  box-shadow: 0 12px 48px rgba(255,45,45,0.18), 0 2px 12px rgba(255,255,255,0.10);
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Make video clearer while keeping subtle enhancement */
  filter: brightness(0.85) contrast(1.05) saturate(1.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Layered backgrounds: top fade, bottom fade, and overall dark overlay */
  background:
    linear-gradient(to bottom, rgba(24,24,24,1) 0%, rgba(24,24,24,0) 100%),
    linear-gradient(to top, rgba(24,24,24,1) 0%, rgba(24,24,24,0) 100%),
    linear-gradient(180deg, rgba(24,24,24,0.6) 0%, rgba(24,24,24,0.45) 60%, rgba(24,24,24,0.3) 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: top, bottom, center;
  background-size: 100% 90px, 100% 90px, 100% 100%;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.hero .tagline {
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.cta-btn {
  background: #ff2d2d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: #fff;
  color: #ff2d2d;
  transform: translateY(-2px) scale(1.04);
}
.services {
  padding: 48px 0;
  background: #181818;
}
.services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 32px;
  color: #fbf9f9;
}
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.package {
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.package:hover {
  box-shadow: 0 12px 48px rgba(255,45,45,0.18), 0 2px 12px rgba(255,255,255,0.10);
  transform: translateY(-2px) scale(1.04);
}
.package h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(255,255,255,0.08);
}
.package span {
  background: rgba(255,255,255,0.12);
  color: #ff2d2d;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 1rem;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(255,45,45,0.10);
}
.package ul {
  padding-left: 18px;
  margin: 0;
  font-size: 1rem;
}
.testimonials {
  padding: 48px 0;
  background: #111;
}
.testimonials h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 32px;
  color: #f9f7f7;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.testimonial {
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  padding: 24px 18px;
  max-width: 320px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial:hover {
  box-shadow: 0 12px 48px rgba(255,45,45,0.18), 0 2px 12px rgba(255,255,255,0.10);
  transform: translateY(-2px) scale(1.04);
}
.testimonial img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}
blockquote {
  font-style: italic;
  margin: 0 0 10px 0;
}
cite {
  font-size: 1rem;
  color: #ff2d2d;
}
.contact {
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  padding: 40px 24px;
  max-width: 480px;
  margin: 0 auto 48px auto;
}
.contact h2 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.7rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(255,255,255,0.08);
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px;
  border: none;
  border-radius: 16px;
  outline: none;
  background: rgba(24,24,24,0.7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,45,45,0.08);
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}
input:focus, textarea:focus {
  box-shadow: 0 4px 16px rgba(255,45,45,0.18);
  background: rgba(24,24,24,0.9);
}
button[type="submit"] {
  background: linear-gradient(90deg, #232323 0%, #181818 100%);
  color: #ff2d2d;
  border: none;
  border-radius: 16px;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #ff2d2d 0%, #232323 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,45,45,0.18), 0 2px 12px rgba(255,255,255,0.10);
  transform: translateY(-2px) scale(1.04);
}
footer {
  background: linear-gradient(90deg, #181818 60%, #232323 100%);
  color: #fff;
  padding: 32px 0 16px 0;
  text-align: center;
  box-shadow: 0 -4px 16px rgba(255,45,45,0.08), 0 -1.5px 8px rgba(255,255,255,0.08);
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.10), 0 1.5px 8px rgba(255,255,255,0.08);
  padding: 24px;
}
.footer-address, .footer-social, .footer-payment {
  margin-bottom: 12px;
}
.footer-social a {
  margin: 0 8px;
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #fbf8f8;
}
.footer-payment img {
  height: 28px;
  margin: 0 6px;
  vertical-align: middle;
}
.footer-copyright {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #bbb;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
  }
  nav {
    gap: 18px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  /* Slightly reduce top/bottom fade height on mobile for better balance */
  .hero::after {
    background-size: 100% 60px, 100% 60px, 100% 100%;
  }
  .services {
    padding: 32px 0;
  }
  .packages {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }
  .contact {
    padding: 18px 8px;
  }
  footer {
    padding: 18px 0 8px 0;
  }
}
