
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --header-height: 3.5rem;
  
    /*========== Colors ==========*/
    --title-color: hsl(0, 0%, 95%);
    --text-color: hsl(0, 0%, 70%);
    --text-color-light: hsl(0, 0%, 60%);
    --body-color: hsl(0, 0%, 100%);
    /*--container-color: hsl(0, 0%, 8%);*/
  
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --second-font: 'Montserrat', sans-serif;
    --biggest-font-size: 2.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
  
    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  
  @media screen and (min-width: 1152px) {
    :root {
      --biggest-font-size: 5.5rem;
      --h1-font-size: 2.5rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }

  
  *{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  html{
    scroll-behavior: smooth;
  }
  
  body,
  button,
  input{
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
  }
  
  body{
    background-color: var(--body-color);
  }
  
  button,
  input{
    outline: none;
    border: none;
  }
  
  h1,h2,h3,h4{
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
  }
  
  ul{
    list-style: none;
  }
  
  a{
    text-decoration: none;
  }

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700px;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: #465b52;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

body {
    width: 100%;
}


/*=========== HEADER ==========*/

.header {
    position: fixed;
    width: 100%;
    background-color: transparent;
    top: 0;
    left: 0;
    padding: 0 4.2rem;
    z-index: var(--z-fixed);
    background-color: rgba(0,0,0,.4);
  }
  
  .nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__logo {
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
  }
  
  .nav__logo-img{
    width: 110px;
  }
  
  .nav__toggle,
  .nav__close {
    display: flex;
    font-size: 1.25rem;
    color: var(--title-color);
  }
  
  /* Navigation for mobile devices */
  
  @media screen and (max-width: 1023px) {
    .nav__menu {
      position: fixed;
      top: -100%;
      left: 0;
      background-color: hsla(0, 0%, 0%, .3);
      width: 100%;
      padding-block: 4rem;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px); /* For safari */
      transition: top .4s;
    }
  }
  
  .nav__list {
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
  }
  
  .nav__link {
    position: relative;
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-medium);
  }
  
  .nav__link::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--title-color);
    position: absolute;
    left: 0;
    bottom: -.5rem;
    transition: width .3s;
  }
  
  .nav__link:hover::after {
    width: 70%;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  
  /* show menu */
    .show-menu {
      top: 0;
    }
  
  /*== Add blur to header ==*/
  
  .blur-header::after{
    content: '';
    position: absolute;
    width: 1000%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, .3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); 
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  /* Active link*/
  .active-link::after {
    width: 70%;
  }

  /* For large devices */
@media screen and (min-width: 1023px) {
    .nav__close,
    .nav__toggle {
      display: none;
    }
  
    .nav__list {
      flex-direction: row;
      column-gap: 4rem;
    }
}

@media screen and (min-width: 1152px){

    .nav {
      height: calc(var(--header-height) + 1.5rem);
    }
  
    .blur-header::after{
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px); /*for safari*/
    }
}

/*============ PAGE HEADER ============*/
#page-header {
    background-image: url(fiber\ bg1.png);
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
  }

  .page-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #page-content img{
    width: 50px;
    display: flex;
  }
  
  #page-header p,
  #page-header h2{
    color: white;
    margin: 10px;
  }

  #page-header2 {
    background: url(copper-bg2.png) ;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
  }
  
  #page-header2 p,
  #page-header2 h2{
    color: white;
    margin: 10px;
  }

  #page-header3 {
    background-image: url(rack-bg2.png);
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
  }
  
  #page-header3 p,
  #page-header3 h2{
    color: white;
    margin: 10px;
  }

/*============== PRODUCTS ==============*/

#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 15px 12px;
    border: 1.5px solid #d6d5d5;
    border-radius: 25px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
}

#product1 .pro .des h4 {
    font-family: 'Montserrat', sans-serif;
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: #088178;
}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(bun1.png);
    width: 100%;
    height: 30vh;
    background-size: cover;
    background-position: center;
}

#banner h4 {
    color: white;
    font-size: 16px;
}

#banner h2 {
    color: white;
    font: 30px;
    padding: 10px 0;
}

#banner span {
    color: #ef3636;
}

#banner button {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: black;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

.products {
  background-image: url(P-BG1.webp);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  text-align: center;
}
