/* Updated Slideshow Styles with Navigation */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 450px;
    overflow: hidden;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: block !important; /* Override the existing display: none */
}

.image-container.active {
    opacity: 1;
}

.base-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Dots Indicator */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slideshow-dot.active {
    background: white;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
    .slideshow-container {
        height: 240px;
    }
    
    .slideshow-btn {
        padding: 12px 16px;
        font-size: 16px;
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slideshow-dots {
        bottom: 15px;
    }
    
    .slideshow-dot {
        width: 10px;
        height: 10px;
    }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .slideshow-container {
        height: 200px;
    }
    
    .slideshow-btn {
        padding: 10px 14px;
        font-size: 14px;
        width: 35px;
        height: 35px;
    }
}




/* Services Section Styles */
.services-section {
    padding: 50px 20px;
    background-color: #ffffff;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-block {
    display: flex;
    align-items: center;
    width: 48%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
}

.service-left {
    flex-direction: row;
}

.service-right {
    flex-direction: row-reverse;
}

.service-image {
    width: 40%;
    height: auto;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333333;
}

.service-content p {
    line-height: 1.4;
    text-align: justify;
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}


@media (max-width: 1024px) {
    .services-section{
        padding: 25px 25px ;
        justify-items: center;
    }

    .service-block {
        width: 100%;        
        flex-direction: column;
    }

    .service-left, .service-right {
        flex-direction: column;
    }

    .service-image {
        padding-top: 20%;
        width:50%;
    }
}



/* Mission Section */
.mission-section {
    display: flex;
    flex-wrap: wrap; /* Allows content to wrap for smaller screens */
    justify-content: center; /* Center-align content horizontally */
    align-items: center; /* Center-align content vertically */
    width: 100%;
    margin: 0 auto;
    padding: 10px 0px; /* Adds spacing around the section */
    background-color: #032c6e; /* Light background for contrast */
}

.mission-image-container {
    flex: 1; /* Allows the image to take up equal space with content */
    max-width: 600px; /* Limits the width of the image */
    margin: 10px; /* Adds space around the image */
}

.mission-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 5px; /* Adds rounded corners to the image */
}

.mission-content {
    max-width: 600px; /* Limits the width of the content */
    padding: 30px;
    background-color: #032c6e; /* Dark blue background for contrast */
    color: #ffffff;
    text-align: left; /* Center-align text for a balanced look */
    margin-right: 0%;
}

.mission-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f4f4f4; /* Light text color for contrast */
}

.mission-content h3 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #f4f4f4;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left; /* Aligns text to the left for readability */
}

.mission-list li {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mission-list li::before {
    content: "✔"; /* Adds a checkmark symbol before each list item */
    margin-right: 10px;
    color: #f8c016; /* Gold color for the checkmark */
    width: 40px;
    font-weight: bold;
}


.learn-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f8c016;
  color: #032c6e;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.learn-more-btn:hover {
  background-color: #032c6e;
  color:white;
}
.learn-more-btnn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f8c016;
  color: #032c6e;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.learn-more-btnn:hover {
  background-color: white;
  color:#032c6e;
}

/* Responsive Design */
@media (min-width: 1024px) {
  .mission-section {
    flex-direction: row; /* Layout switches to horizontal for larger screens */
  }
  .mission-image-container {
    flex: 2; /* Image takes up half the width */
  }
  .mission-content {
    flex: 1; /* Content takes up the other half */
    padding: 50px;
  }
  .mission-content h3 {
   font-size: 18px;
  
  }
.mission-content h2 {
  font-size: 20px;
  }

}

/*WHYchooseUS*/

.wcu {
    padding: 50px 50px;
}
.wcu h1{
    font-size: 36px;
    padding-top: 5px;
    text-align: center;    
    line-height: 1.4;
}
.wcu p {
    padding-bottom: 50px;
    text-align: justify; 
    line-height: 1.4;
}

/*2nd slide*/

.image-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.image-containerrr {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: calc(100% * (totalImages / 4)); /* Adjust for total images */
}
.image-containerrr img {
  width: 25%; /* Display 4 images at a time */
  flex-shrink: 0;
  object-fit: cover;
}


/*3rd slide*/
.slideshow-client {
    position: relative;
    max-width: 100%;
    margin: auto;
    text-align: center;
    background-color: white; /* Optional background */
    padding: 20px 0;
    overflow: hidden;
}
.slideshow-client h2 {
    padding-top: 30px;

    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    font-size: 36px;
    color: black;
}
.slideshow-client p{
    padding-bottom: 60px;
}
.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
   
}
.slide {
    flex: 0 0 25%; /* 4 slides visible at a time */
    box-sizing: border-box;
    text-align: center;
    padding: 5px;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.dots {
    text-align: center;
    margin-top: 10px;
}
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.dot.active {
    background-color: black;
}
@media (min-width: 1024px) {
    .slide{
    text-align: center;
    }
}


/* Feedback Section */
.feedback-sec {
    padding: 0 20px 30px; /* Adds padding to the left and right */
    height: auto;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.feedback {
    text-align: center;
}

.feedback h2 {
    font-size: 28px; /* Smaller font size for smaller screens */
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feedback p {
    line-height: 1.5;
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.carousel-feedback {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.feedback-row {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.feedback-card {
    flex: 0 0 calc(100% / 6);
    background-color: #032c6e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    min-width: calc(100% / 4 - 20px);
}

.feedback-card h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
}

.feedback-card p {
    margin: 4px 0;
    color: white;
    font-size: 14px;
}

.feedback-card p:nth-child(2) {
    font-style: italic;
    font-size: 12px;
}

/* Responsive styles for 1024px and below */
@media (max-width: 1024px) {
    .feedback-sec {
        min-height: 400px; /* Ensure consistent height for the section */
        height: auto; /* Ensure flexible height */
    }

    .feedback-row {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        padding: 20px 20px;
        gap: 15px; /* Adjust gap between stacked cards */
    }

    .feedback-card {
        flex: 0 0 100%; /* Ensure cards take full width in the stack */
        max-width: 100%; /* Ensure full width on small screens */
        width: 100%; /* Ensure all cards take the full width */
        padding-top: 15px;
        padding-bottom: 15px;
        height: auto; /* Let height adjust based on content */
    }

    .feedback h2 {
        font-size: 18px; /* Slightly smaller font size for small screens */
    }

    .feedback p {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
}




/*last banner*/
.call {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #032c6e;
    width: 100%;
    height: auto; /* Height adjusts automatically */
}

.container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 20px; /* Add padding for better spacing */
    min-height: 300px; /* Adjust for smaller screens */
}

.left-content {
    padding: 20px; /* Flexible padding */
    max-width: 100%; /* Ensures full width for small screens */
    flex: 1; /* Allow it to flex based on space */
}

.left-content h1 {
    font-size: 2em; /* Use relative font sizes */
    margin-bottom: 15px;
}

.left-content p {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.button {
    display: inline-block;
    background-color: #f8c016;
    color: black;
    font-size: 1em;
    padding: 10px 20px; /* Reduce padding for smaller screens */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: white;
    color: #032c6e;
}

.buttons {
    display: inline-block;
    background-color: #f8c016;
    color: black;
    font-size: 1em;
    padding: 10px 20px; /* Reduce padding for smaller screens */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttons:hover {
    background-color: #032c6e;
    color: white;
}

.right-content {
    max-width: 100%; /* Ensure it adapts on smaller screens */
    text-align: center;
    flex: 1; /* Allow it to flex based on space */
    margin-top: 20px; /* Add spacing for better layout */
}

.right-content img {
    width: 100%; /* Make image responsive */
    max-width: 300px; /* Limit maximum size */
    height: auto; /* Maintain aspect ratio */
    padding-right: 0; /* Remove padding on smaller screens */
}

/* Media Queries for Smaller Screens */
@media (max-width: 1024px) {
    .container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align items */
    }

    .left-content {
        padding: 10px; /* Reduce padding */
        text-align: center; /* Center text for better appearance */
    }

    .right-content {
        margin-top: 10px; /* Add spacing between sections */
    }

    .button {
        padding: 10px 15px; /* Smaller buttons */
        font-size: 0.9em; /* Adjust font size */
    }
}

@media (max-width: 375px) {
    .left-content h1 {
        font-size: 1.8em; /* Adjust font size for small screens */
    }

    .left-content p {
        font-size: 0.9em; /* Smaller font size for paragraphs */
        margin-bottom: 15px;
    }

    .button {
        padding: 8px 12px; /* Smaller buttons */
        font-size: 0.8em;
    }

    .right-content img {
        max-width: 200px; /* Reduce image size further */
    }


}

/* Pop-Up Poster Styles */
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    border-radius: 5px;
    padding: 20px;
    display: block;
    z-index: 1000;
  }

  #popup img {
    width: 100%;
  }

  #popup .close-btn {
    position: absolute;
    top: -10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
  }

  #popup .close-btn:hover {
    color: #d00;
  }

  /* Background Overlay */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    z-index: 999;
  }

  @media (max-width: 480px) {
    #popup {
      width: 80%;
      padding: 15px;
      left: 50%;
    }

    #popup img {
      max-width: 100%;
      height: auto;
    }

    #close-popup {
      font-size: 18px;
    }
  }

