/* ========================================
   GLOBAL RESET & FONTS
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Enhanced font loading with fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Define font stacks with proper fallbacks */
:root {
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html, body {
  font-family: var(--font-body);
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Ensure consistent font rendering across devices and servers */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Force font loading optimization for live deployment */
  font-display: swap;
  /* Prevent layout shift during font loading */
  font-variation-settings: normal;
}

/* CRITICAL: Prevent font switching during live deployment */
.fonts-loading {
  visibility: hidden;
}

.fonts-loaded, .no-js {
  visibility: visible;
}

/* Mobile font consistency fixes */
@media (max-width: 768px) {
  /* Ensure all text uses consistent fonts on mobile */
  * {
    font-family: inherit !important;
  }
  
  /* Force specific elements to use correct fonts on mobile */
  h1, h2, h3, .hero-heading-desktop, .hero-heading-mobile {
    font-family: var(--font-primary) !important;
  }
  
  p, span, div, .hero-description {
    font-family: var(--font-body) !important;
  }
  
  /* Navigation elements on mobile */
  .mobile-menu-link, .nav-link {
    font-family: var(--font-primary) !important;
  }
  
  /* UNIFIED MOBILE CAPTION HEIGHTS - Consistent across all pages */
  
  /* Main Section Captions (h2) - Large captions like "THIS ISN'T JUST WORK. IT'S LEGACY." */
  h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
  }
  
  /* Section Sub-Captions (h3) - Medium captions like "More than a Jobsite" */
  h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
  }
  
  /* Small Captions (h4) - Small labels like "Others-Minded" */
  h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
  }
  
  /* Hero Page Captions (h1) - Page titles */
  h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3rem !important;
    line-height: 1.1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
  }
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  /* Colors */
  --color-primary: #b7324c;
  --color-primary-hover: #d63e5c;
  --color-accent: #ff9e80;
  --color-footer: #3a1a22;
  --color-dark: #1a1a1a;
  --color-text: #1e293b;
  --color-text-light: #cbd5e1;
  --color-bg-cream: #f5f0e8;
  --color-link-hover: #f1681d;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --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 4px 12px rgba(0,0,0,0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Typography */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   NAVBAR
======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: all var(--transition-normal);
  height: 80px; /* Reduced from 1.5in for better proportions */
  display: flex;
  align-items: center;
}

#navbar.scrolled {
  background: var(--color-dark);
  box-shadow: var(--shadow-lg);
  height: 60px; /* Reduced from 1in for better proportions */
}

.navbar-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  height: 60%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Desktop logo - visible on desktop, hidden on mobile */
.desktop-logo {
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  .desktop-logo {
    display: none !important;
  }
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  height: 100%;
  margin: 0 auto; /* Center the nav links */
}

.nav-link {
  color: white !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition-normal);
  cursor: pointer;
  padding: 8px 16px; /* Reduced padding for better centering */
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link::after,
.dropdown-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-accent);
  transition: all var(--transition-normal);
  transform-origin: left;
}

.nav-link:hover::after,
.dropdown-item:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: rgba(26, 26, 26, 0.98);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2px;
  padding: var(--spacing-xs) 0;
  margin-top: var(--spacing-xs);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  padding: var(--spacing-md) var(--spacing-lg);
  color: white !important;
  display: block;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: color var(--transition-normal), background-color var(--transition-fast);
  position: relative;
}

.dropdown-item:hover {
  background-color: rgba(183, 50, 76, 0.1);
  color: var(--color-accent);
}

.btn-contact {
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-md) var(--spacing-xl);
  text-decoration: none;
  border-radius: 2px;
  text-transform: uppercase;
  transition: background-color var(--transition-normal), transform var(--transition-fast);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-left: auto; /* Push to the right */
}

.btn-contact:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* --- Fix: Hide Contact Us button on mobile, show only on desktop --- */
@media (max-width: 900px) {
  .btn-contact {
    display: none !important;
  }
}
@media (min-width: 901px) {
  .btn-contact {
    display: inline-block !important;
  }
}

/* ========================================
   HERO SECTION
======================================== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

#hero .content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 800px;
  padding: 0 var(--spacing-xl);
}

#hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 2px;
  text-transform: uppercase;
}

#hero p {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-spacer {
  height: 100vh;
  width: 100%;
}

/* ========================================
   PARALLAX HERO SECTION
======================================== */
.parallax-hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  left: 0;
  right: 0;
  height: calc(75vh + 2.5in);
  overflow: hidden;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  will-change: transform;
  z-index: -1;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, 0, 0);
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.hero-content {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  padding: 60px 20px 0 20px;
  z-index: 3;
  margin-top: -56px;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: #fff;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}

.hero-cta-btn {
  background-color: #f1681d;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 2px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(241, 104, 29, 0.3);
}

.hero-cta-btn:hover {
  background-color: #d55a18;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(241, 104, 29, 0.4);
}

/* Mobile responsive styles for parallax hero */
@media (max-width: 768px) {
  .parallax-hero {
    height: calc(65vh + 2in) !important;
  }
  
  .hero-content h1 {
    font-size: 3rem !important;
    margin-bottom: 15px !important;
  }
  
  .hero-content p {
    font-size: 1.1rem !important;
    margin-bottom: 25px !important;
  }
  
  /* Mobile styling for Charlotte's trusted experts text */
  .hero-description {
    font-size: 1.3rem !important;
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3) !important;
    font-weight: 500 !important;
  }
  
  .hero-cta-btn {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }

  /* Make all "Start Your Project" buttons wider on mobile to match index page */
  .hero-content a[href="contact.html"] {
    width: 90% !important;
    max-width: 400px !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .parallax-hero {
    height: calc(60vh + 1.5in) !important;
  }
  
  .hero-content h1 {
    font-size: 2.5rem !important;
  }
  
  .hero-content {
    padding: 40px 15px 0 15px !important;
  }
}

/* ========================================
   FOOTER
======================================== */
/* ========================================
   SECTION & FOOTER GAP ELIMINATION
======================================== */
/* Fix image baseline issues */
section img {
  display: block;
  width: 100%;
}

/* Prevent margin collapse on sections and eliminate all gaps */
section {
  display: flow-root; /* Creates new block formatting context */
  margin-bottom: 0 !important; /* Force zero bottom margin */
}

/* Zero out first-child margin-top to prevent gaps */
section > *:first-child {
  margin-top: 0 !important;
}

/* Zero out last-child margin-bottom to prevent gaps */
section > *:last-child {
  margin-bottom: 0 !important;
}

/* Ensure footer connects seamlessly */
.sexy-footer {
  display: flow-root; /* Prevents margin collapse */
  background-color: #3a1a22;
  color: #cbd5e1;
  font-family: 'Helvetica Neue', sans-serif;
  padding: 30px 20px 20px; /* Restored some top padding for content breathing room */
  text-align: center;
  margin-top: 0 !important; /* Force zero top margin */
}

/* Force elimination of any gaps immediately before footer */
section + .sexy-footer,
div + .sexy-footer,
* + .sexy-footer {
  margin-top: 0 !important;
}

/* Ensure elements immediately before footer have no bottom margin */
.sexy-footer::before {
  content: '';
  display: block;
  margin-bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 80px;
  height: auto;
}

.footer-link-columns {
  display: flex;
  gap: 40px;
  margin-top: 10px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-col a {
  color: #cbd5e1;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-link-col a:hover {
  color: #f1681d;
}

.footer-line {
  border: none;
  border-top: 1px solid #cbd5e15e;
  margin: 30px 0;
}

.footer-address-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-address-left,
.footer-address-right {
  font-size: 14px;
  color: #cbd5e1;
}

.footer-bench {
  font-weight: normal;
  display: block;
}

.footer-proud {
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.1;
}

.footer-socials a {
  color: #cbd5e1;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #f1681d;
}

.footer-about-link {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

.footer-about-link:hover {
  color: #f1681d;
}

.footer-copyright {
  margin-top: 15px;
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
}

.footer-nav {
  margin: 15px 0;
}

@media (max-width: 700px) {
  .footer-address-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  
  .footer-address-left,
  .footer-address-right {
    text-align: center;
  }
  
  .footer-address-right {
    margin-top: 0;
  }
  
  /* Better mobile spacing */
  .footer-link-columns {
    gap: 30px;
    margin-top: 15px;
  }
  
  .footer-link-col {
    gap: 12px;
  }
  
  .footer-link-col a {
    font-size: 15px;
    padding: 5px 0;
  }
  
  /* Social icons spacing */
  .footer-socials {
    margin: 25px 0;
  }
  
  .footer-socials a {
    margin: 0 15px;
    font-size: 20px;
  }
  
  /* Copyright styling */
  .footer-copyright {
    margin-top: 20px;
    font-size: 13px;
    color: #9ca3af;
  }
  
  /* About link spacing */
  .footer-nav {
    margin: 20px 0 10px 0;
  }
  
  .footer-about-link {
    font-size: 13px;
    letter-spacing: 1.2px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .sexy-footer {
    padding: 40px 15px 15px;
  }
  
  .footer-link-columns {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .footer-link-col {
    text-align: center;
    gap: 10px;
  }
  
  .footer-link-col a {
    font-size: 14px;
  }
  
  .footer-socials a {
    margin: 0 12px;
    font-size: 22px;
  }
  
  .footer-address-left,
  .footer-address-right {
    font-size: 13px;
  }
}

/* --- Fix: Mobile menu links visibility and animation (copied from mission.html) --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
  width: 100%;
  margin-top: -80px;
}

/* Mobile Menu Logo Styling - Hidden */
.mobile-menu-logo {
  display: none !important;
}

/* Mobile Menu Top Logo Styling */
.mobile-menu-logo-top {
  margin-bottom: 30px;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open .mobile-menu-logo-top {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.mobile-menu-logo-top img {
  height: 100px !important;
  width: auto !important;
  filter: brightness(1.1);
  display: block;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-menu-logo-top a {
  display: block;
  text-decoration: none;
}

.mobile-menu-logo-top img:hover {
  transform: scale(1.05);
}
.mobile-menu-link {
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 0;
  margin: 6px 0;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
.mobile-menu.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff9e80, transparent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.mobile-menu-link:hover::after,
.mobile-menu-link:focus::after {
  width: 100%;
}
.mobile-menu-link:hover,
.mobile-menu-link:focus {
  color: #ff9e80;
  transform: scale(1.05);
}

/* Mobile Menu Contact Button - Orange Box Styling (Universal) */
.mobile-menu-link[href="contact.html"] {
  background-color: #f1681d !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 16px 48px !important;
  margin: 20px 0 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(241, 104, 29, 0.3) !important;
  transition: all 0.3s ease !important;
  max-width: 280px !important;
  text-align: center !important;
  font-size: 1.1rem !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.mobile-menu-link[href="contact.html"]:hover,
.mobile-menu-link[href="contact.html"]:focus {
  background-color: #d55a18 !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 16px rgba(241, 104, 29, 0.4) !important;
}

.mobile-menu-link[href="contact.html"]::after {
  display: none !important; /* Remove the underline effect for the button */
}

/* You can add more section-specific styles here as needed */

/* ========================================
   UNIVERSAL SCROLL DOWN ARROW
======================================== */
/* Scroll Down Arrow */
.scroll-down-arrow {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
  animation: fadeInUp 2s ease-out 1s both, bounce 2s infinite 3s;
}

.scroll-down-arrow:hover {
  transform: translateX(-50%) translateY(-2px);
}

.scroll-down-arrow svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile adjustments for scroll arrow */
@media (max-width: 768px) {
  .scroll-down-arrow {
    bottom: 120px !important; /* Raised higher on mobile */
  }
}

@media (max-width: 480px) {
  .scroll-down-arrow {
    bottom: 100px !important; /* Raised higher on smaller mobile screens */
  }
}

/* === Premium Typography: Montserrat & Poppins === */
h1, h2, h3, .section-title, .main-heading, .expertise-heading, .hero-heading-desktop, .hero-heading-mobile {
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
}

body, p, span, li, .description, .expertise-desc, .hero-content {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

/* Navigation and buttons use consistent fonts */
.nav-link, .btn-contact, .mobile-menu-link, .navbar-container, .dropdown-item {
  font-family: var(--font-primary) !important;
  font-weight: 500 !important;
}

/* Ensure buttons maintain consistent fonts */
.hero-estimate-btn, .hero-cta-btn, .cta-button, .btn-expertise, .mobile-sticky-btn {
  font-family: var(--font-primary) !important;
  font-weight: 600 !important;
}

/* Mobile menu font consistency */
.mobile-menu-content, .mobile-menu-link {
  font-family: var(--font-primary) !important;
}

/* Footer fonts */
.sexy-footer, .footer-container {
  font-family: var(--font-body) !important;
}

.expertise-desc {
  font-size: 0.85rem;
}

/* Force consistency on all text elements */
.testimonial-text, .testimonial-author, .client-image-placeholder {
  font-family: var(--font-body) !important;
}

/* Section headings */
.section-label, .label-line h4 {
  font-family: var(--font-primary) !important;
  font-weight: 600 !important;
}

/* ========================================
   UNIVERSAL NAVIGATION & HEADER STYLES
   (Applied to all pages)
======================================== */

/* Top Header Strip */
.top-header-strip {
    background-color: #3a1a22;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    padding: 2px 0;
}

.header-strip-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    padding: 0 20px;
}

/* Override existing navbar with universal styles */
#navbar {
    position: fixed !important;
    top: 18px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    backdrop-filter: none !important;
    height: auto !important;
}

#navbar.scrolled {
    background: #f5f0e8 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(10px) !important;
}

.navbar-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    transition: all 0.3s ease !important;
}

.mobile-navbar-top {
    display: none !important;
}

/* Universal Logo Styles */
.logo {
    height: 70px !important;
    transition: all 0.3s ease !important;
}

.logo img {
    height: 100px !important; /* Reduced from 120px to 100px */
    min-height: 100px !important;
    max-height: none !important;
    width: auto !important;
    object-fit: contain !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    max-width: none !important;
}

/* Universal Navigation Links */
.nav-links {
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
}

/* Duplicate .nav-link styles removed - using universal white text from above */

.nav-link:hover {
    color: #f1681d !important;
}

#navbar.scrolled .nav-link {
    color: #1a1a1a !important;
}

#navbar.scrolled .btn-contact {
    color: white !important;
}

/* Universal Dropdown Styles */
.dropdown {
    position: relative !important;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
    padding: 0.5rem 0 !important;
    min-width: 180px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1001 !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-item {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #f1681d !important;
}

#navbar.scrolled .dropdown-item {
    color: #1a1a1a !important;
}

#navbar.scrolled .dropdown-item:hover {
    color: #f1681d !important;
}

/* Universal Contact Button */
.btn-contact {
    background-color: #f1681d !important;
    color: white !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    border: none !important;
    position: absolute !important;
    right: 2rem !important;
}

.btn-contact:hover {
    background-color: #d4541a !important;
    transform: translateY(-2px) !important;
}

/* Universal Hamburger Menu */
.hamburger {
    display: none !important;
    position: relative !important;
    width: 32px !important;
    height: 24px !important;
    cursor: pointer !important;
    z-index: 2100 !important;
    background: transparent !important;
    border: none !important;
}

.hamburger-bar {
    position: absolute !important;
    left: 0 !important;
    width: 32px !important;
    height: 2px !important;
    background: #1a1a1a !important;
    border-radius: 1px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transform-origin: center !important;
}

.hamburger-bar:nth-child(1) {
    top: 0 !important;
}

.hamburger-bar:nth-child(2) {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.hamburger-bar:nth-child(3) {
    bottom: 0 !important;
}

/* Universal Hamburger Animation */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) !important;
    top: 50% !important;
    margin-top: -1px !important;
    background: #ffffff !important;
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) !important;
    bottom: 50% !important;
    margin-bottom: -1px !important;
    background: #ffffff !important;
}

/* Universal Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 2000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Universal Mobile Menu */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #3a1a22 0%, #2d1419 100%) !important;
    z-index: 2001 !important;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    overflow-y: auto !important;
}

.mobile-menu.open {
    right: 0 !important;
}

.mobile-menu-content {
    padding: 80px 0 60px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 300px !important;
    width: 100% !important;
    margin-top: -60px !important;
}

.mobile-menu-link {
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 18px 0 !important;
    margin: 6px 0 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    transform: translateY(30px) !important;
    display: block !important;
}

.mobile-menu.open .mobile-menu-link {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s !important; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s !important; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s !important; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s !important; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s !important; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: 0.35s !important; }

.mobile-menu-link:hover {
    color: #f1681d !important;
    transform: translateX(10px) !important;
}

/* Universal Mobile Menu Open States */
body.menu-open .top-header-strip {
    display: block !important;
    padding: 15px 0 !important;
}

body.menu-open .header-strip-content {
    display: none !important;
}

body.menu-open .hamburger.active .hamburger-bar:nth-child(1),
body.menu-open .hamburger.active .hamburger-bar:nth-child(3) {
    background: #ffffff !important;
}

body.menu-open .logo {
    display: none !important;
}

body.menu-open .footer-logo img {
    width: 120px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.menu-open .mobile-navbar-top {
    z-index: 10002 !important;
    justify-content: flex-end !important;
}

/* Universal Mobile Responsive */
@media (max-width: 900px) {
    #navbar {
        background: #f5f0e8 !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    #navbar.scrolled {
        background: #f5f0e8 !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.15) !important;
    }

    .mobile-navbar-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 70px !important; /* Reduced from 100px for better proportions */
        max-height: 70px !important; /* Reduced from 100px for better proportions */
        height: 70px !important; /* Reduced from 100px for better proportions */
        padding: 0 5px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .nav-links, .btn-contact, .mobile-call-button {
        display: none !important;
    }

    .hamburger {
        display: block !important;
    }

    .logo {
        height: 50px !important; /* Reduced to match mobile navbar height */
    }

    .logo img {
        height: 65px !important; /* Proportionally reduced */
        width: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 768px) {
    .top-header-strip {
        padding: 3px 0 !important;
    }
    
    .header-strip-content {
        font-size: 12px !important;
        padding: 0 15px !important;
    }
    
    #navbar {
        top: 18px !important;
    }

    .logo {
        height: 70px !important; /* Adjusted to match new mobile navbar height */
        min-height: 70px !important; /* Adjusted to match new mobile navbar height */
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        object-fit: contain !important;
        transform: scale(1) !important;
    }

    .logo img {
        height: 70px !important; /* Adjusted to match new mobile navbar height */
        width: auto !important;
        object-fit: contain !important;
    }
}

/* ========================================
   UNIVERSAL FOOTER STYLES OVERRIDE
======================================== */
.sexy-footer {
    background-color: #3a1a22 !important;
    color: #cbd5e1 !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    margin-top: 10px !important;
    padding: 60px 20px 20px !important;
    text-align: center !important;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.footer-logo-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

.footer-logo img {
    width: 220px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    min-width: 220px !important;
}

.footer-logo {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.footer-link-columns {
    display: flex !important;
    gap: 40px !important;
    margin-top: 10px !important;
}

.footer-link-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.footer-link-col a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
}

.footer-link-col a:hover {
    color: #f1681d !important;
}

.footer-line {
    border: none !important;
    border-top: 1px solid #cbd5e15e !important;
    margin: 30px 0 !important;
}

.footer-address-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    text-align: left !important;
}

.footer-address-left {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    text-align: left !important;
}

.footer-address-right {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    text-align: right !important;
    font-weight: normal !important;
    line-height: 1.1 !important;
}

.footer-bench {
    font-weight: 700 !important;
    text-transform: none !important;
    display: block !important;
    font-size: 14px !important;
}

.footer-proud {
    font-weight: normal !important;
    text-transform: none !important;
    display: block !important;
    font-size: 14px !important;
}

.footer-socials {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.footer-socials a {
    color: #cbd5e1 !important;
    font-size: 20px !important;
    transition: color 0.3s ease !important;
}

.footer-socials a:hover {
    color: #f1681d !important;
}

.footer-nav {
    margin-bottom: 20px !important;
}

.footer-about-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
}

.footer-about-link:hover {
    color: #f1681d !important;
}

.footer-copyright {
    color: #8b5c5c !important;
    font-size: 12px !important;
    margin-top: 20px !important;
}

@media (max-width: 768px) {
    .footer-link-columns {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .footer-address-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .footer-address-left,
    .footer-address-right {
        text-align: center !important;
    }
}

/* Mobile Sticky Bottom Navbar */
body.menu-open .mobile-sticky-bar {
    display: none !important;
}

/* Menu Open State - Hide top header content and keep sticky navbar hidden */
body.menu-open .top-header-strip {
    display: block !important; /* Keep the strip visible */
    padding: 15px 0 !important; /* Make the strip taller to fill empty space */
}

body.menu-open .header-strip-content {
    display: none !important; /* Hide only the text content */
}

.mobile-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #3a1a22 !important; /* Same as footer background */
    padding: 10px 16px 10px 16px !important; /* REDUCED from 16px top/bottom to 10px */
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; /* REDUCED safe area padding */
    display: none !important; /* Hidden by default */
    z-index: 1000 !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2) !important;
}

.mobile-sticky-trust {
    color: white !important;
    font-size: 16px !important; /* Reduced from 17.6px */
    font-weight: 500 !important;
    text-align: center !important;
    margin-bottom: 6px !important; /* Reduced from 8px */
    line-height: 1.2 !important;
    opacity: 0.95 !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 8px !important;
}

.mobile-sticky-buttons {
    display: flex !important;
    gap: 12px !important;
    max-width: 100% !important;
}

.mobile-sticky-btn {
    flex: 1 !important;
    padding: 10px 20px !important; /* Reduced from 14px vertical padding to 10px */
    border: none !important;
    border-radius: 25px !important; /* Pill shape */
    font-weight: 700 !important;
    font-size: 13px !important; /* Slightly smaller font size */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: block !important;
}

.mobile-sticky-quote {
    background-color: #f5f0e8 !important; /* Stucco cream */
    color: #d32f2f !important; /* Red text */
    border: 2px solid #f1681d !important; /* Orange outline */
}

.mobile-sticky-quote:hover {
    background-color: #f5f0e8 !important; /* Keep stucco cream instead of white */
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(241, 104, 29, 0.2) !important;
}

.mobile-sticky-call {
    background-color: #f1681d !important; /* Solid orange */
    color: white !important;
    border: 2px solid #f1681d !important;
}

.mobile-sticky-call:hover {
    background-color: #d55a18 !important;
    border-color: #d55a18 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(241, 104, 29, 0.3) !important;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: block !important;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 65px !important; /* Reduced from 80px to account for smaller navbar */
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}
