@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Global Styles */

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: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: black;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

/* Header Start */

#header{

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:5px 80px ;
  background: white;
  box-shadow: 0 5px  15px black(0,0,0,0.06);
  z-index:999;
  position:sticky;
  top:0;
  left:0;


}

#navbar{
  display:flex;
  align-items: center;
  justify-content:center;

}

#navbar li{
  list-style:none;
  padding: 0 20px;
  position: relative;
 
}

#navbar li a{
text-decoration: none;
font-size: 20px;
font-weight: 600;
color:black ;
transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active { 
  color: grey;
}

#navbar li a.active::after,
#navbar li a:hover::after{ 
  content: "";
  width: 75%;
  height:2px;
  background: grey;
  position: absolute;
  bottom: -4px;
  left:20px;
}

/* Home Page */ 
#hero{
  background-image: url(img/mod1.1.jpg);
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: top 25% right 0;
  padding:0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

}

#hero h4{
  padding-bottom: 15px;
  color:white;
}

#hero h2 {
  color: white;
}

#hero button{
  background-image: url("img/button3.png");
  background-color: transparent;
  color:black;
  border:0;
  padding: 14px 80px 14px 65px;
  background-repeat: no-repeat;
  cursor:pointer;
  font-weight:700;
  font-size:15px;

}

#feature{ 
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#feature .fe-box{
  width: 180px;
  text-align: center;
  padding: 25px 15px;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
  border: 1px solid darkgrey;
  border-radius: 4px ;
  margin: 15px 0;


}

#feature .fe-box:hover{
  box-shadow: 50px 50px 54px rgba(70, 62, 221, 0.1);
}

#feature .fe-box img{
  width:100%;
  margin-bottom: 10px;

}

#feature .fe-box h6{
  display: inline-block;
  padding: 9px 8px 6px 8px;
  line-height: 1;
  border-radius: 4px;
  color: white;
  background-color:black;
}

#product1{
  text-align:center;
}

#product1 .pro-container{
  display: flex;
            flex-wrap: wrap; /* Allow items to wrap onto the next line */
            gap: 10px; /* Space between images */
  
 
}

#product .pro-container img{
  flex: 1 1 calc(25% - 10px); /* 4 images per row minus the gap */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}
#product1 .pro{
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid black;
  border-radius: 25px;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
  margin:15px 0;
  transition: 0.2s ease;

}

#product1 .pro:hover{
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}


#product1 .pro img{
  width:100%;
  border-radius: 20px;

}

#product1 .pro des{
  text-align: start;
  padding: 10px 0;
}

#product1 .pro des h5{
  padding-top:7px;
  color: black;
  font-size: 20px;
}

footer{
background-color: #f2f2f2; /* Light grey background */
padding: 20px;
text-align: center;
color: black; /* Dark grey text color */
margin-top : auto /* Keep footer at the bottom of the page */
}

/* Add these media queries at the end of your CSS file */

@media (max-width: 799px) {
    /* Navigation */
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
    }

    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
        align-items: center;
    }

    #mobile i {
        color: #1a1a1a;
        font-size: 24px;
        padding-left: 20px;
		cursor: pointer;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 24px;
    }

    /* Feature section */
    #feature {
        justify-content: center;
    }
    
    #feature .fe-box {
        margin: 15px;
    }

    /* Product section */
    #product1 .pro-container {
        justify-content: center;
    }

    #product1 .pro {
        margin: 15px;
    }
}

@media (max-width: 477px) {
    /* Header */
    #header {
        padding: 10px 30px;
    }

    /* Hero section */
    #hero {
        padding: 0 20px;
        background-position: 55%;
    }

    #hero h4 {
        font-size: 16px;
    }

    #hero h1 {
        font-size: 30px;
    }

    /* Feature section */
    #feature {
        padding: 20px;
    }

    #feature .fe-box {
        width: 155px;
        margin: 0 0 15px 0;
    }

    /* Product section */
    #product1 .pro {
        width: 100%;
    }

    /* Footer */
    footer {
        padding: 20px;
        text-align: center;
    }

    footer .info-item {
        margin: 10px 0;
    }
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

