html {
    scroll-behavior: smooth;
}

.image-carousel {
    position: relative;
    width: 70%;
   max-height: 500px;
   
    margin: 50px auto;
    overflow: hidden;
    margin-top: 50px;
    border-radius: 10px;
    
}

.carousel-item {
    display: none;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color:#16204E;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 0%;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade-animation {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dots/Indicators */
.carousel-dots {
    margin-top: -220px;
    text-align: center;
    position: relative;
    bottom: 20px;
}

.carousel-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .carousel-dot:hover {
    background-color: #16204E;
}
#img_view{
    margin-top: 500px;
}

/* Button container */
.carousel-button-container {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.carousel-action-button {
    background-color: #16204E;
    color: rgb(255, 255, 255);
    padding: 12px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-action-button:hover {
    background-color: #555;
}


@media (max-width: 1350px) {
    .carousel-action-button {
        display: none;
        padding: 10px 20px;
        font-size: 2rem;
        margin-top: 50px;
    }
    
.image-carousel{
    height: auto;
    min-height: 500px;
    max-height: 1200px;
    
}
.carousel-dots {
   margin-top: auto;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 500px;
    border-radius: 10px;
}
.image-carousel{
    width: 70%;
}
}
@media (max-width: 1200px) {
    .carousel-action-button {
        display: none;
        padding: 10px 20px;
        font-size: 1rem;
        margin-top: 50px;
    }
    
.image-carousel{
    height: auto;
    min-height: 300px;
    max-height: 350px;
    
}
.carousel-dots {
   margin-top: auto;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 350px;
    border-radius: 10px;
}
.image-carousel{
    width: 70%;
}
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .carousel-action-button {
        display: none;
        padding: 10px 20px;
        font-size: 1rem;
        margin-top: 50px;
    }
    
.image-carousel{
    height: auto;
    min-height: 200px;
    
}
.carousel-dots {
    margin-top: auto;
}
.carousel-button-container{
    margin-top: -26px;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 10px;
}
.image-carousel{
    width: 77%;
}
}
@media (max-width: 550px) {
    .carousel-action-button {
        display: none;
        padding: 10px 20px;
        font-size: 1rem;
        margin-top: 50px;
    }
    
.image-carousel{
    height: auto;
    min-height: 200px;
    
}
.carousel-dots {
    margin-top: auto;
}
.carousel-button-container{
    margin-top: -26px;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 10px;
}
.image-carousel{
    width: 88%;
}
}



/* Content at the top */
.content {
    padding: 100px;
    background-color: #eee;
    color: #333;
}

/* Features Section */
.features {
    padding: 50px 0;
}

/* Hide the section until the user scrolls */
.features.inactive {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-in-out;
}

.features.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

.features h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Grid layout for icons */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 40px;
}

/* Styling for each icon box */
.icon-box {
    background: none;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform for smooth scaling */
}

.icon-box:hover {
    background: none;
    transform: translateY(-10px); /* Lift the icon box on hover */
}

/* Icon styling */
.icon-box i {
    font-size: 4.0em;
    margin-bottom: 15px;
    animation: bounce 2s infinite; /* Bounce animation for icons */
}

/* Text inside the icon box */
.icon-box p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Bounce animation for the icons */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }

    .icon-box {
        width: 200px;
    }
}
#icon-section{
    color: white;
}
.road-div{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
.roads-section {
    background-color: #1C2338;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0; /* Initially hidden */
    transform: translateY(30px); /* Start position for animation */
    transition: all 1s ease-in-out;
}

/* Animation triggers when active class is added */
.content-container.active {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
    width: 100%;
    color: #fff;
}

h1 span {
    font-weight: bold;
    color: #D4A017;
}

.roads-list {
    display: flex;
    gap: 20px;
}

.road-item {
    background-color: #E6E6E6;
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 150px;
    text-align: center;
    opacity: 0; /* Hidden at start */
    transform: translateY(50px); /* Off-screen for the animation */
    transition: all 0.8s ease-in-out;
}

/* When active class is added, the road items appear one by one */
.road-item:nth-child(1) {
    transition-delay: 0.2s;
}
.road-item:nth-child(2) {
    transition-delay: 0.4s;
}
.road-item:nth-child(3) {
    transition-delay: 0.6s;
}

.road-item.active {
    opacity: 1;
    transform: translateY(0); /* Moves into view */
}

.road-item p {
    font-size: 1.2em;
    font-weight: bold;
}

/* Styling for the icon on the right */
.icon-container {
    background-color: #fff;
    color: #11172B;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    opacity: 0; /* Hidden at start */
    transform: scale(0); /* Icon starts as scaled down */
    transition: all 0.8s ease-in-out 0.8s; /* Delayed to appear after road items */
}

.icon-container.active {
    opacity: 1;
    transform: scale(1); /* Scales back to normal size */
}

.icon-container i {
    font-size: 2em;
}
/* General styles remain the same */

/* Responsive styling */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Stack vertically on smaller screens */
        align-items: center;
    }

    .roads-list {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .icon-container {
        margin: 20px 0 0 0; /* Add space above the icon */
    }

    .road-item {
        min-width: 100%;
    }
}
.features-container{
    width: 93%;
    margin-left: 3.5%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}



/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    
    position: relative;
    
    
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
   
}


@media (max-width: 1190px) {
    .col-lg-4{
        width: 45%;
        float: left;
        margin-left: 4%;
    }
    .service .service-item {
        position: relative;
       
       
        
        text-align: center;
        margin-bottom: 30px;
        border-radius: 8px;
       
       
    }
  

}

@media (max-width: 700px) {
    .col-lg-4{
        width: 80%;
        margin-left: 10%;
        float: left;
    }
    .se
    .service .service-item {
        position: relative;
        width: 80%;
        margin-left: 10%;
        text-align: center;
        margin-bottom: 30px;
        border-radius: 8px;
       
    }
   
  
   

}

@media (max-width: 500px) {
    .col-lg-4{
        width: 100%;
        margin-left: 0%;
        float: left;
    }
    .se
    .service .service-item {
        position: relative;
        width: 80%;
        margin-left: 10%;
        text-align: center;
        margin-bottom: 30px;
        border-radius: 8px;
       
    }
   

}



.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    height: 100%;
    max-height: 250px;
    width: 100%;
}

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, .7);
    transition: .5s;
    opacity: 0;
}

.service .service-item:hover .service-overlay {
    opacity: 1;
   
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
}

.service .service-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #030f27;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
}

.service .service-text h3 {
    
    margin: 0;
    padding: 0 25px 0 15px;
    width:100%;
    font-size: 20px;
    font-weight: 700;
    color: #f3f2f0;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.service .service-item a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 3px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #030f27;
    background: #fdbe33;
    border-radius: 0;
    transition: .3s;
}

.service .service-item:hover a.btn {
    color: #ffffff;
}


/* Fade-in and scale-up animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service .service-item {
    opacity: 0; /* Initially hidden */
    animation: fadeInUp 0.6s ease forwards; /* Applies fadeInUp when the 'show' class is added */
}
/* Container setup */
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* Scale up slightly on hover */
}

.service-item:hover {
    transform: scale(1.03); /* Scale effect on hover */
}

/* Image zoom effect */
.service-item .service-img {
    overflow: hidden; /* Ensures image doesn't exceed card borders */
}

.service-item .service-img img {
    width: 100%;
    transition: transform 0.5s ease; /* Smooth zoom effect */
}

.service-item:hover .service-img img {
    transform: scale(1.1); /* Slight zoom on image when hovering */
}

/* Text effect */
.service-item .service-text {
    background: #030f27;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth effect */
}

.service-item:hover .service-text {
    background: #16204E; /* Change background color on hover */
    color: #030f27; /* Text color change */
    transform: translateY(-10px); /* Move text up slightly */
}

/* Overlay fade effect */
.service-item .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.5s ease; /* Smooth fade effect */
    padding: 20px;
    text-align: center;
}

.service-item:hover .service-overlay {
    opacity: 1; /* Fade in overlay on hover */
}

.form-con{
    
    display:flex;
      justify-content: center;
      align-items: center;
      
      
      
}
.form-container {
    
    background-color: #fff;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
  }

  .form-group input, 
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #d43b20;
    outline: none;
  }

  .form-group textarea {
    resize: vertical;
    height: 100px;
  }

  .submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #16204E;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .submit-btn:hover {
    background-color: #5753d4;
  }

  .error-message {
    color: red;
    font-size: 14px;
  }

  @media (max-width: 480px) {
    .form-container {
      padding: 20px;
    }
  }

  .message {
   
    margin-top: 20px; /* Space above the message */
    color: green; /* Success message color */
}

@media (min-width:760px) {
    .form-con{
    
       
          justify-content: center;
          align-items: center; 
         
         
          
          
          
    }
   
    .form-container {
    
        background-color: #fff;
        padding: 30px;
        max-width: 1000px;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        
      }
      .form-group {
        margin-bottom: 25px;
        margin-inline-start: 7%;
        width: 40%;
        float:inline-start;
       
      }
   
      .form-group .input:focus{
         border: 2px solid red;;
      }
      #form-group-message{
        width: 87%;
      }
      .submit-btn {
        
        margin-right:7% ;
        margin-top: 20px;
       
        width: 87%;
      }
   
}
input.error, textarea.error {
    border: 2px solid red;
}