@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: rgb(35, 35, 85);
}

span {
  font-size: 0.9rem;
  color: #757373;
}

h6 {
  font-size: 1.1rem;
  color: rgb(24, 24, 49);
}

p {
  font-size: 1.1rem;
  line-height: 1.6;;
margin-bottom: 25px;
}


/* Navigation */
nav {
  position: fixed;
  width: 100%;
  /* background-color: #fff; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1vw 8vw;
  /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15); */
  z-index: 1;
  transition: 0.6s;
}

nav.sticky .navigation ul li a{
  text-decoration: none;
  color: rgb(21, 21, 100);
  font-weight: 500;
  transition: 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 30px;
}

nav.sticky{
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

nav img{
  width: 100px;
  cursor: pointer;
}

nav .navigation {
  display: flex;
}

#menu-btn {
  width: 30px;
  height: 30px;
  display: none;
}

#menu-close {
  display: none;
}

nav .navigation ul{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav .navigation ul li{
  list-style: none;
  margin-left: 50px;
}

nav .navigation ul li a{
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 30px;
  position: relative;
  padding-bottom: 5px;
}

nav .navigation ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FF1313;
  transition: width 0.4s ease-in-out;
}

nav .navigation ul li a:hover::after {
  width: 100%;
}

/* Home */
#home{
  background-image: linear-gradient(rgba(80, 80, 171, 0.3), rgba(65, 62, 106, 0.7)), url("pictures/slide-bg3.png");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #FF1313; 
}

::-webkit-scrollbar-thumb:hover {
  background: #FF1313;
}

#home h2{
  color: #fff;
  font-size: 4rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#home p{
  width: 50%;
  color: #fff;
  font-size: 1.2rem;
  line-height: 25px;
  font-family: "Poppins", sans-serif;
}

#home .info-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  gap: 30px; /* Adds space between the boxes */
  margin-top: 80px;
  flex-wrap: wrap; 
}

#home .box-icon {
  display: flex;
  align-items: center;
  background-color: #f4f4f4; /* Light background color */
  padding: 10px 12px; /* Padding inside each box */
  border-radius: 8px; /* Rounded corners */
  border: 1px solid #ddd; /* Light border for each box */
  box-shadow: 0 2px 5px rgba(8, 7, 7, 0.1); /* Light shadow for depth */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

#home .box-icon:hover {
  background-color: #e0e0e0; /* Darker background on hover */
  transform: translateY(-3px); /* Slight lift effect on hover */
}

#home .box-icon i {
  margin-right: 10px;
  font-size: 18px; /* Icon size */
  color: #a88538

}

#home .box-icon p {
  margin: 0;
  font-size: 14px;
  color: #555; /* Text color */
  line-height: 20px;
  white-space: nowrap;
}

/* history */
#history {
  padding: 5vw 8vw 0 8vw;
  /*text-align: center;*/
}

.heading{
  margin-bottom: 3rem;
  padding-left: 1rem;
  border-left: 1rem solid #FF1313;
}

.history {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 20px;
  background-color: #e2e2e2;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.history .history-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.history .text-content {
  flex: 1; /* Take up available space */
  margin-bottom: 30px; /* Adds space between text content and button */
}

.history .heading {
  font-size: 40px;
  color: rgb(21, 21, 100);
  margin-bottom: 30px;
}

.heading {
  font-size: 40px;
  color: rgb(21, 21, 100);
  margin-bottom: 20px;
}

.history p {
  font-size: 1rem;
  line-height: 1.6;;
  color: #444;
  line-height: 1.6;
margin-bottom: 25px;
}

/* Image Grid Styling */
.image-grid {
  columns: 3 250px;
  grid-template-columns: repeat(2, 1fr); /* Two images per row */
  gap: 20px;
  flex: 1; /* Take up remaining space */
}

.image-grid img {
  margin-bottom: 10px;
  flex-direction: column;
  width: 100%;
  height: auto;
  border-radius: 10px; /* Optional: Add rounded corners to images */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow effect to images */
  opacity: 0; /* Initially hide the images */
  transform: translateY(50px); /* Start images below the view */
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: block;
  object-fit: cover; /* Ensures nice image cropping */
  border-radius: 8px;
 
}

/* Animation when images come into view */
.image-grid img.visible {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

/* timeline */
#timeline {
  padding: 5vw 8vw 0 8vw;
  /*text-align: center;*/
}

/* General styling for the timeline section */
.timeline-content {
  display: flex;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  background-color: #e2e2e2;
}

/* Style for the text content */
.text-content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

/* Style for the image grid centered in the text */
.image-grid-center {
  display: flex;
  justify-content: center; /* Center the images horizontally */
  gap: 15px; /* Space between the images */
  margin: 20px 0; /* Space above and below the image grid */
}

.image-grid-center img {
  width: 30%; /* Ensure each image takes up a third of the available space */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Prevent images from exceeding their container's width */
  border-radius: 10px; /* Optional: Add rounded corners to images */
}

/* Make the layout stack vertically on smaller screens */
@media screen and (max-width: 768px) {
  .timeline-content {
      flex-direction: column; /* Stack content vertically */
      text-align: center;
  }

  .image-grid-center {
      flex-direction: column; /* Stack images vertically on smaller screens */
      justify-content: center;
      gap: 10px;
  }

  .text-content {
      text-align: center;
      padding: 15px;
  }
}

/* Optional: For very small screens, adjust the padding for better fit */
@media screen and (max-width: 480px) {
  .text-content {
      padding: 10px;
  }

  .image-grid-center img {
      width: 90%; /* Adjust image width for smaller screens */
  }
}




/* Optional: add responsiveness tweaks */
/*@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr; 
  }
}

@media screen and (max-width: 1440px) {
  .image-grid {
    justify-items: center;
     grid-template-columns: repeat(2, 1fr); 
  }
}

@media screen and (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}*/



         .timeline {

          display: flex;
justify-content: space-between;
align-items: center;
padding: 50px 20px;
background-color: #fff;
flex-wrap: wrap; /* Allow wrapping on smaller screens */
      }

      .timeline .history-content{
          display: flex;
justify-content: space-between;
width: 100%;
align-items: flex-start;
gap: 30px; /* Add spacing between the text and the image grid */
      }

    /* General styling for the timeline section */
.timeline-content {
  display: flex;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

/* Style for the text content */
.text-content {
  font-size: 1.2rem;
  line-height: 1.6;
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

/* Style for the image grids */
.image-grid-left, .image-grid-right {
  flex: 1;
  display: grid;
  gap: 10px;
  box-sizing: border-box;
}

/* Align images for the left side */
.image-grid-left {
  justify-items: start;
}

/* Align images for the right side */
.image-grid-right {
  justify-items: end;
}

/* Ensure images are responsive */
.image-grid-left img, .image-grid-right img {
  width: 100%; /* Make sure the images fill the container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Prevent images from exceeding container width */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
  border-radius: 10px; /* Optional: Add rounded corners to images */
}

/* Commences */

/* history */
#company-intro {
  padding: 5vw 8vw 0 8vw;
  /*text-align: center;*/
}

/* General styling */
.company-intro {
  padding: 50px 5%;
}

/* Layout for images and text */
.company-intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Image gallery with side-by-side alignment */
.image-gallery {
  display: flex;
  align-items: flex-start; /* Align images to the top */
  gap: 30px;
  flex: 1;
  max-width: 40%;
}

/* Common styles for both images */
.img-large {
  width: 55%;
  max-width: 280px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The offset image with margin-top to create space above */
.offset-img {
  margin-top: 30px; /* Space above the second image */
}

/* Hover effect */
.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.company-description-box {
  background-color: red; /* Red background */
  padding: 30px;
  border-radius: 10px;
  color: white; /* White text */
  flex: 1;
  max-width: 50%;
}

/* Bullet Points Styling */
.bullet-points {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

/* Text content on the right */
.company-description {
  flex: 1;
  text-align: left;
}

/* Bullet point style */
.bullet-points li {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 10px 0;
  color: white;
  position: relative;
  padding-left: 60px; /* Adjusted for the 50px bullet */
  line-height: 1.5; /* Add space between lines of text */
}

/* Bullet size and alignment */
.bullet-points li::before {
  content: "•";
  color: white;
  font-size: 50px; /* Bullet size 50px */
  position: absolute;
  left: 0;
  top: 50%; /* Align bullet vertically with the text */
  transform: translateY(-50%); /* Center the bullet vertically */
}

/* vision */

/* history */
.video-container {
  padding: 5vw 8vw 0 8vw;
  /*text-align: center;*/
}
.video-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  position: absolute;
  /*top: 0; */
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video fully covers the screen */
}

/* Overlay text styling */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 700px;
}

/* Text styles */
.overlay-text h2 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.overlay-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
}


/* footer */
footer {
  background: rgb(21, 21, 100); /* Transparent red overlay */
  background-image: url('pictures/construction-bg.jpg'); /* Construction background */
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply; /* Blends the red overlay with the image */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  margin: 0 10px;
  transition: 0.3s;
  text-decoration: none; /* Remove underline */
}

.social-icons a:hover {
  color: #f0a500;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 5px 0;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #f0a500;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
  font-size: 14px;
}

@media (max-width: 769px) {
  nav {
    padding: 15px 20px
  }
  nav img {
    width: 90px;
  }
  #menu-btn {
    display: initial;
  }
  #menu-close {
    display: initial;
    font-size: 1.6rem;
    color: #fff;
    padding: 30px 0 20px 20px;
  }
  nav .navigation ul {
    position: absolute;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100vh;
    background: rgba(163, 2, 2, 0.9);
    backdrop-filter: blur(4.5px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: 0.3s ease;
  }

  nav .navigation ul.active {
    right: 0;
  }
  nav .navigation ul li {
    padding: 20px 0 20px 40px;
    margin-left: 0;
  }
  nav .navigation ul li a {
    color: #fff;
  }
  
  #home h2{
    font-size: 3rem;
  }

  #home p{
    width: 90%;
  }

  #home .info-details-row {
    padding: 10px;
    max-width: 100%; /* Full width on smaller screens */
    margin: 20px; /* Adjust margin for mobile screens */
  }
  
  .box-icon {
    flex: 1 50%; /* Make each box take full width on smaller screens */
    max-width: 100%; /* Ensure the boxes occupy full width */
    padding: 12px;
    gap: 12px; /* Reduce space between icon and text */
}
}


/* timeline */

/* Make the layout stack vertically on smaller screens */
@media screen and (max-width: 768px) {
  .timeline-content {
      flex-direction: column; /* Stack content vertically */
      text-align: center;
  }

  .image-grid-left, .image-grid-right {
      flex: 0 0 100%; /* Take full width */
      justify-items: center;
  }

  .text-content {
      text-align: center;
      padding: 15px;
  }
}

/* Optional: For very small screens, adjust the padding for better fit */
@media screen and (max-width: 480px) {
  .text-content {
      padding: 10px;
  }

  .image-grid-left img, .image-grid-right img {
      width: 100%; /* Ensure images take the full width of the container */
  }
}


/* For very small screens (mobile phones) */
@media (max-width: 480px) {
  .info-details-row {
      padding: 15px;
  }

  .box-icon {
      padding: 10px;
      gap: 8px; /* Further reduce space between icon and text */
  }

  .box-icon i {
      font-size: 18px; /* Even smaller icons for very small screens */
  }

  .box-icon p {
      font-size: 12px; /* Smaller text for very small screens */
  }
}

@media (max-width: 450px) {
  html{
    font-size: 50%;
  }
}

/* 🔹 Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 1024px) {
    .history {
        flex-direction: column;
        text-align: center;
    }

    .history .history-content {
        flex-direction: column;
        text-align: center;
    }

    .history .text-content {
        width: 100%;
    }

    .image-grid {
        grid-template-columns: 1fr; /* One image per row */
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 768px) {
    .heading {
        font-size: 15px; /* Reduce heading size for mobile */
    }

    .history {
        padding: 30px 10px;
    }

    .history .text-content {
        width: 100%;
        text-align: center;
    }

    .image-grid {
        grid-template-columns: 1fr; /* Ensure images are stacked */
    }

    .image-grid img {
        border-radius: 5px; /* Reduce border radius for smaller screens */
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 28px;
    }

    .history p {
        font-size: 14px; /* Reduce text size for better readability */
    }
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  .history-content {
    flex-direction: column; /* Stack the text and image grid on smaller screens */
    align-items: center;
  }

  .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on small screens */
  }

  .text-content .heading {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .text-content .heading {
    font-size: 4rem;
  }

  .text-content p {
    font-size: 0.9rem;
  }
}

/* === RESPONSIVE DESIGN === */

/* Tablets & Small Screens */
@media screen and (max-width: 1024px) {
  .company-intro-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .image-gallery {
      max-width: 80%;
      justify-content: center;
  }

  .company-description {
      max-width: 80%;
      padding-left: 0;
      text-align: center; /* Center the text on smaller screens */
  }

  .bullet-points li {
      font-size: 14px; /* Smaller font size for tablets */
  }

  .bullet-points li::before {
      font-size: 40px; /* Smaller bullet size for tablets */
  }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
  .company-intro-content {
      flex-direction: column;
      text-align: center;
  }

  .image-gallery {
      max-width: 100%;
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  .img-large {
      width: 90%;
      max-width: 100%;
  }

  .company-description {
      max-width: 100%;
      padding-left: 0;
      text-align: center; /* Ensure text is centered on mobile */
  }

  .bullet-points li {
      font-size: 12px; /* Smaller font size for mobile */
  }

  .bullet-points li::before {
      font-size: 35px; /* Smaller bullet size for mobile */
  }
}

/* Very Small Screens */
@media screen and (max-width: 480px) {
  .company-intro {
      padding: 30px 5%;
  }

  .image-gallery {
      gap: 5px;
  }

  .img-large {
      width: 100%;
  }

  .company-description {
      padding-left: 0;
      text-align: center; /* Ensure text is centered on very small screens */
  }

  .bullet-points li {
      font-size: 11px; /* Even smaller font size for small devices */
  }

  .bullet-points li::before {
      font-size: 30px; /* Even smaller bullet size for small devices */
  }
}

/* Tablets & Small Screens */
@media screen and (max-width: 1024px) {
  .company-intro-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .company-description-box {
      max-width: 80%;
      padding: 20px;
  }

  .image-gallery {
      max-width: 80%;
      justify-content: center;
  }

  .bullet-points li {
      font-size: 16px;
  }

  .bullet-points li::before {
      font-size: 40px;
  }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
  .company-intro-content {
      flex-direction: column;
      text-align: center;
  }

  .company-description-box {
      max-width: 100%;
      padding: 20px;
  }

  .image-gallery {
      max-width: 100%;
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  .img-large {
      width: 90%;
      max-width: 100%;
  }

  .bullet-points li {
      font-size: 14px;
      text-align: left;

  }

  .bullet-points li::before {
      font-size: 35px;
  }
}

/* Very Small Screens */
@media screen and (max-width: 480px) {
  .company-intro {
      padding: 30px 5%;
  }

  .company-intro-content {
      gap: 30px; /* More space between images and text box */
  }

  .image-gallery {
      gap: 15px;
  }

  .img-large {
      width: 100%;
  }

  .company-description-box {
      padding: 15px;
  }

  .bullet-points li {
      font-size: 12px;
  }

  .bullet-points li::before {
      font-size: 30px;
  }
}

/* vission */
@media (max-width: 480px) {
  .video-container {
      height: 50vh; /* Reduce video size on mobile */
  }
  .overlay-text {
      width: 95%;
      padding: 10px;
  }
  .overlay-text h2 {
      font-size: 1.8rem;
  }
  .overlay-text p {
      font-size: 0.9rem;
  }
}


@media (max-width: 475px) {
}

/* footer */
/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }

  .footer-logo img {
      width: 120px;
  }

  .social-icons a {
      font-size: 20px;
      margin: 0 8px;
  }
}



/* Services */
.image-container {
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url("pictures/bg3.jpg.crdownload.jpg");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed for your banner */
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container */
}

.overlay-text-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  /*background: rgba(0, 0, 0, 0.5);*/ /* Semi-transparent background for readability */
  padding: 20px;
  border-radius: 10px;
  max-width: 90%; /* Optional: restricts the width of the overlay */
}

.overlay-text-img h2 {
  font-size: 5rem; /* Adjust size as needed */
  margin-bottom: 10px;
}

.intro {
background-color: #FF1313; /* Red */
padding: 50px 0;
text-align: center;
color: white;
}

.intro h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}

.intro p {
font-size: 1.2rem;
max-width: 800px;
margin: 0 auto;
}

#services {
padding: 5vw 8vw 0 8vw;
/*text-align: center;*/
}

.services {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 50px 0;
}

.service {
position: relative;
width: 100%;
max-width: 350px;
margin-bottom: 30px;
overflow: hidden;
}

.image-container-services {
position: relative;
width: 100%;
}

.image-container-services img {
width: 100%;
height: 300px;
object-fit: cover;
transition: all 0.3s ease;
border-radius: 10px;
}

.image-container-services:hover img {
transform: scale(1.1);
}

.overlay-services {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: all 0.3s ease;
border-radius: 10px;
}

.overlay-services h3 {
font-size: 1.2rem;
margin-bottom: 10px;
}

.overlay-services p {
font-size: 1.1rem;
text-align: center;
max-width: 80%;
}

.image-container-services:hover .overlay-services {
opacity: 1;
}

@media (max-width: 768px) {
header {
  padding: 15px 0;
}

nav .logo h1 {
  font-size: 2rem;
}

.service {
  width: 100%;
}

.overlay h3 {
  font-size: 1.5rem;
}

.overlay p {
  font-size: 1rem;
}
}



/* Section styles */
/* Section styles */
.why-choose {
  padding: 60px 20px;
  background-color: #FF1313;
}

.why-choose .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.benefit {
  background-color: #f0a500;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
}

.benefit h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;text-align: center;
}

.benefit p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  text-align: center;
}

/* Phones (max-width: 480px) */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .benefit {
    padding: 18px 14px;
  }

  .benefit h3 {
    font-size: 1.15rem;
  }

  .benefit p {
    font-size: 0.9rem;
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .benefits {
    grid-template-columns: 1fr; /* Stack all in one column */
    gap: 20px;
  }

  .benefit {
    width: 100%;
    margin: 0 auto;
  }

  .benefit h3 {
    font-size: 1.3rem;
  }

  .benefit p {
    font-size: 0.95rem;
  }
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
.benefits {
  flex-direction: column;
  align-items: center;
}

.benefit {
  width: 80%;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2rem;
}

.benefit h3 {
  font-size: 1.4rem;
}

.benefit p {
  font-size: 0.95rem;
}
}



/* projects */ 
/* Services */
.image-container-projects {
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url("pictures/bg-projects.jpg");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed for your banner */
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed for your banner */
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container */
}

.overlay-text-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  /*background: rgba(0, 0, 0, 0.5);*/ /* Semi-transparent background for readability */
  padding: 20px;
  border-radius: 10px;
  max-width: 90%; /* Optional: restricts the width of the overlay */
}

.overlay-text-img h2 {
  font-size: 5rem; /* Adjust size as needed */
  margin-bottom: 10px;
}



/* credentials */
.image-container-credential {
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url("pictures/bg-credentials.jpg");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed for your banner */
  overflow: hidden;
}



/* Section Styles */ 
.image-section {
  padding: 40px;
  background-color: #e2e2e2; /* Optional: Light background for the section */
  text-align: center; /* Optional: Center align text */
}

.image-section p {
  font-size: 1.3rem;
  line-height: 25px;
  color: black;
  margin-bottom: 30px; /* Space below the description */
  font-weight: 500;
}

.image-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two images per row */
  gap: 20px; /* Space between images */
  padding: 20px;
}

/* Each image item styles */
.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-item img {
  width: 100%;
  height: auto; /* Allow natural height based on aspect ratio */
  display: block;
  transition: transform 0.3s ease;
}

.image-item a {
  display: block;
}

/* Overlay effect on hover */
.image-item:hover img {
  transform: scale(1.1); /* Slight zoom effect */
}

/* Custom cursor effect */
.image-item:hover {
  cursor: pointer;
}

.image-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-item:hover::after {
  opacity: 1; /* Show overlay */
}

/* Text overlay */
.overlay-text1 {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  color: rgb(21, 21, 100);
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Optional: makes the text stand out */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-item:hover .overlay-text1 {
  opacity: 1; /* Show text on hover */
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1000;
}

/* Media query for responsiveness (1 image per row on small screens) */
@media screen and (max-width: 768px) {
  .image-grid2 {
    grid-template-columns: 1fr; /* 1 item per row */
  }
}

/*index */
/* Button Styling */
.see-services-btn {
  display: inline-block;
  border: 2px solid #FF1313;
  background-color: transparent;
  color: #FF1313;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease; 
  margin-top: 20px; 
  text-decoration: none;
  text-align: center;
}

/* Button Hover Effect */
.see-services-btn:hover {
  background-color: #FF1313; 
  color: #fff; 
  border-color: #FF1313; 
}

/* Responsive Design*/
@media (max-width: 768px) {
  .see-services-btn {
      font-size: 0.9rem;
      padding: 8px 16px;
      margin-top: 15px; 
  }
}

@media (max-width: 480px) {
  .see-services-btn {
      font-size: 0.8rem;
      padding: 6px 14px; 
      margin-top: 10px; 
  }
}

#team-section{
padding: 5vw 8vw 0 8vw;
}
section.team-section1 {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
  }

  .team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .team-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-align: center;
  }

  .team-card:hover {
    transform: translateY(-5px);
  }

  .team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

  .name {
    font-size: 1.2rem;
    font-weight: bold;
    color: red;
    margin-top: 1rem;
  }

  .position {
    font-size: 1rem;
    color: blue;
    margin-bottom: 1rem;
  }

  @media (min-width: 600px) {
    .team-card {
      width: 45%;
    }
  }

  @media (min-width: 900px) {
    .team-card {
      width: 30%;
    }
  }

  @media (min-width: 1200px) {
    .team-card {
      width: 22%;
    }
  }


  /* project */
  .projects {
    padding: 5vw 8vw 0 8vw;
  }
  
  .tabs-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #FF1313;
    color: white;
    padding: 15px 0;
    width: 100%;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .tab {
    flex: 1;
    text-align: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 8px;
    border-radius: 8px;
    position: relative;
  }
  
  .tab:hover {
    background-color: #e71818;
    transform: translateY(-3px);
  }
  
  .tab.active {
    background-color: #f0a500;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .tabs-content {
    display: none;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .tabs-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  .tab-info {
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .tab-info h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .tab-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    width: 100%;
  }
  
  .tab-images img {
    width: 100%;
    max-width: 450px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
  }
  
  .tab-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 768px) {
    .tabs-header {
      flex-direction: column;
      align-items: center;
    }
  
    .tab {
      flex: none;
      width: 100%;
      padding: 15px 0;
      text-align: center;
      margin: 10px 0;
    }
  
    .tab-images {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .tab-info {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .tabs-header {
      font-size: 16px;
    }
  
    .tab {
      padding: 12px 0;
    }
  
    .tab-images {
      grid-template-columns: 1fr;
    }
  
    .tab-info {
      font-size: 14px;
    }
  }
  
  
  .slider {
      width: 100%;
      overflow: hidden;
      position: relative;
  }
  
  .product-slider{
    padding: 40px 20px;
  }
  
  .product-slider h2{
    text-align: center;
      margin-bottom: 30px;
      font-size: 2.5rem; /* Increased font size for header */
      color: #333;
  }
  
  .product-container {
      display: flex;
      animation: slide 40s linear infinite;
  }
  
  .product {
      flex-shrink: 0;
      text-align: center;
      padding: 10px;
  }
  
  .product img {
      max-width: 80%; /* Make images smaller (80% of their container's width) */
      height: auto;
      border-radius: 8px;
      margin-bottom: 10px;
  }
  
  .product h3 {
      margin-top: 10px;
      font-size: 1.2rem;
  }
  
  .product p {
      font-size: 0.9rem;
      color: #555;
  }
  
  /* Infinite scroll animation */
  @keyframes slide {
      0% {
          transform: translateX(0);
      }
      100% {
          transform: translateX(-100%);
      }
  }
  
  /* Pause on hover */
  .slider:hover .product-container {
      animation-play-state: paused;
  }
  
  /* Mobile Devices: One product per row */
  @media (max-width: 768px) {
      .product {
          width: 100%; /* Full width per product */
          margin: 0;
      }
  
      .product-container {
          gap: 10px;
      }
  
      .product img {
          max-width: 60%; /* Smaller images on mobile */
      }
  }
  
  /* Tablet Devices: Two products per row */
  @media (max-width: 1024px) and (min-width: 769px) {
      .product {
          width: 48%; /* Two products per row */
          margin: 0 10px;
      }
  
      .product-container {
          gap: 20px;
      }
  
      .product img {
          max-width: 70%; /* Smaller images on tablet */
      }
  }
  
  /* Desktop Devices: Three products per row */
  @media (min-width: 1025px) {
      .product {
          width: 30%; /* Three products per row */
          margin: 0 15px;
      }
  
      .product-container {
          gap: 20px;
      }
  
      .product img {
          max-width: 60%; /* Smaller images on desktop */
      }
  }
  
  .client-logos-section {
      padding: 40px 20px;
      background-color: #f9f9f9;
  }
  
  .client-logos-section h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 2.5rem; /* Increased font size for header */
      color: #333;
  }
  
  .client-logos-container {
      display: flex;
      flex-direction: column;
      gap: 30px; /* Increased gap between rows */
  }
  
  .logo-row {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px; /* Increased gap between logos */
      justify-content: center;
  }
  
  .logo {
      max-width: 200px; /* Increased max width */
      max-height: 120px; /* Increased max height */
      object-fit: contain;
      margin: 20px; /* Added margin for spacing */
      transition: transform 0.3s ease;
  }
  
  .logo:hover {
      transform: scale(1.1); /* Slight scale effect on hover */
  }
  
  @media (max-width: 1200px) {
      .logo {
          max-width: 180px; /* Slightly smaller logo for medium screens */
          max-height: 100px;
      }
  }
  
  @media (max-width: 992px) {
      .logo-row {
          justify-content: space-around;
      }
      .logo {
          max-width: 160px; /* Smaller size for smaller screens */
          max-height: 90px;
      }
  }
  
  @media (max-width: 768px) {
      .logo-row {
          justify-content: center;
      }
      .logo {
          max-width: 140px; /* Smaller size for tablets */
          max-height: 80px;
      }
  }
  
  @media (max-width: 576px) {
      .logo-row {
          flex-direction: column;
          align-items: center;
      }
      .logo {
          max-width: 120px; /* Smaller size for mobile screens */
          max-height: 70px;
      }
  }

  /* services */
  

.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.services-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* Fixed 3 columns */
  grid-template-rows: repeat(2, auto);    /* Two rows */
  gap: 20px;
  justify-items: center;
}

.service-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.service-card .icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: rgb(35, 35, 85);
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

.service-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .service-card .icon {
    font-size: 40px;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .service-card .icon {
    font-size: 35px;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
}
