/* import mulish font    */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Mulish', sans-serif;
}

::selection {
    background-color: #4CAF50;
    color: #ffffff;
}

.hero-section {
    background-image: linear-gradient(#012104b3, #012104b3), url('./img/contact.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0;
    position: relative;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* add more padding to larger    screens */
@media (min-width: 768px) {
    .contact-card {
        padding: 150px 30px;
    }
}

.info-section {
    background-color: #eaf7eb;
    padding: 50px 0;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.bg-navbar {
    background-color: #4a564c !important;
}

@media (max-width: 768px) {
    .mobile-nav {
        background-color: #f5f5f5 !important;
        padding: 10px 0 !important;
    }

    .mobile-nav .nav-link {
        color: #1d1c1c !important;
        margin: 0 10px !important;
        border-bottom: 1px solid #d8d8d8 !important;
    }

    .mobile-nav .nav-link.active {
        color: #4CAF50 !important;
    }

    .mobile-nav .nav-link:last-child {
        border-bottom: none !important;
    }
}

.notice-section {
    background-color: #eaf7eb;
    padding: 20px 0 50px 0;
    color: #555;
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.btn-primary:hover {
    background-color: #388E3C;
    border-color: #388E3C;
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

.shop-now-btn {
    background-color: #4CAF50;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
}

a {
    text-decoration: none;
}

/* footer */
.footer {
    font-size: 14px;
    background-color: #fff;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: #333;
    color: white;
    border: none;
    /* border-radius: 50%; */
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
    transition: 0.3s ease-in-out;
}

.scroll-top-btn:hover {
    background: #555;
}

/* Our Story Section */
.our-story-section {
    padding-top: 4rem;
    color: #333;
}

.story-title {
    font-size: 40px;
    font-size: 32px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2em;
}

@media (max-width: 544px) {
    .story-title {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .story-title {
        font-size: 36px;
    }
}

.story-content p {
    line-height: 1.7;
    font-size: 16px;
}

/* Our Approach Section */
.our-approach-section {
    background-color: white;
    color: #333;
}

.approach-card {
    line-height: 1.7;
}

@media (max-width: 991px) {
    .col-lg-6.border-start {
        border-left: none !important;
        border-top: 1px solid #dee2e6;
        padding-top: 2rem;
        margin-top: 2rem;
    }
}

/* Hero Promotion Section */
.promo-section {
    background-image: linear-gradient(#042506cd, #042506cd), url('./img/home-hero.jpeg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.promo-product {
    /* background-color: white; */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promo-product img {
    width: 404px;
    height: auto;
    object-fit: cover;
}


.discount-badge {
    background-color: #e63946;
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    top: -15px;
    right: -15px;
    transform: rotate(15deg);
}

.delivery-offer {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 5px;
}

.order-now {
    font-weight: 600;
    font-size: 18px;
}

.original-price {
    color: #ff3333;
    font-size: 18px;
}

.discount-price {
    font-family: 'Arial', sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    color: #47ff33;
}

@media (max-width: 576px) {
    .discount-badge {
        width: 70px;
        height: 70px;
        font-size: 10px;
    }

    .discount-price {
        font-size: 24px;
    }
}

/* Customer Reviews Section */
.customer-reviews {
    background-color: #eaf7eb;
    text-align: center;
}

/* Review Images */
.customer-reviews img {
    width: 100%;
    height: auto;
    max-width: 300px;
    /* Optional: Limits max image width */
    border-radius: 10px;
    margin: auto;
}

/* Place Order Section */
.custom-container {
    max-width: 700px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Green Button */
.btn-success {
    background-color: #28a745;
    font-size: 18px;
    font-weight: bold;
}

/* Desktop view - show all items */
@media (min-width: 768px) {
    #reviewsCarousel {
        overflow: visible;
    }

    .carousel-inner {
        display: flex;
        gap: 20px;
        transform: none !important;
    }

    .carousel-item {
        display: block !important;
        margin-right: 0 !important;
        flex: 0 0 calc(33.33% - 13.33px);
        transition: none !important;
    }

    .carousel-item:not(.active) {
        display: block !important;
    }
}

/* Mobile view - default carousel behavior */
@media (max-width: 767px) {
    .carousel-item {
        padding: 0 15px;
    }
}

.img-fluid {
    border-radius: 10px;
}

/* Card Styling */
.card1 {
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* order form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f1f8e9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.required-field::after {
    content: " *";
    color: red;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.submit-btn {
    background-color: #4b7e20;
    border: none;
    padding: 12px;
    font-weight: 600;
}

.submit-btn:hover {
    background-color: #386219;
}

.form-check-input:checked {
    background-color: #4b7e20;
    border-color: #4b7e20;
}

/* Ensure the container is positioned relatively */
#orderDiv {
    position: relative;
}

/* Preloader overlay styles */
#oPreloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Ensure it's on top */
}