@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  --secondary-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Font Overrides */
body,
html {
  font-family: "Outfit", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Outfit", sans-serif !important;
}

/* Navbar Upgrades */
.ftco_navbar {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(30, 41, 59, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}
.ftco_navbar.scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  box-shadow: var(--shadow-lg) !important;
}
.navbar-brand {
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  background: var(--primary-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.nav-item .nav-link,
.ftco-navbar-light.scrolled .nav-link,
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.2s ease !important;
}
.nav-item.active .nav-link,
.nav-item .nav-link:hover,
.ftco-navbar-light.scrolled .nav-link.active,
.ftco-navbar-light.scrolled .nav-link:hover,
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link:hover {
  color: #fb923c !important;
}
.ftco-navbar-light.scrolled .navbar-toggler {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Glassmorphism Elements */
.glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-top: 5px solid #dc2626 !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-xl) !important;
}

/* Form Inputs Styling */
.form-control {
  border: 1.5px solid var(--slate-200) !important;
  background-color: var(--slate-50) !important;
  color: var(--slate-800) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease-in-out !important;
}
.form-control:focus {
  border-color: #dc2626 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
  outline: none !important;
}

/* Buttons */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45) !important;
  opacity: 0.95 !important;
}
.btn-white {
  background: #fff !important;
  color: var(--slate-800) !important;
  border: 1px solid var(--slate-200) !important;
  box-shadow: var(--shadow-md) !important;
}
.btn-white:hover {
  transform: translateY(-2px) !important;
  background: var(--slate-50) !important;
}

/* Hero Badge Tags */
.badge-pill-custom {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  background: rgba(249, 115, 22, 0.1) !important;
  color: #f97316 !important;
  border: 1px solid rgba(249, 115, 22, 0.2) !important;
  display: inline-block;
}

/* Cards & Grid Overrides */
.card-modern {
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #fff;
}
.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl) !important;
}

/* Location Cards */
.location-card {
  border-radius: 12px !important;
  border: 1.5px solid var(--slate-200) !important;
  background: #fff;
  transition: all 0.25s ease !important;
}
.location-card:hover {
  transform: translateY(-3px);
  border-color: #dc2626 !important;
  box-shadow: var(--shadow-md) !important;
}

/* How It Works Steps */
.step-card {
  border-radius: 16px !important;
  border: 1px solid var(--slate-100) !important;
  background: #fff;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.3s ease !important;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

/* FAQ Accordion Styling */
.faq-card {
  border-radius: 12px !important;
  border: 1px solid var(--slate-200) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 12px !important;
  transition: all 0.3s ease !important;
  overflow: hidden;
}
.faq-card:hover {
  border-color: #dc2626 !important;
  box-shadow: var(--shadow-md) !important;
}
.faq-btn {
  font-size: 1.05rem !important;
  color: var(--slate-800) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 20px 24px !important;
  transition: color 0.25s ease !important;
}
.faq-btn:not(.collapsed) {
  color: #dc2626 !important;
}
.faq-btn .icon-keyboard_arrow_down {
  transition: transform 0.25s ease !important;
}
.faq-btn:not(.collapsed) .icon-keyboard_arrow_down {
  transform: rotate(180deg);
}

/* Custom Scroll Spy Sections Styling */
.heading-section .subheading {
  color: #f97316 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}
.heading-section h2 {
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  color: var(--slate-800) !important;
  letter-spacing: -0.5px !important;
}

/* CTA Section Banner Overlay */
#cta-section .overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(220, 38, 38, 0.75) 100%
  ) !important;
}

/* Hero Wrap Overlay & Text Legibility improvements */
.hero-wrap {
  position: relative !important;
}
@media (max-width: 991.98px) {
  .hero-wrap.js-fullheight,
  .hero-wrap .slider-text.js-fullheight {
    height: auto !important;
    min-height: auto !important;
    padding: 6em 0 4em 0 !important;
  }
}
.hero-wrap .overlay {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(15, 23, 42, 0) 100%
  ) !important;
  opacity: 1 !important;
}

/* Badge tags adjustments for dark background */
.hero-wrap .badge-pill-custom {
  background: rgba(249, 115, 22, 0.2) !important;
  color: #fb923c !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Remove top gap above navbar */
.ftco-navbar-light {
  top: 0 !important;
}

/* Reduce vertical space/padding for sections */
.ftco-section {
  padding: 4.5em 0 !important;
}
@media (max-width: 767.98px) {
  .ftco-section {
    padding: 3.5em 0 !important;
  }
}

.ftco-intro {
  padding: 5em 0 !important;
}
@media (max-width: 991.98px) {
  .ftco-intro {
    padding: 4em 0 !important;
  }
}

/* Global template color overrides (replacing primary blue #4b69bd with reddish #dc2626) */
a {
  color: #dc2626;
}
a:hover {
  color: #b91c1c;
}
.text-primary {
  color: #dc2626 !important;
}
.bg-primary {
  background-color: #dc2626 !important;
}
.btn.btn-primary {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
}
.btn.btn-primary:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item.active > a {
  color: #dc2626 !important;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span:before {
  background: #dc2626 !important;
}

/* Footer spacing override */
.ftco-footer.ftco-section {
  padding: 1em 0 !important;
}

/* Footer color overrides (dark theme) */
.ftco-footer .ftco-footer-widget ul li a span {
  color: #dc2626 !important;
}
.ftco-footer .ftco-footer-widget ul li a:hover {
  color: #fff !important;
}
.ftco-footer .ftco-footer-widget ul li a:hover span {
  color: #ef4444 !important;
}
.ftco-footer-social li a {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.ftco-footer-social li a:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  transform: translateY(-3px);
}
.ftco-footer-social li a span {
  position: static !important;
  transform: none !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 35px;
  right: 35px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none !important;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
  color: #fff !important;
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover svg {
  transform: rotate(8deg);
}
