/* 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;
  }
  
  
  /* 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;
  }
  
  /* Sections */
  section {
    padding: 80px 10%;
  }
  
  .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%;
  }
  
  /* Contact Form */
  form input,
  form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button {
    padding: 15px 30px;
    background: #e60012;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 20px;
  }
  
  /* 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: normal;
    font-size: 32px;
  }
  .description {
    color: #07356D;
  }
  .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: 60px;
  }
  .banner::before {
    content: "SOFTWARES";
    font-size: 10em;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  
  .banner-container {
    background-color: #ec174F;
  }
  .software-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    position: relative;
  }
  .software-box {
    background-color: white;
    color: black;
    padding: 20px;
    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: auto;
  }
  
  /* Adjust for smaller screens */
  @media (max-width: 768px) {
    .banner {
      padding-top: 40px;
      overflow: hidden;
    }
  
    .banner::before {
      font-size: 12vw;
      top: 20%;
    }
  
    .software-container {
      flex-wrap: wrap;
      justify-content: center;
      padding: 0 10px;
    }
  
    .software-box {
      width: 120px; /* More reasonable width */
      padding: 10px;
    }
  
    .software-box img {
      max-width: 80px;
      height: auto;
    }
  }
  
  
  
  .gear-container {
    background: white;
    align-items: center;
    text-align: center;
  }
  .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;
  }
  .dots {
    margin-top: 10px;
  }
  .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
  }
  .dot.active {
    background-color: #ff4500;
  }
  @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;
    }
  }
  
  .boundaries {
    background: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .boundaries h1 {
    color: #002F6C;
  }
  
  .boundaries p {
    max-width: 800px;
    margin: auto;
    color: #07356D;
    text-align: center;
    padding: 0 15px;
  }
  
  /* About Content */
  .about-content {
    background: #002F6C;
    color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 280px;
    flex-wrap: wrap;
    text-align: center;
    width: 100%; /* Ensure it spans the full width */
    box-sizing: border-box; /* Account for padding and borders in width */
  }
  
  /* Centering div content */
  .about-content div {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
  }
  
  /* Mission Icons Centering */
  
  .mission-container{
    background: #002F6C;
  
  }
  .mission-icons {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 1024px) {
    .about-content {
        gap: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .mission-icons {
        width: 100px;
        height: 100px;
    }
  }
  
  @media (max-width: 480px) {
    .boundaries {
        padding: 30px 15px;
    }
    .about-content {
        padding: 30px 15px;
    }
    .mission-icons {
        width: 80px;
        height: 80px;
    }
  }

  .section-good-practice {
    display: flex;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: left;
    background: #07356D;
}
.section-innovation {
    display: flex;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: left;
    background: #0293C6;
}
.section-improvement {
    display: flex;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: left;
    background: #EF4923;
}
.section-good-practice,.section-improvement,
.section-innovation {
    padding-left: 200px;
/* Adjust this value to shift the content to the right */
}
.section-improvement h2,
.section-improvement p,
.section-good-practice h2,
.section-good-practice p,
.section-innovation h2,
.section-innovation p {
    margin-left: 20px; /* Adjust as needed */
}

.icon-good-practice {
    font-size: 50px;
    margin-right: 20px;
}
.icon-innovation {
    font-size: 50px;
    margin-right: 20px;
}
.icon-improvement {
    font-size: 50px;
    margin-right: 20px;
}
@media (max-width: 768px) {
  .section-good-practice,
  .section-innovation,
  .section-improvement {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
      text-align: center;
      padding-left: 20px; /* Reduce left padding for smaller screens */
  }

  .icon-good-practice,
  .icon-innovation,
  .icon-improvement {
      font-size: 40px; /* Reduce icon size */
      margin: 0 auto 10px; /* Center icons */
  }

  .section-improvement h2,
  .section-improvement p,
  .section-good-practice h2,
  .section-good-practice p,
  .section-innovation h2,
  .section-innovation p {
      margin-left: 0; /* Remove extra margin */
      text-align: center; /* Center text */
  }
}

.percentage-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Allows space between sections */
    flex-direction: column;
    text-align: center;
    padding: 20px;
    position: relative;
}

.image-section {
    width: 100%;
    height: 400px;
    background: url('/img/competencies/Transports.jpg') no-repeat left top;
    background-size: 120% auto;
    background-position: 330% 50%;
    position: absolute; /* Make sure it's placed correctly without extra space */
    top: 0; /* Ensure it's at the top without shifting */
    left: 0; /* Align to the left */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align the content to the left */
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0;  /* Remove any margin */
    padding: 0;
}

.percentage-title-text {
    margin-top: 10px;   /* Adjust to move the text closer to the top */
    margin-left: 500px;  /* Adjust to move the text to the right */
    font-size: 28px;
    color: #002366;
    position: relative; /* Use relative positioning */
    top: -32px; /* Move the text to the top */
    left: -65px; /* Move the text to the right */
    font-size: 30px;
    color: #002366;
    z-index: 1;
}

.percentage-text {
    font-size: 160px;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 4px #ff4c4c;
    background: url('/img/team/82.png') no-repeat center center/contain;
    width: 500px;
    height: 240px;
    display: inline-block;
    position: relative; /* Allow positioning within the parent container */
    top: 13px; /* Move the text to the top */
    z-index: 1;
    right: -222px;
}

.stats-section {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 900px;
    background: #ec174c; /* Keep a transparent background */
    height: 80px;
    color: white;
    font-size: 18px;
    position: absolute; /* Position it over the image */
    top: 100%; /* Adjust to center vertically */
    right: -122px;
    transform: translateY(-50%); /* Center the stat box vertically */
    opacity: 0.7; /* Make it slightly transparent */
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-right: 1px solid white;
    background-color: rgba(0, 0, 0, 0.3); /* Transparent background for the stat box */
}

.stat-box:last-child {
    border-right: none;
}

@media (max-width: 768px) {
  .image-section {
    height: 316px;
    width: 137px;
      background-size: cover;
      background-position: center;
      font-size: 18px;
      border-radius: 12px;
  }

  .percentage-title-text {
      margin-left: 50%;
      font-size: 20px;
      top: -15px;
      left: -40px;
  }

  .percentage-text {
      font-size: 80px;
      -webkit-text-stroke: 2px #ec174c;
      width: 250px;
      height: 120px;
      top: 5px;
      right: -50px;
  }

  .stats-section {
      max-width: 90%;
      height: 50px;
      font-size: 11px;
      right: 0;
      top: 95%;
  }

  .stat-box {
      padding: 5px;
  }
}



.download-section {
    position: relative;
    width: 100%;
    height: 250px;
    background: url('/img/competencies/About-Sist-Engineers.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.7);
}
.content {
    position: relative;
    z-index: 2;
}
.content a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    display: flex;
    align-items: center;
}
.content a strong {
    font-weight: bold;
}
.download-icon {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-left: 10px;
}
.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: 6%; /* 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;
}
