@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@100;200;300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background-color: rgb(0, 128, 255);
  --backgroungFont-color: rgb(255, 255, 255);
  --font-color: rgb(26, 26, 26);
  --box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

html {
  /* box-sizing: border-box; */
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}

section:not(#home) {
  margin-top: 50px;
}

a {
  text-decoration: none;
}
ul,
li {
  list-style: none;
}
/* --------------------------------- navBar --------------------------------- */

header {
  width: 100%;
  height: 50px;
  background-color: var(--background-color);
  z-index: 15;
  position: fixed;
  top: 0;
  left: 0;
}

.top-navbar {
  height: 100%;
  /* width: 80%; */
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 80px;
  width: 100%;
}

.nav {
  height: 100%;
  letter-spacing: 1px;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  color: var(--backgroungFont-color);
  text-decoration: none;
  margin: 10px;
  padding-right: 40px;
}

a:hover {
  color: rgb(128, 179, 255);
}

/* @media only screen and (max-width: 375px) {

  header{
    width: 1045px;
  }

  section{
    width: 1045px;
  }

  footer {
    width: 1045px;
  }

  
} */

/* @media screen and (max-width: 755px){
  
  section{
    width: 1086px;
  }

  header{
    width: 100%;
  }

  footer {
    width: 1086px;
  }

} */

/* @media screen and (max-width: 1007px){
  
  header{
    width: 100%;
  }
  section{
    width: 1048px;
  }
  footer {
    width: 1050px;
  }

}
@media screen and (max-width: 1259px) {
 
  header{
    max-width: 1258px;
    min-width: 1024px;
  }
  section {
    max-width: 1258px;
    min-width: 1024px;
  }
  footer {
    max-width: 1258px;
    min-width: 1024px;
  }
 
} */


/* ---------------------------------- Home Section ---------------------------------- */

.slide-show {
  height: 700px;
  width: 100%;
  display: flex;
  position: relative;
}

.slide-show::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0093e9;
  background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.slide-show img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-size: 30px;
  letter-spacing: 1px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.intro h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 50px;
}

.intro h4 {
  font-weight: 300;
  font-size: 26px;
}

.icons {
  width: 70%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background-color);
  transform: translateY(-40%);
  margin: auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.icon-img {
  height: 100%;
  flex-grow: 1;
  flex-basis: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 10px;
  color: #fff;
}

.icon-img img {
  width: 60px;
  margin-right: 20px;
}


/* ------------------------------ card section ------------------------------ */

.cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 800px;
  height: auto;
  margin: auto;
}

.card {
  width: 28%;
  height: 400px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.281);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 3px 3px 6px #0080ffc2;
  transform: translate(-2px, -2px);
}

.card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: var(--background-color);
}

.image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.text {
  font-size: 16px;
  z-index: 10;
  padding: 0 20px 30px 20px;
  text-align: center;
}

.card::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 35%;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translatex(-50%);
  border: 1px solid rgba(0, 0, 0, 0.3);
  background-color: #fff;
}

/* ---------------------------------- About --------------------------------- */

#about h1,
#ourProducts h1,
#contact h1 {
  text-align: center;
  color: var(--background-color);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

#about h1 {
  margin-bottom: 20px;
}

.about-container {
  width: 70%;
  margin: auto;
}

.about-container p {
  width: 50%;
  color: #fff;
  background-color: var(--background-color);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  width: 80%;
  padding: 60px;
}

.image__left,
.image__right {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.info {
  width: 80%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.info p {
  position: relative;
  z-index: -1;
  font-size: 16px;
  font-weight: 400;
}

.image__left .info p {
  left: -2%;
}

.info-img img {
  width: 100%;
}

.info img {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
}

.image__left .info img {
  right: 98%;
}

.image__right .info {
  justify-content: flex-start;
}

.image__right .info p {
  position: relative;
  left: 2%;
}

.image__right .info img {
  left: 98%;
}


/* ------------------------------- Our Product ------------------------------ */
.image-container {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  justify-content: center;
  align-items: center;
  margin: auto;
  
}

.image__row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.image__row img {
  height: 250px;
  object-fit: cover;
  margin: 10px 15px;
  flex-grow: 1;
  border: 1px solid #808080;
}

.image__row--2 img {
  margin-top: 0;
  height: 200px;
}

.image__row--3 img {
  height: 220px;
}

.image__row--two img {
  height: 280px;
}


/* ------------------------------- Contact us ------------------------------- */

.section-seperator {
  height: 1px;
  background: #00000025;
}

#contact {
  align-items: center;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 55%;
  margin: 40px 0;
}

.info-us {
  width: 340px;
  height: 480px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

.contact__image {
  width: 100%;
  height: 70%;
}

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-person {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
}

.divider {
  height: 350px;
  width: 3px;
  background: #50a7ff;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #0080ff;
  border-radius: 3px;
  transform: translateX(-50%) rotate(45deg);
}

.divider::before {
  top: 0;
}
.divider::after {
  bottom: 0;
}

.info-person span {
  font-size: 18px;
  font-weight: 700;
}

.social__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.social__icon a {
  background: #fff;
  color: var(--background-color);
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
  position: relative;
}

.social__icon a i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.phone-info {
  width: 70%;
  border-radius: 8px;
  height: 220px;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  color: #fff;
}

.phone_info h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.info-lists {
  margin-top: 25px;
}

.info-list {
  display: flex;
  padding: 10px;
  justify-content: flex-start;
  align-items: center;
}

.info-list i {
  font-size: 20px;
  margin-right: 30px;
  font-weight: 700;
}

.info-list span {
  font-size: 18px;
  font-weight: 600;
}
/* --------------------------------- footer --------------------------------- */

footer {
 
  height: 50px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222222;
  color: white;
  letter-spacing: 2px;
  font-size: 16px;
}



@media only screen and (max-width: 375px) {
  header {
    max-width: 100%;
  }
  section {
    max-width: 100%;
  }
  .logo {
    width:  26%;
  }
  .logo img {
    width: 100%;
    height: 20%;
  }
  .top-navbar {
    margin: 0;
    width: 100%;
    display: grid;
  }
  .nav {
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0;
  }
  .nav a {
    margin: auto;
  }
  .icons {

  }
  .icon-img{
    width: 10%;
    font-size: 8px;
    padding: 0;
  }
  .icon-img img{
    height: 16px;
    margin: 0;
  }
  .cards {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .card {
    width: 72%;
    height: 276px;
    margin-bottom: 10px;
  }
  .info {

  }
  .info img {
    width: 71%;
  }
  .info p {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .text {
   
    font-size: 13px;
  }
  .text p {

  }
  .image__left {

  }
 
  .about-container {
    width: 82%;

  }
  .image-container {
    width: 89%;
    
  }
  .section-seperator {
    width: 10%;
  }
  .image__row img {
    width: 89%;
    height: 150px;
    border-radius: 13px;
  }
  .image__row {
    flex-direction: column;
  }
  .info-img img {
    width: 0;
  }
 
  .contact-info {
    flex-direction: column;
    width: 100%;
  }
  .info-us {
    margin-bottom: 10px;
    width: 84%;
    height: 351px;
  }
  .divider{
    max-height: 0;
    max-width: 0;
  }
  .divider::before, .divider::after {
    content: none;
  }
  .phone-info {
    width: 86%;
    height: 180px;
  }
  .info-lists {
    margin-top: 0;
    font-size: 10px;
   
  }
  .info-list span {
    width: 100%;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  } 
  .info-list i {
    font-size: 10px;
    margin: 0;
  }
  .info-list span a {
    font-size: 14px;
  }
  footer {
    width: 100%;
    font-size: 10px;
  } 
  
}

@media only screen and (min-width:376px ) and (max-width: 600px) {
  header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .logo {
    width: 24%;
  }
  .logo img {
    width: 100%;
    height: 20%;
  }
  .top-navbar {
    margin: 0;
    width: 100%;
    
  }
  .nav {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0;
  }
  .nav a {
    margin: auto;
  }
  section {
    width: 531px;
    font-size: 1rem;
  }
  .icons {

  }
  .icon-img{
    width: 10%;
    font-size: 10px;
  }
  .icon-img img{
    height: 20px;
  }
  .cards {
    width: 100%;
    flex-direction: column;
  }
  .card {
    width: 68%;
    height: 300px;
    margin-bottom: 10px;
  }
  
  .image-container {
    width: 100%;
    height: 30%
  }
  
  .image__row {
    flex-direction: column;
  }
  
  .image__row img {
    width: 70%;
    border-radius: 5px;
  }

  .info-img img {
    width: 0;
  }
  .about-container {
    width: 86%;
  }

  .contact-info {
    flex-direction: column;
  }

  .info-us {
    margin-bottom: 10px;
  }

  .divider{
    max-height: 0;
    max-width: 0;
  }
  .divider::before, .divider::after {
    content: none;
  }
  .phone-info {
    padding-top: 11px;
    font-size: 0.7rem;;
  }
  .info-lists {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1px;
   
  }
  .info-list span a {
    font-size: 14px;
  }
  

  footer {
    width: 531px;
  } 
}

@media only screen and (min-width:601px ) and (max-width: 755px) {
  header {
    width: 100%
  }
  section {
    width: 800px;
  }
  .image-container {
    width: 100%;
    height: 30%
  }
  
  .image__row {
    flex-direction: column;
  }
  
  .image__row img {
    width: 70%;
    border-radius: 5px;
  }
  .image__row {

  }
  footer {
    width: 800px;
  }
}

@media only screen and (min-width:756px ) and (max-width: 1055px) {
  section {
    width: 1052px;
  }
  footer {
    width: 1052px;
  }
}