@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Poppins", sans-serif;
    background-image: url('../backgroundImages/pattern.jpg');
    background-repeat: repeat;
    background-size: 520px 520px; /* or try 80px 80px, 50px 50px */
    background-position: top left;

}
a, a:hover{
    text-decoration: none;
}
p {
  color: #283d7b;
}
.value-item p{
  color: #fff;
}
.top-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    background: #283d7b;
}
.top-bar span{
    color: #fff;
    font-size: 12px;
}
.top-bar span>span{
    padding-right: 8px;
}
.top-bar span:hover{
    color: #646262;
}
.top-bar ul{
    list-style: none;
    display: flex;
}
.top-bar li{
    margin-left: 8px;
}
.top-bar a{
    color: #fff;
}
.top-bar a:hover{
    color: #646262;
}
nav{
    padding: 20px 20px;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 2px solid #72a9cf;
}
nav a{
    color: #72a9cf;
}
nav a:hover{
    color: #283d7b;
}
.logo img{
    width: 200px;
    margin-right: 10px;
}
@keyframes revealLogoAnimation {
    0% {
      margin-left: -30px; /* Initial position, set to negative width to hide initially */
    }
    100% {
      margin-left: 0; /* Final position, reveal the logo */
    }
}
@keyframes revealMenuAnimation {
    0% {
      margin-right: -30px; /* Initial position, set to negative width to hide initially */
    }
    100% {
      margin-right: 0; /* Final position, reveal the logo */
    }
}
@keyframes revealSliderAnimation {
    0% {
      margin-top: -30px; /* Initial position, set to negative width to hide initially */
    }
    100% {
      margin-top: 0; /* Final position, reveal the logo */
    }
}
@keyframes revealSliderContentAnimation {
    0% {
      margin-top: -30px; /* Initial position, set to negative width to hide initially */
    }
    100% {
      margin-top: 0; /* Final position, reveal the logo */
    }
}
.logo{
    flex: 1;
    animation: revealLogoAnimation 2.8s ease;
}
.menu{
    display: flex;
    align-items: center;
    list-style: none;
}
.menu li{
    padding-left: 40px;
    font-size: 15px;
    animation: revealMenuAnimation 2.8s ease;
}
.toggle{
    font-size: 15px;
    display: none;
}
/**slider css**/
.slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 480px; /* Adjust the height as needed */
  display: flex;
  align-items: center; /* Center items vertically */
  animation: revealSliderAnimation 2.8s ease;
}

@media (max-width: 768px) {
  .slider-container {
    align-items: flex-start; /* Align items to the top on smaller screens */
  }
}

.slider {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* Initially hide all slides */
  transition: opacity 0.5s ease; /* Fade in/out effect */
  z-index: -1; /* Ensure all slides are hidden initially */
}

.slide.active {
  opacity: 1;
  z-index: 1; /* Bring the active slide to the front */
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value for transparency */
  padding: 20px; /* Adjust the padding as needed */
  border-radius: 10px; /* Optional: Add border-radius for rounded corners */
  animation: revealSliderContentAnimation 2.8s ease;
}

.slider-content h2 {
  margin-bottom: 10px;
}

.slider-button {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.slider-button:hover {
  background-color: white;
  color: black;
}

/* Optional: Add navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: none;
  outline: none;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}
/**slider css**/

@media screen and (max-width:700px){
    .top-bar span{
        font-size: 8px;
    }
    .top-bar span>span{
        padding-right: 4px;
    }
    nav{
        display: block;
        position: relative;
        padding: 15px 20px;
    }
    .menu{
        margin-top: 15px;
        display: none;
    }
    .menu.active, .toggle{
        display: block;
    }
    .toggle{
        position: absolute;
        top: 15px;
        right: 20px;
    }
}
/**home page about us section**/
.about-us-container {
  display: flex;
  max-width: 1200px;
  margin: 50px auto;
  background-size: cover;
  background-position: center;
}

.about-us-image {
  flex: 1;
  overflow: hidden;
}

.about-us-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-us-content {
  flex: 1;
  padding: 50px;
  background-color: #fff;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
  color: #283d7b;
}
.about-us-content h2 {
  position: relative;
  display: inline-block;
}

.about-us-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #283d7b; /* Change color as needed */
}

.about-us-content p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.about-us-content button {
  background-color: transparent;
  border: 2px solid #283d7b; /* Change color as needed */
  padding: 10px 20px;
  color: #283d7b; /* Change color as needed */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.about-us-content button:hover {
  background-color: #283d7b; /* Change color as needed */
  color: #fff; /* Change color as needed */
}

@media (max-width: 768px) {
  .about-us-container {
    flex-direction: column;
  }

  .about-us-content {
    padding: 20px;
  }
}

/* Add animation when the content is in the viewport */
.about-us-content.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/**home page gallery section**/
/** Home Page Gallery Section **/

.gallery-container {
  display: grid;  /* Using grid for better control over the layout */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Auto-fill with 280px as the minimum width per card */
  padding: 0;  /* Remove padding */
  justify-items: center;
  margin: 0;  /* Ensure no extra margin around the gallery */
}

/* Project card styling */
.project-card {
  position: relative;
  overflow: hidden;
  width: 100%; /* Full width in its grid cell */
  height: 400px; /* Set height for consistency */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s, opacity 0.8s;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Add subtle shadow for card effect */
  margin: 0;  /* Remove margin between the cards */
}

.project-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover {
  transform: scale(1.05); /* Slight scaling effect */
  transition: transform 0.3s ease-in-out; /* Smooth hover transition */
}

/* Image within the card */
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details of the project */
.project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(112, 172, 206, 0.813);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: height 0.8s;
}

.project-details a {
  background-color: transparent;
  border: 1px solid #283d7b; /* Customize color */
  padding: 5px 10px;
  color: #fff; /* Customize color */
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.project-details a:hover {
  background-color: #283d7b; /* Customize hover color */
  color: #fff;
}

.project-card:hover .project-details {
  height: 100%;
}

/* Project Title and Description */
.project-details h3,
.project-details p {
  margin: 0;
  color: #fff;
}

.project-details h3 {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.project-details h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #283d7b; /* Customize color */
}

.project-details p {
  margin-top: 10px;
  font-size: 14px;
  padding: 10px;
}
.project-details p > span {
  color: #fff !important;
  justify-content: center;
  align-items: center;
}

/* Responsive Adjustments */

/* For small screens (mobile) - 1 card per row */
@media (max-width: 767px) {
  .gallery-container {
    grid-template-columns: 1fr; /* One card per row */
  }

  .project-card {
    height: 300px; /* Adjust height for mobile */
  }

  .project-details h3 {
    font-size: 16px; /* Adjust title font size */
  }

  .project-details p {
    font-size: 12px; /* Adjust description font size */
  }
}

/* For tablets and medium screens (768px - 1199px) - 2 cards per row */
@media (min-width: 768px) and (max-width: 1199px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr); /* Two cards per row */
  }

  .project-card {
    height: 350px; /* Adjust height for medium screens */
  }

  .project-details h3 {
    font-size: 17px; /* Adjust title font size */
  }

  .project-details p {
    font-size: 13px; /* Adjust description font size */
  }
}

/* For larger screens (1200px and above) - 4 cards per row */
@media (min-width: 1200px) {
  .gallery-container {
    grid-template-columns: repeat(4, 1fr); /* Four cards per row */
  }

  .project-card {
    height: 400px; /* Standard height for larger screens */
  }

  .project-details h3 {
    font-size: 18px; /* Standard font size for title */
  }

  .project-details p {
    font-size: 14px; /* Standard font size for description */
  }
}

/* Fade-in effect for cards */
.project-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.home-projects-head{
  /*background-color: #283d7b;*/
  background-color: rgba(40, 61, 123, 0.6); /* last value is alpha (0 = fully transparent, 1 = solid) */
  color: #fff;
  padding: 30px;
  text-align: center;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.7s;
}
.home-projects-head h3{
  position: relative;
  display: inline-block;
}
.home-projects-head h3::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff; /* Change color as needed */
}
.home-projects-head p{
  padding-top: 10px;
  color: #fff;
}
.home-projects-head.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.home-clients-head{
  color: #fff;
  padding: 30px;
  text-align: center;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.7s;
  background-color: rgba(40, 61, 123, 0.6);
}
.home-clients-head h3{
  position: relative;
  display: inline-block;
}
.home-clients-head h3::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff; /* Change color as needed */
}
.home-clients-head p{
  padding-top: 10px;
  color: #fff;
}
.home-clients-head.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/**client logo scroll section**/
.logo-container {
  overflow: hidden;
  padding-bottom: 25px;
  background-color: rgba(40, 61, 123, 0.6);
}

.logo-scroll {
  display: flex;
}

.logo-item {
  flex: 0 0 150px; /* Set a fixed width for each logo */
  height: 100px; /* Set a fixed height for each logo */
  margin-right: 5px; /* Adjust the margin as needed */
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintain aspect ratio while fitting the image within the dimensions */
}
/**footer section**/
.footer-container {
  background-color: #fff; /* Change color as needed */
  color: #283d7b;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border-top: 2px solid #283d7b;
}

.footer-column {
  margin: 10px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.social-icons {
  display: flex;
  flex-wrap: nowrap; /* Ensures icons stay in a single line */
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-right: 15px; /* Adjust the spacing between icons as needed */
}

.contact-info p {
  margin: 5px 0;
  font-weight: bold;
  font-size: .8rem;
}

.contact-info .label {
  font-weight: normal;
  font-size: .7rem;
}

/* Adjusted flex properties for columns */
.footer-column:nth-child(1),
.footer-column:nth-child(2) {
  flex: 1 1 150px; /* Adjust the width of the first and second columns */
}

.footer-column:nth-child(3),
.footer-column:nth-child(4) {
  flex: 1 1 250px; /* Adjust the width of the third and fourth columns */
}

.address p {
  margin: 5px 0;
  font-size: .8rem;
}

.location iframe {
  width: 100%;
  height: 200px; /* Adjust the map height as needed */
  border: none;
}
/**---About us page css section---**/
.aboutus-header-section {
  /*background-image: "assets/images/banner1.jpg";*/ /* Replace with the path to your header background image */
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px; /* Adjust padding as needed */
}

.aboutus-header-section h1 {
  display: inline-block;
  border-bottom: 2px solid #fff; /* Add an underline to the h1 element with a white color */
}

.aboutus-header{
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.aboutus-header.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  align-items: center; /* Center items vertically */
}

.about-section:nth-child(even) {
  flex-direction: row-reverse; /* Reverse the order for even rows */
}

.image-container,
.content-container {
  flex: 1 1 calc(50% - 10px); /* Adjust the width and spacing between elements */
  margin: 5px; /* Adjust the margin for spacing */
}

.image-container{
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateX(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.image-container.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* Optional: Add border-radius for a rounded look */
}

.content-container {
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content vertically within the container */
  padding: 0 8%;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.content-container h2 {
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  color: #283d7b;
}

.content-container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #283d7b; /* Change color as needed */
}

.content-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .image-container,
  .content-container {
    flex: 1 1 100%; /* Full width for smaller screens */
  }

  .about-section:nth-child(even) {
    flex-direction: column; /* Stack elements for even rows on smaller screens */
  }
}

@media (max-width: 480px) {
  .content-container {
    padding: 0 5%; /* Adjust padding for smaller screens */
  }
}

.about-teams-head{
  color: #fff;
  padding: 30px;
  text-align: center;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.7s;
  background-color: rgba(40, 61, 123, 0.6);
}
.about-teams-head h3{
  position: relative;
  display: inline-block;
  color: #fff;
}
.about-teams-head h3::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff; /* Change color as needed */
}
.about-teams-head p{
  padding-top: 10px;
  color: #fff;
}
.about-teams-head.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/* value Section Styles */
.values-section {
  position: relative;
  /*background-image: url('/project-design-client-one/assets/images/banner1.jpg');*/ /* Background Image */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: #fff;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Full Overlay - Covers the entire section but doesn't affect the items */
.values-section .overlay {
  position: absolute; /* Position overlay absolutely */
  top: 0;
  left: 0;
  width: 100%; /* Cover the full width */
  height: 100%; /* Cover the full height */
  z-index: 1; /* Ensure the overlay sits behind the content */
  background-color: rgb(0 0 0 / 70%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content sits above the overlay */
.values-section .content {
  position: relative;
  z-index: 2; /* Content on top of the overlay */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

/* Main Heading Styles */
.section-heading {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Value Item Styles */
.value-item {
  flex: 1 1 calc(33% - 20px); /* 3 items in a row */
  padding: 20px;
  text-align: center;
  z-index: 3; /* Ensure value items are above the overlay */
}

.value-item:hover {
  transform: translateY(-10px);
  /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);*/
}

.value-item .logo {
  font-size: 50px; /* Icon size */
  color: #283d7b;
  margin-bottom: 15px;
}

.value-item .heading h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.value-item .description p {
  font-size: 14px;
  line-height: 1.6;
}

.value-item .description p span {
  color: #fff !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .value-item {
    flex: 1 1 calc(50% - 20px); /* 2 items in a row */
  }
}

@media (max-width: 768px) {
  .values-section {
    padding: 40px 20px;
  }

  .value-item {
    flex: 1 1 100%; /* Stack items on smaller screens */
  }

  .value-item .logo {
    font-size: 40px;
  }

  .value-item .heading h3 {
    font-size: 18px;
  }

  .value-item .description p {
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 28px; /* Adjust font size for smaller screens */
  }
}

/*end value section*/
/* Team Section */
.team-section {
  padding: 60px 0;
  /*background-color: #f5f2f2;*/
  text-align: center;
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Space between the two boxes */
  justify-content: center;
  align-items: center;
}

.team-member-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  max-width: 1200px; /* Limit width for larger screens */
  width: 100%;
  background-color: #fff; /* White background for box effect */
  border-radius: 10px; /* Rounded corners for box */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle box shadow for depth */
  padding: 30px; /* Add padding inside the box */
  border: 1px solid #ddd; /* Light border for separation */
}

.team-member-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-member-content {
  flex: 1;
  text-align: left;
  max-width: 500px; /* Limiting content box width */
}

.team-member-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #283d7b;
}

.team-member-content p {
  font-size: 16px;
  color: #283d7b;
  line-height: 1.5;
}

.team-member-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.team-member-image img {
  width: 100%;
  max-width: 300px; /* Limiting image width */
  height: auto;
  border-radius: 10px; /* Round image corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow around images */
}

/* Reverse the layout (image on the left, content on the right) */
.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  /* For small screens, stack vertically */
  .team-member-box {
      flex-direction: column;
      text-align: center;
      gap: 20px; /* Space between image and content */
  }

  .team-member-content {
      text-align: center;
  }

  .team-member-image img {
      max-width: 80%; /* Make images smaller on mobile */
      margin: 0 auto;
  }
}


/**services page css start***/
.tabs {
  display: flex;
  justify-content: space-around;
  background-color: #283d7b;
  color: #fff;
  padding: 10px;
  border-bottom: 2px solid #fff;
  font-size: 18px;
}

.tab {
  cursor: pointer;
  padding: 4px 20px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font-size: inherit;
  transition: background-color 0.3s ease;
}

.tab:hover {
  background-color: #fff;
  color:#283d7b;
}

.tab-content {
  display: none;
  padding: 20px;
  box-sizing: border-box;
  /*background-color: #fff;*/
  border-top: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }
}
/*projects start*/
/* Section Styling */
.projects-section-content {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background-color: #f9f9f9;*/
  background-color: rgba(40, 61, 123, 0.6);
}

.projects-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Control max width */
  gap: 20px;
}

/* Left Section: Text Content */
.projects-text-content {
  flex: 1;
  max-width: 50%;  /* Left side takes up half space */
  opacity: 0; /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.projects-text-content.show {
  opacity: 1;  /* Fade-in effect */
  transform: translateY(0);
}

.projects-text-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.projects-text-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

/* Right Section: Image Content */
.projects-image-content {
  flex: 1;
  max-width: 50%; /* Right side takes up half space */
}

.projects-image-content img {
  width: 100%; /* Make image responsive */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px;
}

/* Responsive Styles: For smaller screens */
@media (max-width: 768px) {
  .projects-content-wrapper {
      flex-direction: column; /* Stack text and image vertically */
      text-align: center;
  }

  .projects-text-content {
      max-width: 100%;
      margin-bottom: 20px; /* Space between text and image */
  }

  .projects-image-content {
      max-width: 100%;
  }

  .projects-text-content h2 {
      font-size: 28px; /* Adjust font size on smaller screens */
  }

  .projects-text-content p {
      font-size: 14px; /* Adjust paragraph font size */
  }
}

/* projects start */
/** Projects Page Gallery Section **/

.projects-gallery-container {
  display: grid;  /* Using grid for better control over the layout */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Auto-fill with 280px as the minimum width per card */
  padding: 0;  /* Remove padding */
  justify-items: center;
  margin: 0;  /* Ensure no extra margin around the gallery */
}

/* Project card styling for projects page */
.projects-project-card {
  position: relative;
  overflow: hidden;
  width: 100%; /* Full width in its grid cell */
  height: 400px; /* Set height for consistency */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s, opacity 0.8s;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Add subtle shadow for card effect */
  margin: 0;  /* Remove margin between the cards */
}

.projects-project-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.projects-project-card:hover {
  transform: scale(1.05); /* Slight scaling effect */
  transition: transform 0.3s ease-in-out; /* Smooth hover transition */
}

/* Image within the card */
.projects-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details of the project */
.projects-project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(112, 172, 206, 0.813);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: height 0.8s;
}

.projects-project-details a {
  background-color: transparent;
  border: 1px solid #283d7b; /* Customize color */
  padding: 5px 10px;
  color: #283d7b; /* Customize color */
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.projects-project-details a:hover {
  background-color: #283d7b; /* Customize hover color */
  color: #fff;
}

.projects-project-card:hover .projects-project-details {
  height: 100%;
}

/* Project Title and Description */
.projects-project-details h3,
.projects-project-details p {
  margin: 0;
  color: #fff;
}

.projects-project-details h3 {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.projects-project-details h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #283d7b; /* Customize color */
}

.projects-project-details p {
  margin-top: 10px;
  font-size: 14px;
  padding: 10px;
}

/* Responsive Adjustments for Projects Page */

/* For small screens (mobile) - 1 card per row */
@media (max-width: 767px) {
  .projects-gallery-container {
    grid-template-columns: 1fr; /* One card per row */
  }

  .projects-project-card {
    height: 300px; /* Adjust height for mobile */
  }

  .projects-project-details h3 {
    font-size: 16px; /* Adjust title font size */
  }

  .projects-project-details p {
    font-size: 12px; /* Adjust description font size */
  }
}

/* For tablets and medium screens (768px - 1199px) - 2 cards per row */
@media (min-width: 768px) and (max-width: 1199px) {
  .projects-gallery-container {
    grid-template-columns: repeat(2, 1fr); /* Two cards per row */
  }

  .projects-project-card {
    height: 350px; /* Adjust height for medium screens */
  }

  .projects-project-details h3 {
    font-size: 17px; /* Adjust title font size */
  }

  .projects-project-details p {
    font-size: 13px; /* Adjust description font size */
  }
}

/* For larger screens (1200px and above) - 4 cards per row */
@media (min-width: 1200px) {
  .projects-gallery-container {
    grid-template-columns: repeat(4, 1fr); /* Four cards per row */
  }

  .projects-project-card {
    height: 400px; /* Standard height for larger screens */
  }

  .projects-project-details h3 {
    font-size: 18px; /* Standard font size for title */
  }

  .projects-project-details p {
    font-size: 14px; /* Standard font size for description */
  }
}

/* Fade-in effect for cards */
.projects-project-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Project Section Header for Projects Page */
.projects-section-head {
  background-color: #f5f2f2;
  color: #ccc;
  padding: 30px;
  text-align: center;
  opacity: 0;  /* Initially set opacity to 0 */
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.7s;
}

.projects-section-head h3 {
  position: relative;
  display: inline-block;
}

.projects-section-head h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #80163E; /* Change color as needed */
}

.projects-section-head p {
  padding-top: 10px;
}

.projects-section-head.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure the parent container takes full width */
#show-more-container {
  width: 100%;                    /* Full width */
  display: flex;                  /* Use flexbox */
  justify-content: center;        /* Center horizontally */
  align-items: center;            /* Center vertically */
  margin-top: 20px; 
  margin-bottom: 20px;               /* Add space above */
  text-align: center;             /* Ensure the text inside the button is also centered */
}

/* Style for the Show More button */
.show-more-btn {
  background-color: rgba(0, 0, 0, 0.2);  /* Semi-transparent background */
  color: #fff;                            /* White text */
  padding: 10px 20px;                      /* Padding around the text */
  font-size: 16px;                         /* Font size */
  border: 2px solid rgba(0, 0, 0, 0.2);   /* Transparent border */
  border-radius: 30px;                     /* Rounded corners */
  cursor: pointer;                        /* Pointer on hover */
  transition: all 0.3s ease-in-out;        /* Smooth transition */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

/* Show More button hover effect */
.show-more-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);  /* Darker background on hover */
  border-color: rgba(0, 0, 0, 0.4);      /* Darker border */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow */
  transform: translateY(-2px);             /* Slight lift effect */
}

/* Focus effect for accessibility */
.show-more-btn:focus {
  outline: none;                            /* Remove default outline */
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 255, 0.5); /* Custom focus shadow */
}

/*projects end*/
/*contact start*/
/* General Contact Section Styling */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  /*background-image: url('your-background-image.jpg');*/ /* Replace with your actual image */
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  background-color: rgba(40, 61, 123, 0.6);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  z-index: 2;
}

.contact-left {
  width: 45%;
  /*padding: 20px;*/
}

.contact-left h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-left p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.address p {
  margin: 10px 0;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  font-size: 18px;
  margin-right: 15px;
  color: #fff;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #4CAF50; /* Active color on hover */
}

.contact-right {
  width: 45%;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Form field groups on the same line */
.form-row {
  display: flex;
  gap: 15px;
  width: 100%;
}

.form-row .half-width {
  width: 48%; /* For name/location, email/phone */
}

.form-row .full-width {
  width: 100%; /* For the enquiry category and message */
}

/* Form fields */
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  color: #283d7b;
  font-size: 16px;
  transition: border-color 0.3s ease;
  border-bottom: 2px solid #283d7b; /* Initially show bottom border */
  outline: none; /* Remove outline on focus */
}

/* Focus & Hover effect - bottom border will be green */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #283d7b; /* Change bottom border color on focus */
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: #283d7b; /* Change bottom border color on hover */
}

/* Placeholder style */
.form-row input::placeholder,
.form-row select::placeholder,
.form-row textarea::placeholder {
  font-size: 12px; /* Placeholder text size */
  color: #283d7b; /* Slightly lighter color for placeholder */
}

/* Form Row Layout */
.form-row .half-width {
  width: 48%; /* 2 fields in one row */
}

.form-row .full-width {
  width: 100%; /* Single field takes full width */
}

.form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 20px; /* Add space for the dropdown icon */
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background-color: #283d7b;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #72a9cf;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-left, .contact-right {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact-left h2 {
    font-size: 28px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}

@media (max-width: 768px) {
  .contact-left h2 {
    font-size: 24px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .contact-form button {
    font-size: 16px;
    padding: 10px 20px;
  }

  .social-links a {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}

@media (max-width: 480px) {
  .contact-left h2 {
    font-size: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 8px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .social-links a {
    font-size: 14px;
    margin-right: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}
/*contact end*/
/*career start*/
/* General Career Section Styling */
/* General Career Section */
.career-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  /*background-image: url('your-career-background.jpg');*/ /* Replace with your actual career background image */
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.career-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.career-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  z-index: 2;
}

.career-left {
  width: 45%;
  padding: 20px;
}

.career-left h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.career-left p {
  font-size: 16px;
  line-height: 1.5;
}

.job-listings {
  margin-top: 20px;
}

.job-listings ul {
  list-style: none;
  padding: 0;
}

.job-listings li {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.job-listings li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.job-listings li a:hover {
  color: #4CAF50; /* Highlight the job title on hover */
}

.career-right {
  width: 45%;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}

/* Form Styles */
.career-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 15px;
  width: 100%;
}

.form-row .half-width {
  width: 48%; /* For name/location, email/phone */
}

.form-row .full-width {
  width: 100%; /* For the job title and cover letter */
}

/* Form fields */
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 16px;
  transition: border-color 0.3s ease;
  border-bottom: 2px solid #ccc; /* Initially show bottom border */
  outline: none; /* Remove outline on focus */
}

/* Focus & Hover effect - bottom border will be green */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #283d7b; /* Change bottom border color on focus */
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: #283d7b; /* Change bottom border color on hover */
}

/* Placeholder style */
.form-row input::placeholder,
.form-row select::placeholder,
.form-row textarea::placeholder {
  font-size: 12px; /* Placeholder text size */
  color: #aaa; /* Slightly lighter color for placeholder */
}

/* Form Row Layout */
.form-row .half-width {
  width: 48%; /* 2 fields in one row */
}

.form-row .full-width {
  width: 100%; /* Single field takes full width */
}

.form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 20px; /* Add space for the dropdown icon */
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.career-form button {
  background-color: #283d7b;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.career-form button:hover {
  background-color: #283d7b;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .career-container {
    flex-direction: column;
    align-items: center;
  }

  .career-left, .career-right {
    width: 100%;
    margin-bottom: 20px;
  }

  .career-left h2 {
    font-size: 28px;
  }

  .career-form input,
  .career-form select,
  .career-form textarea {
    font-size: 14px;
  }

  .career-form button {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}

@media (max-width: 768px) {
  .career-left h2 {
    font-size: 24px;
  }

  .career-form input,
  .career-form select,
  .career-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .career-form button {
    font-size: 16px;
    padding: 10px 20px;
  }

  .job-listings li {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}

@media (max-width: 480px) {
  .career-left h2 {
    font-size: 20px;
  }

  .career-form input,
  .career-form select,
  .career-form textarea {
    font-size: 14px;
    padding: 8px;
  }

  .career-form button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .job-listings li {
    font-size: 14px;
    margin-right: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .half-width {
    width: 100%; /* Stacking fields in one column */
  }
}

/* Fancy File Upload Styles */
.upload-label {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.upload-container {
  position: relative;
  display: inline-block;
  width: 100%;
  background-color: #f1f1f1;
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.upload-container:hover {
  border-color: #283d7b;
  background-color: #e7f9e7; /* Subtle light green background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Soft shadow effect */
}

.upload-container input[type="file"] {
  display: none; /* Hide the default file input */
}

.upload-button {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  background-color: #4CAF50;
  border: 2px solid #4CAF50;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  display: inline-block;
  margin-top: 20px;
}

.upload-button:hover {
  background-color: #388e3c;
  transform: translateY(-2px); /* Slight hover lift effect */
}

.file-name {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  font-style: italic;
  transition: all 0.3s ease-in-out;
  max-width: 100%;
  word-wrap: break-word;
}

.upload-container input[type="file"]:valid + .file-name {
  color: #4CAF50;
  font-weight: bold;
}

.upload-container input[type="file"]:focus + .file-name {
  color: #4CAF50;
  font-weight: bold;
  transform: translateY(5px); /* Little slide up effect */
}

.upload-container input[type="file"]:not(:placeholder-shown) + .file-name {
  color: #4CAF50; /* Color when a file is selected */
  font-weight: bold;
}

.upload-container input[type="file"]:focus + .file-name {
  color: #388e3c;
}
/*career end*/
/*project page start*/
/* Full-width section with background image */
.project-page-detail-section {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
}

/* Background image */
.project-page-detail-section .background-page-image {
  /*background-image: url('../images/banner1.jpg');*/ /* Replace with your image path */
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensures the background stays behind the content */
}

/* Content Box */
.project-page-detail-section .content-page-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the box */
  background-color: rgba(255, 255, 255, 0.8); /* Light transparent white background */
  padding: 20px;
  border-radius: 10px;
  width: 80%; /* Adjust width as needed */
  max-width: 600px; /* Limit the max width */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow */
}

/* Project Title */
.project-page-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

/* Project Name */
.project-page-name {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

/* Styling for the project details */
.project-page-detail-section p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

/* Make sure it looks good on smaller screens */
@media screen and (max-width: 768px) {
  .project-page-detail-section .content-page-box {
      width: 90%;
      padding: 15px;
  }

  .project-page-title {
      font-size: 20px;
  }

  .project-page-name {
      font-size: 18px;
  }
}
/** Projects Page Gallery Section **/

.project-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;  /* No gap between items */
  padding: 0;
  justify-items: center;
  margin: 0;
}

/* Project card styling for projects page */
.project-project-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px; /* Adjust height as needed */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s, opacity 0.8s;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Add subtle shadow for card effect */
  margin: 0;
}

.project-project-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.project-project-card:hover {
  transform: scale(1.05); /* Slight scaling effect */
  transition: transform 0.3s ease-in-out; /* Smooth hover transition */
}

/* Image within the card */
.project-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Make image clickable */
}

/* Popup Modal */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  padding: 20px;
  background-color: #fff;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #80163E;
  cursor: pointer;
}

.popup-close:hover {
  color: #fff;
}

.popup-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Fade-in effect for cards */
.project-project-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}


/*project page end*/
/*contact map start*/
/* Full-length Google Map */
.contact-map-section {
  margin: 0;
  padding: 0;
  height: 100vh;  /* Full viewport height */
  overflow: hidden; /* Hide overflow to avoid scrollbars */
}

.contact-map-container {
  width: 100%;
  height: 100%; /* Ensure it fills the full height */
}

.contact-map-container iframe {
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  border: none; /* Remove iframe border */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .contact-map-section {
      height: 400px; /* Adjust height for mobile if needed */
  }
}

/*contact map end**/
/**custom start*/

/*custom end*/