* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}
html::-webkit-scrollbar{
    width: 0.7rem;
    background-color: transparent;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: #c7c7c7;
    border-radius: 10rem;
}
body {
    min-height: 1000px;
}
/*header*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    transition: 0.5s;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #ffffff;
    box-shadow: 1px 1px 20px rgba(112, 112, 112, 0.1);
}

.logo img {
    width: 250px;
    height: 80px;
}
.nav-links
{
    float: right;
    margin-right: 40px;
    position: relative;
}
nav .nav-links li{
    display: inline-block;
    margin: 0 20px;
}
nav .nav-links li a{
    line-height: 70px;
    padding: 8px 5px;
    margin: 0px 15px;
}
nav .nav-links ul{
    position: absolute;
    top: 90px;
    opacity: 0;
    background: #ffffff;
    border-radius: 10px;
    visibility: hidden;
    transition: top 0.5s;
}
nav .nav-links ul li{
    position: relative;
    width: 250px;
    margin: 0px;
    float: none;
    display: list-item;
}
nav .nav-links ul li a:hover{
    color: rgb(26, 0, 121);
    border-bottom: none;
}
nav .nav-links li:hover > ul{
    top: 70px;
    opacity: 1;
    visibility: visible;
}
nav li a {
    text-decoration: none;
    color: #000000;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: normal;
    transition: 0.2s;
}
nav .nav-links li a:hover {
    color: #174bac;
    padding-bottom: 0.5rem;
}
.show,.burger, input{
    display: none;
}
a.active {
    color: #174bac;
    border-bottom: 0.1rem solid #174bac;
    padding-bottom: 0.5rem;
}
.burger {
    display: none;
    z-index: 3;
}
.burger div {
    width: 25px;
    height: 3px;
    border-radius: 5px;
    background-color: #000000;
    margin: 5px;
    transition: all 0.3s ease;
}
/*bending section*/
section {
    padding: 8rem 7%;
}
.title h1{
    font-family: 'Poppins',sans-serif;
    font-weight: 300;
    font-size: 4rem;
    padding: 15px;
    text-align: center;
}
.title h2{
    font-family: 'Poppins',sans-serif;
    font-weight: 300;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    padding: 10px;
    border-bottom: 5px solid #174bac;
}
.section .product-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 5rem;
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 1.6rem;
}
.product {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 3px 5px 30px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}
.product:hover{
    transform: translateY(-3%);
}
.product .img-container {
    height: 250px;
    position: relative;
    cursor: pointer;
}
  
.product .img-container img {
    object-fit:cover;
    height: 100%;
    width: 100%;
}
  
.product .bottom {
    padding: 1rem;
    text-align: center;
}
  
.product .bottom a {
    font-family: 'Poppins',sans-serif;
    text-decoration: none;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: inherit;
    font-size: 1.8rem;
}

.products {
    margin-top: 15rem;
}
  
.products-layout {
    display: grid;
    grid-template-columns: 3fr;
    gap: 0 5rem;
}
.col-3-of-4 .product-layout {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}
.col-3-of-4 {
    text-align: center;
}

/*footer*/
.container {
    max-width: 1170px;
    margin: auto;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
}
ul {
    list-style: none;
}
.footer {
    background-color: #F9F9F9;
    padding: 70px 0;
}
.footer-col {
    width: 25%;
    padding: 0 15px;
}
.footer-col h5 {
    font-size: 18px;
    color: #33301a;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-bottom: 35px;
    position: relative;
}
.footer-col h5::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #000000;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}
.footer-col ul li a {
    font-size: 16px;
    color: #666C80;
    text-decoration: none;
    font-family: 'Open sans', sans-serif;
    line-height: 25px;
    display: block;
    transition: all 0.3s ease;
}
.footer-col ul li a:hover {
    color: #000000;
    padding-left: 10px;
}
.socialmedia h6 {
    font-size: 18px;
    color: #33301a;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-bottom: 35px;

}
.socialmedia .social-links a{
    display: inline-block;
    font-size: 25px;
    color: #2b48a7;
    height: 45px;
    width: 45px;
    background-color: none;
    border: 3px solid #2b48a7;
    margin: 0 10px 10px 0;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.socialmedia .social-links a:hover {
    color: #ffffff;
    background-color: #2b48a7;
}
li {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: #33301a;
    margin-top: 30px;
}
.socialmedia {
    width: 25%;
    padding: 0 15px;
    margin-top: 50px;
}
.Copyright_Madhuram p {
    font-size: 12px;
    color: #666C80;
    font-family: 'Arial';
    line-height: 20px;
    text-align: center;
    margin-top: 20px;
    height: 0px;
    position: absolute;
}

/*responsive*/

@media(max-width: 991px){

    html {
        font-size: 55%;
    }
    nav {
        padding: 2rem 2rem;
    }
    nav .nav-links{
       margin-right: 0px;
       width: 70%;
    }
    nav .logo{
        padding-left: 20px;
        margin-right: 50px;
    }
    .products-layout {
        grid-template-columns: 3fr;
    }
    .col-3-of-4 .product-layout {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

}
@media(max-width: 768px){
    body {
        overflow-x: hidden;
    }
    nav {
        justify-content: space-around;
        padding: 20px 20px;
    }
    .nav-links {
        position:absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        justify-content: space-evenly;
        display: flex;
        background-color: #ffffff;
        flex-direction: column;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        overflow-x: hidden;
        overflow-y: scroll;
    }
    nav .logo{
        padding-left: 0px;
    }
    .nav-links li {
        opacity: 1;
    }
    nav .nav-links li, nav .nav-links ul li{
        display: block;
        width: 100%;
    }
    .burger {
        display: block;
        cursor: pointer;
    }
    .nav-active {
        transform: translateX(0%);
    }
    .nav-links li a {
        color: black;
        top: 50px;
    }
    a.active {
        border: none;
    }
    nav .nav-links li a:hover {
        color: #174bac;
        border-bottom: none;
    }
    .logo img {
        width: 200px;
        height: 65px;
    }
    nav .nav-links ul{
        top: 70px;
        position: static;
        float: none;
        display: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
    }
    .show {
        display: block;
        color: #000000;
        font-family: 'Arial', sans-serif;
        font-size: 20px;
        font-weight: normal;
        padding: 0px 10px;
        cursor: pointer;
        line-height: 70px;
    }
    .show + a, .dropdown{
        display: none;
    }
    [id^=btn-1]:checked + .dropdown{
        display: block;
    }
    .show:hover{
        color: #174bac;
        border: none;
    }
    .section .product-layout{
        display: flex;
        padding: 0;
        flex-direction: column;
    }
    .products-layout {
        padding: 0 5rem;
        grid-template-columns: 1fr;
    }

    .col-3-of-4{
        padding: 50px 0px;
    }

    .col-3-of-4 .product-layout {
        grid-template-columns: repeat(1, 1fr);
    }
    .product{
        margin-bottom: 30px;
    }
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
    .Copyright_Madhuram p {
        font-size: 12px;
        color: #666C80;
        font-family: 'Arial';
    }
}
@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
}

@media(max-width: 450px){

    html {
        font-size: 50%;
    }
    nav {
        justify-content: space-between;
        padding: 20px 20px;
    }
    .col-3-of-4 .product-layout {
        grid-template-columns: repeat(1, 1fr);
    }
    .product{
        padding: 0;
        margin-bottom: 30px;
    }
    .product .img-container {
        height: 150px;
        position: relative;
        cursor: pointer;
    }
    .footer-col {
        width: 100%;
    }
    .Copyright_Madhuram p {
        font-size: 12px;
        color: #666C80;
        font-family: 'Arial';
        text-align: left;
        margin-left: 10px;
    }
}