/* FOMO Bar */
.fomo-bar {
  background-color: var(--primary-green);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Header */
.global-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo a {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-slate);
  font-family: var(--font-heading);
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--dark-slate);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--hover-green);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-slate);
  border-color: var(--dark-slate);
}

.btn-outline:hover {
  background-color: var(--dark-slate);
  color: var(--white);
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.product-showcase.reverse {
  direction: rtl;
}
.product-showcase.reverse > * {
  direction: ltr;
}

.product-features-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.product-features-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--body-text);
}

.product-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Responsive Video Embeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Data Table */
.data-table-container {
  overflow-x: auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.data-table th {
  background-color: var(--subtle-green-bg);
  color: var(--dark-slate);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Combined Contact & Form Section */
.contact-form-section {
  position: relative;
  background-image: url('../assets/truck-loading-and-unloading-solution/truck-loading-and-unloading-solution-truck-loader-scaled-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: var(--white);
}

.contact-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

.contact-form-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info-column .pre-heading {
  color: #D4FF00;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-info-column h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  background-color: #D4FF00;
  color: var(--black);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-info-text .label {
  color: #D4FF00;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info-text .detail {
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
}

.contact-info-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contact-info-socials .social-icon {
  background-color: var(--white);
  color: var(--black);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-info-socials .social-icon:hover {
  background-color: #D4FF00;
}

.contact-info-socials .social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  color: var(--body-text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 4px;
}

.contact-form-card h3 {
  color: var(--black);
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-form-card p {
  margin-bottom: 30px;
  font-size: 14px;
}

/* Original Lead Form Grid */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 8px;
}

.form-group .required {
  color: red;
}

.form-group input, 
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font-body);
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* End of styles */

/* FAQ Accordion */
.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--white);
}

.faq-header {
  padding: 20px;
  background-color: #fafafa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-slate);
  user-select: none;
}

.faq-header svg {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header svg {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid transparent;
  color: var(--body-text);
}

.faq-item.active .faq-content {
  padding: 20px;
  max-height: 500px;
  border-top-color: #eee;
}

/* Responsive Utilities added for Mobile Fixes */
.hero-title {
    font-size: 48px;
}
.hero-subtitle {
    font-size: 20px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.align-center {
    align-items: center;
}

@media (max-width: 900px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .main-nav .nav-link {
    display: none;
  }
  .main-nav .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    margin: 0;
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .product-showcase.reverse {
    direction: ltr;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    margin-right: 0 !important;
    justify-content: center;
    box-sizing: border-box;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .four-col-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .four-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Logo Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 20px 0;
}
.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    animation: scroll 25s linear infinite;
}
.marquee-content img {
    height: 40px;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dynamic FOMO Toast */
.fomo-toast {
    position: fixed;
    bottom: -150px;
    left: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary-green);
    max-width: 350px;
}
.fomo-toast.show {
    bottom: 20px;
}
.fomo-icon {
    font-size: 24px;
}
.fomo-text {
    font-size: 14px;
    color: var(--dark-slate);
    line-height: 1.4;
    white-space: normal;
    text-align: left;
}
.fomo-text span {
    font-weight: 600;
}
.fomo-time {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Mobile Sticky Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.mobile-action-bar .action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
}
.mobile-action-bar .call-btn {
    background-color: var(--dark-slate);
}
.mobile-action-bar .wa-btn {
    background-color: #25D366; /* WhatsApp Green */
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
    }
    body {
        padding-bottom: 54px; /* Space for the sticky bar */
    }
    .fomo-toast.show {
        bottom: 74px; /* Push FOMO toast up above the sticky bar */
    }
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exit-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.exit-popup-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.exit-popup-overlay.show .exit-popup-content {
    transform: translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.exit-popup-close:hover {
    color: #333;
}
