*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins", serif;
}

.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
}

nav{
    flex: 1;
    text-align: right;
}

nav ul{
    display: inline-block;
    list-style-type: none;
}

nav ul li{
    display: inline-block;
    margin-right: 20px;
}

a{
    text-decoration: none;
    color: #555;
}

p{
    color: #555;
}

.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2{
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn{
    display: inline-block;
    background: blue;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}

.btn:hover{
    background: lightblue;
}

.header .row{
    margin-top: 70px;
}

.categories{
    margin: 70px 0;
}

.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}


.col-3 img{
    width: 100%;
}

.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}

.col-4 img{
    width: 100%;
}

.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

.title::after{
    content: '';
    background: blue;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4{
    color: #555;
    font-weight: normal;
}

.col-4 p{
    font-size: 14px;
}

.col-4:hover{
    transform: translateY(-5px);
}

.offer{
    background: linear-gradient(to right, lightblue , snow);
    margin-top: 80px;
    padding: 30px 0;
}

.col-2 .offer-img{
    padding: 50px;
}

small{
    color: #555;
}

.testimonial{
    padding-top: 100px;
}

.testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0,  0,  0, 0.1);
    transition: transform 0.5s;
}

.testimonial .col-3 img{
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}

.testimonial .col-3:hover{
    transform: translateY(-10px);
}

.col-3 p{
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

.bx{
    color: lightblue;
    font-size: 32px;
}

.testimonial .col-3 h3{
    font-weight: 600;
    color: #555;
    font-size: 16px; 
}

.brands{
    margin: 100px auto;
}

.col-5{
    width: 160px;
}

/* Container to control the scrolling effect */
.brands {
    overflow: hidden; /* Hide overflow to make the entry/exit seamless */
    width: 100%; /* Full-width container */
}

/* Container for the animated logos */
.scrolling-logos {
    display: flex;
    animation: scroll-right 30s linear infinite; /* Adjust duration for speed */
    transform: translateX(100%); /* Start off-screen to the right */
}

/* Keyframes for scrolling from right to left */
@keyframes scroll-right {
    from {
        transform: translateX(120%); /* Start fully off-screen right */
    }
    to {
        transform: translateX(-140%); /* Move fully off-screen left */
    }
}

.col-5 {
    width: 160px; /* Each logo container width */
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.col-5 img:hover {
    filter: grayscale(0);
}

.footer{
    background: #fff;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;
}

.footer p{
    color: #8a8a8a;
}

.footer h3{
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1, .footer-col-2, .footer-col-3,.footer-col-4{
    min-width: 250px;
    margin-bottom: 20px
}

.footer-col-1{
    flex-basis: 30%;
}

.footer-col-2{
    flex: 1;
    text-align: center;
}

.footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
}

.footer-col-3, .footer-col-4{
    flex-basis: 12%;
    text-align: center;
}

ul{
    list-style-type: none;
}

.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
}

.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}

select{
    border: 1px solid blue;
    padding: 5px;
}

select:focus{
    outline: none;
}

.page-btn{
    margin: 0 auto 80px;
}

.page-btn span{
    display: inline-block;
    border: 1px solid lightblue;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.page-btn span:hover{
    background: lightblue;

}

.single-product{
    margin-top: 80px;
}

.single-product .col-2 img{
    padding: 0;
}

.single-product .col-2 {
    padding: 20px;
}





@media only screen and (max-width: 800px){


    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a{
        color: #fff;

    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
}

@media only screen and (max-width: 600px){
    .row{
        text-align: center;
    }
    .col-2, .col-3, .col-4{
        flex-basis: 100%;
    }
    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding: 20px 0;
    }
    .single-product h1{
        font-size: 26px;
        line-height: 22px;
    }
}

/* Styling for the product detail container */
.small-container.product-detail {
    margin-top: 50px;
}

/* Style the product image and info columns */
.product-detail .row {
    display: flex;
    align-items: flex-start;
}

.product-detail .col-2 {
    flex: 1;
    padding: 20px;
}

.product-detail .product-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.product-detail h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-detail p {
    font-size: 18px;
    color: #555;
}

/* Styling for the contact button */
.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: blue;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px; /* Adds spacing between description and button */
}

.contact-btn:hover {
    background-color: lightblue;
}

/* About Us Header */
.about-us-header {
    background: linear-gradient(to right, #87CEFA, #E0FFFF);
    padding: 60px 20px;
    text-align: center;
    color: #333;
}

.about-us-header h1 {
    font-size: 3rem;
    font-family: 'poppins';
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.about-us-header p {
    font-size: 1.25rem;
    opacity: 0;
    animation: slideUp 2s forwards 1s;
}

/* About Content Layout */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
    gap: 20px;
}

.about-text {
    max-width: 600px;
    font-size: 1.1rem;
    color: #555;
    opacity: 0;
    animation: slideIn 1.5s forwards;
}

.about-image {
    max-width: 600px;
    opacity: 0;
    animation: zoomIn 1.5s forwards;
}

.responsive-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: blue;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: lightblue;
}

/* Responsive Design */
@media (max-width: 800px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.main-img{
    box-shadow: 0 0 20px 0px rgba(0,  0,  0, 0.1);
    transition: 0.5s;
    cursor: pointer;
}

.main-img:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 20px 0px rgba(0,  0,  0, 1);
}

.img_partner{
    padding: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: -150px; /* Start hidden below the screen */
    left: 0;
    right: 0;
    background-color: #fff;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 16px;
    transition: transform 0.5s ease, bottom 0.5s ease; /* Smooth slide-in animation */
    z-index: 9999; /* Ensure it's above other elements */
    transform: translateY(100%); /* Move fully off-screen */
}

/* Adjustments for content */
.cookie-banner p {
    margin-bottom: 10px;
    line-height: 1.4;
}

.cookie-banner button {
    background-color: lightblue;
    border: none;
    padding: 10px 20px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s, background-color 0.3s;
}

.cookie-banner button:hover {
    opacity: 0.5; /* Hover effect */
}

/* When the banner is visible */
.cookie-banner.show {
    bottom: 0; /* Ensure it aligns properly */
    transform: translateY(0); /* Slide it into view */
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .cookie-banner {
        font-size: 14px;
        padding: 10px 8px; /* Adjust padding for smaller screens */
    }

    .cookie-banner button {
        font-size: 14px;
        padding: 8px 16px;
    }
}
