/* General Styles */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f8f9fa;
}

header {
  background: url("hero-image.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  position: relative;
}

.boundaries h1 {
  color: #07356D;
  font-weight: normal;
  font-size: 30px;
}

.boundaries p {
  max-width: 800px;
  margin: auto;
  color: #07356D;
  text-align: center;
  padding: 0 15px;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: transparent; /* Make the navigation pane transparent */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease; /* Smooth transition for background */
  box-sizing: border-box; /* Ensure padding is included in the width */
}

.active-page {
  color: orange !important;

}
/* Logo Styles */
.logo {
  margin-right: auto; /* Push logo to the far left */
}

.logo img {
  height: 35px; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
}

/* Burger Menu Styles */
.burger-menu {
  display: none; /* Hidden by default */
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Ensure it's above other elements */
  margin-left: auto; /* Push burger menu to the far right */
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* Navigation Links with Transparent Backdrop */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 10px 20px; /* Add padding for better spacing */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black backdrop */
  border-radius: 10px; /* Rounded corners */
  backdrop-filter: blur(5px); /* Optional: Add a blur effect for modern look */
}

nav ul li a {
  color: white;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap; /* Prevent text from wrapping */
  padding: 5px 10px; /* Add padding to links */
  border-radius: 5px; /* Rounded corners for links */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Light hover effect */
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1; /* Ensure the text appears above the background image */
  text-align: center;
  color: white;
  padding-top: 20%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5rem;
}

.services {
  background: white;
}

.services h2 {
  color: #003366;
  font-size: 32px;
  text-transform: uppercase;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-box {
  background: #007bff;
  color: white;
  padding: 40px;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
}

#projects,
#team,
#contact {
  background: #f1f1f1;
  padding: 100px 10%;
}



/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .services-container,
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .service-box,
  .team-member {
    width: 90%;
  }

  form input,
  form textarea {
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 20px; /* Reduce padding for smaller screens */
  }

  nav ul {
    display: none; /* Hide navigation links by default */
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8); /* Darker backdrop for better readability */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box; /* Ensure padding is included in the width */
    border-radius: 0; /* Remove rounded corners for full-width backdrop */
  }

  nav ul.active {
    display: flex; /* Show navigation links when active */
  }

  .burger-menu {
    display: flex;
    background-color: transparent; /* Default background */
    transition: background-color 0.3s ease-in-out;
    margin-top: -42px;
    margin-right: 26px; /* Show burger menu on smaller screens */
  }


/* Style when scrolled */
.burger-menu.scrolled {
    background-color: #07356D; /* Change to dark blue when scrolled */
}

  /* Prevent text overflow in navigation links */
  nav ul li a {
    font-size: 16px; /* Slightly larger font for mobile */
    padding: 10px 15px; /* Increase padding for better touch targets */
  }
}

/* Map Section */
#map {
  padding: 80px 10%;
  text-align: center;
  background: #f1f1f1; /* Match the background of other sections */
}

#map h2 {
  color: #003366;
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Map Container */
.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Aspect ratio of 16:9 (height/width * 100%) */
  overflow: hidden;
  border-radius: 10px; /* Add rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Map Iframe */
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Background Image Container */
.background-image-container {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

.background-image-container img.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure the image stays behind the content */
}
/* .container {
  padding: 50px 20px;
} */
.highlight {
  font-weight: bold;
}
.description {
  color: #555;
}
.services {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0076a8;
  position: relative;
}
.service {
  width: 320px;
  height: 320px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s;
  text-align: center;
  font-size: 25px;
}
.service img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}
.service:hover {
  transform: scale(1.2);
  background-color: #003366;
  border-radius: 10px;
  z-index: 10;
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .services {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0076a8;
    position: relative;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 2vw; /* Adds spacing between items */
    padding: 2vw;
  }
  .service {
    width: 100px;
    height: 100px;
    font-size: 10px;
  }
  .service img {
    width: 40px;
    height: 40px;
    position: relative;
    top: 10px;
  }
}
.project-tender-container {
  background: white;
}
.project-container {
  display: flex;
  background: white;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project-image-container {
  width: 70%;
}
.project-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.project-text-container {
  width: 50%;
  padding: 20px;
}
.h2 {
  color: #1e3a8a;
  margin: 0;
}
.h3 {
  color: #c00000;
  font-size: 16px;
}
.p {
  margin: 8px 0;
  color: #333;
}
.project-highlight {
  color: #0073e6;
  font-weight: bold;
}
.project-link {
  color: red;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .project-container {
    flex-direction: column; /* Stacks elements vertically */
  }

  .project-image-container {
    width: 100%; /* Takes full width */
    height: auto; /* Adjusts height automatically */
  }

  .project-text-container {
    width: 100%; /* Takes full width */
    padding: 15px; /* Adjust padding */
  }

  .h2 {
    font-size: 20px; /* Adjust font size for readability */
  }

  .h3 {
    font-size: 14px;
  }

  .p {
    font-size: 14px;
  }
}

.banner {
  color: white;
  text-align: center;
  position: relative;
  padding-top: 160px;
  background-color: #ec174f;
}
.banner::before {
  content: "SOFTWARES";
  font-size: 10em;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 63px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}


.software-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1;
  position: relative;
  top: -24px;
}
.software-box {
  background-color: white;
  color: black;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 150px;
}
.software-box img {
  max-width: 100%;
  height: 126px;
  margin-top: -12px;
  bottom:30px;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .banner {
    padding-top: 60px;
    overflow: hidden;
  }

  .banner::before {
    font-size: 12vw;
    margin-bottom: 12px;
    top: 25%; /* Smaller font for small screens */
  }

  .software-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 10px; /* Ensure content doesn't overflow */
  }



  .software-box img {
    width: 100px; /* Make images smaller */
    height: 100px;
  }

}

.gear-container {
  background: white;
  align-items: center;
  text-align: center;
  padding: 80px 10%;
}
.message-container {
  max-width: 90%;
  width: 500px;
  margin: auto;
  background: white;
  padding: 20px;
  position: relative;
}
.message-profile-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.message-title {
  font-size: 2vw;
  font-weight: normal;
  color: #0f2c5c;
}
.message {
  font-size: 1vw;
  color: #666;
}
.message-highlight {
  color: #0f2c5c;
  font-weight: bold;
}
@media (max-width: 768px) {
  .message-title {
    font-size: 4vw;
  }
  .message {
    font-size: 2vw;
  }
  .message-container {
    padding: 15px;
  }
}

.contact-section {
  background: url("/img/home/Footer-web-images.jpg") no-repeat center
  center/cover;
  color: white;
  padding: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-container {
  display: flex;
  width: 80%;
  max-width: 1000px;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 45%;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8); /* Adjust the alpha (0.8) for transparency */
}
.contact-form button {
  background: #00AEEF;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
}
.contact-info {
  width: 51%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 7px;
}
.contact-info div {
  margin-bottom: 20px;
  gap: 45px;
  flex: 1;
}
.contact-info strong {
  display: block;
  margin-bottom: 10px;
}
.social-icons {
  margin-top: 42px;
  text-align: left;
  display: flex;
  flex-direction: row;
  gap:58px;
}
.social-icons img {
  width: 30px;
  margin: 5px 0;
}
.contact-title {
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
      align-items: center;
  }
  .contact-form, .contact-info {
      width: 100%;
      text-align: center;
  }
  .contact-info-container {
      flex-direction: column;
      align-items: center;
  }
  .contact-info div {
      text-align: center;
  }
}
.home-backdrop {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 20px 40px;
  border-radius: 10px; /* Rounded corners */
  display: inline-block;
  opacity: 0; /* Initially hidden */
  transition: opacity 2s ease-in-out; /* Smooth fade-in */
}

.home-backdrop.show {
  opacity: 1;
}

.fade-text {
  font-size: 2em;
  font-weight: bold;
}

/* Style for the icons themselves */
.team-social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Optional hover effect to highlight the icons when hovered */
.social-icon-wrapper:hover {
  background-color: rgba(0, 0, 0, 0.6); /* Darker transparent backdrop */
}

.team-logo {
  width: 100%;
  height: 32px;
  margin-left: 12px;
}

.team-logo-icon {
  width: 300px;
  height: 200px;
}

.more-button {
  display: flex;
  gap: 12px;
  margin-left: 344px;
  /* justify-content: flex-end; */
  padding: 27px;
}

.team-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 170px;
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  text-decoration: none;
  color: #ff6600;
  font-family: Arial, sans-serif;
  font-size: 13px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.team-button:hover {
  background-color: #f0f0f0;
}

.team-button .arrow {
  background-color: #333;
  color: #fff;
  padding: 20px;
  border-radius: 0 5px 5px 0;
}

/* Mobile responsiveness at 768px and smaller */
@media (max-width: 768px) {
  .team-slide {
    flex: 1 0 45%; /* Show 2 cards at a time */
    max-width: 45%; /* Limit card width */
  }

  .team-profile-image {
    height: 260px; /* Adjust image height for smaller screens */
  }

  .team-name {
    font-size: 16px; /* Reduce font size for smaller screens */
  }

  .team-title {
    font-size: 14px; /* Reduce font size for smaller screens */
  }

  .team-button .arrow {
    padding: 2px;
  }

  .more-button {
    margin-left: 0;
    padding-top: 28px; /* Center the "more" button */
  }

  .team-button {
    width: 124px;
    padding: 9px;
    height: 12px;
    margin-top: 70px; /* Adjust button width for smaller screens */
  }

  .team-carousel-container {
    gap: 10px; /* Reduce gap between cards */
  }

  .team-social-icons {
    right: 5px; /* Move social icons slightly closer */
  }

  .team-logo-icon {
    width: 250px; /* Adjust logo size for smaller screens */
    height: auto; /* Ensure logo aspect ratio is preserved */
  }

  /* Resize social icons on mobile */
  .social-icon-wrapper {
    width: 10px; /* Reduce width for smaller icons */
    height: 10px; /* Maintain square shape */
    padding: 6px; /* Adjust padding for smaller icons */
  }

  .team-social-icon {
    width: 18px; /* Reduce icon size */
    height: 18px; /* Keep square ratio for the icons */
  }
}
.service-banner-container {
  overflow: hidden; /* Prevents overflow */
  width: 100%; /* Ensures the container takes full width */
}

.service-banner {
  width: 100%; /* Makes the image responsive */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes bottom space/gap */
}
.get-in-touch-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  color: white;
  font-weight: normal;
}
@media (max-width: 768px) {
  .get-in-touch-text {
      font-size: 1.8rem; /* Adjust font size for smaller screens */
      left: 9%; /* Move it closer to the edge */
  }
}
/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.popup-content {
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#close-btn {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 3px;
}

#close-btn:hover {
  background-color: #0056b3;
}
