* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background Image */
body {
  background-image: url('images/background.jpg'); /* Replace with your image path */
  background-size: cover; /* Cover the entire viewport */
  background-attachment: fixed; /* Fix the background image */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  font-family: Aptos Narrow;
}
/* Splash screen full-page center styling */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* or your preferred background */
  animation: fadeOut 1s ease-in-out forwards;
  animation-delay: 2s; /* Start fade out after 2 seconds */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Logo styling */
.splash-logo {
  max-width: 80%;
  animation: fadeOut 1s ease-in-out forwards;
  animation-delay: 2s; /* Start fade out after 2 seconds */
  opacity: 1;
}

/* Fade out animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(1.2);
  }
}
/*Splash Screen End Here*/
/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for better visibility */
}

.logo-container {
  display: flex;
  align-items: center; /* Center align logo and text */
}

.logo {
  width: 80px; /* Adjust logo size as needed */
  height: auto;
  margin-right: 10px; /* Space between logo and text */
}

.logo-text {
  font-size: 2vw; /* Responsive text size based on viewport width */
  color: white; /* Change text color as needed */
  font-family: Arial, sans-serif; /* Specify font family */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Optional: adds depth */
}

/* Menu styles */
.menu {
  display: flex;
  gap: 10px;
}

.menu-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 0;
}

.menu-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0; /* Positioning for dropdown */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  flex-direction: column;
  width: 150px; /* Set width for dropdown */
  z-index: 1000; /* Ensure dropdown is on top */
}

.dropdown-content a {
  padding: 10px 20px;
  display: block;
  color: white;
  text-decoration: none;
  text-align: left;
  background: rgba(53, 44, 37, 0.5); /* Background color for links */
  margin: 2px 0; /* Space between links */
}

.dropdown-content a:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Slider styles */
.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1; /* Slider below menu */
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.content-box {
  background-color: rgba(255, 255, 255, 0.8);
  width: 600px;
  padding: 20px;
  margin-right: 50px;
}

.content-box h2 {
  margin-bottom: 10px;
  color: rgb(255, 96, 0);
}

.content-box p {
  color: #333;
}

/* Navigation Controls */
.nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.nav .prev, .nav .next {
  font-size: 30px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  cursor: pointer;
}

.nav .prev:hover, .nav .next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  position: fixed; /* Changed to fixed */
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
}
.services {
            padding: 50px 20px; /* Adjust padding as needed */
            background-color: rgba(255, 255, 255, 0.8); /* Optional: Background for services */
            text-align: center; /* Center-align text */
        }

        .services h2 {
            margin-bottom: 30px;
            font-size: 2.5rem;
            color: rgba(0, 0, 0, 0.7); /* Title color */
        }

        .services-container {
            display: flex;
            justify-content: space-around; /* Space boxes evenly */
            flex-wrap: wrap; /* Allow wrapping on small screens */
        }

        .service-box {
            position: relative;
            width: 23%; /* Set width for each box (adjust as needed) */
            margin: 10px; /* Space between boxes */
            border-radius: 10px; /* Rounded corners */
            overflow: hidden; /* Hide overflow for the flip effect */
            transition: transform 0.6s; /* Transition for the flip */
            cursor: pointer; /* Cursor on hover */
        }

        .service-box:hover {
            transform: scale(1.05); /* Slight scale on hover */
        }

        .service-image {
            height: 200px; /* Set height for images */
            background-size: cover; /* Cover image */
            background-position: center; /* Center image */
            transition: transform 0.6s; /* Transition for image flip */
        }

        .service-info {
            padding: 20px;
            background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
        }

        .hover-text {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 10px 0;
            background: rgba(0, 0, 0, 0.7); /* Background for hover text */
            color: white;
            text-align: center;
            transform: translateY(100%); /* Initially hidden */
            transition: transform 0.3s; /* Transition for hover */
            opacity: 0; /* Initially hidden */
        }

        .service-box:hover .hover-text {
            transform: translateY(0); /* Show hover text on hover */
            opacity: 1; /* Show hover text */
        }

        .service-box:hover .service-image {
            transform: rotateY(180deg); /* Flip the image on hover */
        }
		/* Satisfied Clients*/
.stats {
    display: flex;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-image {
    width: 80px;  /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between image and text */
}

.counter {
    font-size: 32px; /* Adjust font size for visibility */
    margin: 0; /* Remove margin for better alignment */
}

.stat p {
    font-size: 18px; /* Adjust font size for clarity */
    margin: 10px 0; /* Space between counter and text */
}
/*For Hisotry */
    .timeline-container {
      position: relative;
      max-width: 1400px;
      margin: auto;
      padding: 60px 20px;
    }

    .timeline-title {
      text-align: center;
      font-size: 32px;
      color: rgba(0, 0, 0, 0.7);
      margin-bottom: 80px;
    }

    .timeline-line {
      position: absolute;
      left: 50%;
      top: 112px;
      bottom: 200px;
      width: 4px;
      background: rgba(0, 0, 0, 0.7);
      transform: translateX(-50%);
      z-index: 0;
    }

    .timeline-block {
      position: relative;
      margin: 80px 0;
      z-index: 1;
    }

.timeline-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  background-color: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 2;
}

    .timeline-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .timeline-content {
      background-color: rgba(240, 240, 240, 0.7);
      padding: 20px;
      border-radius: 10px;
      width: 49.5%;
      position: relative;
      margin-top: 60px;
	  box-shadow: 0 10px 20px rgba(245, 112, 15, 0.16);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
	.timeline-content:hover {
	  transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
    .timeline-block.left .timeline-content {
      margin-right: auto;
      text-align: left;
    }

    .timeline-block.right .timeline-content {
      margin-left: auto;
      text-align: left;
	  padding-left: 40px; /* Add this line to create space from the circle */
    }

    .timeline-year {
      font-size: 20px;
      color: rgba(0, 0, 0, 0.7);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .timeline-content h3 {
      color: #00bcd4;
      margin: 0 0 10px;
    }
/*For History End Here*/

/*Popup Box For Services*/
/* Popup background */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

/* Popup content */
.popup-content {
    background-color: #fff;
    margin: 5% auto; /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Full width on smaller screens */
    max-height: 90%; /* Limit height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    border-radius: 8px; /* Rounded corners */
}
/*Contact Us Form*/
/* Cool input & textarea styles */
.popup-content form input,
.popup-content form textarea {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #f9f9f9;
  transition: 0.3s;
}

.popup-content form input:focus,
.popup-content form textarea:focus {
  border-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 5px rgba(255, 103, 0, 0.4);
  outline: none;
}
.popup-content form select {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f9f9f9;
  font-family: inherit;
  box-sizing: border-box;
  transition: 0.3s;
}

.popup-content form select:focus {
  border-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 5px rgba(255, 103, 0, 0.4);
  outline: none;
}
.popup-content form textarea {
  min-height: 100px;
  resize: vertical;
}

.security-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.security-pin label {
  background: #eee;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
  font-size: 16px;
}

.security-pin input {
  flex: 1;
}

/* Submit button style */
.popup-content form button {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.popup-content form button:hover {
  background: rgba(0, 0, 0, 0.7);
}
/* PIN Display Styling */
.pin-box {
  background: #f7f7f7;
  padding: 12px 14px;
  border: 1px dashed #aaa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
  min-height: 50px;
}

/*Contact Us FOrm End*/
/*Certifications*/
    .certificate-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .certificate-card {
      width: 280px;
      height: 200px;
      perspective: 1000px;
    }

    .card-inner {
      width: 100%;
      height: 100%;
      position: relative;
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }

    .certificate-card:hover .card-inner {
      transform: rotateY(180deg);
    }

    .card-front, .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(245, 112, 15, 0.16);
    }

    .card-front img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-back {
      background: white;
      color: #333;
      transform: rotateY(180deg);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 15px;
      text-align: center;
    }

    .card-back h3 {
      margin: 0 0 10px;
      font-size: 20px;
      color: rgba(0, 0, 0, 0.7);
    }

    .card-back p {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
    }

    .card-back a {
      text-decoration: none;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 14px;
      transition: background 0.3s;
    }

    .card-back a:hover {
      background: #e65c00;
    }
/*Certification End*/
/* Close button */
.close {
    color: #aaa;
    float: right; /* Right-align the button */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Inner content */
.popup-inner {
	text-align: center;
}

/* Image styling */
.popup-image img {
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: rounded corners for image */
}

/* Text styling */
.popup-text {
   
	text-align: justify;
	 margin: 15px 0;
}
.main-image img {
    width: 90%;
    max-height: 600px; /* Adjust based on your needs */
    cursor: pointer;
}

.thumbnail-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    flex: 1;
}

.thumbnail-container img {
    height: 60px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

.thumbnail-container img:hover {
    transform: scale(1.1);
}

.thumb-nav {
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    display: none; /* hidden by default */
}


.room-table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 80%; /* Adjust based on your needs */
}

.room-table th, .room-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}
 .map-container-popup {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh; /* Adjust the height as needed */
    }

    iframe {
        width: 70vw; /* 50% of the viewport width */
        height: 40vh; /* 50% of the viewport height */
        border: 0;
    }
.client-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.client-img:hover {
    transform: scale(1.05);
}

/* Popup Styling */
.image-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.image-popup-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}


.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
	    .thumb-nav {
        display: block;
    }
    .popup-content {
        width: 95%; /* Slightly wider on small devices */
        margin: 5% auto; /* Less margin on top */
    }
    
    .popup-inner {
        flex-direction: column; /* Stack image and text */
        align-items: center; /* Center align items */
    }

    .popup-text {
        margin-left: 0; /* Reset margin */
        margin-top: 10px; /* Add space above text */
    }
	.stats {
        flex-direction: column; /* Stack vertically on small devices */
        align-items: center; /* Center align */
    }
/*For Hisotry */
  .timeline-block {
    position: relative;
    margin-top: 60px;
    padding-top: 40px;
  }

  .timeline-content {
    width: 90% !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding-top: 50px !important; /* Creates space inside box for overlapping image */
    position: relative;
    z-index: 1;
  }

  .timeline-circle {
    position: absolute !important;
    top: -20px !important; /* Half of the image height to overlap */
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 2;
  }

  .timeline-block.left .timeline-content,
  .timeline-block.right .timeline-content {
    margin: 0 auto !important;
  }
    .timeline-line {
      background: rgba(0, 0, 0, 0.04);
    }
/*For History End Here*/
/*Certificate*/
      .certificate-card {
        width: 90%;
      }
    .client-box {
        flex: 0 0 50%; /* 2 images per row on small screens */
        max-width: 50%; /* Ensure maximum width of each client box on small screens */
    }

    .client-box img {
        max-height: 40px; /* Keep images to a larger size on small devices */
    }
}

@media (max-width: 480px) {
    .close {
        font-size: 24px; /* Smaller close button on very small screens */
    }

    .popup-content {
        padding: 10px; /* Less padding on small devices */
    }
}
/* Client Section */
/* Outer Box */
.clients-outer-box {
    width: 100%; /* Full width of the page */
    background-color: #f9f9f9; /* Background color for the outer box */
    padding: 20px 0; /* Padding above and below the section */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

/* Client Section */
.clients-section {
    text-align: center; /* Center align the section */
    padding: 50px 20px; /* Padding for the section */
    background-color: white; /* Background color for the client section */
    border-radius: 10px; /* Rounded corners for the inner box */
    max-width: 1200px; /* Max width for the box */
    margin: 0 auto; /* Center the inner box */
}

.clients-carousel-container {
    overflow: hidden; /* Hide overflow for the carousel */
    position: relative; /* Position for the controls */
}

.clients-carousel {
    display: flex; /* Flexbox for horizontal alignment */
    transition: transform 0.5s ease; /* Smooth transition for sliding */
}

.client-box {
    flex: 0 0 16.66%; /* 6 images per row */
    max-width: 16.66%; /* Ensure maximum width of each client box */
    box-sizing: border-box; /* Include padding in width calculation */
}

.client-box img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    max-height: 50px; /* Adjust height to make images larger */
    object-fit: contain; /* Maintain aspect ratio */
}

.carousel-controls {
    display: flex;
    justify-content: center; /* Center controls */
    margin-top: 10px; /* Space above controls */
}

.prev-btn,
.next-btn {
    background-color: rgba(0, 0, 0, 0.7); /* Button color */
    color: white; /* Text color */
    border: none; /* Remove border */
    padding: 10px 20px; /* Padding for buttons */
    cursor: pointer; /* Pointer cursor */
    margin: 0 10px; /* Space between buttons */
}

/*Footer Section*/
.footer {
        background-color: #333;
        color: white;
        padding: 20px;
        position: relative;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; /* Allows boxes to wrap on small devices */
        margin-bottom: 10px;
    }

    .footer-box {
        flex: 1;
        margin: 0 10px;
        min-width: 150px; /* Minimum width for each box */
    }

    .footer-box h4 {
        margin-bottom: 10px;
    }

    .social-icons {
        display: flex; /* Display icons in a row */
        gap: 10px; /* Space between icons */
    }

    .footer-bottom {
        text-align: center;
        font-size: 14px;
    }

    .whatsapp-icon, .back-to-top {
        position: fixed;
        bottom: 70px;
        right: 20px;
        display: none; /* Hidden by default */
        z-index: 1000;
    }

    .back-to-top {
        bottom: 120px; /* Position above the WhatsApp icon */
    }

    .whatsapp-icon img, .back-to-top img {
        width: 50px; /* Adjust size as needed */
        height: 50px; /* Adjust size as needed */
    }
.map-container {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 40%; /* Adjust this value to reduce space */
    position: relative;
}

.map-container iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
        .footer-content {
            flex-direction: column; /* Stack boxes vertically on small devices */
            align-items: flex-start; /* Align items to the start */
        }

        .footer-box {
            width: 100%; /* Make boxes full width */
            margin-bottom: 15px; /* Space between boxes */
        }
    }
/* New styles for small devices for Our Services*/
@media (max-width: 768px) {
    .services-container {
        flex-direction: column; /* Stack boxes vertically */
        align-items: center; /* Center align */
}
.service-box {
    width: 90%; /* Full width of the parent */
    margin: 10px 0; /* Space between boxes */
    transition: none; /* Remove transition for simplicity */
}
}

 /* Ensure the hover effect remains for larger screens */
@media (min-width: 769px) {
    .service-box:hover .hover-text {
        transform: translateY(0); /* Show hover text on hover */
        opacity: 1; /* Show hover text */
    }
}
/* Responsive Design  For Slider and menu*/
@media (max-width: 768px) {
  .menu {
    display: none; /* Hide the menu by default */
    flex-direction: column; /* Stack menu vertically */
  }

  .mobile-toggle {
    display: block; /* Show toggle button */
  }

  .menu.active {
    display: flex; /* Show menu when active */
    position: fixed; /* Fixed positioning to overlay */
    top: 60px; /* Position below toggle button */
    right: 20px;
    z-index: 1000;
  }
.menu-btn {
  background: rgba(17, 1, 1, 0.5);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 0;
}
  .slider {
    height: 50vh; /* Adjust slider height for smaller devices */
  }

  .logo {
    width: 60px; /* Smaller logo on mobile */
  }

  .logo-text {
    font-size: 4vw; /* Adjust text size for smaller devices */
  }
.content-box {
	display: none;
}
}
