/* Marketing Theme Styles - Compatible with Fila Base */

/* Navy/Professional Color Palette */
:root {
  --marketing-navy-dark: #0f172a;
  --marketing-navy-mid: #1e3a5f;
  --marketing-blue: #1e40af;
  --marketing-accent: #06b6d4;
  --marketing-accent-hover: #0891b2;
  --marketing-text-dark: #1e293b;
}

/* Hero and gradient backgrounds */
.bg-soft-primary {
  background-color: rgba(30, 64, 175, 0.1) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--marketing-navy-dark) 0%, var(--marketing-blue) 100%) !important;
  color: white;
}

.bg-gradient-reverse-primary {
  background: linear-gradient(135deg, var(--marketing-blue) 0%, var(--marketing-navy-dark) 100%) !important;
  color: white;
}

/* Accent button for dark backgrounds */
.btn-accent {
  background-color: var(--marketing-accent);
  border-color: var(--marketing-accent);
  color: white;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--marketing-accent-hover);
  border-color: var(--marketing-accent-hover);
  color: white;
}

.btn-outline-accent {
  background-color: transparent;
  border-color: var(--marketing-accent);
  color: var(--marketing-accent);
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
  background-color: var(--marketing-accent);
  border-color: var(--marketing-accent);
  color: white;
}

/* Light button variants for dark backgrounds */
.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: white;
  border-color: white;
  color: var(--marketing-navy-dark);
}

/* Override primary button for marketing pages - navy theme */
.btn-primary {
  background-color: var(--marketing-blue);
  border-color: var(--marketing-blue);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--marketing-navy-dark);
  border-color: var(--marketing-navy-dark);
  color: white;
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--marketing-blue);
  color: var(--marketing-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--marketing-blue);
  border-color: var(--marketing-blue);
  color: white;
}

.wrapper {
  position: relative;
  padding: 3rem 0;
}

/* Content wrapper */
.content-wrapper {
  overflow-x: hidden;
}

/* Navbar styling */
.navbar.center-nav .navbar-nav {
  margin: 0 auto;
}

.navbar.transparent {
  background-color: transparent;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.7);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--marketing-blue);
}

/* Dropdown menus - explicit light theme (override any dark mode inheritance) */
.dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  color: #212529 !important;
}

.dropdown-item {
  color: #212529 !important;
  background-color: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1e2125 !important;
  background-color: #e9ecef !important;
}

.dropdown-item:active,
.dropdown-item.active {
  color: #fff !important;
  background-color: var(--marketing-blue) !important;
}

/* Ensure hamburger button is dark on light header */
header.bg-white .offcanvas-nav-btn {
  color: rgba(0, 0, 0, 0.7);
}

/* Offcanvas mobile menu */
.offcanvas-nav {
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.offcanvas-nav.show {
  visibility: visible;
  transform: translateX(0);
}

.offcanvas-nav-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.offcanvas-nav-btn span,
.offcanvas-nav-btn span::before,
.offcanvas-nav-btn span::after {
  display: block;
  width: 100%;
  height: 3px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Ensure text in light sections is dark by default */
.wrapper.bg-light,
.wrapper.bg-white {
  color: #212529;
}

.wrapper.bg-light h1,
.wrapper.bg-light h2,
.wrapper.bg-light h3,
.wrapper.bg-light h4,
.wrapper.bg-light h5,
.wrapper.bg-light h6,
.wrapper.bg-white h1,
.wrapper.bg-white h2,
.wrapper.bg-white h3,
.wrapper.bg-white h4,
.wrapper.bg-white h5,
.wrapper.bg-white h6 {
  color: #212529;
}

.wrapper.bg-light p,
.wrapper.bg-white p {
  color: #212529;
}

.wrapper.bg-light .card,
.wrapper.bg-white .card {
  color: #212529;
}

.wrapper.bg-light .card h4,
.wrapper.bg-light .card h5,
.wrapper.bg-light .card h6,
.wrapper.bg-white .card h4,
.wrapper.bg-white .card h5,
.wrapper.bg-white .card h6 {
  color: #212529;
}

.wrapper.bg-light .card p,
.wrapper.bg-white .card p {
  color: #212529;
}

.offcanvas-nav-btn span {
  position: relative;
}

.offcanvas-nav-btn span::before,
.offcanvas-nav-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.offcanvas-nav-btn span::before {
  top: -8px;
}

.offcanvas-nav-btn span::after {
  bottom: -8px;
}

/* Display utilities */
.fs-16 {
  font-size: 1rem !important;
}

.fs-21 {
  font-size: 1.3125rem !important;
}

.fs-30 {
  font-size: 1.875rem !important;
}

.fs-lg {
  font-size: 1.125rem !important;
}

/* Text utilities */
.text-muted {
  color: #6c757d !important;
}

.text-yellow {
  color: #ffc107 !important;
}

.text-red {
  color: #dc3545 !important;
}

.text-green {
  color: #198754 !important;
}

.text-blue {
  color: #0d6efd !important;
}

.text-navy {
  color: var(--marketing-navy-dark) !important;
}

.text-accent {
  color: var(--marketing-accent) !important;
}

/* Link utilities */
.link-inverse {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.link-inverse:hover {
  color: white;
}

.link-yellow:hover {
  color: #ffc107;
}

.link-red:hover {
  color: #dc3545;
}

.link-green:hover {
  color: #198754;
}

.link-blue:hover {
  color: #0d6efd;
}

.link-navy:hover {
  color: var(--marketing-navy-dark);
}

.link-accent:hover {
  color: var(--marketing-accent);
}

.more {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hover:hover {
  text-decoration: underline;
}

/* Card enhancements */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Icon utilities */
.icon-svg {
  width: 3rem;
  height: 3rem;
}

.icon-svg-md {
  width: 2.5rem;
  height: 2.5rem;
}

.svg-inject {
  display: inline-block;
}

/* Icon list */
.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.icon-list i {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.bullet-primary i {
  color: var(--marketing-blue);
}

/* Rating stars */
.rating i {
  color: #ffc107;
}

/* Angled sections */
.angled {
  position: relative;
}

.angled.upper-start::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  transform: skewY(-2deg);
  transform-origin: top left;
}

.angled.lower-start::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  transform: skewY(-2deg);
  transform-origin: bottom right;
}

/* Footer */
.bg-navy {
  background-color: #1e3a5f !important;
  color: white;
}

.bg-navy a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.bg-navy a:hover {
  color: white;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Social icons */
.social {
  display: flex;
  gap: 0.5rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-white a {
  color: white;
}

/* Progress to top button */
.progress-wrap {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  background-color: var(--marketing-accent);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

.progress-wrap.active {
  display: block;
}

.progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle path {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-dasharray: 307.919;
  stroke-dashoffset: 307.919;
  transition: stroke-dashoffset 0.3s ease;
}

/* Responsive utilities */
@media (max-width: 991.98px) {
  .offcanvas-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 0.5rem 0 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
  }
  
  .offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .offcanvas-body {
    padding: 1.5rem;
  }
  
  .offcanvas-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
  }
}

/* Spacing utilities */
.pt-10 { padding-top: 5rem !important; }
.pt-14 { padding-top: 7rem !important; }
.pt-15 { padding-top: 7.5rem !important; }
.pt-16 { padding-top: 8rem !important; }
.pt-17 { padding-top: 8.5rem !important; }
.pb-8 { padding-bottom: 4rem !important; }
.pb-13 { padding-bottom: 6.5rem !important; }
.pb-15 { padding-bottom: 7.5rem !important; }
.py-14 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
.py-16 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.py-18 { padding-top: 9rem !important; padding-bottom: 9rem !important; }

@media (min-width: 768px) {
  .pt-md-14 { padding-top: 7rem !important; }
  .pt-md-16 { padding-top: 8rem !important; }
  .pt-md-17 { padding-top: 8.5rem !important; }
  .pb-md-15 { padding-bottom: 7.5rem !important; }
  .py-md-18 { padding-top: 9rem !important; padding-bottom: 9rem !important; }
}

.mb-10 { margin-bottom: 5rem !important; }
.mb-12 { margin-bottom: 6rem !important; }
.mb-14 { margin-bottom: 7rem !important; }
.mb-18 { margin-bottom: 9rem !important; }

@media (min-width: 768px) {
  .mb-md-12 { margin-bottom: 6rem !important; }
  .mb-md-18 { margin-bottom: 9rem !important; }
}

/* Grid utilities */
.gx-md-5 {
  --bs-gutter-x: 3rem;
}

.gx-md-8 {
  --bs-gutter-x: 4rem;
}

.gx-xl-12 {
  --bs-gutter-x: 6rem;
}

@media (min-width: 768px) {
  .gx-lg-8 {
    --bs-gutter-x: 4rem;
  }
}

@media (min-width: 1200px) {
  .gx-xl-12 {
    --bs-gutter-x: 6rem;
  }
}

/* Display utilities */
.display-1 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 700;
  line-height: 1.2;
}

.display-4 {
  font-size: calc(1.475rem + 2.7vw);
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 5rem;
  }
  
  .display-4 {
    font-size: 3.5rem;
  }
}

/* Lead text */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Rounded pills */
.rounded-pill {
  border-radius: 50rem !important;
}

/* Position utilities */
.position-relative {
  position: relative !important;
}

/* Figure images */
figure {
  margin: 0;
}

figure img {
  max-width: 100%;
  height: auto;
}

/* Unicons (icon font fallback) */
.uil {
  font-family: 'unicons', sans-serif;
  font-style: normal;
  font-weight: normal;
}

.uil-check::before {
  content: '✓';
}

.uil-star::before {
  content: '★';
}

.uil-linkedin::before {
  content: 'in';
}






