/*--------------------------------------------
  1) SLIM TOP BAR: force Deep Blue everywhere - FIXED
---------------------------------------------*/
#luna-top-bar {
  background-color: #014575 !important;  /* Deep Blue */
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1;
  padding: 4px 0;
  border-bottom: none !important;        /* remove any bottom border on top bar */
}
#luna-top-bar .luna-top-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-wrap: nowrap; /* Prevent wrapping */
}

/* LEFT SIDE: Phone/Email - prevent from taking too much space */
#luna-top-bar .luna-top-bar__left {
  display: flex;
  align-items: center;
  flex-shrink: 1; /* Allow shrinking if needed */
  min-width: 0; /* Allow content to shrink below natural size */
}

/* Phone/Email on left: pure white + full opacity */
#luna-top-bar .luna-top-bar__left span,
#luna-top-bar .luna-top-bar__left a,
#luna-top-bar .luna-top-bar__left i.dashicons {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-decoration: none;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Slightly larger icons/text for readability */
#luna-top-bar .luna-top-bar__left i.dashicons {
  font-size: 18px;
  margin-right: 8px;
}
#luna-top-bar .luna-top-bar__left a {
  font-size: 15px;
  font-weight: 500;
}

/* RIGHT SIDE: Social icons only */
#luna-top-bar .luna-top-bar__right {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* Don't shrink the social icons area */
}

/* Social icons: white by default, light gray on hover */
#luna-top-bar .luna-top-bar__social {
  display: flex;
  align-items: center;
  gap: 12px; /* Consistent spacing between social icons */
}

#luna-top-bar .luna-top-bar__social a {
  color: #FFFFFF;
  font-size: 18px;
  text-decoration: none;
  margin: 0; /* Remove margin, use gap instead */
}

#luna-top-bar .luna-top-bar__social a:hover {
  color: #E0E0E0;
}

/* RESPONSIVE: On smaller screens, hide social icons to make room for button */
@media (max-width: 768px) {
  #luna-top-bar .luna-top-bar__social {
    display: none; /* Hide social icons on mobile to preserve button */
  }
  
  #luna-top-bar .luna-top-bar__left span,
  #luna-top-bar .luna-top-bar__left a {
    font-size: 13px; /* Slightly smaller text on mobile */
    margin-right: 12px; /* Reduce spacing */
  }
}

@media (max-width: 480px) {
  #luna-top-bar .luna-top-bar__inner {
    padding: 0 8px; /* Reduce padding on very small screens */
  }
  
  #luna-top-bar .luna-top-bar__button {
    padding: 4px 8px; /* Smaller button padding */
    font-size: 13px; /* Smaller button text */
  }
}

/*--------------------------------------------
  2) MAIN HEADER: Clean Deep Blue Background + Get a Quote Button
---------------------------------------------*/
/* Make the entire header deep blue with no gaps */
.site-header {
  background-color: #014575 !important;  /* Deep Blue background */
  border-bottom: 100px solid #D3D3D3 !important;  /* Gray separator line */
  margin-top: 0px !important;            /* Remove gap between top bar and header */
}

.site-header .main-header-bar {
  background-color: #014575 !important;  /* Deep Blue background */
  border: none !important;               /* Remove any borders */
}

.site-header .ast-builder-layout-element.site-navigation,
.site-header .main-header-bar .ast-container {
  background-color: #014575 !important;  /* Deep Blue background */
}

/* Remove any pseudo-elements that might create gaps */
.site-header .main-header-bar::before,
.site-header .main-header-bar::after,
.site-header .ast-builder-layout-element.site-navigation::before,
.site-header .ast-builder-layout-element.site-navigation::after {
  display: none !important;
}

/* STYLE THE HEADER "GET A QUOTE" BUTTON - CORRECT SELECTOR */
.ast-custom-button {
  background: #FFFFFF !important;
  color: #014575 !important;
  border: 2px solid #FFFFFF !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.ast-custom-button:hover {
  background: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

/*--------------------------------------------
  3) MENU LINKS STYLING - Desktop & Mobile
---------------------------------------------*/
/* DESKTOP MENU STYLING */
/* Remove all hover effects - keep original colors */
.main-header-bar .main-header-menu li a:hover,
.main-header-bar .main-header-menu li a:focus {
  color: #FFFFFF !important;           /* Keep white text on hover */
  background: transparent !important;   /* No background on hover */
}

/* Active/current page link: steel blue text */
.main-header-bar .main-header-menu .current-menu-item > a,
.main-header-bar .main-header-menu .current-menu-ancestor > a {
  color: #4682B4 !important;           /* Steel Blue text for active page */
  background: transparent !important;   /* Ensure no background */
}

/* Active items should stay steel blue even on hover */
.main-header-bar .main-header-menu .current-menu-item > a:hover,
.main-header-bar .main-header-menu .current-menu-ancestor > a:hover {
  color: #4682B4 !important;           /* Keep steel blue on hover for active items */
  background: transparent !important;
}

/* MOBILE MENU STYLING */
/* Mobile toggle menu items */
.ast-mobile-menu-buttons .main-header-menu li a,
.ast-mobile-popup-content .main-header-menu li a,
.ast-mobile-popup-drawer .main-header-menu li a {
  color: #FFFFFF !important;
  background: transparent !important;
  padding: 12px 16px !important;       /* Slightly more padding on mobile for touch */
}

/* Mobile menu hover states - remove effects */
.ast-mobile-menu-buttons .main-header-menu li a:hover,
.ast-mobile-popup-content .main-header-menu li a:hover,
.ast-mobile-popup-drawer .main-header-menu li a:hover,
.ast-mobile-menu-buttons .main-header-menu li a:focus,
.ast-mobile-popup-content .main-header-menu li a:focus,
.ast-mobile-popup-drawer .main-header-menu li a:focus {
  color: #FFFFFF !important;
  background: transparent !important;
}

/* Mobile menu active states */
.ast-mobile-menu-buttons .main-header-menu .current-menu-item > a,
.ast-mobile-popup-content .main-header-menu .current-menu-item > a,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > a,
.ast-mobile-menu-buttons .main-header-menu .current-menu-ancestor > a,
.ast-mobile-popup-content .main-header-menu .current-menu-ancestor > a,
.ast-mobile-popup-drawer .main-header-menu .current-menu-ancestor > a {
  color: #4682B4 !important;
  background: transparent !important;
}

/* Mobile hamburger menu background */
.ast-mobile-popup-content,
.ast-mobile-popup-drawer {
  background-color: #014575 !important; /* Same deep blue as header */
}

/* TABLET RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  /* Ensure menu items have enough touch target size */
  .main-header-bar .main-header-menu li a {
    padding: 10px 14px !important;
    min-height: 44px !important;        /* Apple's recommended touch target */
    display: flex !important;
    align-items: center !important;
  }
}

/* MOBILE RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  /* Mobile menu items larger touch targets */
  .main-header-bar .main-header-menu li a,
  .ast-mobile-menu-buttons .main-header-menu li a,
  .ast-mobile-popup-content .main-header-menu li a {
    padding: 14px 16px !important;
    font-size: 16px !important;         /* Prevent zoom on iOS */
    min-height: 48px !important;
  }
  
  /* Ensure mobile menu is full width */
  .ast-mobile-popup-content .main-header-menu,
  .ast-mobile-popup-drawer .main-header-menu {
    width: 100% !important;
  }
}

/*--------------------------------------------
  4) REMOVE ALL GAPS AND BORDERS
---------------------------------------------*/
/* Ensure no gaps between elements */
html body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove any spacing that might create white gaps */
.site-header,
.site-header .main-header-bar,
.site-header .ast-builder-layout-element.site-navigation {
  margin: 0 !important;
  border: none !important;
}

/* Handle WordPress admin bar if present */
html body.admin-bar .site-header {
  top: 0 !important;
}

/*--------------------------------------------
  5) GENERAL FORMS STYLING - EXCLUDE LUNA CONTACT FORM
---------------------------------------------*/
/* Center and constrain WPForms - BUT NOT Luna contact form */
.wpforms-form-container:not(.luna-contact-form .wpforms-form-container) {
  max-width: 600px;
  margin: 40px auto 80px;
}

/* Style general WPForms inputs/dropdowns - BUT NOT Luna contact form or calculator */
.wpforms-container:not(.luna-contact-form .wpforms-container) .wpforms-form input[type="text"]:not([id*="luna-freight"]),
.wpforms-container:not(.luna-contact-form .wpforms-container) .wpforms-form input[type="number"]:not([id*="luna-freight"]),
.wpforms-container:not(.luna-contact-form .wpforms-container) .wpforms-form input[type="email"]:not([id*="luna-freight"]),
.wpforms-container:not(.luna-contact-form .wpforms-container) .wpforms-form textarea:not([id*="luna-freight"]),
.wpforms-container:not(.luna-contact-form .wpforms-container) .wpforms-form select:not([id*="luna-freight"]) {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 16px;
}

/* Style general submit buttons - BUT NOT Luna contact form */
.wpforms-form:not(.luna-contact-form .wpforms-form) .wpforms-submit {
  background-color: #014575; /* Deep Blue */
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.wpforms-form:not(.luna-contact-form .wpforms-form) .wpforms-submit:hover {
  background-color: #013859; /* Darker on hover */
}

/*--------------------------------------------
  FREIGHT CALCULATOR DROPDOWN FIX - COMPLETE OVERRIDE
---------------------------------------------*/
/* Force the dropdown to display properly */
#luna-freight-calculator select,
#luna-freight-calculator .form-group select,
#load_type {
  width: 100% !important;
  height: 52px !important;
  padding: 12px 16px !important;
  padding-right: 40px !important;
  border: 2px solid #e0e6ed !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  background-color: white !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 12px center !important;
  background-repeat: no-repeat !important;
  background-size: 16px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

/* Focus state */
#luna-freight-calculator select:focus,
#load_type:focus {
  outline: none !important;
  border-color: #014575 !important;
  box-shadow: 0 0 0 3px rgba(1, 69, 117, 0.1) !important;
}

/* Options styling */
#luna-freight-calculator select option,
#load_type option {
  padding: 10px !important;
  background: white !important;
  color: #333 !important;
  font-size: 16px !important;
}

/*--------------------------------------------
  6) HERO SECTION STYLING
---------------------------------------------*/
/* target only our hero Cover */
.hero-cover .wp-block-cover__inner-container {
  display: flex;            
  flex-direction: column;   
  align-items: center;      
  gap: 0;                   
  justify-content: center;     /* Keep it centered */
  transform: translateY(-80px); /* Pull the whole section up */
}

/* Pull the button much closer to the text */
.hero-cover .wp-block-button {
  margin-top: 10px !important;     /* Negative margin pulls it up closer */
  margin-bottom: 0 !important;
}

/* Style the button to match Iron Peak's design */
.hero-cover .wp-block-button__link {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.hero-cover .wp-block-button__link:hover {
  background-color: #FFFFFF !important;
  color: #014575 !important;
}

/*--------------------------------------------
  ENHANCED TEAM SECTION STYLING - FIXED
---------------------------------------------*/

/* Team section container */
.team-section .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 0 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual team member column - FIXED HEIGHT AND LAYOUT */
.team-section .wp-block-column {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #F0F0F0;
  position: relative;
  overflow: visible; /* Changed from hidden to visible */
  min-height: 400px; /* Set a minimum height instead of aspect ratio */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Changed to flex-start for better content flow */
  align-items: center;
}

/* Subtle hover effect */
.team-section .wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Add a subtle accent line at the top */
.team-section .wp-block-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #014575, #4682B4);
}

/* Team member image styling */
.team-section .wp-block-column img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 1rem auto 1.5rem;
  border: 3px solid #F8F9FA;
  box-shadow: 0 4px 15px rgba(1, 69, 117, 0.15);
  flex-shrink: 0; /* Prevent image from shrinking */
}

/* Name styling */
.team-section .wp-block-column h3 {
  color: #014575;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  flex-shrink: 0; /* Prevent name from shrinking */
}

/* Title/position styling */
.team-section .wp-block-column h3 + p {
  color: #4682B4;
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  flex-shrink: 0; /* Prevent title from shrinking */
}

/* Bio text styling */
.team-section .wp-block-column p:last-child {
  color: #666666;
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1; /* Allow bio to take remaining space */
  display: flex;
  align-items: flex-start; /* Align text to top instead of center */
  text-align: left; /* Left align for better readability */
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-section .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .team-section .wp-block-column {
    padding: 2rem 1.5rem;
    min-height: 350px; /* Slightly smaller minimum height on mobile */
  }
  
  .team-section .wp-block-column h3 {
    font-size: 1.4rem;
  }
  
  .team-section .wp-block-column img {
    width: 90px;
    height: 90px;
  }
  
  .team-section .wp-block-column p:last-child {
    text-align: center; /* Center align on mobile for better appearance */
    align-items: center;
  }
}

@media (max-width: 480px) {
  .team-section .wp-block-columns {
    padding: 0 0.5rem;
  }
  
  .team-section .wp-block-column {
    padding: 1.5rem 1rem;
    min-height: 320px;
  }
}

/*--------------------------------------------
  ENHANCED GET A QUOTE BUTTON STYLING
---------------------------------------------*/

/* Clean outlined button style - but NOT for hero section */
.wp-block-button:not(.hero-cover .wp-block-button) .wp-block-button__link {
  background: transparent !important;
  color: #014575 !important;
  border: 2px solid #014575 !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 200px !important;
  text-align: center !important;
}

/* Hover effect - fills with blue background (but NOT for hero) */
.wp-block-button:not(.hero-cover .wp-block-button) .wp-block-button__link:hover {
  background: #014575 !important;
  color: #FFFFFF !important;
  border-color: #014575 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Alternative filled button style (if you want both options) */
.wp-block-button.is-style-fill .wp-block-button__link {
  background: #014575 !important;
  color: #FFFFFF !important;
  border: 2px solid #014575 !important;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: transparent !important;
  color: #014575 !important;
  border-color: #014575 !important;
}

/* Steel Blue variation (add 'steel-blue' class to button block) */
.wp-block-button.steel-blue .wp-block-button__link {
  color: #4682B4 !important;
  border-color: #4682B4 !important;
}

.wp-block-button.steel-blue .wp-block-button__link:hover {
  background: #4682B4 !important;
  color: #FFFFFF !important;
  border-color: #4682B4 !important;
}

/* Ensure buttons look good on mobile (but NOT for hero) */
@media (max-width: 768px) {
  .wp-block-button:not(.hero-cover .wp-block-button) .wp-block-button__link {
    padding: 12px 24px !important;
    font-size: 15px !important;
  }
}

/*--------------------------------------------
  TESTIMONIALS PAGE STYLING - SPECIFIC TARGETING ONLY
---------------------------------------------*/

/* Target ONLY testimonials page content */
body.page .entry-content .testimonial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect for testimonial cards */
body.page .entry-content .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Add accent line at top of each card */
body.page .entry-content .testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #014575, #4682B4);
}

/* Quote text styling */
body.page .entry-content .testimonial-card blockquote p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 1.5rem;
  font-style: italic;
  text-align: left;
  position: relative;
  padding: 0 1rem;
}

/* Add quote marks */
body.page .entry-content .testimonial-card blockquote p::before {
  content: '"';
  font-size: 3rem;
  color: #014575;
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  font-family: Georgia, serif;
  opacity: 0.3;
}

body.page .entry-content .testimonial-card blockquote p::after {
  content: '"';
  font-size: 3rem;
  color: #014575;
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  font-family: Georgia, serif;
  opacity: 0.3;
}

/* Customer name (citation) styling */
body.page .entry-content .testimonial-card cite {
  display: block;
  color: #014575;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Stars paragraph styling - target the paragraph that comes after testimonial cards */
body.page .entry-content .testimonial-card + p {
  text-align: center;
  font-size: 1.5rem;
  margin: -1rem auto 2rem;
  max-width: 800px;
  background: #FFFFFF;
  padding: 0.5rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #F0F0F0;
  border-top: none;
  position: relative;
  top: -1.5rem;
  color: #FFD700; /* Gold color for stars */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Responsive design for testimonials only */
@media (max-width: 768px) {
  body.page .entry-content .testimonial-card {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  body.page .entry-content .testimonial-card blockquote p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  body.page .entry-content .testimonial-card blockquote p::before,
  body.page .entry-content .testimonial-card blockquote p::after {
    font-size: 2rem;
  }
  
  body.page .entry-content .testimonial-card cite {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  body.page .entry-content .testimonial-card {
    padding: 1rem;
    margin: 0.5rem auto;
  }
}

/*--------------------------------------------
  LOGISTICS BLOG PAGE STYLING
---------------------------------------------*/

/* Main blog container */
.logistics-blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Grid layout for blog posts */
.logistics-blog .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  list-style: none !important;
}

/* Individual blog post item */
.logistics-blog .wp-block-post {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect for each post */
.logistics-blog .wp-block-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: #E0E6ED;
}

/* Add subtle accent line at top of each post */
.logistics-blog .wp-block-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #014575, #4682B4);
}

/* Post title styling - FIXED */
.logistics-blog .wp-block-post-title,
.logistics-blog .wp-block-post-title h2,
.logistics-blog .wp-block-post-title h2 a,
.logistics-blog h2.wp-block-post-title,
.logistics-blog h2.wp-block-post-title a {
  color: #014575 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 1rem 0 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.logistics-blog .wp-block-post-title h2 a:hover,
.logistics-blog h2.wp-block-post-title a:hover {
  color: #4682B4 !important;
  text-decoration: none !important;
}
/* Post date styling */
.logistics-blog .wp-block-post-date {
  color: #666666;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logistics-blog .wp-block-post-date time {
  color: #4682B4;
  font-weight: 600;
}

/* Post excerpt styling */
.logistics-blog .wp-block-post-excerpt p {
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more link styling */
.logistics-blog .wp-block-post-excerpt .wp-block-post-excerpt__more-link,
.logistics-blog a[href*="read-more"] {
  color: #014575 !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

.logistics-blog .wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover,
.logistics-blog a[href*="read-more"]:hover {
  color: #4682B4 !important;
  border-bottom-color: #4682B4;
}

/* Meta information container (if you add categories/tags later) */
.logistics-blog .wp-block-post-terms {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F0F0F0;
}

.logistics-blog .wp-block-post-terms a {
  background: #F8F9FA;
  color: #014575;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.logistics-blog .wp-block-post-terms a:hover {
  background: #014575;
  color: #FFFFFF;
}

/* Author info (if displayed) */
.logistics-blog .wp-block-post-author {
  color: #666666;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F0F0F0;
}

.logistics-blog .wp-block-post-author a {
  color: #014575;
  font-weight: 600;
  text-decoration: none;
}

.logistics-blog .wp-block-post-author a:hover {
  color: #4682B4;
}

/* Featured image styling (if you decide to add them later) */
.logistics-blog .wp-block-post-featured-image {
  margin: -2rem -2rem 1.5rem -2rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.logistics-blog .wp-block-post-featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logistics-blog .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.05);
}

/* No posts found message styling */
.logistics-blog .wp-block-query-no-results {
  text-align: center;
  padding: 3rem 2rem;
  background: #F8F9FA;
  border-radius: 12px;
  border: 2px dashed #E0E6ED;
}

.logistics-blog .wp-block-query-no-results h3 {
  color: #014575;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.logistics-blog .wp-block-query-no-results p {
  color: #666666;
  font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .logistics-blog {
    padding: 1.5rem 0.5rem;
  }
  
  .logistics-blog .wp-block-post {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .logistics-blog .wp-block-post-title h2 a,
  .logistics-blog .wp-block-post-title h2 {
    font-size: 1.5rem;
  }
  
  .logistics-blog .wp-block-post-excerpt p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logistics-blog {
    padding: 1rem 0.25rem;
  }
  
  .logistics-blog .wp-block-post {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .logistics-blog .wp-block-post-title h2 a,
  .logistics-blog .wp-block-post-title h2 {
    font-size: 1.3rem;
  }
  
  .logistics-blog .wp-block-post-date {
    font-size: 0.85rem;
  }
}

/*--------------------------------------------
  LUNA LOGISTICS FOOTER STYLING
---------------------------------------------*/

#luna-footer {
  background-color: #014575;
  color: #FFFFFF;
  padding: 0;
  margin-top: 0;
}

/* Main footer container */
.luna-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left column - Logo & Contact */
.luna-footer__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.luna-footer__logo h3 {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  letter-spacing: 1px;
}

.luna-footer__contact p {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.luna-footer__contact i.dashicons {
  margin-right: 0.5rem;
  font-size: 16px;
  color: #4682B4;
}

.luna-footer__contact a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.luna-footer__contact a:hover {
  color: #4682B4;
}

/* SmartWay Logo Styling */
.luna-footer__smartway {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.smartway-logo {
    max-width: 220px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.smartway-logo:hover {
    opacity: 0.8;
}

/* Middle column - Navigation */
.luna-footer__middle {
  display: flex;
  justify-content: center;
}

.luna-footer__nav-column h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.luna-footer__nav-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.luna-footer__nav-column li {
  margin-bottom: 0.5rem;
}

.luna-footer__nav-column a {
  color: #E0E0E0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.luna-footer__nav-column a:hover {
  color: #FFFFFF;
  padding-left: 0.5rem;
}

/* Right column - Services & Social */
.luna-footer__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.luna-footer__services h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.luna-footer__services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.luna-footer__services li {
  color: #E0E0E0;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

/* Social media icons */
.luna-footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.luna-footer__social a {
  color: #FFFFFF;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.luna-footer__social a:hover {
  color: #014575;
  background: #FFFFFF;
  transform: translateY(-2px);
}

/* Bottom copyright bar */
.luna-footer__bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.luna-footer__bottom p {
  margin: 0;
  color: #E0E0E0;
  font-size: 0.9rem;
}

/* Responsive Design - FIXED */
@media (max-width: 1024px) {
  .luna-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .luna-footer__right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .luna-footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .luna-footer__left,
  .luna-footer__middle,
  .luna-footer__right {
    width: 100%;
  }
  
  .luna-footer__logo h3 {
    font-size: 1.5rem;
  }
  
  .luna-footer__social {
    justify-content: flex-start;
  }
  
  .smartway-logo {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .luna-footer__container {
    padding: 1.5rem 1rem;
  }
  
  .luna-footer__contact p {
    font-size: 0.9rem;
  }
  
  .luna-footer__nav-column a,
  .luna-footer__services li {
    font-size: 0.9rem;
  }
}

/* Hide the default Astra footer completely */
.site-footer,
.ast-footer-copyright,
.ast-footer-widget-area,
#colophon {
  display: none !important;
}

/* Force gray divider line below header */
.site-header,
.main-header-bar,
.ast-primary-header {
  border-bottom: 1px solid #999999  !important;
}

/* Make sure it shows above other content */
.site-content,
.ast-container,
main {
  position: relative;
  z-index: 1;
}

/* Why Us Section Styling - Luna Logistics Design */
.why-us-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Individual column styling - matches your team section design */
.why-us-column {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.why-us-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Add Luna's signature accent line at the top */
.why-us-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #014575, #4682B4);
}

/* Icon styling */
.why-us-icon {
    width: 64px;
    height: 64px;
    margin: 1rem auto 1.5rem;
    display: block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.why-us-column:hover .why-us-icon {
    transform: scale(1.05);
}

/* Heading styling - matches Luna brand colors */
.why-us-heading {
    color: #014575; /* Luna Deep Blue */
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Text styling - matches your site's text color */
.why-us-text {
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-us-column {
        margin-bottom: 20px;
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .why-us-heading {
        font-size: 1.4rem;
    }
    
    .why-us-text {
        font-size: 0.95rem;
    }
    
    .why-us-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .why-us-column {
        padding: 1.5rem 1rem;
        min-height: 220px;
    }
    
    .why-us-heading {
        font-size: 1.3rem;
    }
    
    .why-us-icon {
        width: 48px;
        height: 48px;
    }
}

/* Alternative: Card style with subtle borders */
.why-us-column-alt {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-us-column-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-us-column-alt:hover::before {
    transform: scaleX(1);
}

.why-us-column-alt:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
}

/* Icon background circle effect */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.why-us-column:hover .icon-wrapper {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.icon-wrapper img {
    width: 48px;
    height: 48px;
}

/*--------------------------------------------
  LUNA LOGISTICS SERVICES SECTION STYLING - FIXED
---------------------------------------------*/

/* Main "Our Services" heading */
.services-main-heading {
    color: #014575 !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin: 3rem 0 2rem 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    position: relative !important;
}

/* Add Luna's signature accent line under the FULL heading */
.services-main-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #014575, #4682B4);
    border-radius: 2px;
}

/* Services list container */
.services-list {
    margin: 2rem 0 3rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Individual service list items - automatic styling */
.services-list li {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #F0F0F0 !important;
    border-left: 5px solid #4682B4 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    list-style: none !important;
    color: #555555 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.services-list li:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    border-left-color: #014575 !important;
}

/* ONLY style the first strong tag (service title) - not inline strong tags */
.services-list li > strong:first-child {
    color: #014575 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    display: inline !important;
    margin: 0 !important;
}

/* Keep inline strong tags normal (for highlighted terms within text) */
.services-list li strong:not(:first-child) {
    color: #014575 !important;
    font-weight: 600 !important;
    font-size: inherit !important;
    display: inline !important;
    margin: 0 !important;
}

/* "The Luna Advantage" heading - fix the line positioning */
.luna-advantage-heading {
    color: #014575 !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin: 4rem 0 1.5rem 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    position: relative !important;
    display: inline-block !important;
}

/* Fix accent line to appear under the ENTIRE heading */
.luna-advantage-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4682B4, #014575);
    border-radius: 2px;
}

/* Luna Advantage description paragraph */
.service-description {
    color: #555555 !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin: 0 0 2rem 0 !important;
    font-weight: 400 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-main-heading {
        font-size: 2rem !important;
        margin: 2rem 0 1.5rem 0 !important;
    }
    
    .luna-advantage-heading {
        font-size: 1.8rem !important;
        margin: 3rem 0 1rem 0 !important;
    }
    
    .services-list li {
        padding: 1.25rem 1.5rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .services-list li > strong:first-child {
        font-size: 1.2rem !important;
    }
    
    .service-description {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .services-main-heading {
        font-size: 1.8rem !important;
    }
    
    .luna-advantage-heading {
        font-size: 1.6rem !important;
    }
    
    .services-list li {
        padding: 1rem 1.25rem !important;
    }
    
    .services-list li > strong:first-child {
        font-size: 1.1rem !important;
    }
}

/*--------------------------------------------
  HIDE SOCIAL SHARING BUTTONS ON PAGES ONLY
---------------------------------------------*/
/* Hide sharing buttons on pages only, keep on blog posts */
body.page .sharing-buttons,
body.page .jetpack-sharing-buttons,
body.page .sharedaddy,
body.page .sd-sharing,
body.page .social-share,
body.page .addthis_toolbox,
body.page [class*="share"],
body.page [class*="sharing"] {
    display: none !important;
}

/* Make sure they still show on blog posts */
body.single-post .sharing-buttons,
body.single-post .jetpack-sharing-buttons,
body.single-post .sharedaddy {
    display: block !important;
}


/*--------------------------------------------
  LUNA LOGISTICS WELCOME SECTION STYLING - CARDS ONLY
---------------------------------------------*/

/* Welcome section container */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(1, 69, 117, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Welcome section columns */
.welcome-section .wp-block-columns {
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 3rem;
}

/* Left welcome column styling */
.welcome-column {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.welcome-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Welcome column accent line */
.welcome-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #014575, #4682B4);
}

/* Welcome heading styling */
.welcome-column h2 {
    color: #014575;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

/* Welcome text styling */
.welcome-column p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Welcome bullet points */
.welcome-column ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.welcome-column li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: #333333;
    font-size: 1rem;
    font-weight: 500;
}

.welcome-column li::before {
    content: '✓';
    background: #4682B4;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
    border: 2px solid #FFFFFF;
}

/* About and Team cards styling */
.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(1, 69, 117, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #014575;
}

/* Feature card images */
.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

/* Feature card headings */
.feature-card h3 {
    color: #014575;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .welcome-section {
        padding: 60px 0;
    }
    
    .welcome-section .wp-block-columns {
        gap: 2rem;
    }
    
    .welcome-column {
        padding: 2.5rem 2rem;
    }
    
    .welcome-column h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 0;
    }
    
    .welcome-column {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .welcome-column h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-column {
        padding: 1.5rem 1rem;
    }
    
    .welcome-column h2 {
        font-size: 1.8rem;
    }
    
    .welcome-column p {
        font-size: 1rem;
    }
    
    .feature-card img {
        height: 150px;
    }
}

/* Load Board Section Styling - Luna Logistics */
.load-board-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay like your welcome section */
.load-board-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(1, 69, 117, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Load board columns container */
.load-board-section .wp-block-columns {
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 3rem;
}

/* Left column - text content */
.load-board-text-column {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.load-board-text-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Accent line at top - Luna brand colors */
.load-board-text-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #014575, #4682B4);
}

/* Heading styling */
.load-board-text-column h2 {
    color: #014575;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

/* Text styling */
.load-board-text-column p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Button styling within the column */
.load-board-text-column .wp-block-button .wp-block-button__link {
    background: #014575 !important;
    color: #FFFFFF !important;
    border: 2px solid #014575 !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(1, 69, 117, 0.3) !important;
}

.load-board-text-column .wp-block-button .wp-block-button__link:hover {
    background: transparent !important;
    color: #014575 !important;
    border-color: #014575 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(1, 69, 117, 0.4) !important;
}

/* Right column - image/visual */
.load-board-visual-column {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(1, 69, 117, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.load-board-visual-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #014575;
}

/* Image styling in visual column */
.load-board-visual-column img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

.load-board-visual-column:hover img {
    transform: scale(1.05);
}

/* Alternative: Icon-based visual column */
.load-board-icon-column {
    background: linear-gradient(135deg, #014575, #4682B4);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.load-board-icon-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(1, 69, 117, 0.3);
}

.load-board-icon-column .truck-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.load-board-icon-column h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .load-board-section {
        padding: 50px 0;
    }
    
    .load-board-section .wp-block-columns {
        gap: 2rem;
    }
    
    .load-board-text-column {
        padding: 2.5rem 2rem;
    }
    
    .load-board-text-column h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .load-board-section {
        padding: 40px 0;
    }
    
    .load-board-text-column {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .load-board-text-column h2 {
        font-size: 1.8rem;
    }
    
    .load-board-visual-column {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .load-board-icon-column {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .load-board-text-column {
        padding: 1.5rem 1rem;
    }
    
    .load-board-text-column h2 {
        font-size: 1.6rem;
    }
    
    .load-board-text-column p {
        font-size: 1rem;
    }
    
    .load-board-icon-column .truck-icon {
        font-size: 3rem;
    }
}

/*--------------------------------------------
  CARRIER SECTION STYLING - MATCHES DRIVER SECTION
---------------------------------------------*/

/* Carrier section container - matches load-board-section styling */
.carrier-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay like your other sections */
.carrier-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(1, 69, 117, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Carrier columns container */
.carrier-section .wp-block-columns {
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 3rem;
}

/* Left column - text content for carriers */
.carrier-text-column {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.carrier-text-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Accent line at top - Luna brand colors */
.carrier-text-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #014575, #4682B4);
}

/* Carrier heading styling */
.carrier-text-column h2 {
    color: #014575;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

/* Carrier text styling */
.carrier-text-column p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Carrier benefits list styling */
.carrier-text-column ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.carrier-text-column li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: #333333;
    font-size: 1rem;
    font-weight: 500;
}

.carrier-text-column li::before {
    content: '✓';
    background: #4682B4;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
    border: 2px solid #FFFFFF;
}

/* Button styling within the carrier column - MATCHES DRIVER SECTION */
.carrier-visual-column .wp-block-button .wp-block-button__link {
    background: transparent !important;
    color: #014575 !important;
    border: 2px solid #014575 !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 0 !important;  /* Sharp corners like driver section */
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    margin-top: 1.5rem !important;
}

.carrier-visual-column .wp-block-button .wp-block-button__link:hover {
    background: #014575 !important;
    color: #FFFFFF !important;
    border-color: #014575 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Remove any blue background from the image container or button area */
.carrier-visual-column,
.carrier-visual-column .wp-block-button,
.carrier-visual-column .wp-block-image {
    background: #FFFFFF !important;
}

/* Ensure no blue background on any nested elements */
.carrier-visual-column * {
    background-color: transparent !important;
}

/* Override any theme or block styles that might add blue background */
.carrier-visual-column .wp-block-image,
.carrier-visual-column .wp-block-image > div {
    background: transparent !important;
}

/* Right column - carrier visual/image - MATCHES DRIVER SECTION */
.carrier-visual-column {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;  /* Reduced padding to make image larger */
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(1, 69, 117, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carrier-visual-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #014575;
}

/* Image styling in carrier visual column - LARGER SIZE, NO HOVER EFFECT */
.carrier-visual-column img {
    width: 100%;
    max-width: 100%;  /* Changed from 300px to 100% */
    height: 300px;    /* Fixed height to match your design */
    object-fit: cover; /* Ensures image fills the space properly */
    border-radius: 12px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
    /* Removed transition and hover transform */
}

/* REMOVED: No image scaling on hover */

/* Alternative: Carrier icon-based visual column */
.carrier-icon-column {
    background: linear-gradient(135deg, #014575, #4682B4);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.carrier-icon-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(1, 69, 117, 0.3);
}

.carrier-icon-column .handshake-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.carrier-icon-column h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .carrier-section {
        padding: 50px 0;
    }
    
    .carrier-section .wp-block-columns {
        gap: 2rem;
    }
    
    .carrier-text-column {
        padding: 2.5rem 2rem;
    }
    
    .carrier-text-column h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .carrier-section {
        padding: 40px 0;
    }
    
    .carrier-text-column {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .carrier-text-column h2 {
        font-size: 1.8rem;
    }
    
    .carrier-visual-column {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .carrier-icon-column {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .carrier-text-column {
        padding: 1.5rem 1rem;
    }
    
    .carrier-text-column h2 {
        font-size: 1.6rem;
    }
    
    .carrier-text-column p {
        font-size: 1rem;
    }
    
    .carrier-icon-column .handshake-icon {
        font-size: 3rem;
    }
}

/*--------------------------------------------
  LUNA NEWSLETTER POPUP STYLES - SEPARATE FIELDS VERSION
---------------------------------------------*/

/* Luna Newsletter Popup Overlay */
.luna-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.luna-popup-overlay.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1;
}

/* Main Popup Container */
.luna-popup {
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: auto;
}

.luna-popup-overlay.show .luna-popup {
    transform: scale(1);
}

/* Luna Brand Accent Line */
.luna-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #014575, #4682B4);
    border-radius: 16px 16px 0 0;
}

/* Close Button */
.luna-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.luna-popup-close:hover {
    background: #f0f0f0;
    color: #014575;
}

/* Popup Content Container */
.luna-popup-content {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

/* Logo Section */
.luna-popup-logo h3 {
    color: #014575;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
}

/* Tagline */
.luna-popup-tagline {
    color: #4682B4;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

/* Main Heading */
.luna-popup-heading {
    color: #014575;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Description Text */
.luna-popup-description {
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Benefits Section */
.luna-popup-benefits {
    text-align: left;
    margin-bottom: 2rem;
}

.luna-popup-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.luna-popup-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #333333;
    font-size: 0.95rem;
}

.luna-popup-benefits li::before {
    content: '✓';
    background: #4682B4;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
}

/* Hide success message initially */
.luna-popup-success,
.wpforms-confirmation-container-full {
    display: none !important;
}

/* Only show success message when form is submitted successfully */
.wpforms-form.wpforms-form-submitted .wpforms-confirmation-container-full {
    display: block !important;
}

/* Alternative targeting if WPForms uses different classes */
body.wpforms-confirmation .luna-popup-success {
    display: block !important;
}

/* Hide the form when success message should show */
.wpforms-form.wpforms-form-submitted .wpforms-field-container,
.wpforms-form.wpforms-form-submitted .wpforms-submit-container {
    display: none !important;
}

/* WPForms Container Setup */
.luna-popup-form .wpforms-container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.luna-popup-form .wpforms-form {
    padding: 0 !important;
}

.luna-popup-form .wpforms-title,
.luna-popup-form .wpforms-description {
    display: none !important;
}

/* Individual Field Styling - All fields consistent */
.luna-popup-form .luna-first-name-field,
.luna-popup-form .luna-last-name-field,
.luna-popup-form .luna-company-field,
.luna-popup-form .luna-email-field {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
}

/* Field labels */
.luna-popup-form .wpforms-field-label {
    margin-bottom: 0.5rem !important;
    display: block !important;
    color: #014575 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* All Input field styling - consistent across all fields */
.luna-popup-form input[type="text"],
.luna-popup-form input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e0e6ed !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    min-height: 48px !important;
    transition: border-color 0.3s ease !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.luna-popup-form input::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.luna-popup-form input:focus {
    outline: none !important;
    border-color: #014575 !important;
    box-shadow: 0 0 0 3px rgba(1, 69, 117, 0.1) !important;
}

/* Sublabels */
.luna-popup-form .wpforms-field-sublabel {
    margin-top: 0.25rem !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    text-align: center !important;
}

/* Submit Button Container */
.luna-popup-form .wpforms-submit-container {
    text-align: center !important;
    margin: 2rem 0 1rem 0 !important;
}

/* Submit Button Styling */
.luna-popup-form .wpforms-submit {
    background: #014575 !important;
    color: #FFFFFF !important;
    border: 2px solid #014575 !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    min-width: 200px !important;
}

.luna-popup-form .wpforms-submit:hover {
    background: transparent !important;
    color: #014575 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(1, 69, 117, 0.3) !important;
}

/* Privacy Text */
.luna-popup-privacy {
    color: #777;
    font-size: 0.8rem;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Success Message Styling */
.luna-popup-success {
    text-align: center;
    padding: 2rem;
}

.luna-popup-success.show {
    display: block !important;
}

.luna-popup-success h3 {
    color: #014575;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.luna-popup-success p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.luna-popup-success .checkmark {
    font-size: 3rem;
    color: #4682B4;
    margin-bottom: 1rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .luna-popup {
        width: 95% !important;
    }
    
    .luna-popup-content {
        padding: 2rem 1.5rem !important;
    }
    
    .luna-popup-heading {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .luna-popup {
        width: 98% !important;
    }
    
    .luna-popup-content {
        padding: 1.5rem 1rem !important;
    }
    
    .luna-popup-logo h3 {
        font-size: 1.5rem;
    }
    
    .luna-popup-heading {
        font-size: 1.3rem;
    }
    
    .luna-popup-form .wpforms-submit {
        min-width: 180px !important;
        padding: 12px 24px !important;
    }
}

/* SmartWay Logo Styling - UPDATED */
.luna-footer__smartway {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.smartway-logo {
    max-width: 220px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.smartway-logo:hover {
    opacity: 0.9;
}

/* Make SERVICES heading match QUICK LINKS exactly */
.luna-footer__services h4,
.luna-footer__nav-column h4 {
  color: #FFFFFF !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin: 0 0 1rem 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-align: left !important;
}

/* Make sure both lists are styled the same */
.luna-footer__services ul,
.luna-footer__nav-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.luna-footer__services li,
.luna-footer__nav-column li {
  margin-bottom: 0.5rem !important;
  text-align: left !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .luna-footer__smartway {
        text-align: left;
        margin-top: 20px;
    }
    
    .smartway-logo {
        margin: 0;
        max-width: 200px;
    }
    
    /* Ensure headings stay left-aligned on mobile */
    .luna-footer__services h4,
    .luna-footer__nav-column h4 {
        text-align: left !important;
    }
}


/* Force Quick Links to align left on mobile */
@media (max-width: 768px) {
    .luna-footer__middle {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .luna-footer__nav-column {
        text-align: left !important;
        width: 100%;
    }
    
    .luna-footer__nav-column h4 {
        text-align: left !important;
    }
    
    .luna-footer__nav-column ul {
        text-align: left !important;
        padding-left: 0 !important;
    }
    
    .luna-footer__nav-column li {
        text-align: left !important;
    }
}