:root {
  --primary-color: #8b1613;
  --secondary-color: #0d6efd;
  --dark-color: #212529;
  --light-red-color:#ba2a38;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.award-image{
  height:405px
}


/* Hero Section */
.hero-section {
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  text-align: left;
  z-index: 0;
}
#heroCarousel{
  padding: 0;
}
.carousel-item-pt {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
}


.hero-content {
  padding: 2rem;
  max-width: 900px;
  margin-left: 10%;
  border-left: 4px solid var(--primary-color);
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  animation-delay: 0.2s;
}

.hero-content h2 {
  font-size: 3.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation-delay: 0.4s;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation-delay: 0.6s;
}

.hero-buttons {
  animation-delay: 0.8s;
}

.hero-buttons .btn {
  margin-right: 1rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.carousel-item-img{
  height: 400px;
}


@media (max-width: 768px) {
  .hero-content h1{
    font-size: 1.6rem;
  }
  .carousel-item-img{
    height: 200px;
  }

  .hero-content h2 {
    font-size: 3rem;
  }
  .award-image{
    height:0px
  }
  
}
@media (max-width: 480px) {
  .hero-content{
    border: none;
    padding: 0;
    margin: 0;
  }
  .carousel-item-img{
    height: 200px;
  }
  .hero-content h2 {
    font-size: 2.6rem;
  }
  .award-image{
    height:0px
  }

  /* .hero-buttons{
    display: flex;
    flex-direction: column;
    gap: 20px;
  } */

  .hero-buttons .btn{
    margin-bottom: 10px;
  }
}

/* Features Section */
.features {
  background-color: #1c1c1c;
  position: relative;
  top: -60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65%;
  margin: 0 auto;
}

.custom-slider {
  color: #fff;
  position: relative;
  display: flex;
  overflow: hidden;
  width: 80%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* .slide {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  max-width: 100%;
  padding: 1rem;
} */

.slide-icon {
  background-color: #111;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 100px;
  height: 100%;
  border-right: 2px solid var(--primary-color);
}

.slide-text {
  flex-grow: 1;
  padding-left: 1.5rem;
  font-size: 1.1rem;
}

.highlight {
  background-color: var(--primary-color);
  color: white;
  padding: 0.1rem 0.5rem;
  border-radius: 0.2rem;
}

.dot-nav {
  text-align: right;
  padding: 0.5rem 1rem;
  margin-top: -10px;
}

.feature-dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #555;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.feature-dot.active {
  background-color: var(--primary-color);
}

@media (max-width: 1024px) {
  .features {
    width: 80%;
    height: 180px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .custom-slider {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .slide {
    flex-direction: column;
    text-align: center;
  }

  .slide-icon {
    font-size: 1.6rem;
    padding: 0.6rem;
  }

  .slide-text {
    padding-top: 0.8rem;
    font-size: 0.8rem;
  }
}

/* Services Section ================================================================================================= */
.quality-service{
 margin-top: 90px;
}

.about-section {
  position: relative;
  top: 60px;
  background-color: #0e194d;
  padding: 40px 0;
  overflow: hidden;
}

.about {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.subtitle {
  color: var(--light-red-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* .achievement {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.achievement-icon img {
  width: 40px;
  height: 40px;
  filter: invert(1);
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.achievement-label {
  background-color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-left: 1rem;
  color: white;
} */

.description {
  color: white;
  margin: 2rem 0;
}

.btn-primary {
  background-color: #f0c419;
  border: none;
  color: #0e194d;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #f0c419;
  transform: translateX(5px);
  color: #0e194d;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 80%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 991px) {
  .about-section {
    padding: 60px 0;
  }

  .about-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .achievement {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .title {
    font-size: 2rem;
  }

  .achievement {
    flex-direction: column;
    text-align: center;
  }

  .achievement-label {
    margin-left: 0;
  }
}

/* Company Info  */
.company-info {
  position: relative;
  top: 60px;
}

.company-info .section-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.company-info .tab-buttons .btn {
  border-radius: 25px;
  margin-right: 10px;
}

.company-info .icon-box {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.company-info .icon-box i {
  font-size: 2.5rem;
  margin-right: 20px;
}

.company-info .icon-box h5 {
  color: #144a7d;
  margin-bottom: 5px;
  font-weight: bold;
}

.company-info .read-more {
  font-weight: 600;
  color: black;
  text-decoration: none;
  transition: 0.7s;
}

.company-info .read-more:hover {
  color: var(--primary-color);
  margin-left: 20px;
}

/* Brand section ========================================================================================================= */
.brand-section {
  position: relative;
  top: 60px;
  background-color: #0d3255; /* Dark background */
  color: #a9581f;
  padding: 20px 0;
}

.stat-item {
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.stat-number .text-danger {
  color: var(--primary-color);
}

.stat-number .counter {
  color: white;
}

.stat-title {
  font-size: 1.4rem;
  color: #f9f9f9;
  font-weight: 500;
}

.carousel-container {
  width: 100%;
}

.transition {
  transition: transform 0.5s ease;
}
.btn-dark{
  background: #162053;
  border: 1px solid white;
}


/* Logo Slider  ===========================================================================================================*/
.logo-section{
  position: relative;
  top: 60px;
}
.logo-container {
  
  margin-left: 5%;
  width: 90%;
  color:var(--primary-color);
  font-family: 'Segoe UI', sans-serif;
}

.slider-section {
  background: linear-gradient(145deg, #0e194d, #0e194d);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.logo-container h4 {
  font-weight: 610;
  letter-spacing: 1px;
  color: #0e194d;
  margin-bottom: 25px;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
 
  padding: 5px 0;
}

.logo-track {
  display: inline-block;
  animation: scroll 35s linear infinite alternate;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: inline-block;
  padding: 0 20px;
}

.logo-item img {
  height: 60px;
  filter: brightness(0.95);
  transition: all 0.5s ease-in-out;
  color: aliceblue;}

.logo-item img:hover {
  filter:  brightness(1);
  transform: scale(1.15);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-65%); }
}

.project-section {
  position: relative;
  top: 60px;
}

.project-container {
  background:var(--dark-color);
  color: white;
  height: 100vh;
  /* margin: 4rem auto; */
  margin-top: 60px;
}

.project-container::before {
  content: "";
  position: absolute;
  height: 100vh;
  width: 100%;
  background: var(--dark-color); /* dark overlay */
  z-index: 0;
  margin-top: -3rem;
}

.project-container .project-section-title {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.project-container .project-section-title h6 {
  color: white;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 1.5rem;
}

.project-container .project-section-title h2 {
  font-weight: bold;
  color:var(--light-red-color);
  font-size: 3rem;
}



.project-container .carousel-wrapper {
  max-width: 70vw;
  height: 80vh;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.project-container .slide-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  touch-action: pan-y;
}


.project-container .prj_slide {
  flex: 0 0 100%;
  padding: 0 10px;
  transition: transform 1s ease;
  transform: scale(0.85);
  background: #858681;
}

.project-container .prj_slide.active {
  transform: scale(1);
  padding: 0px;
}

.project-container .prj_slide img {
  width: 100%;
  height: 70vh;
  object-fit:contain;
  cursor: pointer;
}
.project-container .prj_slide:hover .caption h5,
.project-container .prj_slide:hover .caption p {
  transform: translateY(-20px);
  scale: 1.01;
}
.project-container .prj_slide:hover .caption p::after {
  width: 100%;
}
.project-container .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  color: #fff;
  transition: 0.5s ease;
}

.project-container .caption h5 {
  transition: 0.5s ease;
  left: 1rem;
}

.project-container .caption p {
  position: relative;
  transition: 0.5s ease;
  color: #ffc107;
  display: inline-block;
  
}

.project-container .caption p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* Adjust based on spacing */
  width: 0;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.4s ease;
}

.project-container .slide-box {
  position: relative;
}

.project-container .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(226, 226, 226, 0.545);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #000000;
  z-index: 10;
}

.project-container .nav-btn.prev {
  left: 0px;
}

.project-container .nav-btn.next {
  right: 0px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  animation: zoomImage 0.4s ease;
}

@keyframes zoomImage {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-overlay.active {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 4rem;
  right: 10rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.3);
  color: #ffc107;
}

@media (max-width: 768px) {
  .project-container,.project-container::before{
    height: 95vh;
  }
  .project-container .prj_slide {
    flex: 0 0 100%;
    transform: scale(1.1);
    padding: 1rem 0rem 0 9rem;
  }
  
.project-container .prj_slide.active {
  transform: scale(0.85);
}

  .project-container .prj_slide img {
    width: 80%;
    height: 380px;
  }
  
.close-btn{
  top: 8rem;
  right: 2rem;
}
}

@media (max-width: 576px) {
  .project-container .prj_slide {
    flex: 0 0 100%;
    transform: scale(1.1);
    padding: 1rem 0rem 0 2rem;
  }
  
.project-container .prj_slide.active {
  transform: scale(0.85);
}

  .project-container .prj_slide img {
    width: 90%;
    height: 380px;
  }
  
.close-btn{
  top: 8rem;
  right: 2rem;
}
}

/* Why Choose us =============================================================== */

.why-choose-us {
  position: relative;
  top: 80px;
}

/* Section Title */
.why-choose-us .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: black;
}
.section-title-head .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: black;

}


.section-title span {
  color:#0e194d ;
}

/* Feature Cards */
.feature-card {
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.feature-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.card-front {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  color: var(--dark-color);
}

.card-back {
  background: linear-gradient(135deg, #16446e, #17436b);
  color: white;
  transform: rotateY(180deg);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e194d, #183f63);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.learn-more {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
  transition: var(--transition);
}

.learn-more:hover {
  color: var(--light-color);
  transform: translateX(5px);
}

.learn-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.learn-more:hover i {
  transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .feature-card {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .feature-card {
    height: 230px;
  }

  .icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .icon-wrapper i {
    font-size: 1.7rem;
  }

  .counter {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .feature-card {
    height: 210px;
  }

  .card-front,
  .card-back {
    padding: 1.5rem;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .icon-wrapper i {
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .counter-item {
    padding: 1.5rem;
  }

  .counter {
    font-size: 1.8rem;
  }

  .counter-item h4 {
    font-size: 0.9rem;
  }
}
