body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

* {
    box-sizing: border-box;
}
b, strong {
    font-weight:normal;
}
/* Global styles */
.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #28a745; /* Bootstrap success green */
    margin-bottom: 2rem;
    text-transform: lowercase;
}

.section-title::first-letter {
    text-transform: uppercase;
}

p, li {
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: #28a745;
    text-decoration: none;
}

a:hover {
    color: #218838;
    text-decoration: underline;
}

.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline from buttons */
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.email-break-all {
    word-break: break-all;
}

/* Header & Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-size:16px;
    font-weight: 700;
    color: #28a745;
    line-height: 1.2;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    text-transform: lowercase;
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #28a745;
}

.navbar-toggler {
    border: none;
}

.offcanvas-header {
    background-color: #28a745;
    color: white;
}

.offcanvas-title {
    text-transform: lowercase;
}

.offcanvas-title::first-letter {
    text-transform: uppercase;
}

.offcanvas-body {
    overflow-x: hidden; /* Prevent horizontal scroll for offcanvas */
}

#cartItemCount {
    background-color: #ffc107; /* Yellow for count */
    color: #333;
    border-radius: 50%;
    padding: 0.2em 0.6em;
    font-size: 0.75em; 
    margin-left: 0.25rem;
}

/* Hero Section */
.hero-section {
    background-image: url('pictures/graphics/hero-fruits-vegetables.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    position: relative;
    color: white;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    text-transform: lowercase;
}

.hero-section h1::first-letter {
    text-transform: uppercase;
}

.hero-section .lead {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* About Section */
#about img {
    max-height: 400px;
    object-fit: cover;
}

/* Product Cards */
.product-card {
    border: none;
    transition: transform 0.2s ease-in-out;
}

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

.product-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.product-card .card-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: #28a745;
    text-transform: lowercase;
}

.product-card .card-title::first-letter {
    text-transform: uppercase;
}

.product-chars li {
    font-size: 0.9rem;
    color: #555;
}

/* Benefits & Tips Sections */
#benefits img, #tips img {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #f0fdf4; /* Lighter green background */
    text-transform: lowercase;
}

.accordion-button::first-letter {
    text-transform: uppercase;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #28a745;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.accordion-item {
    border: none;
}

.accordion-body {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,.125);
}

/* Reviews Section */
.avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #28a745;
}

/* Contact Section */
.contact-list li {
    font-size: 1.1rem;
}

.contact-list i {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background-color: #212529 !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
    z-index: 1020; /* Ensure footer is below cookie banner */
}

.footer .logo-img {
    height: 30px;
    width: auto;
}

.footer .site-name-footer {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
}

.footer .site-name-footer::first-letter {
    text-transform: uppercase;
}

.footer .list-inline-item a {
    font-size: 0.9rem;
    color: #adb5bd;
    text-transform: lowercase;
}

.footer .list-inline-item a:hover {
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #212529 !important;
    color: white;
    z-index: 1040;
    padding: 1rem;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.cookie-banner a {
    color: #28a745;
}

.cookie-banner a:hover {
    color: #218838;
}

.modal-content {
    border-radius: 0.75rem;
}

.modal-header {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.modal-title {
    text-transform: lowercase;
}

.modal-title::first-letter {
    text-transform: uppercase;
}

.modal-footer {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

/* Cart Modal Specifics */
#cartItemsContainer .cart-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

#cartItemsContainer .cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item-name {
    margin-right: 10px;
    font-weight: 600;
    text-transform: lowercase;
}

.cart-item-name::first-letter {
    text-transform: uppercase;
}

.cart-item-price, .cart-item-subtotal {
    font-weight: 700;
    color: #28a745;
}

.form-label {
    font-weight: 600;
    text-transform: lowercase;
}

.form-label::first-letter {
    text-transform: uppercase;
}
.btn {
    margin: 5px !important;
}
.navbar-expand-lg .navbar-nav {
 
    align-items: center;
}
/* Responsive Typography for Headings */
@media (max-width: 1023px) {
  
    .hero-section h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    .hero-section .lead {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    }
    .product-card .card-title {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }
}

@media (max-width: 767px) {
    .navbar-brand .site-name {
        font-size: 12px;
    }
    .hero-section h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .hero-section .lead {
        font-size: clamp(0.9rem, 3vw, 1.25rem);
    }
    .section-title {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }
    .product-card .card-title {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
    .footer .site-name-footer {
        font-size: 1rem;
    }
    .footer .list-inline-item a {
        font-size: 0.8rem;
    }
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .cookie-banner p {
        margin-bottom: 1rem;
    }
    .cookie-banner .btn:last-child {
        margin-right: 0 !important;
    }
}

@media (max-width: 1100px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link, #viewCartBtn {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        width: auto; /* Allow buttons to size naturally */
        margin-left: 0 !important;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    #viewCartBtn {
        width: 100%;
    }
}
@media (max-width: 991px) {
    #cartItemsContainer .cart-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #cartItemsContainer .col-md-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    #cartItemsContainer .form-control-sm {
        text-align: center;
    }
}

.rightsCloudWrap {
    /* Wrapper padding for top and sides */
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    /* You might want to add a max-width for better readability on very wide screens */
    /* max-width: 960px; */
    /* margin: 0 auto; */
}

.rightsCloudWrap h1 {
    /* Heading 1 styles */
    font-size: 2.2rem; /* Moderate size for main headings */
    font-weight: 700; /* Bold */
    margin-top: 2.5em; /* Space above heading */
    margin-bottom: 1em; /* Space below heading */
    line-height: 1.2; /* Tighter line height for headings */
    color: #333; /* Dark gray color */
}

.rightsCloudWrap h2 {
    /* Heading 2 styles */
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
    color: #333;
}

.rightsCloudWrap h3 {
    /* Heading 3 styles */
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    line-height: 1.4;
    color: #333;
}

.rightsCloudWrap h4 {
    /* Heading 4 styles */
    font-size: 1.2rem;
    font-weight: 500; /* Slightly less bold */
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    line-height: 1.5;
    color: #333;
}

.rightsCloudWrap h5 {
    /* Heading 5 styles */
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    color: #333;
}

.rightsCloudWrap p {
    /* Paragraph styles */
    font-size: 1rem; /* Base font size */
    line-height: 1.6; /* Good for readability */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #333;
}

.rightsCloudWrap ul {
    /* Unordered list styles */
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indent for bullets */
    color: #333;
}

.rightsCloudWrap li {
    /* List item styles */
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6;
}
