﻿* {
    margin: 0;
    padding: 0;

    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color: #ff9900;
    --orange-color: #0eccb3;
    /* --primary-color: #0eccb3;
               --orange-color: #ff9900; */
}

/* Header Styles */
.top-bar {
    background-color: var(--orange-color);
    padding: 10px 0;
    display: flex !important;
   
}

.logo-img {
    max-height: 80px;
   
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

    .search-box input {
        border-radius: 25px;
        padding-right: 40px;
        border: none;
    }

    .search-box .search-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #666;
    }

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    font-size: 14px;
}

.login-btn {
    background-color: white;
    color: var(--orange-color);
    border-radius: 20px;
    padding: 5px 20px;
    font-weight: 600;
    text-decoration: none;
}

/* Main Banner */
.main-banner {
    position: relative;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.banner-content {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

/* Stats Section */
.stats-item {
    text-align: center;
    padding: 20px;
}

.stats-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--orange-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
}

/* Testimonials */
.testimonial-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.testimonial-item {
    text-align: center;
    padding: 20px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* CTA Section */
.cta-section {
    background: #ffe6e6;
    padding: 40px 0;
}

.cta-btn {
    background: #cc0000;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.footer {
    background-color: #f8f9fa;
    padding-top: 2rem;
    margin-top: auto;
}

.footer-heading {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #0d6efd;
        text-decoration: none;
    }

.social-links a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: #0d6efd;
    }

.footer-bottom {
    border-top: 1px solid #dee2e6;
    color: #666;
}

.payment-methods {
    height: 25px;
    object-fit: contain;
}

/* Make sure the footer stays at the bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1 0 auto;
}

/* Newsletter form styling */
.footer .form-control {
    border-radius: 4px 0 0 4px;
    border: 1px solid #dee2e6;
}

.footer .btn-primary {
    border-radius: 0 4px 4px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-height: 55px!important;
    }
    .footer-bottom {
        text-align: center;
    }

    .payment-methods {
        margin-top: 1rem;
    }
}

.newsletter-input {
    border-radius: 25px;
    border: none;
    padding: 8px 15px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 20px;
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Background Gradient */
.brands-section {
    background: linear-gradient(to bottom, #0eccb3,#7adcf5);
    background: #fff5de;
    /* background: linear-gradient(to bottom, #f79c1e, #f7bb42); */
    padding: 50px 0;
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Default Brand Cards */
.brand-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

/* Smaller Box for Brand 1 */
.small-box {
    min-height: 100px; /* Make the first box smaller */
    padding: 15px;
}

/* Brand Logos */
.brand-logo {
    max-width: 100%;
    max-height: 50px;
}

/* Coming Soon Badge */
.coming-soon {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #1dc9a0;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
}

/* Brand Name */
.brand-name {
    font-weight: bold;
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .brand-card {
        min-height: 100px;
        padding: 15px;
    }

    .brand-logo {
        max-height: 40px;
    }

    .logo-img {
        max-height: 30px;
    }
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.category-section {
    background: rgba(188, 247, 239, 0.9);
}
/* Category Cards */
.category-card {
    width: 200px;
    height: 250px;
    position: relative;
    text-align: center;
    border: 2px solid #16a085; /* Border Added */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .category-card img {
        width: 100%;
        height: 325px;
        object-fit: cover;
    }

/* Category Button */
.category-button {
    background: #16a085;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

    .category-button:hover {
        background: #12876f; /* Darker Shade on Hover */
    }

/* Product */
.product-section {
    background: #f2f2f2;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 500px; /* Increased fixed height */
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.badge-new {
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 25px;
    z-index: 1;
}

.badge-stock {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 25px;
    z-index: 1;
}

.product-image-container {
    height: 70%; /* 70% of card height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    height: 30%; /* 30% of card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    color: #0eccb3;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-cart {
    background-color: #0eccb3;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}



    .btn-cart:hover {
        background-color: #0bb19b;
        color: white;
    }

.btn-allproducts:hover {
    background-color: #0bb19b;
    color: white;
}

.btn-cart.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .product-card {
        height: 450px; /* Slightly smaller on mobile */
        margin-bottom: 20px;
    }
}

.all-products-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-allproducts {
    background-color: #0eccb3;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 15%; /* Make the button width adjust based on content */
}


@media (max-width: 768px) {
    .btn-allproducts {
        width: 80%; /* Make the button take 80% of the width on medium screens */
    }
}

@media (max-width: 576px) {
    .btn-allproducts {
        width: 90%; /* Make the button take 90% of the width on smaller screens */
    }
}


/* Stats */
.stat-section {
    background-color: #0eccb3;
    padding: 30px 0;
    position: relative;
}

.stats-item {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

    .stats-circle i {
        font-size: 28px;
        color: #0eccb3;
    }

.stats-content {
    text-align: left;
    color: white;
}

.stats-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.stats-label {
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-item {
        margin-bottom: 20px;
    }

    .stats-number {
        font-size: 24px;
    }

    .stats-label {
        font-size: 12px;
    }

    .about-us-section {
        background-color: #f2f2f2;
        padding: 60px 0;
    }

    .about-us-card {
        background-color: #fff;
        border-radius: 15px;
        padding: 35px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        margin-bottom: 30px;
        border: 1px solid #eee;
    }

        .about-us-card p {
            font-size: 1.05rem;
            color: #444;
            line-height: 1.7;
            text-align: justify;
        }

    .about-us-image-container {
        text-align: center; /* Center image in its column */
    }

        .about-us-image-container img {
            width: 150px; /* Adjusted image size for side-by-side layout */
            height: 150px; /* Adjusted image size for side-by-side layout */
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #fff;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
        }

    .about-us-text-column {
        padding-left: 30px; /* Add spacing between image and text */
    }
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .about-us-image-container {
        margin-bottom: 20px; /* Add space below image on smaller screens */
        text-align: center; /* Center image on smaller screens */
    }

    .about-us-text-column {
        padding-left: 0; /* Remove left padding on smaller screens */
        text-align: center; /* Center text on smaller screens if desired */
    }

    .about-us-card p {
        text-align: left; /* Revert text alignment to left on smaller screens for readability */
    }
}
