/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.mobile-nav{
  display: none;
}
header {

  background-size: cover;
  background-position: center;
  /* height: 500px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 20px; */
}

/* .header-container {

  height: 748px;



} */

.logo-nav img {
  position: absolute;
  height: 49px;
  width: 214px;
  top: 30px;
  left: 50px;



}

.header-text {
  position: absolute;
  bottom: 390px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(255, 255, 255);
  font-size: 36px;
  text-align: center;

  justify-content: center;
  /* width: 1640px; */
  gap: 5px;
  filter: drop-shadow(9px 5px 5px #28282B);

}


nav ul {
  position: absolute;
  display: flex;
  gap: 70px;
  /* width: 94px; */
  height: 19px;
  top: 43px;
  right: 95px;
}

nav ul div a {
  color:
    rgb(100%, 100%, 100%);
  text-decoration: none;
  filter: drop-shadow(12px 7px 6px black);
}

.small-button {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 12px;
  border: none;
  background-color: red;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;

  background-size: cover;
  background-position: center;
  color: white;
}

.hero h1 {
  font-family: 'Open Sans Hebrew', sans-serif;
  font-size: 52px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* About Section */
#about {
  display: flex;
  gap: 20px;
  padding: 50px;

}

.about-container {
  display: flex;
  gap: 20px;
  margin-left: 5%;
}

.about-image1 img {
  width: 487px;
  height: 372px;
  margin-top: 159px;
}

.about-image2 {
  position: absolute;
  margin-top: 12.3%;
  margin-left: 10%;

}

.about-image2 img {
  width: 395px;
  height: 285px;
  margin-top: 32px;
}

.about-content {
  margin-top: 25%;
  margin-left: 7%;
  padding-right: 18%;
}

.about-content h2 {
  font-size: 28px;
  color: #002855;
  margin-top: -22%;
}

/* .about-content p {
    margin-bottom: 10px;
  } */
/* .aboutpara{
    margin-bottom: 50px;
  } */

.read-more {
  display: inline-block;
  padding: 20px 20px;
  background-color: #002855;
  color: white;
  text-align: center;
  margin-top: 10px;
  height: 60px;
  width: 200px;
  border-radius: 12px;

}

.tapered {
  position: absolute;
  width: 3%;
  height: 3px;
  background-color: red;
  margin-top: -136px;

}

/* Data */
.data {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  top: 140px;
}

.red1 {
  position: absolute;
  top: -1px;

  width: 100%;
  height: 10px;
  background-color: red;
}

.image {
  width: 100%;
  height: 500px;
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: white;
  transition: background-color 0.3s ease;
  gap: 516px;
}

.overlay p {
  margin: 10px 0;
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
  transition: font-weight 0.3s ease;
}

.data:hover .image {
  filter: blur(0);
}

.data:hover .overlay {
  background-color: rgba(0, 0, 0, 0.8);
}

.data:hover .overlay p {
  font-weight: bold;
}

.red-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: red;
}

/* Services Section */
#services-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;

}

.services-container {
  display: flex;
  gap: 30px;
  width: 80%;
}

.services-image {
  width: 556px;
  height: 543px;
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-list {
  display: flex;
  flex-direction: column;
  padding-left: 3%;
  width: 52%;
  row-gap: 13px;
}

.services-list h2 {
  font-size: 28px;
  color: #002855;
  margin-bottom: 20px;
  border-bottom: 2px solid #c1272d;
  padding-bottom: 5px;
}

/* 
.service-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
} */

.service-item {
  text-align: center;
}

.service-item img {
  width: 87%;
}

.service-item a {
  color: #002855;
  text-decoration: none;
  border: 2px solid #c1272d;
  border-radius: 50%;
  padding: 10px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
}

.service-item a:hover {
  color: #c1272d;
}





.testimonial-section {
  position: relative;
  width: 100%;
  margin-top: 40px;
  height: 500px;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: url('../Assets/no_of_project.jpg') no-repeat center center/cover;
  filter: blur(0.3px);
  z-index: 1;
}

.content-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
  padding: 20px;
}

.testimonial-title {
  font-size: 2em;
  color: #1a73e8;
  margin-bottom: 401px;
  position: absolute;

}

.testimonial-subtitle {
  color: #666;
  color: #28282B;
  font-style: italic;
  font-size: 2vw;
  font-weight: 700;
  margin-bottom: 134px;
  /* margin-left: 75px; */
}

.testimonial-company {
  font-size: 1.5vw;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  justify-content: center;
}

.slide {
  display: none;
  text-align: center;
  font-size: 1.2em;
  color: #333;
}

.slide.active {
  display: block;
}

.indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: #e60023;
}






/* Projects */
.project-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 100%;
  /* max-width: 800px; */
}

.center-title {
  font-size: 2em;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.circle-container {
  position: relative;
  width: 800px;
  height: 600px;
  margin: 14% 0%;
}

.project-image {
  width: 375px;
  height: 280px;
  overflow: hidden;
  position: absolute;
  transform-origin: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  /* Optional: Adds rounded corners */
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Position images above, below, and to the left and right of the central text */
.project-image:nth-child(1) {
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
}

.project-image:nth-child(2) {
  top: 25%;
  left: -23%;
  transform: translateY(-50%);
}

.project-image:nth-child(3) {
  top: 24%;
  right: -23%;
  transform: translateY(-50%);
}

.project-image:nth-child(4) {
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.project-image:nth-child(5) {
  top: 53%;
  left: -23%;
}

.project-image:nth-child(6) {
  top: 53%;
  right: -23%;
}


/* Our Clients */
#clients {
  display: grid;
  justify-items: center;
  text-align: center;
}

.clients-container {
  display: flex;
  margin-top: 6%;
  margin-bottom: 6%;
  gap: 50px;
}

.client-logo img {
  height: 100px;
  width: 220px;
}

/* footer */

footer {
  width: 100vw;
  height: 50vh;
  background-color: #0151A6;
  ;
  color: #ffffff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 24px;
}

.footer-info {
  margin-bottom: 10px;
  align-items: center;
  font-size: 1.5vw;

}

.footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  font-size: 1.3vw;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 71px;
}

.footer-nav li {
  margin-right: 20px;
}

.footer-nav a {
  text-decoration: none;
  color: #fcf7f7;
}

.social-media {
  gap: 32px;
  margin: 10px 0;
  display: flex;
}


.social-media img {
  margin-right: 10px;
  color: #fff;
}

.social-media img {
  font-size: 24px;
  height: 29px;
  width: 29px;
  border-radius: 4px;
  justify-content: center;
}

.footer-logo img {
  width: 345px;
  height: 79px;

}







/* Media Queries */
/* General Reset */
/* @media (min-width:1920px){
    .header-text{
        header {
            height: 450px;
          }
        font-size: 37px,
        bottom: 465px
    }
   
 } */




/* Media Query for 1920px Screen Width */
@media (min-width: 1920px) {
  /* header {
    height: 600px;
    padding: 40px;
  } */

  .header-container {
    width: 100%;
  }

  .logo-nav img {
    height: 70px;
    width: 300px;
    top: 40px;
    left: 70px;
  }

  .header-text {
    font-size: 37px;
    /* width: 1800px;
    bottom: 450px;
    left: 50%;
    transform: translateX(-50%); */
  }

  .tapered {
    margin-top: -140px;
  }

  .header-text h1 {
    padding: 10% 0%;
  }


  .about-image1 img {
    margin-top: 87px;
  }


}

/* For screens between 1024px and 1440px */
@media (min-width: 1440px) {
  header {
    /* height: 450px; */
    padding: 1px;
  }

  .header-text {
    font-size: 27px;
    width: 90%;
    top: 254px;
  }


  nav ul {
    gap: 60px;
    top: 42px;
    right: 50px;
    font-size: 1.4vw;
  }

  .logo-nav img {
    height: 45px;
    width: 200px;
  }

  .hero h1 {
    font-size: 48px;
  }

  /* .tapered {
    margin-top: -70px;
  } */

  /* .about-container {
      gap: 15px;
      padding: 30px;
      
    } */


  #about {
    margin-top: -9%;
  }


  .about-content h2 {
    font-size: 26px;
  }

  .about-image1 img {
    margin-top: -15px;
  }

  .aboutpara {
    font-size: 1.3vw;
  }

  .overlay {
    gap: 365px;
  }

  .services-container {
    gap: 20px;
  }

  .services-image {
    width: 500px;
    height: auto;
  }

  .testimonial-section {
    height: 450px;
  }

  .testimonial-title {
    font-size: 1.8em;
  }

  .footer-info {
    text-decoration: none;
    font-weight: bolder;
    /* font-size: larger; */
  }

  .footer-logo img {
    width: 320px;
    height: auto;
  }

  .footer-container p {
    position: relative;
    color: #ffff;
    bottom: 11px;
  }
}

/* For screens 1024px and below */
@media (max-width: 1024px) {
  header {
    height: 400px;
    flex-direction: column;
    /* padding: 10px; */
  }

  .header-text {
    font-size: 20px;
    top: 27%;
  }

  nav ul {
    gap: 25px;
    top: 43px;
    right: 63px;
  }

  .overlay {
    gap: 192px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .about-container {
    flex-direction: row;
    gap: 10px;
    padding: 20px;
  }

  .about-image1 img {
    height: -55px;
  }

  /* .about-image2 img {

    height: auto;
  } */
  .about-image2 {
    margin-top: 39.3%;
    margin-left: 13%;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .about-content {
    /* margin-top: 25%; */
    margin-left: 7%;
  }

  .tapered {
    position: absolute;
    width: 4%;
    height: 3px;
    background-color: red;
    margin-top: -19px;
  }

  .services-container {
    flex-direction: row;
    gap: 20px;
  }

  .services-image {
    width: 100%;
    height: auto;
  }

  .services-list {
    margin-left: 7%;
  }

  .services-list h2 {
    font-size: 24px;
  }

  /* .testimonial-section {
    height: auto;
  } */

  .testimonial-title {
    font-size: 1.6em;
  }

  .testimonial-subtitle {
    margin-bottom: 152px;
  }

  .testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    justify-content: center;
  }

  .project-image {
    width: 310px;
    height: 218px;
  }

  .project-image:nth-child(2) {
    left: -11%;
  }

  .project-image:nth-child(3) {
    right: -11%;
  }

  .project-image:nth-child(5) {
    left: -11%;
  }

  .project-image:nth-child(6) {
    right: -11%;
  }


  footer {
    flex-direction: column;
    padding: 20px;
    height: auto;
  }

  .footer-logo img {
    width: 250px;
  }
}


@media (max-width: 435px) {

  /* header {
    height: 372px;
} */
  .logo-nav img {
    height: 32px;
    width: 135px;
    top: 14px;
    left: 24px;
  }

  nav ul {
    display: none;
    /* visibility: hidden; */
  }

  .header-text {
    position: absolute;
    /* bottom: 608px; */
    top: 11%;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255, 255, 255);
    font-size: 11px;
    text-align: center;

    justify-content: center;

    gap: 5px;
    filter: drop-shadow(9px 5px 5px #28282B);

  }

  .header-container {
    width: 100%;
    height: 48vh;
  }



  footer {
    height: 27vh;
    width: 100%;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
    color: #01a627;

  }

  .footer-info,
  .footer-container p {
    /* margin-bottom: 10px;
    align-items: center; */
    font-size: 4vw;
    color: #ffff;

  }

  .footer-nav {
    display: none;
  }

  .footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 71px;
  }




  .social-media {
    gap: 33px;
    /* margin: 10px 0;
      display: flex; */
  }

  .footer-logo img {
    width: 169px;
    height: 35px;

  }

  #about {
    margin-top: -150px;
    padding: 20px;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 10px;
    margin-top: 16%;
  }

  /* First Image */
  .about-image1 img {
    width: 221px;
    height: 185px;
    margin-left: -140px;
    margin-top: -90%;
  }

  /* Second Image */
  .about-image2 {
    position: relative;
    margin: 0;
    margin-top: -50px;
    /* Overlap with first image */
  }

  .about-image2 img {
    width: 221px;
    height: 185px;
    max-width: 250px;
    margin-top: -16%;
    margin-left: 21%;
  }

  /* Content Section */
  .about-content {
    margin: 20px 0;
    padding: 0 15px;
    text-align: center;
  }

  .tapered {
    display: none;
    width: 40px;
    height: 3px;
    background-color: red;
    margin: 10px auto;
  }

  .about-content h2 {
    font-size: 24px;
    color: #002855;
    margin: 10px 0;
  }

  .aboutpara {
    margin-top: 15px;
  }

  .aboutpara p {
    font-size: 14px !important;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
  }

  .data {
    position: relative;
    width: 100%;
    height: 200px;
    /* Reduced height for mobile */
    overflow: hidden;
    margin-top: -35%;
  }

  .data .image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: blur(2px);
    /* Reduced blur for better mobile visibility */
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    padding: 0 10px;
    gap: 14px;
  }

  .overlay p {
    font-size: 14px;
    /* Smaller font size for mobile */
    text-align: center;
    margin: 0;
    line-height: 1.3;
  }

  .red1 {
    position: absolute;
    top: 0;
    width: 100%;
    height: 5px;
    /* Thinner red bar for mobile */
    background-color: red;
  }

  .red-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    /* Thinner red bar for mobile */
    background-color: red;
  }

  #services-section {
    padding: 20px 0;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  /* Hide the first services image */
  .services-image {
    display: none;
  }

  /* Style the services list and icons */
  .services-list {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    text-align: center;
  }

  .services-list h2 {
    font-size: 24px;
    color: #002855;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Style the services icons image */
  .seim {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .seim img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
  }

  .testimonial-section {
    position: relative;
    width: 100%;
    height: 250px;
    margin: 20px 0;
  }

  .background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
  }

  .content-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonial-title {
    color: white;
    font-size: 22px;
    margin-bottom: 200px;
    text-align: center;
  }

  .testimonial-subtitle {
    color: #ccc;
  }

  .testimonial-slider {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .slide {
    text-align: center;
    color: white;
    padding: 10px;
  }

  .slide p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .indicators .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
  }

  .indicators .dot.active {
    background: white;
  }

  .circle-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px;
    gap: 15px;
  }

  .project-section {
    padding: 20px 0;
    width: 100%;
  }

  .center-title {
    font-size: 24px;
    color: #002855;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    position: static;
    transform: none;
  }

  .circle-container {
    width: 100%;
    margin: 0;
    padding: 0 15px;
    height: auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
  }

  /* Hide scrollbar but keep functionality */
  .circle-container::-webkit-scrollbar {
    display: none;
  }

  .project-section {
    flex-direction: column;
  }

  .project-image {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Reset all absolute positioning */
  .project-image:nth-child(1),
  .project-image:nth-child(2),
  .project-image:nth-child(3),
  .project-image:nth-child(4),
  .project-image:nth-child(5),
  .project-image:nth-child(6) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }

  #clients {
    padding: 20px 0;
  }

  .clients-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    gap: 20px;
    padding: 0 15px;
    margin: 20px 0;
  }

  .client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .client-logo img {
    width: 140px;
    /* Adjusted size for mobile */
    height: auto;
    object-fit: contain;
  }

  /* Optional: Add some hover effect */
  .client-logo img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }

  .hamburger-menu {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
  }

  .bar {
    width: 25px;
    height: 3px;
    background-color: #002855;
    margin: 5px 0;
    transition: 0.4s;
  }

  /* Hamburger Animation */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Mobile Navigation */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 40, 85, 0.95);
    z-index: 999;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-nav ul li {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
  }

  .mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-nav .small-button {
    background: red;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
  }

  /* Animation for menu items */
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Add animation delay for each menu item */
  .mobile-nav.active ul li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .mobile-nav.active ul li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .mobile-nav.active ul li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .mobile-nav.active ul li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .mobile-nav.active ul li:nth-child(5) {
    animation-delay: 0.5s;
  }

  .mobile-nav.active ul li:nth-child(6) {
    animation-delay: 0.6s;
  }

  .mobile-nav.active ul li:nth-child(7) {
    animation-delay: 0.7s;
  }

  .mobile-nav.active ul li:nth-child(8) {
    animation-delay: 0.8s;
  }
}



@media (max-width: 320px) {
  .header-text {
    width: 80vw;
    top: 12%;
    font-size: 9px;
}

  .about-image1 img {
    margin-left: -68px;
    margin-top: -69%;
}
.about-image2 img {
  margin-top: -11%;
  margin-left: 17%;
}
}