  html,
  body {
    margin: 0;
    height: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100 900;
    color: white;
  }
    .hero-section {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    object-fit: cover;
    z-index: 0;
  }

  .hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
  }

  .navbar {
    padding-top: 1rem;
    padding-left: 2rem;
    z-index: 2;
  }
  .nav-item .nav-link {
    color: white !important;
    font-size: 0.8rem;
  }
 

  .navbar-brand span {
    color: #FFD700;
  }

  .lead{
    /* margin-left: 20px; */
    line-height: 17px;
    font-size: 1rem;        
  }
  
/* DEMO-SPECIFIC STYLES */
/* .hero-text h3 {
  color: #fff;
  overflow: hidden;
  animation: 
    typing 3.5s steps(30, end) 1,
    blink-caret .5s step-end infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
} */



  .hero-text h3 {
    /* margin-left: 20px; */
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    /* text-overflow: ellipsis; */
    font-size: 2rem;
    margin-top: 24rem;
    letter-spacing: 1px;
    /* pushes heading down */
  }
  b{
    font-weight: 700;
  }

  .sidebar-posts {
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 70px;
    padding: 1rem;
    border-radius: 8px;
    max-width: 240px;
    margin-left: auto;
    /* height: auto; */
    /* overflow-y: auto; */
  }


  .btn-talk {
    background-color: #246c82;
    color: white;
    border: none;
    /* margin-left: 20px; */
  }
  .btn-talk:hover{
    background-color: #C5C716;
    color: black;
  }

  .sidebar-posts {
    background-color: rgba(106, 101, 101, 0.5);
    padding: 1rem;
    border-radius: 8px;
  }

  .post-card {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.8rem;
    font-size: 0.7rem;
  }

  .post-card a {
    color: #00aced;
    text-decoration: none;
    font-weight: 500;
  }

  .counter-number {
    font-size: 2rem;
    font-weight: bold;
    margin-top: -20px;
  }


  /* industies we serve  */
  .industries-wrapper {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 40px 20px;
    background-color: #fff;
    overflow: hidden;
  }

  .industries-heading {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    padding-bottom: -70px;
  }

  .industries-subheading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #333;
  }

  .industry-scroll-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px;
    overflow: visible;
  }


  .industry-box {
    background: linear-gradient(#383838, #C5C716);
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 260px;
    min-width: 220px;
    flex: 1 1 220px;
  }

  .industry-box img {
    width: 100%;
    height: 230px;
    object-fit: cover;
  }

  .industry-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .industry-content h5 {
    font-weight: 700;
  }

  .industry-content p {
    font-size: 0.95rem;
    margin: 10px 0 20px;
  }

  .know-more {
    font-weight: 600;
    color: white;
    text-decoration: none;
  }

  .know-more:hover {
    text-decoration: underline;
  }

  /* industries we serve end */

 /* Our services */
.ourservicecontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ourservicecontainer h3 {
  color: black;
  text-align: center;
  padding: 20px;
  font-weight: bolder;
  font-size: 2rem;
}

.carousel {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  position: relative;
  overflow: hidden; /* Prevents overflow of the carousel on smaller screens */
}

.card {
  width: 350px;
  height: 250px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
  transform: scale(1);  /* Default scaling */
  flex-shrink: 0;
  position: relative;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  font-size: 1.5rem;
}

/* Center card: Larger in both width and height */
.card.center {
  transform: scale(1.2);  /* Make the center card larger */
  z-index: 3;  /* Ensure the center card is on top */
  height: 300px;  /* Increase the height of the center card */
}

.card.side {
  width: 20%;  /* Side cards take 20% of the container width */
  transform: scale(0.6);  /* Make side cards smaller */
  opacity: 0.6;  /* Dim side cards to highlight the center card */
  z-index: 1;  /* Ensure side cards are behind the center card */
  height: 180px; /* Reduce the height of the side cards */
}

/* Carousel dots */
.carousel-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 20px 0 0 0;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #333;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .carousel {
    display: flex;  /* Keep the carousel in a row on mobile */
    flex-wrap: nowrap; /* Ensure the cards don't stack */
    width: 100%;
    max-width: none;
    height: auto;
    overflow: hidden;
    justify-content: center; /* Align items to the center */
  }

  .card {
    position: relative;
    width: 80%;  /* Ensure cards stay within a row */
    height: auto;
    transform: scale(1);  /* Default card scaling */
    opacity: 1;  /* No dimming effect by default */
  }

  .card.center {
    transform: scale(1.3);  /* Make the center card larger */
    height: 350px;  /* Increase height for the center card */
  }

  .card.side {
    width: 20%;  /* Side cards take 20% of the width */
    transform: scale(0.6);  /* Make side cards smaller */
    opacity: 0.6;  /* Dim side cards */
    height: 180px; /* Reduce the height of the side cards */
  }

  /* Position the cards to align properly on mobile */
  .card:nth-child(1) {
    transform: translateX(-90%) scale(0.6);
  }

  .card:nth-child(2) {
    transform: scale(1.3);  /* Center card is bigger */
    z-index: 3;  /* Center card on top */
    height: 350px; /* Ensure center card height is bigger */
  }

  .card:nth-child(3) {
    transform: translateX(90%) scale(0.6);
    height: 180px; /* Reduce height of side cards */
  }

  .carousel-dots {
    display: block;
    text-align: center;
    margin-top: 20px;
  }
  .hero-text h3 {
    font-size: 1.5rem;
     white-space: normal;
  }
  .lead{
    /* margin-left: 20px; */
    line-height: 17px;
    font-size: 0.7rem;        
  }
}


/* For very small screens (portrait mobiles) */
@media (max-width: 576px) {
  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dots .dot.active {
    background: #333;
  }

  .card {
    width: 90%;
    height: auto;
    transform: scale(1);
  }
  .hero-text h3 {
    font-size: 1.2rem;
     /* white-space: nowrap; */
  }
  .industries-wrapper h2{
    font-size: 1.5rem;
  }
  .industries-subheading{
    font-size: 1.1rem;
  }
  .lets_connect{
    margin-left: 2.5rem;
  }
 
}

 

  /* tell us what you want end */



  /* Hide sidebar on mobile */
  @media (max-width: 768px) {
    .sidebar-posts {
      display: none;
    }
     .mobile-center {
    text-align: center; /* Center text */
    justify-content: center !important; /* Center flex items */
  }
  }

  @media (max-width: 991.98px) { /* Bootstrap breakpoint for lg */
  .mobile-center {
    text-align: center; /* Center text */
    justify-content: center !important; /* Center flex items */
  }

  .mobile-center .navbar-nav {
    margin: 0 auto; /* Center nav links */
  }
}
