.box li a {
  font-size: 14px;

}

.footer-bottom {
  font-size: 14px;
}

.banner {
  background-image: url(/img/DSRI/BANNER_DSRI3.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  font-size: 64px;
  line-height: 72px;
  padding: 60px 0 30px 25px;
  color: white;
}

.bannerp {
  margin-bottom: 1rem !important;
  margin-right: 200px;
}

.banner p span {
  display: block; 
}

.banner small {
  font-size: 30px;
  color: #ccc;
  margin-top: 10px;
  margin-right: 354px !important
}


.bannerp,
.banner small,
.banner-line {
  display: none;
}



@media (max-width: 768px) {
  .banner {
    background-image: url(/img/logo/HHD.png);
    background-attachment: scroll;
    height: 400px;
    font-size: 28px;
    line-height: 36px;
    padding: 267px 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 46px;
  }

  .bannerp,
  .banner small,
  .banner-line {
    display: block;
  }


 .banner-line {
    display: block;
    width: 90%;
    min-height: 2px;              
    background-color: white;    
    border-radius: 2px;
  }

  .bannerp {
   
    margin-top: 100px !important;
    margin-left: 0px;
    margin-right: 0px;
  }


  .banner p span {
    display: inline;
  }

  .banner small {
    font-size: 14px;
    margin-top: 0 !important;
    margin-right: 0px !important; 
  }
}





.row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 10%;
  background-color: #f9f9f9;
  width: 100%;
}

.item1 {
  flex: 1 1 45%;
}

.item1 img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.item2 {
  flex: 1 1 45%;
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}


.item2.show {
  opacity: 1;
  transform: translateY(0);
}

.item2 h2 {
  margin-bottom: 20px;
}

.item2 p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.item2 a {
  display: inline-block;
  background-color: #8B4513;
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.item2 a:hover {
  background-color: #a0522d;
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    padding: 40px 5%;
  }

  .item1, .item2 {
    flex: 1 1 100%;
  }

  .item2 {
    text-align: center;
  }
}



/* pipeline section */


.pipeline-section {
  text-align: center;
  padding: 60px 20px;
}

.pipeline-section h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 40px;
}

/* ✅ Row-wise layout using Flexbox */
.pipeline-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap; /* ✅ no wrapping */
  gap: 60px; /* reduced spacing */
  overflow-x: auto; /* ✅ allows horizontal scroll if needed on small screens */
  padding-bottom: 10px;
  padding-top: 20px;
}

/* ✅ Responsive adjustments */
@media (max-width: 900px) {
  .pipeline-container {
    flex-direction: column;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 46px;
  }
}





.cards {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 45px 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 220px; /* ✅ decreased card width */
  flex: 0 0 auto; /* ✅ prevents shrinking */
}

.cards::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15), rgba(255,255,255,0.3));
  transition: all 0.6s ease;
}

.cards:hover::before {
  left: 100%;
}

.cards:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cards img {
  width: 158px;
  height: 129px;
  margin: 0 auto 25px;
  display: block;
  transition: transform 0.5s ease;
}

.cards:hover img {
  transform: scale(1.1) rotate(5deg);
}

.cards p {
  font-size: 2rem;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cards {
    width: 70%;
    max-width: 320px;
    margin: 15px auto;
    padding: 30px 15px;
    height: 260px;
  }

 
  .cards p {
    font-size: 2.3rem;
    font-weight: bold;
  }
}




/* image slider */
#myCarousel {
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

#myCarousel .item img {
  height: 500px;
  object-fit: cover;
}

.carousel-control.left,
.carousel-control.right {
  background: none;
}

.carousel-indicators li {
  background-color: #bbb;
}

.carousel-indicators .active {
  background-color: #8B4513;
}

@media (max-width: 768px) {
  #myCarousel .item img {
    height: 300px;
  }
}



/* animation part */
.objectives-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
  max-width: 100%;
  overflow-x: hidden; /* ✅ prevents horizontal scroll */
  box-sizing: border-box;
  padding: 0 15px; /* ✅ adds safe padding for small screens */
}

.objectives-text,
.objectives-image {
  flex: 1 1 45%;
  box-sizing: border-box;
}
.objectives-text h2 {
  margin-bottom: 40px;

}

.objectives-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-height: 470px;
}

/* Animation */
.fade-left, .fade-right {
  opacity: 0;
  transition: all 1s ease-out;
}

.fade-left {
  transform: translateX(-80px);
}

.fade-right {
  transform: translateX(80px);
}

.fade-left.show, .fade-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .objectives-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 10px;
  }

  .objectives-text, .objectives-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .objectives-image img {
    max-height: 280px;
  }

  .objectives-text ul {
    text-align: left;
    padding-left: 15px;
    margin: 0;
  }
}




/* container for logo and summary  */

.container {
  display: flex;
  justify-content: center;
  align-items: stretch;

  margin: 40px auto;
  width: 90%;
  max-width: 1500px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}


.right-card {
  width: 100%;
  padding: 40px;
  background: #fff;
}

.summary-title {
  color: #b49743;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.summary-text {
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 30px;
  display: flex;
  text-align: center;
}

.company-name {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    margin-top: 100px;
  }
 .right-card {
    width: 100%;
  }

  .right-card {
    padding: 25px;
  }

  .company-name {
    font-size: 22px;
  }
}




/* team */
.profile-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* gap: 8.8rem; */
  /* max-width: 75em; */
  margin: 0 auto;
  transform: translateY(-3em);
  position: relative;
  z-index: 10;
}

/* Team title styling */
.profile-title {
  width: 100%;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.profile-card {
  /* background: linear-gradient(45deg, #1e272e, #48627a); */
  border-radius: 1rem;
  padding: 2em 1.5em;
  max-width: 43.75rem;
  width: 100%;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.profile-card img {
  border-radius: 50%;
  width: 185px;
  height: 185px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 1em;
}

.profile-card h2 {
  font-size: 2rem;
  margin: 0.4em 0;
}

.profile-card p {
  font-size: 1.8rem;
  color: #afafaf;
}


/* future */

.Future {
  height: 50vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.Ftitle {
  margin-bottom: 35px;
}

/* Background Video */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.6);
}

.overlay {
  text-align: center;
  animation: fadeIn 2s ease-in-out;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.45); 
  backdrop-filter: blur(2px);      
  border-radius: 10px;
  width: 50%;
}

.overlay h1,
.overlay h2,
.overlay ul li {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Style for new sub-title */
.overlay .sub-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

.Futureh {
  font-size: 1.5rem !important;

}




.overlay h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.overlay ul {
  list-style-type: disc;
  text-align: left;
  margin: 2rem auto 0;
  display: inline-block;
}

.overlay ul li {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin: 0.5rem 0;
  
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 3rem;
  }
  .overlay ul li {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .overlay h1 {
    font-size: 3rem;
  }

  .overlay .sub-title {
    font-size: 12px;
  }
  .Ftitle {
    margin-bottom: 14px;
    

}

.overlay {
 
  padding: 11px 30px;
  width: 100%;
}
}