@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@font-face {
    font-family: "Metropolis-light";
    font-weight: 400;
    font-style: normal;
    src: url(fonts/metropolis/Metropolis-Light.otf);
}
@font-face {
    font-family: "Metropolis-medium";
    font-weight: 500 ;
    font-style: normal;
    src: url(fonts/metropolis/Metropolis-Medium.otf);
}
@font-face {
    font-family: "Metropolis-bold";
    font-weight: 700 ;
    font-style: normal;
    src: url(fonts/metropolis/Metropolis-Bold.otf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
    color: #fff;
}
li{
    list-style: none;
}
header{
    background: rgb(87,87,87);
}
.header-row{
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}
.left-brand img{
    width: 100px;
}
.header-right{
    display: flex;
    gap: 20px;
}
.icon,#check{
    display: none;
}
.menu{
    display: flex;
    transition: all 0.1s ease;
}
.menu{
    display: flex;
    gap: 40px;
    font-family: "metropolis-bold";
}
.menu a:hover{
    text-decoration: underline;
    text-underline-offset: 5px;
    color: white;


}

/* section hero */

.hero-row{
    display: flex;

}
.left-hero{
    display: flex;
    justify-content: center;
    background: rgb(19, 148, 83);
    flex: 1;
}


.hero-context{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.metal-head .head{ 
    font-family: "Cinzel";
    font-size: 60px;
    line-height: 50px;
    color: #ffffff;
    font-weight: 500;
}
.metal-info .info{
    font-size: 24px;
    line-height: 50px;
    color: #ffffff;
    font-weight: 300;
    font-family: "Roboto";
}
.hero-btn a{    
    font-family: "Metropolis-bold";
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 19px;
    padding: 8px 16px;
    text-align: center;
    border: 3px solid #ffffff;
    border-radius: 29px;
}
.hero-btn a:hover{
    background-color: #fff;
    color: #000;
}


.child{
    position: relative;
}
.bg{
    height: 670px;
    position: absolute;
    display: block;
}
.sub-child{
    position: absolute;
    top:337px;
    padding-inline-start: 100px;
    display: block;
    transform: translate(5%, -50%);
}
.right-hero{
    display: grid;
    flex: 1.5;
}
.right-hero .hero-img{
    height: 670px;
    object-fit: cover;
    width: 100%;
}




/* section banner */
#banner{
    background: rgb(83,83,83);
}

.container{
max-width: 1300px;
margin: auto;
height: auto;
}
.banner-row{
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 25px;
    margin: auto;
    padding-block: 50px;
    color: #ffffff;
}
.banner-heading{
    font-family: "Cinzel";
    font-size: 23px;
    line-height: 36px;
    font-weight: 500;
    
}
.prevention{
    font-family: "Roboto";
    font-size: 18px;
    line-height: 36px;
    font-weight: 400;
}

/* section about */
.about-row{
    display: flex;
    text-align: justify;
    padding: 50px 10px;
    gap: 40px;
}
.left-about{
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
}
.right-about{
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.about-heading .anti{
    font-family: "Metropolis-medium";
    font-size: 45px;
    line-height: 48px;
}
.about-defense .rust{
    font-family: "Roboto";
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}
.use{
    padding: 30px;
    background: rgb(246,235,41);
}
.use .designed{
    font-family: "Cinzel";
    font-size: 18px;
    line-height: 30px;
    color: #1b1c1c;
    font-weight: 500;
}
.learn-btn{
    font-size: 16px;
    letter-spacing: 2px;
    color: #000;
    line-height: 19px;
    font-weight: bold;
    font-family: "Metropolis-bold";
    text-align: center;
    border-radius: 29px;
    background-color: rgb(255, 255, 255);
    border: 3px solid #000000;
    padding: 10px 16px;
}
.learn-btn:hover{
    background-color:#000 ;
    color: #fff;
}

/* section service */

.service-parent{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.row {
    display: flex;
    gap: 10px;
}
.services .service-card {
    position: relative;
    overflow: hidden;
    height: 600px;
}
.services .service-card:hover .service-overlay {
background: rgba(0, 0, 0, 0.5);
}
.services .service-card:hover .service-overlay-content {
max-height: 100%;
opacity: 1;
transform: translateY(0);
}
.services img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.4s ease;
}
.services .service-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 12px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
z-index: 5;
transition: all 0.4s ease;
display: flex;
gap: 25px;
}
.services .service-overlay-content {
max-height: 0;
opacity: 0;
transform: translateY(20px);
overflow: hidden;
transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.services .service-text {
text-align: center;
max-width: 50%;
margin: auto;
}
.services .service-heading {
margin: 0;
font-family: "Metropolis-medium";
font-size: 30px;
line-height: 1;
color: #fff;
text-align: center;
transition: all 0.4s linear;
text-transform: uppercase;

}
.service-text p{
    font-family: "Roboto";
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
}
.button-wrapper{
    margin-block: 25px 20px;
}
.button-wrapper  a{
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 19px;
    text-transform: uppercase;
    color: #ffffff;
    font-family: "Metropolis-medium";
    text-align: center;
    border-radius: 28px;
    padding: 12px 20px;
    border: 3px solid #ffffff;
}


/* section shop */
#shop{
    background: rgb(89,187,147);
}
.shop-row{
    display: flex;
    padding-block: 50px;
    gap: 20px;
}
.easy,.long,.packaging{
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    color: #ffffff;
    gap: 20px;
    text-align: center;
}
.shop-row .shop-heading{
    font-family: "Cinzel";
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    
}
.shop-row .apply{
    font-family: "Roboto";

    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 400;
}

/* section benefits */
.container-benefits{
    max-width: 1800px;
    height: auto;
    margin-inline-start: auto;
}

.benefits-row{
    padding-block: 50px;
    display: flex;
}

.benefits-left{
    display: flex;
    flex-direction: column;
    flex: 2.5;
    gap: 20px;
    padding-inline-start: 10px;
}
.heading-benefits .including{
    font-family: "Metropolis-medium";
    font-size: 27px;
}
.benefits-right{
    display: flex;
    position: relative;
}
.right-child{
    display: flex;
    position: absolute;
    height: 100%;
}
.benefits-list-item{
    font-family: "Roboto";
    font-size: 20px;
    line-height: 2;
    font-weight: 400;
    display: flex;
    gap: 20px;
    padding-inline-start: 30px;
}

/* section reviews */
#reviews{
    background-image: url(../Img/the-most-trusted-rust-inhibitor.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.reviews-row{
    display: flex;
}

.reviews-left{
    flex: 2;
}
.reviews-right{
    flex: 1.2;
    margin-block: 160px;
}
.reviews-heading{
    font-family: "Cinzel";
    font-size: 39px;
    line-height: 48px;
    color: #ffffff;
    font-weight: 500;

}
.reviews-context{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.6);
}
.reviews-market{
    font-family: "Roboto";
    font-size: 18px;
    line-height: 34px;
    color: #ffffff;
    font-weight: 400;

}

/* section contect */
#contect{
    background: rgb(188,90,82);
}

.contect-row{
    padding-block: 50px;
    display: flex;
}
.contect-left{
    flex: 2;
    font-size: 20px;
    line-height: 31px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
}
.inc a{
    text-decoration: underline;
    text-underline-offset: 5px;
}
.contect-right{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.more-btn{
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 19px;
    font-weight: bold;
    font-family: "Metropolis-bold";
    text-align: center;
    border-radius: 29px;
    border: 3px solid #fff;
    padding: 10px 16px;
}
.more-btn:hover{
    background-color:#fff ;
    color:  rgb(188,90,82);
}

/* section footer  */
footer{
    /* background-image: url(../Img/grey-bg.jpg); */
    background: rgb(87, 87, 87);
}

.footer-row{
    display: flex;
    justify-content: space-between;
    padding-block: 50px;
    align-items: center;
    color: #fff;
}
.footer-left{
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-basis: 33%;
    align-items: center;
}
.footer-mid{
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-basis: 33%;
    align-items: center;
}
.foo-right-mid,.foo-right-bottom{
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: pre-line;
}
.footer-right{
    display: flex;
    flex-direction: column;
    gap: 27px;
    flex-basis: 33%;
    align-items: center;
}
.foo-head{
    font-family: "Metropolis-bold";
    font-size: 20px;
    letter-spacing: 1px;
}
.foo-items{
    font-family: "Roboto";
    font-size: 18px;
    line-height: 35px;
    font-weight: 400;
}
.footer-address{
    font-family: "Roboto";
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;

}
.master{
    font-size: 18px;
    line-height: 23px;
    font-weight: 400;
    font-family: "Roboto";
}
.sub-footer{
    font-size: 12px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    padding: 50px 0;
    border-block-start: 1px solid rgb(199, 200, 201);
}

/* break points */
@media(max-width:1400px) { 
    .benefits-left {
        padding-inline-start: 30px;
    }
    .shop-row {
        padding-inline: 30px;
    }
.benefits-right {
    flex: 2.5;
}

    
}
@media(max-width:1200px){
    .metal-head .head {
        font-size: 45px;
    }
    .metal-info .info {
        font-size: 19px;
        line-height: 2;
    }
    .contect-row {
        padding-inline: 20px;
    }
    .heading-benefits .including {
        font-size: 22px;
    }
    .reviews-heading {
        font-size: 28px;
        line-height: 35px;
    }
}
@media (max-width:992px) {
    .reviews-left {
        display: none;
    }
    .reviews-context {
        width: 90%;
        margin-left: auto;
    }
    .about-heading .anti {
        font-size: 40px;
    }
    .shop-row .shop-heading {
        font-size: 22px;
    }
    .shop-row {
        flex-direction: column;
        gap: 10px;
    }
    .hero-row{
        flex-direction: column;
        text-align: center;
    }
    .left-hero {
        padding-block: 50px;
    }
    .child {
        display: none;
    }
    .about-row{
        flex-direction: column;
        padding-inline: 30px;
    }
    .benefits-row{
        flex-direction: column; 
        gap: 10px;
    }
    .benefits-left{
        padding-inline: 30px;
    }
    .benefits-right{
        justify-content: center;
        padding-inline: 30px;
    }
    .right-child{
        display: none;
    }

}
@media (max-width:768px) {
    .header-row {
        padding: 20px;
    }
    .menu {
        flex-direction: column;
    }
    .icon{
        display: inline-flex;
        position: absolute;
        right: 20px;
        font-size: 25px;
        color: rgb(46, 49, 52);
        cursor: pointer;
    }
    .search-bar{
        justify-items: center;
    }
    #check:checked~.icon #menu-icon{
        display: none;
    }
     .icon #close-icon{
        display: none;

    }
    #check:checked~.icon #close-icon{
        display: block;
    }

    .nav-bar{
        position: absolute;
        top: 120px;
        right: 0;
        width: 50%;
        height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-block-start: 20px;
        align-items: center;
        backdrop-filter: blur(10px);
        background: rgb(87,87,87);
        overflow: hidden;
        transition: .3s ease;
    }
    #check:checked~.nav-bar{
        height: 60vh;
        width: 50%;
    }
    .nav-bar a{
       display: block;
        font-size: 20px;
        transform: translateY(-25px);
        opacity: 0;
        transition: .3s ease;
    }
    #check:checked~.nav-bar a{
        transform: translateY(0px);
        opacity: 1;
        transition-delay:calc(.15s * var(--i));
    }

    .header-right{
        display: none;
    }
    .row {
        flex-direction: column;
    }
    .services .service-text {
        max-width: 75%;
    }
    .banner-row {
        width: 90%;
    }
    .contect-row {
        flex-direction: column;
        gap: 15px;
    }
    .footer-row{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .footer-mid{
        order: 1;
        flex-basis: 100%;
    }
    .footer-right,.footer-left {
        flex-basis: 45%;
    }
}

@media  (max-width:500px) {

    .banner-heading {
        font-size: 16px;
    }
    .prevention {
        font-size: 14px;
    }
    .about-heading .anti {
        font-size: 22px;
    }
.about-defense .rust {
    font-size: 14px;
}
.use .designed {
    font-size: 15px;
}
.services .service-heading{
    font-size: 20px;
}
.easy, .long, .packaging {
    gap: 10px;
}
.heading-benefits .including {
    font-size: 14px;
}
.benefits-list-item {
    font-size: 12px;
    gap: 5px;
    padding-inline-start: 0;
}
.benefits-left {
    padding-inline: 15px;
    gap: 10px;
}
.benefits-right {
    padding-inline: 15px;
}
.shop-row .apply {
    font-size: 14px;
}
.services .service-text {
    max-width: 90%;
}
.reviews-right {
    margin-block: 80px;
}
.reviews-heading {
    font-size: 22px;
}
.reviews-market {
    font-size: 16px;
}
.reviews-context {
    gap: 15px;
    padding: 30px;
}
.footer-row {
    gap: 15px;
}
.footer-mid {
    gap: 20px;

}
.master {
    font-size: 15px;
}
.footer-row{
    flex-direction: column;

}
}


