/* styles.css */

/* Navbar Styling */

.navpage{
 height: 23%;
 padding: 13px;
 position: relative;
 bottom:9px;
}




/* Navbar Links Styling */
.navbar-nav .nav-link {
   font-family: "Kanit", sans-serif;
   color: aliceblue;
  margin-right: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0d6efd;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navpage{
  background: #2c2438;
}
.navbar-brand {
 font-family: 'Poppins', sans-serif;
  color: antiquewhite;
  font-weight: 600;
  font-size: 2rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-text {
  letter-spacing: 0.5px;
}
.navbar-brand img {
  max-height: 40px;
  height: auto;
  width: auto;
} 


/* Container Background */


/* Carousel Image Styling */
.carousel-img {
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Carousel Box */
.carousel {
  border-radius: 12px;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .carousel-img {
    height: 250px;
  }
}







.homecontainer{
 
    position: relative;
  bottom: 18px;
 
  
}


  .aboutcard {
    position: relative;
    border: none;
    z-index: 1;
  
  }

  .aboutcard::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400% 400%;
    animation: borderMove 5s linear infinite;
    z-index: -1;
    border-radius: 18px;
  }

  .card-body {
    border-radius: 10px;
    background: white;
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  @keyframes borderMove {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 15px;
  }

  .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 10px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #0056b3;
  }

.hidden {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.card-left.hidden {
  transform: translateX(-150px);
}

.card-center.hidden {
  transform: translateY(-150px);
}

.card-right.hidden {
  transform: translateX(150px);
}

/* Jab dikhe tab inhe original position pe laana */
.card-left.show {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.card-center.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

.card-right.show {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}





.imgbox {
  width: 600px;
  margin-top:23px;
  height: 600px;
  background: #728599; /* ✅ Hex color for background */
  clip-path: polygon(
    25% 5%, 75% 5%, 
    100% 50%, 
    75% 95%, -35% 95%, 
    0% 5%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: auto;
  padding: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

@media (max-width: 768px) {
  .imgbox {
    clip-path: polygon(
      20% 5%, 80% 5%,
      100% 50%,
      80% 95%, 0% 95%,
      0% 5%
    );
  }
}
@media (max-width: 600px) {
  .imgbox {
    clip-path: polygon(
      20% 5%, 80% 5%,
      100% 50%,
      80% 95%, 0% 95%,
      0% 5%
    );
  }
}

.imgbox:hover {
  transform: scale(1.03);
}

/* Image styling + animation */
.imgbox img {
  width: 270px;
  height: auto;
  margin-bottom:114px;
  margin-right:14px;
  border-radius: 10px;
  animation: floatImage 4s ease-in-out infinite;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.imgbox .img-A {
    position: relative;
    top:178px;
    right:44px;
}

@media (max-width: 586px) {
  .imgbox{
    width: 87%;
    
  }

}








.textheading {
  font-size: 2rem;
  font-weight: bold;
  color: #37393a; /* Blue shade – change if needed */
  text-align: center;
  margin-top: 20px;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Decorative underline */
.textheadings::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #ad13b0, #00bfff);
  border-radius: 5px;
}



 .title {
  background-color: #f0f8ff; /* Soft blue background */
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 30px;
}

.title-text  {
  font-size:24px;
 
  font-weight: 700;
  color: #16191d; /* Dodger blue */
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Decorative underline */
.title-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #1e90ff, #00bfff);
  border-radius: 5px;
}

.para {
  background-color: #f9fbfd;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 20px;
}

.para p {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.para p i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #1e90ff;
}

.sub-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.sub-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: #444;
}

.sub-list li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #c4107c;
}

.buttonbox {
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: #dc3545; /* Bootstrap red */
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.buttonbox:hover {
  background-color: #c82333;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(200, 35, 51, 0.6);
  cursor: pointer;
}






 .servicecard {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      height: 320px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .servicecard img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .servicecard:hover img {
      transform: scale(1.1);
    }

    .card-hover-content {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(255, 255, 255, 0.92);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: start;
      padding: 20px;
      opacity: 0;
      transform: translateY(100%);
      transition: all 0.5s ease-in-out;
    }

    .servicecard:hover .card-hover-content {
      opacity: 1;
      transform: translateY(0%);
    }

    .card-hover-content .tagline {
      color: #00bcd4;
      font-weight: 600;
      font-size: 18px;
    }

    .card-hover-content h2 {
      font-size: 18px;
      font-weight: bold;
      margin-top: 10px;
    }

    .card-hover-content p {
      font-size: 12px;
      margin-top: 10px;
      color: #333;
    }

    .card-hover-content button {
      margin-top: 15px;
      padding: 8px 20px;
      background: rgb(189, 14, 14);
      color: white;
      border: none;
      border-radius: 8px;
    }

    .card-hover-content button:hover {
      background: #222;
    }





/* Container and font */
.clientbox {
  padding: 40px 20px;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.client {
  text-align: center;
  margin-bottom: 30px;
}

.clientext {
  font-size: 32px;
  font-weight: 700;
   color: #37393a;;
  margin-bottom: 10px;
}

.clientpara {
  font-size: 18px;
  font-weight: 500;
  color: #201e1e;
}

/* Marquee container */
.marquee-row {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  padding: 20px 10px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
  user-select: none;
}

/* Marquee flex box */
.marquee {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marqueeAnim 30s linear infinite;
  width: max-content;   /* important for smooth scroll */
  padding-left: 0;
}

/* Each image + caption */
.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.marquee-item:hover {
  transform: scale(1.1);
  z-index: 10;
}

.marquee-item img {
  height: 100px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
  object-fit: contain;
}

.marquee-item:hover img {
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.caption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
  user-select: none;
}

/* Keyframes for scrolling left */
@keyframes marqueeAnim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover */
.marquee-row:hover .marquee {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .marquee-item {
    min-width: 90px;
  }
  .marquee-item img {
    height: 70px;
  }
  .clientext {
    font-size: 24px;
  }
  .clientpara {
    font-size: 16px;
  }
}
.marquee-row {
  overflow: hidden;
  border-radius: 12px;
  padding: 20px 10px;
  background: linear-gradient(90deg, #e0f7fa, #4d5b8b);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  user-select: none;
}
.caption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #222;               /* Dark text for readability */
  text-align: center;
  user-select: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);  /* Thoda subtle shadow */
  letter-spacing: 0.03em;
  white-space: nowrap;       /* Caption ek line me rahe */
}

.client {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.clientext {
  font-size: 36px;
  font-weight: 700;
  color: #363434;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.clientpara {
  font-size: 34px;
  font-weight: 700;
  color: #241d1d;
  letter-spacing: 0.05em;
  font-style: italic;
  margin-top: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* Styling the hr inside .clientpara */
.clientpara hr {
  width: 150px;
  border: none;
  height: 3px;
  background-color: #8f1717; /* Bootstrap blue */
  margin: 10px auto 0;
  border-radius: 2px;
}

.contactpage {
   
    
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
  
}

.contctbox {
  font-size: 2.5rem;
  font-weight: 700;
   color: #37393a;;
}

.contactext h5 {
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 3px solid blue;
}

.contactext p {
  font-size: 1.4rem;
  color: #444;
  line-height: 1.6;
  margin-top: 10px;
  font-weight: 600;
  padding: 13px;
}

.contact-img {
  max-width: 500px;   /* Increase width */
  max-height: 400px;  /* Increase height */
  width: 100%;        /* Still responsive */
  height: auto;
  object-fit: cover;  /* Keep aspect ratio neat */
  border-radius: 36%;
  box-shadow: 0 8px 16px rgba(12, 9, 9, 0.2);
}


/* Optional: Add spacing below image on small screens */
@media (max-width: 768px) {
  .contactext {
    text-align: center;
  }
}



/* Base card styling */
.cardsheet {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

/* Hover effect for card */
.cardsheet:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Heading styling */
.boxA {
  font-size: 1.5rem;
  font-weight: 600;
  color: #007BFF;
  margin-bottom: 10px;
  position: relative;
  animation: fadeSlideIn 1s ease forwards;
  opacity: 0;
}

/* Paragraph styling */
.paraA {
  font-size: 1.rem;
  color: #555;
  animation: fadeSlideIn 1.3s ease forwards;
  opacity: 0;
}

/* Image styling */
.cardsheet img {
  max-width: 49%;
  height: auto;
  padding-top: 10px;
  animation: fadeSlideIn 1.5s ease forwards;
  opacity: 0;
}

@media screen and (max-width: 540px) {
  .cardsheet img {
    width: 25%;
    height: auto;
  }
}

/* Scroll-based fade+slide animation */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cardsheet:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.2);
  border-left: 5px solid #007bff;
  background: linear-gradient(135deg, #cf5151, #f0f8ff);
}
.contctbox hr {
  width: 150px;
  border: none;
  height: 3px;
  background-color: #8f1717; /* Bootstrap blue */
  margin: 10px auto 0;
  border-radius: 2px;
}

.newsletter-footer {
  background-color: #2c2438; /* Deep purple background */
  padding: 50px 0;
}

.newsletter-footer h6 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #ccc;
}

.newsletter-footer h3 {
  font-size: 2rem;
  color: #fff;
}

.newsletter-form input.form-control {
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  width: 100%;
  background-color: #fff;
  color: #333;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form .btn {
  background-color: #2c2438;
  color: #fff;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
  background-color: #fff;
  color: #2c2438;
}


.footercontainer{
   background:  #2c2438;;
  
}