
/* Reset default body and html padding/margin */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  overflow-x: hidden; /* Prevent sideways scroll */
}

/* Apply box-sizing border-box globally */
*, *::before, *::after {
  box-sizing: border-box;
}
.ev-charger-product {
    width: 100vw;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    /* margin-top: 3.8rem; */
    padding:3.6rem 20px 10px 20px;
    position: relative;
    overflow: hidden !important;
    box-sizing: border-box;
  }
  
  .ev-charger-product h1 {
    color: #0d3281;
    font-size: 5.5rem; /* Default font size for large screens */
    /* margin: 10px 0;
     */
     margin-top: 10rem;
    font-weight: bold;
  }
  
  .ev-charger-product h2 {
    color: #0d3281;
    font-size: 3rem; /* Default font size for large screens */
    /* margin: 10px 0; */
  }
  
  /* Media Queries */
  
  /* For large tablets and small laptops (1000px - 1200px) */
  @media (max-width: 1200px) and (min-width: 1000px) {
    .ev-charger-product h1 {
      font-size: 4.5rem; /* Reduce font size */
    }
  
    .ev-charger-product h2 {
      font-size: 2.5rem; /* Reduce font size */
    }
  }
  
  /* For tablets (760px - 1000px) */
  @media (max-width: 1000px) and (min-width: 760px) {
  
  
    .ev-charger-product h1 {
      font-size: 3.5rem; /* Smaller font size for tablets */
    }
  
    .ev-charger-product h2 {
      font-size: 2rem; /* Smaller font size for tablets */
    }
  }
  
  /* For mobile devices (320px - 760px) */
  @media (max-width: 760px) {
    .ev-charger-product {
      /* padding: 15px; */
      text-align: center;
    }
  
    .ev-charger-product h1 {
      font-size: 2.5rem; /* Adjust font size for smaller screens */
    }
  
    .ev-charger-product h2 {
      font-size: 1.5rem; /* Adjust font size for smaller screens */
    }
  }
  
  /* For very small screens (less than 320px) */
  @media (max-width: 320px) {
    .ev-charger-product h1 {
      font-size: 3rem; /* Further reduce font size */
    }
  
    .ev-charger-product h2 {
      font-size: 2.2rem; /* Further reduce font size */
    }
  }
   
/* .home-ev-charger {
  text-align: center;
  align-items: center;
  background-image: url(../images/ev-charger/back3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  min-height: 70vh;
  padding: 40px 20px;
}

.home-ev-charger h1{
  font-size: 7rem;
  text-align: center;
  margin-top: 19rem;
} */
  /* Media Queries */
  
  /* For screen sizes between 1000px and 1200px */
  @media (max-width: 1200px) and (min-width: 1000px) {
    /* .home-ev-charger {
    
      padding: 40px 15px;
      background-size: contain;
    } */
  
    /* .home-ev-charger h1 {
      font-size: 5.5rem;
      margin-top: 15rem;
    } */
  }
  
  /* For screen sizes between 760px and 1000px */
  @media (max-width: 1000px) and (min-width: 760px) {
    /* .home-ev-charger {
      min-height: 30vh;
      padding: 30px 15px;
      background-size: contain; 
    }
  
    .home-ev-charger h1 {
      font-size: 4.5rem;
      margin-top: 10rem;
    } */
  }
  
 
  
  /* For very small screens (320px) */
  @media (max-width: 320px) {
   
  
    .home-ev-charger h1 {
      font-size: 2.5rem;
      /* margin-top: 6rem; */
    }
  }
  