body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f8f5f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

main {
    flex-grow: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a2c2a;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #a07d5c;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    .section-title::after {
        width: 40px;
        height: 3px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Header */
#mainHeader .navbar-brand img {
    max-height: 30px;
}

#mainHeader .navbar-brand span {
    color: #4a2c2a !important;
}

#mainHeader .nav-link {
    color: #4a2c2a;
    font-weight: 600;
    transition: color 0.1s;
}

#mainHeader .nav-link:hover {
    color: #a07d5c;
}

.btn-primary {
    background-color: #a07d5c;
    border-color: #a07d5c;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: #8c6a4e;
    border-color: #8c6a4e;
}

.btn-secondary {
    background-color: #4a2c2a;
    border-color: #4a2c2a;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #3b2220;
    border-color: #3b2220;
}

.offcanvas-header {
    background-color: #f8f5f0;
    border-bottom: 1px solid #eee;
}

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

/* Hero Section */
#hero {
    background-image: url('img/pics/coffee-beans-hero_2.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    padding-top: 100px;
    padding-bottom: 100px;
}

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

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
}

#hero #hero-cta-button {
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    #hero h1 {
        font-size: 4rem;
    }
    #hero p {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3rem;
    }
    #hero p {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    #hero {
        min-height: 60vh;
        padding-top: 180px;
        padding-bottom: 80px;
    }
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1.1rem;
    }
}

/* About Section */
#about img {
    max-width: 100%;
    height: auto;
}

/* Menu Section */
.product-card {
    border: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.product-card img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.product-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a2c2a;
}

.product-card .card-text {
    font-size: 0.95rem;
    color: #666;
}

.product-card .list-unstyled li strong {
    color: #4a2c2a;
}

.product-card .price {
    color: #a07d5c;
}

.product-card .bi-star-fill {
    color: #ffc107;
}

.product-card .bi-star {
    color: #ccc;
}

/* Process Section */
.process-step {
    background-color: #fff;
    border: 1px solid #eee;
}

.process-step i {
    color: #a07d5c !important;
}

.process-step h4 {
    color: #4a2c2a;
}

/* Reviews Section */
.review-card {
    border: none;
}

.review-card img {
    object-fit: cover;
}

.review-card h5 {
    color: #4a2c2a;
}

.review-card .text-warning i {
    color: #ffc107;
}

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

/* Contact Section */
#contact .p-4 {
    background-color: #fff;
    border: 1px solid #eee;
}

#contact .p-4 h4 {
    color: #4a2c2a;
}

#contact .p-4 i {
    color: #a07d5c !important;
}

#contact img {
    max-width: 100%;
    height: auto;
}

/* Final CTA Section */
#final-cta {
    background-image: url('img/pics/coffee-cup-table_3.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

#final-cta .hero-overlay {
    background-color: rgba(74, 44, 42, 0.7);
}

#final-cta h2, #final-cta p {
    color: #fff;
}

/* Footer */
footer {
    background-color: #2c1a18 !important;
    color: #f0f0f0;
}

footer .navbar-brand span {
    color: #f0f0f0 !important;
}

footer a {
    color: #a07d5c !important;
}

footer a:hover {
    color: #f0f0f0 !important;
}

/* Modals */
.modal-content {
    border-radius: 0.5rem;
}

.modal-header {
    background-color: #f8f5f0;
    border-bottom: 1px solid #eee;
}

.modal-title {
    color: #4a2c2a;
}

.modal-body .add-to-cart-btn {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
}

#cart-items-container img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
}

#cart-items-container .item-total {
    font-weight: 600;
    color: #a07d5c;
}

#cart-total-price {
    color: #4a2c2a;
}

#checkout-form .invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
}

#checkout-form .form-control:invalid:not(:placeholder-shown) + .invalid-feedback,
#checkout-form .form-select:invalid:not([value=""]) + .invalid-feedback {
    display: block;
}

#checkout-form .form-control:invalid:not(:placeholder-shown),
#checkout-form .form-select:invalid:not([value=""]) {
    border-color: #dc3545;
}

#orderSuccessModal .bi-check-circle-fill {
    color: #28a745;
}

#addedToCartModal img {
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding-left: 1rem;
    }
    .navbar-nav .btn {
        width: auto;
        margin-top: 1rem;
        margin-left: 1rem !important;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1.1rem;
    }
    .product-card img {
        height: 150px;
    }
    .product-card .card-title {
        font-size: 1.25rem;
    }
    .product-card .price {
        font-size: 1.25rem;
    }
    .process-step i {
        font-size: 3rem !important;
    }
    .review-card img {
        width: 50px;
        height: 50px;
    }
    footer .col-md-6 {
        text-align: center;
    }
    footer .list-unstyled {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }
    footer .list-unstyled li {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
    .navbar-brand span {
        font-size: 1.25rem !important;
    }
    #mainHeader .navbar-brand img {
        height: 25px;
    }
}
/* .trustPillarUnit container styles */
.trustPillarUnit {
    padding-top: 30px;    /* Top padding for the main unit */
    padding-left: 20px;   /* Left padding for the main unit */
    padding-right: 20px;  /* Right padding for the main unit */
    /* You might want to add a bottom margin if these units are stacked */
    /* margin-bottom: 30px; */
}

/* Heading styles */
.trustPillarUnit h1 {
    font-size: 1.8em;       /* Font size for h1, not too large */
    margin-top: 1.5em;      /* Top margin for h1 */
    margin-bottom: 0.8em;   /* Bottom margin for h1 */
    line-height: 1.2;       /* Line height for h1 */
    font-weight: bold;      /* Default bold weight */
}

.trustPillarUnit h2 {
    font-size: 1.5em;       /* Font size for h2 */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.25;
    font-weight: bold;
}

.trustPillarUnit h3 {
    font-size: 1.25em;      /* Font size for h3 */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    font-weight: bold;
}

.trustPillarUnit h4 {
    font-size: 1.1em;       /* Font size for h4 */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.35;
    font-weight: bold;
}

.trustPillarUnit h5 {
    font-size: 1em;         /* Font size for h5 (base size) */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    line-height: 1.4;
    font-weight: bold;
}

/* Paragraph styles */
.trustPillarUnit p {
    font-size: 1em;         /* Standard paragraph font size */
    line-height: 1.6;       /* Improved line height for readability */
    margin-bottom: 1em;     /* Bottom margin for paragraph separation */
}

/* Unordered list styles */
.trustPillarUnit ul {
    list-style: disc;       /* Default disc bullet style */
    margin-top: 1em;        /* Top margin for the list */
    margin-bottom: 1em;     /* Bottom margin for the list */
    padding-left: 25px;     /* Indentation for list items */
}

/* List item styles */
.trustPillarUnit li {
    font-size: 1em;         /* Standard list item font size */
    line-height: 1.5;       /* Line height for list items */
    margin-bottom: 0.5em;   /* Spacing between list items */
}
