body {
    font-family: Calibri, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-feature-settings: "liga" 1, "kern" 1, "dlig" 1;
    text-rendering: optimizeLegibility;
}

.content-section {
    margin-bottom: 3rem;
}

.section-heading {
    border-bottom: 2px solid #27768a;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.text-body {
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.text-display {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-hero {
    background-image: url(../images/Home/header.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.section-contact-hero {
    background-image: url(../images/ContactUS/hero.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.section-about-hero {
    background-image: url(../images/AboutUS/1-AboutPurelink.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.section-products-hero {
    background-image: url(../images/Products/1-header.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Core Values - New Split Card Layout */
.section-core-values .card {
    /* Main card container styling */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Ensure image zoom stays within border */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-core-values .card-img {
    /* New container for the image part */
    width: 100%;
    height: 240px;
    /* Fixed height for image area */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    /* Smooth zoom effect */
}

.section-core-values .card:hover .card-img {
    transform: scale(1.05);
    /* Zoom in on hover */
}

/* Apply specific images to the inner .card-img div */
.section-core-values .card:nth-child(1) .card-img {
    background-image: url(../images/Home/YourSinglePartner.webp);
}

.section-core-values .card:nth-child(2) .card-img {
    background-image: url(../images/Home/InternationalStandardCasings.webp);
}

.section-core-values .card:nth-child(3) .card-img {
    background-image: url(../images/Home/CustomizedSolutions.webp);
}

.section-core-values .card:nth-child(4) .card-img {
    background-image: url(../images/Home/EfficiencyCostOptimization.webp);
}

.section-core-values .card:nth-child(5) .card-img {
    background-image: url(../images/Home/ReliableDeliveryCoordination.webp);
}

/* Footer Artistic Background - Simplified & Consistent */
.section-footer-art {
    position: relative;
    background-color: #064e3b;
    /* Deep brand green base */
    background-image: radial-gradient(circle at 50% 0%, #0d5f49 0%, #064e3b 70%);
    /* Subtle top-down lighting */
    overflow: hidden;
    /* Crop decorative elements */
}

/* Decorative Curve Echoing 'Our Products' */
.section-footer-art::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.section-footer-art a {
    position: relative;
    display: inline-block;
    /* Essential for pseudo-elements and transforms */
    padding-bottom: 2px;
    /* Space for the underline */
    text-decoration: none;
    /* Remove default underline */
    transition: color 0.3s ease-in-out;
    /* Smooth color change */
}

.section-footer-art a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: white;
    /* Underline color */
    transition: width 0.3s ease-in-out;
    /* Smooth underline animation */
}

.section-footer-art a:hover::after {
    width: 100%;
    /* Expand underline on hover */
}

.sheep {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("/images/Home/SheepCasings.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

.hog {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("/images/Home/HogCasings.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-grassland {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("/images/Products/2-SheepCasing.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-farm-hog {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("/images/Products/3-HogCasing.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-advantage .grid {
    .group {
        background-repeat: no-repeat;
        background-size: cover;
    }

    .group:nth-child(1) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(/images/Home/BreathableStructure.webp);
    }

    .group:nth-child(2) {
        background-image: linear-gradient(rgba(126, 109, 109, 0.2), rgba(0, 0, 0, 0.2)), url(/images/Home/DistinctiveBiteTexture.webp);
    }

    .group:nth-child(3) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/Home/FlavorPreservation.webp);
    }

    .group:nth-child(4) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/Home/MoistureTenderness.webp);
    }

    .group:nth-child(5) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/Home/DurabilityYield.webp);
    }

    .group:nth-child(6) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/Home/ConsumerAppeal.webp);
    }

}

/* Sticky Navigation Styles */
#main-nav.sticky-active {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
}

#main-nav.sticky-active .nav-link {
    font-size: 1.3125rem !important;
    /* 50% larger than 0.875rem */
}

.packaging-options {
    div {
        background-repeat: no-repeat;
        background-size: cover;
    }

    div:nth-child(1) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url(../images/Products/7-SaltedBundle.webp);
    }

    div:nth-child(2) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url(../images/Products/5-Tubed.webp);
    }

    div:nth-child(3) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url(../images/Products/6-Netpack.webp);
    }

    div:nth-child(4) {
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url(../images/Products/4-Dry-salted.webp);
    }
}

.section-quality-control {
    .card {
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: 100%;
    }

    .card:nth-child(1) {
        background-image: url(../images/AboutUS/10-Supplier\ Qualification\ and\ Audit.svg);
    }

    .card:nth-child(2) {
        background-image: url(../images/AboutUS/11-Quality\ Inspection\ and\ Testing.svg);
    }

    .card:nth-child(3) {
        background-image: url(../images/AboutUS/12-Traceability\ and\ Documentation.svg);
    }

    .card:nth-child(4) {
        background-image: url(../images/AboutUS/13-Storage\ and\ Handling.svg);
    }

    .card:nth-child(5) {
        background-image: url(../images/AboutUS/14-Continuous\ Improvement.svg);
    }

    .card:nth-child(6) {
        background-image: url(../images/AboutUS/15-Customer\ Feedback\ and\ Support.svg);
    }
}