 html {
      scroll-behavior: smooth;
      scroll-padding-top: 70px; /* prevents section being hidden behind navbar */
    }

    body {
      font-family: Arial, sans-serif;
    }

    .navbar-custom.no-transition {
      transition: none !important;
    }
    .navbar-custom.navbar-move-up {
      top: 30px !important;
    }

     /* .navbar-container {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: 10;
        display: flex;
        justify-content: center;
        pointer-events: auto;
        } 

        .navbar-custom {
        background: rgba(255,255,255,0.8);
        border-radius: 24px;
        box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.3);
        padding: 0.5rem 1rem;
        top: 150px;
        transition: top 1s;
        } */

        .navbar-container {
      width: 100%;
      padding-top: 20px;
      margin: 0 auto;
      max-width: 1200px; /* or your preferred max width */
    }

.navbar-custom {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  /* Remove any fixed/absolute positioning if present */
  position: static;
}


        .custom-rounded-box {
  border-radius: 35px !important;
   border: 1px solid #f5f5f5; /* light grey */
}
    /* .navbar-custom {
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 10px 30px;
      margin-top: 20px;
      display: inline-block;
    } */

    .navbar-custom .nav-link {
      margin: 0 15px;
      color: #333;
      font-weight: 500;
      transition: color 0.3s;
      padding: 5px 0px !important; /* Adjust padding to reduce space */
    }

    
    .navbar-custom .nav-link:hover {
      color: #0d6efd;
    }

    /* section {
     padding: 80px 20px; 
      height: 100vh;
    } */

    #home {
      margin-top: 90px; /* Adjust this value if needed */
    }

    /* .navbar-container {
      display: flex;
      justify-content: center;
      position: fixed;
      width: 100%;
      top: 0;
      background: transparent;
    } */

    /* Only affect the custom centered navbar */
.navbar-container .navbar-custom .navbar-nav {
  flex-direction: row !important;
  width: 100%;
  justify-content: center;
}

.navbar-container .navbar-custom .nav-item {
  margin: 0 0.5rem;
}

/* Hide the toggler (hamburger) for this navbar */
.navbar-container .navbar-custom .navbar-toggler {
  display: none !important;
}

/* Prevent collapse for this navbar on small screens */
@media (max-width: 991.98px) {
  .navbar-container .navbar-custom .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

@media (max-width: 768px) {
 
  .navbar-custom {
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }

  .navbar-custom .nav-link {
    font-size: 14px;
    margin: 0 8px;
    padding: 4px 0 !important;
  }

  .navbar-container .navbar-custom .nav-item {
    margin: 0 0.3rem;
  }
}

@media (max-width: 576px) {
  .navbar-custom .nav-link {
    font-size: 12px;
    margin: 0 6px;
  }

  .navbar-custom {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
  }
}
    
/* Flip card styles starts */

.flip-card {
  position: relative;
  perspective: 1000px;
  width: 320px;
  height: 320px;
  margin-bottom: 2rem;
  display: block;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #f8f9fa;
  color: #000;
}

.flip-card-back {
  background-color: #343a40;
  color: #000;
  transform: rotateY(180deg);
}


/* .card-img-top {
  max-height: 150px;
  object-fit: cover;
} */

  /* Flip card styles ends */


  /* Services slider styles starts */

.carousel-indicators button.thumbnail {
  width: 100px;
}
.carousel-indicators button.thumbnail:not(.active) {
  opacity: 0.7;
}
.carousel-indicators {
  position: static;
}
@media screen and (min-width: 992px) {
  .carousel {
    max-width: 90%;
    margin: 0 auto;
  }
}
.carousel-inner {
  box-shadow: #333 0px 0px 10px;
  border-radius: 10px;
}

/* Services slider styles ends */

/* Feedback section styles starts */
.marquee-container {
   width: 100%;
   background-color: #f8f9fa;
   padding: 15px 0;
 }

 .marquee-item {
   flex: 0 0 auto;
   padding: 0 20px;
   font-size: 1.2rem;
   color: #495057;
 }

 .marquee-item img {
  max-height:400px;
  cursor: pointer;
 }
 
 /* Modal window styles */

  .modal-content {
      background: transparent;
      border: none;
    }

    .modal-body {
      padding: 0;
    }

    /* Circular Close Button */
    .custom-close-btn {
      position: absolute;
      top: 15px;
      right: 20px;
      z-index: 1051;
      background-color: rgba(0, 0, 0, 0.6);
      border: none;
      color: white;
      font-size: 1.5rem;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      text-align: center;
      line-height: 40px;
      padding: 0;
      cursor: pointer;
    }

    .custom-close-btn:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }

    .modal-backdrop.show {
  opacity: 0 !important;
}

/* Feedback section styles ends */


/* Designation animation styles starts */
.dropping-texts {
  display: inline-block;
  width: 360px;
  text-align: left;
  height: 55px;
  font-size: 2.5rem;
  /* vertical-align: -2px; */
}

.dropping-texts > div {
  font-size:0px;
  opacity:0;
  margin-left:-30px;
  position:absolute;
  text-align: center;
  font-weight:300;   
  box-shadow: 0px 60px 25px -20px rgba(0,0,0,0.5);
}

@media (max-width: 576px) {
  .dropping-texts {
    position: absolute;
    left: 50%;
    bottom: 10px;           /* Move 10px above the bottom */
    transform: translateX(-50%);
    width: 250px;
    height: 24px;
    text-align: center;
    font-size: 1.25rem;  
  }
  .dropping-texts > div {
    font-size: 0.5rem;     /* Reduce font size for mobile */
  }
}

.dropping-texts > div:nth-child(1) {
  animation: roll 5s linear infinite 0s;
}
.dropping-texts > div:nth-child(2) {
  animation: roll 5s linear infinite 1s;
}
.dropping-texts > div:nth-child(3) {
  animation: roll 5s linear infinite 2s;
}
.dropping-texts > div:nth-child(4) {
  animation: roll2 5s linear infinite 3s;
}

@keyframes roll {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  20% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  27% {
    font-size:0px;
    opacity:0.5;
    margin-left:20px;
    margin-top:100px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}

@keyframes roll2 {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  30% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  37% {
    font-size:1500px;
    opacity:0;
    margin-left:-1000px;
    margin-top:-800px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}
/* Designation animation styles ends */

