/* MOBILE OPTIMIZED VERSION - FINAL */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Font Family */
  --heading-font: 'Outfit', sans-serif;
  --body-font: 'Manrope', sans-serif;

  /* Base Color (Crest Vale Red #A30000) */
  --base-h: 0;
  --base-s: 100%;
  --base-l: 32%;
  /* #A30000 - Approx HSL 0, 100%, 32% */
  --base: 0 100% 32%;

  /* Secondary Base Color (Darker Red) */
  --base-two-h: 0;
  --base-two-s: 100%;
  --base-two-l: 20%;
  --base-two: 0 100% 20%;

  /* Button Overrides */
  --btn-base-bg: #A30000;
  --btn-base-color: #fff;

  /* Section Background */
  --section-bg: 0 0% 98%;

  /* Heading Color */
  --black-h: 0;
  --black-s: 0%;
  --black-l: 10%;
}

/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 80%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px !important;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  opacity: 0.5;
  background-color: hsl(var(--black) / 0.5);
  border-color: hsl(var(--black) / 0.01);
}

.h-45 {
  height: 50px;
}

.h-none {
  height: 37px !important;
}

.input-group-text {
  color: #747474;
  background-color: #fff;
  border-color: hsl(var(--black) / 0.08);
  transition: all linear .15s;
}

.account-form .input-group-text {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.15);
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  border-left: 0;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
  border-right: 0;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .hover-input-popup .input-popup {
    left: 70% !important;
  }
}

.input-group-text.removeFile {
  border-color: hsl(var(--black) / 0.1) !important;
  border-style: dashed;
}


.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active,
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: hsl(var(--base)) !important;
}

/* Auth Page & Global Button Fixes */
.btn--base,
.btn-primary,
.btn-red-primary,
.btn--base:hover,
.btn-primary:hover {
  background-color: #A30000 !important;
  border-color: #A30000 !important;
  color: #fff !important;
}

.text--base {
  color: #A30000 !important;
}

.account__left {
  background-color: #A30000 !important;
  position: relative;
}

.account__left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(163, 0, 0, 0.9), rgba(100, 0, 0, 0.9));
  z-index: 1;
}

.account__thumb {
  position: relative;
  z-index: 2;
}

/* Form Controls */
.form--control:focus {
  border-color: #A30000 !important;
  box-shadow: 0 0 0 0.25rem rgba(163, 0, 0, 0.1) !important;
}

/* Global Header & Menu Slimness Fix */
.header,
.header-bottom,
.header-section,
.header-top {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
}

.header-top {
  background-color: #f8f8f8 !important;
  border-bottom: 1px solid #eee;
}

.top-header-wrapper {
  padding: 4px 0 !important;
}

.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.nav-link {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.logo img {
  max-height: 40px !important;
}

/* Favicon/Logo Red Color Consistency */
.base-color,
.text-danger {
  color: #A30000 !important;
}

.bg-danger {
  background-color: #A30000 !important;
}

/* Slick Slider Navigation Refinement */
.slick-dots {
  padding: 0 !important;
  margin: 0 !important;
}

.slick-dots li {
  margin: 5px 0 !important;
  display: block !important;
}

/* --- NUCLEAR WHITE FOOTER FIX --- */
.footer-area,
.newsletter,
.bottom-footer,
.py-60.newsletter,
.py-120,
.footer-area * {
  background-color: transparent;
}

.footer-area,
.newsletter,
.bottom-footer,
.py-60.newsletter {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
}

.footer-area {
  border-top: 1px solid #eee !important;
}

/* Newsletter Section Text */
.newsletter__title,
.newsletter h4 {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Main Footer Titles */
.footer-item__title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-family: 'Outfit', sans-serif !important;
}

.footer-item__title::after {
  background-color: #A30000 !important;
}

/* Link Colors */
.footer-menu__link,
.footer-item__desc,
.footer-contact-menu__item-content p,
.bottom-footer-text,
.footer-item p,
.footer-menu__link {
  color: #444 !important;
}

.footer-menu__link:hover {
  color: #A30000 !important;
  padding-left: 5px;
}

/* Social Icons */
.social-list__link {
  background-color: #f8f9fa !important;
  color: #333 !important;
  border: 1px solid #eee !important;
}

.social-list__link:hover {
  background-color: #A30000 !important;
  color: #ffffff !important;
  border-color: #A30000 !important;
}

/* Contact Icons */
.footer-contact-menu__item-icon i {
  color: #A30000 !important;
}

/* Bottom Footer (Copyright Bar) */
.bottom-footer {
  background-color: #fcfcfc !important;
  border-top: 1px solid #eee !important;
}

/* Newsletter Input */
.newsletter-from .form--control {
  background-color: #f8f9fa !important;
  border: 1px solid #ddd !important;
  color: #333 !important;
}

.newsletter-from .btn--base {
  background-color: #A30000 !important;
  border: none !important;
  color: #fff !important;
}

/* Navigation Dropdown Styling */
.dropdown-menu {
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  padding: 10px 0 !important;
  background: #ffffff !important;
}

.dropdown-item {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  padding: 8px 25px !important;
  transition: all 0.3s ease !important;
}

.dropdown-item:hover {
  background-color: #f8f9fa !important;
  color: #A30000 !important;
  padding-left: 30px !important;
}

.dropdown-toggle::after {
  display: none !important;
}

/* ==========================================================================
   GLOBAL HEADER STANDARDIZATION (Floating Pill + Contact Bar)
   ========================================================================== */

/* 1. Contact Bar (Header Top) - Visible on ALL pages */
.header-top {
  display: block !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  z-index: 1002 !important;
  position: relative !important;
  padding: 8px 0 !important;
}

/* 2. Main Header (Floating Pill) */
.header {
  position: absolute !important;
  top: 60px !important;
  /* Pushed down by Contact Bar */
  width: 100% !important;
  background-color: transparent !important;
  border-bottom: none !important;
  z-index: 1001 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3. Floating Pill Necklace (The Navigation Bar) */
.navbar {
  background-color: #ffffff !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  padding: 10px 30px !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
  border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

/* Mobile Adjustments for Consistency */
@media (max-width: 991px) {
  .header-top {
    display: none !important;
    /* Hide standard desktop top bar on mobile */
  }

  /* Mobile Contact Bar is handled by 'mobile-contact-bar' class elsewhere */

  .header {
    top: 70px !important;
    /* Space for Mobile Contact Bar */
    position: fixed !important;
  }

  .navbar {
    padding: 8px 15px !important;
    margin: 0 10px !important;
    width: auto !important;
  }
}

.signin-btn .btn {
  border-radius: 30px !important;
  font-weight: 600 !important;
}

/* Red Branding Correction for Icons */
.follow-social-list__icon i,
.contact-list__item-icon i {
  color: #A30000 !important;
}

/* ==========================================================================
   RED BACKGROUND ACCESSIBILITY & READABILITY FIX
   Forces all text to white on dark red sections throughout the site.
   ========================================================================== */
.credit-card-section,
.chose-us,
.bg-danger,
.bg--base,
[style*="background-color: #A30000"],
[style*="background-color: #590000"],
[style*="background-color: #4a0000"] {
  color: #ffffff !important;
}

.credit-card-section h1,
.credit-card-section h2,
.credit-card-section h3,
.credit-card-section h4,
.credit-card-section h5,
.chose-us h2,
.chose-us h3,
.chose-us h4,
.chose-us h5,
.bg-danger h1,
.bg-danger h2,
.bg-danger h3,
.bg-danger h4,
.bg-danger h5,
[style*="background-color: #A30000"] h1,
[style*="background-color: #A30000"] h2,
[style*="background-color: #A30000"] h3,
[style*="background-color: #590000"] h2,
[style*="background-color: #590000"] h4,
[style*="background-color: #4a0000"] h2,
[style*="background-color: #4a0000"] h5 {
  color: #ffffff !important;
}

/* Tagline colors on red backgrounds */
.text-danger-light {
  color: #ffcccc !important;
  opacity: 0.9;
}

/* Secondary text on red backgrounds */
.credit-card-section p,
.chose-us p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   FINAL BRANDING & HEADER OVERRIDES (v5)
   Fixes: Red Header on internal pages, Small Logo size.
   ========================================================================== */

/* 🚀 INCREASED LOGO SIZE (ULTRABOLD BOOST) */
.logo img,
.footer-item__logo img {
  max-height: 100px !important;
  width: auto !important;
}

/* 🧭 INTERNAL PAGE HEADER FIX REMOVED - NOW USING GLOBAL FLOATING PILL STYLE */
/* The global .header rules (lines 517+) now control all pages for consistency. */

/* ==========================================================================
   📱 MOBILE-FIRST RESPONSIVE OPTIMIZATION (v6)
   Scales logos, pill header, and footer for perfect mobile viewing.
   ========================================================================== */

/* Logo Scaling for Mobile */
@media (max-width: 768px) {

  .logo img,
  .logo svg,
  .footer-item__logo img,
  .footer-item__logo svg {
    max-height: 55px !important;
    width: auto !important;
  }

  /* Pill Header Mobile Optimization */
  .navbar {
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  }

  /* Header Position for Mobile */
  .header {
    top: 0 !important;
    position: relative !important;
  }

  /* Footer Logo Centering */
  .footer-item__logo {
    text-align: center !important;
    display: block !important;
  }

  .footer-item__logo svg {
    max-width: 100% !important;
    height: auto !important;
    max-height: 50px !important;
  }

  /* Inner Hero (Breadcrumb) Mobile Spacing */
  .inner-hero {
    padding-top: 80px !important;
    padding-bottom: 50px !important;
  }

  .inner-hero__title {
    font-size: 1.8rem !important;
  }
}

/* Small Phone Optimization (320px - 480px) */
@media (max-width: 480px) {

  .logo img,
  .logo svg {
    max-height: 45px !important;
  }

  .footer-item__logo svg {
    max-height: 40px !important;
  }

  .navbar {
    padding: 8px 10px !important;
  }

  .signin-btn .btn {
    padding: 8px 15px !important;
    font-size: 0.85rem !important;
  }

  .nav-link {
    padding: 10px 8px !important;
    font-size: 0.9rem !important;
  }
}

/* Tablet Optimization (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {

  .logo img,
  .logo svg {
    max-height: 70px !important;
  }

  .navbar {
    border-radius: 30px !important;
    margin: 0 10px !important;
    padding: 10px 20px !important;
  }
}

/* Desktop Full Size (992px+) */
@media (min-width: 992px) {

  .logo img,
  .logo svg {
    max-height: 100px !important;
  }

  .footer-item__logo svg {
    max-height: 80px !important;
  }
}