body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #f8f5f0;
    line-height: 1.6;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #6F4E37; /* Dark Coffee Brown */
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Global Headings */
h1 {
    font-size: 2.8rem;
}
h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.8rem;
}
h4 {
    font-size: 1.5rem;
}
h5 {
    font-size: 1.2rem;
}
h6 {
    font-size: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.1rem;
    }
    h6 {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem; /* ~24px */
    }
    h2 {
        font-size: 1.3rem; /* ~20.8px */
    }
    h3 {
        font-size: 1.2rem; /* ~19.2px */
    }
    h4 {
        font-size: 1.1rem; /* ~17.6px */
    }
    h5 {
        font-size: 1rem; /* ~16px */
    }
    h6 {
        font-size: 0.8rem; /* ~12.8px */
    }
}

/* Buttons */
.btn-primary {
    background-color: #8B4513; /* Rust/Tea Brown */
    border-color: #8B4513;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
    background-color: #6F4E37; /* Dark Coffee Brown */
    border-color: #6F4E37;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: #F5F5DC;
    color: #F5F5DC;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.btn-outline-light:hover {
    background-color: #F5F5DC;
    color: #8B4513;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #D2B48C;
    border-color: #D2B48C;
    color: #6F4E37;
}
.btn-secondary:hover {
    background-color: #B08E6C;
    border-color: #B08E6C;
    color: #6F4E37;
}

.btn-success {
    background-color: #4A7C59;
    border-color: #4A7C59;
}
.btn-success:hover {
    background-color: #3A6B49;
    border-color: #3A6B49;
}

.btn:focus, .btn:active {
    box-shadow: none !important;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1030;
}

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

.main-header .navbar-brand .site-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #6F4E37;
    font-size: 2rem;
}

.main-header .navbar-nav .nav-link {
    color: #6F4E37;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
    color: #8B4513;
}

.btn-cart {
    background-color: #D2B48C;
    border: none;
    color: #6F4E37;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-cart:hover {
    background-color: #8B4513;
    color: #fff;
}

.btn-cart .cart-count {
    background-color: #4A7C59;
    color: #fff;
    border-radius: 50%;
    padding: 0.2em 0.6em;
    font-size: 0.75em;
    line-height: 1;
    margin-left: 0.5em;
}

.offcanvas-header {
    background-color: #6F4E37;
    color: #fff;
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

.offcanvas-body {
    background-color: #f8f5f0;
}

.offcanvas-body .navbar-nav .nav-link {
    color: #6F4E37;
}

@media (max-width: 1100px) {
    .main-header .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-header .navbar-nav .nav-item {
        width: 100%;
    }
    .main-header .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .btn-cart {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        margin-left: 0 !important;
    }
    .main-header .navbar-brand .site-name {
        font-size: 1.25rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    padding-top: 100px;
    padding-bottom: 50px;
    color: #fff;
    background-color: #6F4E37;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    filter: brightness(0.6);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(111, 78, 55, 0.7) 100%);
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: #f8f5f0;
    transform: skewY(-3deg);
    transform-origin: bottom left;
    z-index: 1;
}

.hero-content h1, .hero-content p {
    color: #fff;
}

.hero-cta-btn {
    min-width: 180px;
    text-align: center;
}

.hero-cup-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-section {
    background-color: #f8f5f0;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #D2B48C;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 10px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

.timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .timeline-container::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        text-align: left !important;
    }
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        transform: translateX(0);
    }
}

/* Services Section */
.services-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    color: #8B4513;
}

/* Approach Section */
.approach-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f5f0;
}

.approach-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.approach-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.approach-list i {
    color: #4A7C59;
    font-size: 1.2rem;
}

/* Individual Solutions Section */
.individual-solutions-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.solution-card .card-body {
    background-color: #fff;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.solution-icon {
    font-size: 3rem;
    color: #8B4513;
}

/* Benefits Section */
.benefits-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #D2B48C;
    color: #6F4E37;
}

.benefits-section h2 {
    color: #6F4E37;
}

.benefit-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #4A7C59;
    min-width: 50px;
    text-align: center;
}

.benefits-list h5 {
    color: #6F4E37;
}

/* Catalog Section */
.catalog-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

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

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    color: #6F4E37;
    margin-bottom: 0.75rem;
}

.product-short-desc {
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

.product-price {
    color: #8B4513;
    font-size: 1.3rem;
}

.btn-add-to-cart, .btn-view-details {
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
}

/* Stats Section */
.stats-section {
    background-color: #4A7C59;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.stats-bg-image {
    filter: brightness(0.4);
}

.stats-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 124, 89, 0.8) 0%, rgba(58, 107, 73, 0.8) 100%);
    z-index: 0;
}

.stats-section h2 {
    color: #fff;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    color: #F5F5DC;
}

/* Team Section */
.team-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.team-member-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #D2B48C;
}

.team-member-card--highlighted .card {
    background-color: #D2B48C;
    color: #6F4E37;
    transform: scale(1.05);
    border: 4px solid #8B4513;
}

.team-member-card--highlighted .card:hover {
    transform: scale(1.08) translateY(-5px);
}

.team-member-card--highlighted .team-avatar {
    border-color: #6F4E37;
}

.team-member-card--highlighted h3, .team-member-card--highlighted p {
    color: #6F4E37;
}

/* Reviews Section */
.reviews-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f5f0;
}

.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #D2B48C;
}

.review-card p {
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.question-bubble .accordion-item {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-bubble .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.question-bubble .accordion-button {
    background-color: #fff;
    color: #6F4E37;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.question-bubble .accordion-button:not(.collapsed) {
    background-color: #D2B48C;
    color: #6F4E37;
    box-shadow: none;
}

.question-bubble .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.question-bubble .accordion-body {
    background-color: #fcfaf8;
    border-top: 1px solid #eee;
    padding: 1.5rem;
    color: #555;
}

.question-bubble .ri-question-line {
    color: #8B4513;
}

/* Footer */
.footer-section {
    background-color: #6F4E37; /* Dark Coffee Brown */
    color: #F5F5DC; /* Beige */
    padding-top: 60px;
    padding-bottom: 40px;
}

.footer-section .navbar-brand .site-name {
    color: #F5F5DC;
}

.footer-section h5 {
    color: #D2B48C; /* Light Brown */
    margin-bottom: 1.5rem;
}

.footer-section .footer-link {
    color: #F5F5DC;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-section .footer-link:hover {
    color: #8B4513; /* Rust/Tea Brown */
}

.footer-section .logo-img {
    filter: brightness(1.2);
}

.footer-section .navbar-brand {
    margin-bottom: 1rem;
}

.footer-section .navbar-brand .logo-img {
    height: 40px;
}

/* Cookie Banner */
.cookie-banner {
    background-color: rgba(111, 78, 55, 0.95); /* Dark Coffee Brown with transparency */
    color: #fff;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-banner a {
    color: #D2B48C;
}

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

/* Cart Modal */
#cartModal .modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

#cartModal .modal-header {
    background-color: #6F4E37;
    color: #fff;
    border-bottom: none;
}

#cartModal .modal-title {
    color: #fff;
}

#cartModal .btn-close {
    filter: invert(1);
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #6F4E37;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.95rem;
    color: #8B4513;
}

.cart-item-quantity-wrapper {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.cart-item-quantity {
    width: 60px;
    margin-right: 0.5rem;
    text-align: center;
}

.cart-item-subtotal {
    font-weight: 700;
    color: #6F4E37;
    margin-left: 1rem;
    min-width: 70px;
    text-align: right;
}

.btn-remove-item {
    color: #dc3545;
    font-size: 1.2rem;
    background: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
    transition: color 0.2s ease;
}

.btn-remove-item:hover {
    color: #c82333;
}

#cart-summary {
    background-color: #fcfaf8;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#cart-total-price {
    color: #8B4513;
    font-size: 1.5rem;
}

#checkout-button {
    background-color: #4A7C59;
    border-color: #4A7C59;
}

#checkout-button:hover {
    background-color: #3A6B49;
    border-color: #3A6B49;
}

#order-form {
    background-color: #fff;
    border-color: #D2B48C !important;
}

#order-form h4 {
    color: #6F4E37;
}

/* Product Detail Modal */
#productModal .modal-content {
    border-radius: 1rem;
}

#productModal .modal-header {
    background-color: #6F4E37;
    color: #fff;
}

#productModal .modal-title {
    color: #fff;
}

.product-modal-image {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

.product-modal-title {
    color: #6F4E37;
}

.product-modal-description {
    color: #555;
}

.product-modal-characteristics li strong {
    color: #8B4513;
}

.product-modal-price {
    color: #8B4513;
}

.btn-add-to-cart-modal {
    background-color: #8B4513;
    border-color: #8B4513;
}

.btn-add-to-cart-modal:hover {
    background-color: #6F4E37;
    border-color: #6F4E37;
}

/* Confirmation Modals */
#addToCartConfirmationModal .modal-content, #orderConfirmationModal .modal-content {
    border-radius: 1rem;
    text-align: center;
}

#addToCartConfirmationModal .modal-header, #orderConfirmationModal .modal-header {
    background-color: #4A7C59;
    color: #fff;
    border-bottom: none;
}

#addToCartConfirmationModal .modal-title, #orderConfirmationModal .modal-title {
    color: #fff;
}

#addToCartConfirmationModal .btn-close, #orderConfirmationModal .btn-close {
    filter: invert(1);
}

#orderConfirmationModal .modal-body p {
    color: #555;
}

#orderConfirmationModal .modal-body strong {
    color: #6F4E37;
}
/* Parent container styling */
.rightsCloudWrap {
    padding-top: 30px; /* Top padding for the content area */
    padding-bottom: 30px; /* Bottom padding for the content area */
    padding-left: 20px; /* Left padding for the content area */
    padding-right: 20px; /* Right padding for the content area */
    /* Optional: Add max-width and margin auto for better readability on large screens */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading styles */
.rightsCloudWrap h1 {
    font-size: 2em; /* Moderate h1 size */
    line-height: 1.2; /* Improved readability for headings */
    margin-top: 1.5em; /* Spacing above the heading */
    margin-bottom: 0.8em; /* Spacing below the heading */
    color: #333; /* Dark gray color for good contrast */
}

.rightsCloudWrap h2 {
    font-size: 1.6em; /* Moderate h2 size */
    line-height: 1.3;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    color: #333;
}

.rightsCloudWrap h3 {
    font-size: 1.3em; /* Moderate h3 size */
    line-height: 1.4;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    color: #333;
}

.rightsCloudWrap h4 {
    font-size: 1.1em; /* Slightly larger than paragraph text */
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: #333;
}

.rightsCloudWrap h5 {
    font-size: 1em; /* Similar to paragraph text, but bold by default */
    line-height: 1.6;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    color: #333;
}

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

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style-type: disc; /* Default disc style for unordered lists */
    margin-top: 1em; /* Spacing above the list */
    margin-bottom: 1em; /* Spacing below the list */
    padding-left: 25px; /* Indentation for list items */
    color: #333;
}

/* List item styles */
.rightsCloudWrap li {
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.5; /* Line height for list item text */
}
