/* cmsms stylesheet: FoxtrotV2 modified: Friday, April 17, 2026 7:20:41 AM */
/* =========================================================
   FOXTROT THEME STYLES
   Organized for easier maintenance
   ---------------------------------------------------------
   Sections:
   1. Header / Navbar shell
   2. Desktop navigation
   3. Search form
   4. Mobile offcanvas navigation
   5. Footer
   6. Responsive adjustments
   ========================================================= */


/* =========================================================
   1. HEADER / NAVBAR SHELL
   ========================================================= */

.foxtrot-navbar {
  min-height: 88px;
}

.foxtrot-logo {
  max-height: 42px;
  width: auto;
}

.foxtrot-nav-wrap {
  display: flex;
  align-items: center;
}


/* =========================================================
   2. DESKTOP NAVIGATION
   ---------------------------------------------------------
   - Main link styling
   - Dropdown menu styling
   - Hover/active behavior
   - Underline on all nav links
   ========================================================= */

.foxtrot-primary-nav .nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #1f1f1f;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.foxtrot-primary-nav .nav-link:hover,
.foxtrot-primary-nav .nav-link.active {
  color: #ff4a43;
}

/* Underline effect for ALL nav items */
.foxtrot-primary-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ff4a43;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.foxtrot-primary-nav .nav-link:hover::before,
.foxtrot-primary-nav .nav-link.active::before,
.foxtrot-primary-nav .dropdown:hover .dropdown-toggle::before,
.foxtrot-primary-nav .dropdown .dropdown-toggle.show::before {
  width: 60%;
}

/* Dropdown toggle behavior */
.foxtrot-primary-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* Replace default Bootstrap caret with + on the RIGHT */
.foxtrot-primary-nav .dropdown-toggle::after {
  content: "+";
  border: none;
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

/* Spin + to X on hover/open */
.foxtrot-primary-nav .dropdown:hover .dropdown-toggle::after,
.foxtrot-primary-nav .dropdown .dropdown-toggle.show::after {
  transform: rotate(45deg);
}

/* Desktop dropdown panel */
.foxtrot-primary-nav .dropdown-menu {
  min-width: 280px;
}

.foxtrot-primary-nav .dropdown-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.foxtrot-primary-nav .dropdown-item:last-child {
  border-bottom: 0;
}

/* Make the nav wrapper a 3-zone flex system */
.foxtrot-nav-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  #foxtrotDesktopNav {
    display: flex !important;
    align-items: center;
    width: 100%;
  }

  .foxtrot-nav-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .foxtrot-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
  }

  .foxtrot-primary-nav .nav-link {
    white-space: nowrap;
    padding-left: 0;
    padding-right: 0;
  }

  .foxtrot-search-form {
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
    margin-left: 2rem;
  }
}

/* =========================================================
   3. SEARCH FORM
   ---------------------------------------------------------
   Shared styling for desktop/mobile search input
   ========================================================= */

.foxtrot-search-form {
  max-width: 240px;
  width: 100%;
}

.foxtrot-search-form .form-control,
.foxtrot-search-form .input-group-text {
  border-radius: 999px;
}

.foxtrot-search-form .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.foxtrot-search-form .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* =========================================================
   4. MOBILE OFFCANVAS NAVIGATION
   ---------------------------------------------------------
   - Right-side slide-in menu
   - Mobile menu items and nested links
   ========================================================= */

.foxtrot-mobile-offcanvas {
  width: min(88vw, 360px);
}

.foxtrot-mobile-nav {
  gap: 0;
}

.foxtrot-mobile-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.foxtrot-mobile-item details {
  display: block;
}

.foxtrot-mobile-link,
.foxtrot-mobile-sublink {
  display: block;
  text-decoration: none;
}

.foxtrot-mobile-link {
  padding: 1rem 0;
  font-weight: 600;
  color: #222;
}

.foxtrot-mobile-sublink {
  padding: 0.65rem 0;
  color: #555;
}

.foxtrot-mobile-link.active,
.foxtrot-mobile-sublink.active {
  color: #c93b3b;
}

/* Clickable summary row for expandable items */
.foxtrot-mobile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.foxtrot-mobile-summary::-webkit-details-marker {
  display: none;
}

.foxtrot-mobile-chevron {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.foxtrot-mobile-item details[open] .foxtrot-mobile-chevron {
  transform: rotate(45deg);
}


/* =========================================================
   5. FOOTER
   ---------------------------------------------------------
   - Main footer area
   - Branding
   - Links/contact/social
   - Bottom legal bar
   ========================================================= */

.foxtrot-footer-main {
  background: #f4ecec;
  padding: 3.5rem 0 3rem;
}

.foxtrot-footer-bottom {
  background: #efe3e3;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.foxtrot-footer-logo {
  max-width: 260px;
  width: auto;
  height: auto;
}

.foxtrot-footer-tagline {
  max-width: 28rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.foxtrot-footer-trademark {
  font-size: 0.9rem;
  color: #444;
}

/* Footer section headings */
.foxtrot-footer-heading {
  position: relative;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.foxtrot-footer-heading::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 6px;
  background: #ff4a43;
}

/* Footer quick links */
.foxtrot-footer-links li + li {
  margin-top: 0.6rem;
}

.foxtrot-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #1f1f1f;
  text-decoration: none;
}

.foxtrot-footer-links a::before {
  content: "›";
  color: #ff4a43;
}

.foxtrot-footer-links a:hover {
  color: #ff4a43;
}

/* Contact list */
.foxtrot-footer-contact li + li {
  margin-top: 0.75rem;
}

.foxtrot-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1f1f1f;
  text-decoration: none;
}

.foxtrot-contact-link:hover {
  color: #ff4a43;
}

.foxtrot-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1dede;
  color: #ff4a43;
  font-size: 0.8rem;
}

/* Social icons */
.foxtrot-footer-social {
  display: flex;
  gap: 0.6rem;
}

.foxtrot-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5dada;
  color: #333;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.2s;
}

.foxtrot-social-btn:hover {
  background: #ff4a43;
  color: #fff;
}

/* Bottom legal links */
.foxtrot-footer-bottom a {
  color: #333;
  text-decoration: none;
}

.foxtrot-footer-bottom a:hover {
  color: #ff4a43;
}


/* =========================================================
   6. RESPONSIVE ADJUSTMENTS
   ---------------------------------------------------------
   - Mobile navbar toggler
   - Hide mobile offcanvas on desktop
   - Footer spacing/logo adjustments for smaller screens
   ========================================================= */

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .foxtrot-footer-main {
    padding: 2.75rem 0 2.5rem;
  }

  .foxtrot-footer-logo {
    max-width: 200px;
  }
}

@media (min-width: 992px) {
  .navbar-toggler,
  .foxtrot-mobile-offcanvas {
    display: none !important;
  }

  .foxtrot-nav-wrap {
    display: flex;
    align-items: center;
  }
}
