h2.homepage-hero-banner-heading{
  color: white;
}
p.homepage-hero-banner-subheading{
  color: white;
}

.projects-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  }
  
  .projects-section h2 {
    letter-spacing: 2px;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
  }
  .projects-section p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .tab-buttons {
    margin: 30px 0 25px 0;
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  

  
  .tab-btn.active,
  .tab-btn:hover {
    background: #fff;
    border: 2px solid #d7be65;
  }
  
  .tab-content {
    display: none;
    margin-top: 30px;
  }
  .project-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.12);
    margin: 0 auto 18px auto;
    display: block;
  }
  
  
  /* --- Responsive Mobile Styles --- */
  @media screen and (max-width: 768px) {
    /* 1. The Container: Disable scrolling and center items */
    .tab-buttons {
        display: flex !important;
        flex-wrap: nowrap !important; /* Keep them on one line */
        overflow-x: hidden !important; /* Disable horizontal scroll */
        justify-content: center !important; /* Center the buttons */
        
        width: 100% !important;
        padding: 10px 5px !important;
        gap: 5px !important; /* Reduced gap to save space */
    }

    /* 2. The Buttons: Make them flexible to fit the screen */
    .tab-btn, .button-1 {
        flex: 1 1 auto !important; /* Allows buttons to grow/shrink equally */
        text-align: center;
        
        /* Smaller Sizing for Mobile */
        padding: 8px 10px !important; /* Reduced horizontal padding */
        font-size: 11px !important;   /* Smaller font to prevent wrapping */
        
        border: 1.5px solid #000 !important;
        border-radius: 50px !important;
        text-transform: uppercase !important;
        white-space: nowrap !important; /* Keeps "UPCOMING" from breaking into 2 lines */
        min-width: 0 !important; /* Allows them to shrink below their content size if needed */
    }

    /* Active State */
    .tab-btn.active {
        border-color: #d4af37 !important;
        color: #d4af37;
    }
}
  /* @media (max-width: 600px) {
    .projects-section {
      padding: 18px 4vw;
      max-width: 100vw;
      border-radius: 0;
      box-shadow: none;
      margin: 0;
    }
    .projects-section h2 {
      font-size: 1.18rem;
      margin-bottom: 5px;
    }
    .projects-section p {
      font-size: 1rem;
      margin-bottom: 12px;
    }
    .tab-buttons {
      flex-direction: row;
      gap: 7px;
      margin: 20px 0 12px 0;
    }
    .tab-btn {
      font-size: 0.97rem;
      padding: 13px 0;
      border-radius: 13px;
      min-width: 0;
    }
    .tab-content {
      margin-top: 16px;
    }
    .project-image {
      border-radius: 10px;
      margin-bottom: 12px;
    }
  } */

  .company-counts-box-main:last-child .company-counts-box {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .company-counts-box {
    max-width: 350px;
    margin: 0px auto;
    margin-bottom: 50px;
  }
}
.company-counts-box .icons {
  width: 70px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 70px;
  flex: 0 0 70px;
  text-align: center;
}
.company-counts-box .company-count {
  margin-bottom: 0px;
}
.company-counts-box .company-count span {
  font-size: 52px;
  line-height: 62px;
  color: #000000;
}
@media (max-width: 1000px) {
  .company-counts-box .company-count span {
    font-size: 42px;
    line-height: 50px;
  }
}
.company-counts-box .x-devider {
  margin-right: 40px;
  margin-left: 35px;
  height: 72px;
}
@media (min-width: 767px) and (max-width: 1024px) {
  .company-counts-box .x-devider {
    margin-right: 10px;
    margin-left: 10px;
  }
}
.company-counts-box .company-discribe {
  font-size: 14px;
  color: #000000;
}


/* //the css for the marquee of our customer speaks section */
:root {
  --card-bg: #1e1e1e;
  --text-main: #ffffff;
  --text-muted: #9a9a9a;
  --gap: 20px;
}

.video-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
}

.video-carousel-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee-horizontal 40s linear infinite;
}

/* The Card Styling */
.news-video-card {
  width: 280px; /* Adjust based on your preference */
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 15px;
  flex-shrink: 0;
}

.video-wrapper {
  width: 90%;
  height: 160px;
  margin: 10px auto;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 0 15px;
}

.source-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.source-name {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.video-title {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 10px 0;
  white-space: normal; /* Allows text to wrap */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limits title to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* Animation */
@keyframes marquee-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--gap) / 2))); }
}

/* Pause on hover */
.video-carousel-track:hover {
  animation-play-state: paused;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .video-carousel-container {
    padding: 20px 0;
  }

  .news-video-card {
    /* Slightly narrower cards for mobile screens */
    width: 240px; 
    border-radius: 16px;
  }

  .video-wrapper {
    height: 135px; /* Adjusting height to maintain aspect ratio */
    margin: 8px auto;
  }

  .video-carousel-track {
    /* Slowing down the animation on mobile for better readability */
    animation-duration: 25s; 
    gap: 15px;
  }

  .video-title {
    font-size: 0.9rem; /* Slightly smaller text */
    margin-bottom: 8px;
  }

  .source-name, .video-date {
    font-size: 0.75rem;
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
  .news-video-card {
    width: 200px;
  }
  
  .video-wrapper {
    height: 115px;
  }
}



  