   :root {
      --primary-color: #f39c12; /* Construction Yellow/Amber */
      --primary-hover: #d68910;
      --dark-bg: #111111;
      --light-text: #f4f4f4;
      --gray-text: #aaaaaa;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Inter', sans-serif;
    }

    /* ---------- TOP BAR ---------- */
.top-bar {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 4px 5%; /* Reduced top/bottom padding from 8px to 4px */
  font-size: 0.8rem; /* Slightly smaller text for compact look */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
}

    .top-bar-info span {
      margin-right: 18px;
    }

    .top-bar-info i {
      color: var(--primary-color);
      margin-right: 6px;
    }

    .social-icons-top a {
      color: #ccc;
      margin-left: 12px;
      font-size: 0.95rem;
      transition: color 0.3s ease;
    }

    .social-icons-top a:hover {
      color: var(--primary-color);
    }

    /* ---------- NAVBAR ---------- */
.navbar {
  background-color: #000000 !important;
  padding: 4px 5% !important;   /* Reduced vertical padding from 10px to 4px */
  min-height: 48px !important;  /* Reduced min-height from 65px to 48px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

   /* Make logo fit inside the smaller navbar height */
.navbar .brand img {
  max-height: 32px !important;  /* Reduced max-height from 45px to 32px */
  object-fit: contain;
}

    .nav-menu {
      display: flex;
      list-style: none;
      align-items: center;
      gap: 15px;
    }

    /* Adjust link padding and button height */
.nav-link {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;           /* Slightly adjusted font size */
  padding: 4px 10px;            /* Reduced vertical padding from 8px to 4px */
  border-radius: 4px;
  transition: all 0.3s ease;
}

    .nav-link:hover {
      color: var(--primary-color) !important;
    }

    #loginTriggerBtn {
  background: var(--primary-color);
  color: #000 !important;
  border: none;
  padding: 5px 12px;            /* Reduced padding from 8px 16px to 5px 12px */
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

    #loginTriggerBtn:hover {
      background: var(--primary-hover);
    }

    /* ---------- HERO / SLIDE IMAGE ---------- */
    .hero-slide {
      position: relative;
      width: 100%;
      height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Change 'center' to 'center top' or 'center 20%' */
  background-position: center top; 
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

    .hero-bg-image.active {
      opacity: 1;
    }

    /* Gradient overlay for readability */
   /* Option A: Light gradient (Recommended - keeps buttons readable while showing image clearly) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Reduced opacity so the image text is crisp and clear */
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25)); 
  z-index: 2;
}

/* Option B: If you want NO dark overlay at all */
/*
.hero-overlay {
  display: none;
}
*/

    .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
  margin-top: auto; /* Pushes content/buttons towards the bottom cleanly */
  margin-bottom: 40px;
}

    .hero-content h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 15px;
      letter-spacing: 1px;
    }

    .hero-content p {
      font-size: 1.2rem;
      margin-bottom: 25px;
      color: #dddddd;
    }

    .hero-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
    }

    .btn-primary, .btn-secondary {
      padding: 12px 28px;
      border-radius: 4px;
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.2s, background 0.3s;
    }

    .btn-primary {
      background-color: var(--primary-color);
      color: #000;
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
    }

    .btn-secondary {
      border: 2px solid #ffffff;
      color: #ffffff;
    }

    .btn-secondary:hover {
      background-color: #ffffff;
      color: #000000;
      transform: translateY(-2px);
    }

    /* ---------- FOOTER ---------- */
    .site-footer {
      background-color: var(--dark-bg);
      color: var(--light-text);
      padding: 50px 5% 20px 5%;
      border-top: 3px solid var(--primary-color);
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
    }

    .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 18px;
      color: var(--primary-color);
      position: relative;
    }

    .footer-section p {
      line-height: 1.6;
      color: var(--gray-text);
      font-size: 0.95rem;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 10px;
    }

    .footer-section ul li a {
      color: var(--gray-text);
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-section ul li a:hover {
      color: var(--primary-color);
    }

    /* Social Icons in Footer */
    .footer-social-icons {
      display: flex;
      gap: 12px;
      margin-top: 15px;
    }

    .footer-social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      background-color: #222222;
      color: #ffffff;
      border-radius: 50%;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .footer-social-icons a:hover {
      background-color: var(--primary-color);
      color: #000000;
      transform: translateY(-3px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #222222;
      color: var(--gray-text);
      font-size: 0.85rem;
    }

    /* Mobile Responsive */
 @media (max-width: 768px) {
  /* 1. Change background-size to 'contain' so the full image scales down to fit the screen width */
  .hero-bg-image {
    background-size: contain !important;
    background-position: center center !important;
  }

  /* 2. Adjust the hero height to match the natural aspect ratio of the image */
  .hero-slide {
    height: 250px !important; /* Adjust height (e.g., 220px to 280px) depending on your image aspect ratio */
  }

  /* 3. Adjust hero content padding/margins so buttons stay visible below the image */
  .hero-content {
    margin-top: auto;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: row !important; /* Keep buttons side-by-side or stacked neatly */
    gap: 10px;
  }

  .btn-primary, .btn-secondary {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
    /* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* Top Bar Header on Mobile */
  .top-bar {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    text-align: center;
  }

  .top-bar-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .top-bar-info span {
    margin-right: 0;
    font-size: 0.78rem;
  }

  .social-icons-top {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .social-icons-top a {
    margin-left: 0;
    font-size: 1rem;
  }

  /* Hamburger Toggle */
  .menu-toggle {
    display: block !important;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Navigation Menu Off-Canvas / Dropdown */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-item {
    width: 100%;
    text-align: left;
    padding: 8px 20px;
  }

  .hero-slide {
  position: relative;
  width: 100%;
  /* Increase height from 600px to 650px or 700px */
  height: 680px; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align: button;
  }
}

    /* Desktop View (Hide toggle icon on desktop) */
    @media (min-width: 769px) {
      .menu-toggle {
        display: none !important;
      }
    }
    /* Mobile styles (Default or under max-width: 991px) */
.nav-menu {
  display: none; /* Hidden by default on mobile */
  flex-direction: column;
}

.nav-menu.active {
  display: flex; /* Shown when hamburger icon is clicked */
}

/* Desktop styles */
@media (min-width: 992px) {
  .nav-menu, 
  .nav-menu.active { 
    display: flex !important; /* Force display on desktop */
    flex-direction: row;      /* Lay items horizontally */
    position: static;
    background: transparent;
  }

  .hamburger-btn {
    display: none; /* Hide hamburger icon on desktop */
  }
}
/* Responsive Construction Overview Section */
.overview-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.overview-header {
  text-align: center;
  margin-bottom: 40px;
}

.overview-header h2 {
  font-size: 2rem;
  color: #1a252f;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overview-header p {
  font-size: 1.05rem;
  color: #666666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.overview-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #f39c12; /* Accent color */
  transition: transform 0.2s ease-in-out;
}

.overview-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.2rem;
  color: #f39c12;
  margin-bottom: 15px;
}

.overview-card h3 {
  font-size: 1.25rem;
  color: #1a252f;
  margin-bottom: 15px;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 10px;
}

.overview-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overview-card li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #555555;
  position: relative;
  padding-left: 18px;
}

.overview-card li::before {
  content: "■";
  color: #f39c12;
  font-size: 0.7rem;
  position: absolute;
  left: 0;
  top: 2px;
}

.overview-card strong {
  color: #2c3e50;
}

/* Equipment Fleet Section */
.fleet-section {
  background: #ffffff;
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.fleet-header {
  text-align: center;
  margin-bottom: 25px;
}

.fleet-header h3 {
  font-size: 1.4rem;
  color: #1a252f;
  margin-bottom: 8px;
}

.fleet-header p {
  color: #666666;
  font-size: 0.95rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 6px;
  border-left: 3px solid #1a252f;
}

.fleet-item i {
  font-size: 1.5rem;
  color: #f39c12;
}

.fleet-item span {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

/* Call To Action Banner */
.cta-banner {
  background: #1a252f;
  color: #ffffff;
  padding: 30px 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #ffffff;
}

.cta-content p {
  color: #bdc3c7;
  font-size: 0.95rem;
  margin: 0;
}

.cta-button {
  background: #f39c12;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background: #e67e22;
}
/* Modal Overlay and Container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-top: 5px solid #f39c12;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
}

.modal-close:hover {
  color: #333;
}

.modal-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #1a252f;
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

/* Form Controls */
.quote-form .form-group {
  margin-bottom: 15px;
}

.quote-form .form-row {
  display: flex;
  gap: 15px;
}

.quote-form .form-row .form-group {
  flex: 1;
}

.quote-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #f39c12;
}

.form-submit-btn {
  width: 100%;
  background: #f39c12;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit-btn:hover {
  background: #e67e22;
}

/* Form Feedback Alerts */
.alert-box {
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.alert-box.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-box.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}