body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* AFTER */

.hero-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.hero-title {
    color: #01733b;
    font-size: 36px;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.hero-title strong {
    font-weight: 600;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    color: #545454;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-text {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* CSS for section section:Products */
#section-products {
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    #section-products {
        padding-bottom: 15px; /* Significantly smaller spacing for mobile screens */
    }
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-image-wrapper {
    flex: 0 0 400px;
}

.product-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.15);
}

.product-content {
    flex: 1;
}

.product-title {
    color: #01733b;
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.product-subtitle {
    color: #02723a;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.product-desc {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.list-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #000000;
}

.product-list {
    list-style-type: disc;
    padding-left: 24px;
    margin: 0;
}

.product-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #545454;
}

.highlight {
    color: #02723a;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.toggle-btn:hover {
    background-color: #5e3131;
}

.toggle-btn img {
    height: 16px;
}

@media (max-width: 992px) {
    .product-row,
    .product-row.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .product-image-wrapper {
        width: 100%;
        max-width: 500px;
        flex: auto;
    }

    .toggle-btn {
        margin-bottom: 60px;
    }
}

/* Modal Background */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto; /* Allows scrolling if there are 20+ images */
}

/* Modal Header */
.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Image Grid */
.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
    margin: 0 auto;
}

.grid-img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    border: 1px solid #444;
}

.grid-img:hover {
    transform: scale(1.05);
    border-color: #01733b;
}

.close-modal {
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* The Enlarge Overlay */
.enlarge-overlay {
    display: none;
    position: fixed;
    z-index: 20000; /* Must be higher than the modal (10000) */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    /* cursor: zoom-out; */
    animation: fadeIn 0.3s ease;
}

#enlargedImg {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    border: 3px solid white;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
}

.close-enlarge {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Ensure the grid images show they are clickable */
.grid-img {
    cursor: zoom-in !important;
}

@media (max-width: 480px) {
    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid img {
        width: 90%;
    }
}

section {
    scroll-margin-top: 120px;
}