/* 
CONTACT BAR STYLE
*/
.contact-bar {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 50px;
}

.scrolling-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-right: 20px;
}

.scrolling-content {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.business-name {
		color: var(--highway-green);
    font-weight: 600;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.contact-btn {
    background: var(--highway-green);
    color: var(--light-gray);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    color: var(--highway-yellow);
    transform: translateY(-2px);
    text-decoration: none;
}

.contact-btn i {
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-bar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .scrolling-text {
        margin-right: 0;
        order: 2;
    }
    
    .contact-buttons {
        order: 1;
        justify-content: center;
    }
    
    .contact-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .scrolling-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .contact-btn i {
        font-size: 14px;
    }
}
/* 
NAV MENU STYLE
Navmenu-specific customizations for Highway theme
Assumes you have the color variables from highway_theme.css loaded
*/

.navbar {
  margin-bottom: 0.5rem; /* Or whatever spacing you want */
}

.navbar.bg-highway-green {
  background-color: var(--highway-green, #006747) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .dropdown-toggle {
  color: var(--light-gray, #f8f9fa) !important;
}

.navbar .nav-link.active,
.navbar .nav-link:focus-visible {
	background-color: var(--highway-green, #006747) !important;
  color: var(--highway-yellow, #ffd700) !important;
}

.navbar .nav-link,
.navbar .dropdown-toggle {
  transition: background 0.2s, color 0.2s;
}

/* Custom hamburger icon color */
.navbar-toggler .custom-toggler-icon {
  background-color: var(--highway-orange, #ff6600);
  border-radius: 4px;
  min-width: 24px;
  min-height: 24px;
  display: inline-block;
}

/* Dropdown menu customization */
.navbar .dropdown-menu {
  background-color: var(--highway-green, #006747);
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  min-width: 200px;
  padding: 0.4rem 0;
}

.navbar .dropdown-item {
  color: var(--white, #fff);
  transition: background 0.2s, color 0.2s;
  padding: 0.5rem 1.25rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus-visible {
  background-color: var(--highway-green-light, #0d8a5f);
  color: var(--highway-yellow, #ffd700);
}

.navbar .dropdown-toggle::after {
  border-top-color: #ffd700; /* white arrow */
  filter: none; /* remove invert if you want */
}

/* Responsive: Collapse background for mobile */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background-color: var(--highway-green, #006747);
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-lg, 0.75rem) 0.75rem;
  }
}

/* Desktop hover dropdowns */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Accessibility: focus ring for nav links */
.navbar .nav-link:focus-visible,
.navbar .dropdown-item:focus-visible {
  outline: 2px solid var(--highway-orange, #ff6600);
  outline-offset: 2px;
}

/* Hero Section Styling */
.hero-section {
  height: 80vh;
  background: #f8f9fa;
  overflow: hidden;
  position: relative;
}

.hero-background-image {
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  transition: background-image 0.3s ease;
  /* opacity can be set here if desired for the image itself */
}

.hero-main-content {
  position: relative;
  z-index: 1;
}

.hero-shadow-box {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  min-width: 300px;
  max-width: 95vw;
  opacity: 0.8; /* Adjust opacity as needed */
  z-index: 2;
}


/* Tabbed Form Styles */

/* Tab Navigation */
#tab-list {
  display: flex;
  justify-content: flex-start;
  border-bottom: 4px solid var(--highway-green);
  margin-bottom: var(--spacing-xl);
  gap: var(--spacing-md);
  padding-left: 0;
  list-style: none;
  background: var(--bg-light, var(--light-gray));
}

#tab-list li {
  margin-bottom: -4px; /* Pull tab up over border */
}

#tab-list button {
  background: var(--highway-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-xl);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid transparent;
  outline: none;
}

#tab-list button[aria-selected="true"] {
  background: var(--highway-blue);
  color: var(--white);
  border-bottom: 4px solid var(--highway-yellow);
  z-index: 2;
  position: relative;
  box-shadow: var(--shadow-md);
}
#tab-list button[aria-selected="false"]:hover,
#tab-list button[aria-selected="false"]:focus-visible {
  background: var(--highway-green-light);
  color: var(--white);
}

/* Tab Content Cards */
#tab-content > div {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  animation: fadeInTab 0.25s;
}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px);}
  to { opacity: 1; transform: none;}
}

/* Form Field Layout */
#tab-content label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--highway-green);
  letter-spacing: 0.01em;
}

#tab-content input[type="text"],
#tab-content input[type="email"],
#tab-content input[type="date"],
#tab-content select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1.5px solid var(--highway-blue-light);
  border-radius: var(--radius-md);
  background: var(--light-gray);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  transition: border 0.18s, box-shadow 0.18s;
}

#tab-content input:focus,
#tab-content select:focus {
  border-color: var(--highway-green);
  background: var(--white);
  outline: 2px solid var(--highway-orange);
}

#tab-content div > div {
  margin-bottom: var(--spacing-md);
  max-width: 420px;
}

#tab-content h3 {
  color: var(--highway-blue);
  font-size: 1.4rem;
  margin-bottom: var(--spacing-lg);
  border-left: 5px solid var(--highway-green);
  padding-left: var(--spacing-md);
  font-weight: 700;
}

/* Step Buttons */
#tab-content button[type="button"],
#tab-content button[type="submit"] {
  margin-top: var(--spacing-md);
  min-width: 140px;
}

#next-to-vehicle,
#next-to-shipping {
  background: var(--highway-orange);
  color: var(--white);
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, box-shadow 0.18s;
}
#next-to-vehicle:hover, #next-to-shipping:hover,
#next-to-vehicle:focus-visible, #next-to-shipping:focus-visible {
  background: #e55a00;
  box-shadow: var(--shadow-md);
}

/* Submit Button */
#submitQuote {
  background: var(--highway-green);
  color: var(--white);
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: var(--spacing-sm) var(--spacing-xl);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-top: var(--spacing-lg);
  transition: background 0.18s, box-shadow 0.18s;
  letter-spacing: 0.02em;
}
#submitQuote:hover, #submitQuote:focus-visible {
  background: var(--highway-green-light);
  box-shadow: var(--shadow-lg);
}

/* Responsive (optional) */
@media (max-width: 600px) {
  #tab-list {
    flex-direction: column;
    gap: 0;
  }
  #tab-list button {
    width: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-bottom: var(--spacing-xs);
  }
  #tab-content > div {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  #tab-content div > div {
    max-width: 100%;
  }
}