* {
  margin: 0px;
  padding: 0px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  list-style: none;
}
header {
  /* border: 1px solid black; */
  /* padding: 0px 5%; */
  background-color: red;
}
.topHeader > div {
  /* border: 1px solid black; */
  margin: auto;
  padding: 4px 0px;
  width: 90%;
  display: flex;
  gap: 10px;
}
.topHeader a {
  color: rgb(255, 255, 255);
}

.middleHeader {
  background-color: white;
  box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.132);
  height: 70px;
  position: sticky;
  top: 0px;
  z-index: 999;
}
.middleHeader > div {
  /* border: 1px solid black; */
  margin: auto;
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  border: 1px solid black;
  height: 30px;
  width: 140px;
  font-size: 20px;
  cursor: pointer;
}
.navBar ul {
  display: flex;
  gap: 30px;
}
.navBar ul li {
  cursor: pointer;
  font-size: 18px;
}
#hamBurgerIcon {
  border: none;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.155);
  height: 40px;
  width: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
#hamBurgerIcon > div {
  border-top: 2px solid rgba(0, 0, 0, 0.885);
  width: 70%;
}
/* /////////////////////////////////////////////////////// 
*/

main > section {
  scroll-margin-top: 80px;
}

#bannerSlider {
  /* border: 1px solid; */
  height: 600px;
}
#bannerSlider > .swiper {
  height: 100%;
}

#bannerSlider > .swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#bannerSlider > .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  position: absolute;
}
#bannerSlider > .swiper .swiper-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity */
  z-index: 1;
}
#bannerSlider > .swiper .swiper-slide h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 15px 25px;
  color: #fff;
  text-shadow: 0px 0px 40px rgba(255, 255, 255, 0.738);
  font-size: 50px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  z-index: 2;
}

#aboutUs {
  padding: 70px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  background-color: #eef9ff;
}
#aboutUs > h1 {
  font-size: 40px;
  font-weight: 600;
}
#aboutUs > div {
  margin: auto;
  width: 80%;
  font-size: 20px;
  font-weight: 400;
  line-height: 50px;
}

#whyChooseus {
  padding: 70px 0px;
  display: grid;
  gap: 30px;
}
#whyChooseus h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
}
.whyChooseUsImgContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.whyChooseUsImg {
  /* border: 1px solid; */
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.193);
  border-radius: 10px;
  width: 200px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.whyChooseUsImg img {
  width: 70px;
}
.whyChooseUsImg h3 {
  font-size: 20px;
  font-weight: 400;
}

#services {
  padding: 70px 0px;
  display: grid;
  gap: 30px;
  background-color: #eef9ff;
}
#services h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
}
.serviceImgContainer {
  /* border: 1px solid; */
  margin: auto;
  width: 80%;
  height: auto;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  gap: 20px;
}
.serviceImg {
  cursor: pointer;
  border-radius: 10px;
  width: 100%;
  height: 90%;
}

.serviceImg img {
  border-radius: 10px !important;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.serviceImg > img:hover {
  box-shadow: 0px 0px 10px 1px rgba(23, 9, 9, 0.307);
}
.serviceImg h3 {
  margin: auto;
  margin-top: -20px;
  padding: 7px 0px;
  background-color: white;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.241);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
  width: 310px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* #CCTV {
  border: 1px solid red;
  display: flex;
}
#CCTV > div {
}

.cctvLeft {
  width: 40%;
}
.cctvRight {
  width: 60%;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
}
.cctvRight img {
  width: 300px;
  height: 200px;
} */

footer {
  padding: 10px 0px;
  background-color: black;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 14px;
}
footer a {
  color: white;
}

@media screen and (min-width: 500px) {
  #hamBurgerIcon {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .navBar {
    margin-left: -5%;
    position: fixed;
    top: 0px;
    left: -80%;
    width: 80vw;
    height: 100vh;
    z-index: 999;
    background-color: white;
    box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.155);
    transition: all 0.5s ease-in-out;
  }
  .navBar-slider {
    left: 0% !important;
  }
  .navBar ul {
    width: 80%;
    margin: auto;
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    font-size: large;
  }

  .mainSubContainer {
    padding: 40px 0px !important;
  }
  #bannerSlider {
    height: 250px;
  }
  #bannerSlider > .swiper .swiper-slide h1 {
    font-size: 20px;
    text-align: center;
    width: 90%;
  }
  .mainSubContainer h1{
    font-size: 32px !important;
  }
  #aboutUs {
    padding: 20px 15px;
  }
  #aboutUs > div {
    margin: auto;
    width: 95%;
    font-size: 18px;
    line-height: 40px;
  }
  .whyChooseUsImgContainer {
    /* flex-direction: column; */
    display: grid;
    grid-template-columns: auto auto;
    place-content: center;
    place-items: center;
    align-items: center;
  }
  .whyChooseUsImgContainer > .whyChooseUsImg {
    width: 150px;
    height: 150px;
  }
  .whyChooseUsImgContainer > .whyChooseUsImg img {
    width: 50px;
  }
  .whyChooseUsImgContainer > .whyChooseUsImg h3 {
    font-size: 17px;
    font-weight: 500;
  }
  .serviceImgContainer {
    width: 95%;
    grid-template-columns: auto;
  }
}
