﻿@font-face {
    font-family: 'PhosphateSolid';
    src: url('../css/fonts/PhosphateProW.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    margin: 0;
    padding: 0;
}

/*Fade in feature: TO FIX*/
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Slightly move down */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Fade-in effect */
.fade-in.show {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

/*New nav bar starts here*/
.MainNavbar {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack top and bottom layers vertically */
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for separation */
}

/* Top Layer: Logo and Search Bar */
.navbar-top {
    display: flex;
    justify-content: space-between; /* Logo on the left, search bar centered */
    align-items: center;
    width: 100%;
    padding: 5px 20px; /* Add spacing around the content */
    box-sizing: border-box;
}

/* Logo Section */
.logo-class {
    display: flex;
    justify-content: flex-start; /* Logo stays on the left */
    align-items: center;
    flex: 0 0 20%; /* Reserve space for the logo */
}

.logo {
    max-height: 6vh; /* Keep the logo responsive */
    max-width: 100%;
}

/* Search Bar Section */
.search-bar {
    flex: 1; /* Allow the search bar to take up available space */
    display: flex;
    justify-content: left; /* Center the search bar */
    align-items: center;
    padding: 0 10px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 8px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

/* Bottom Layer: Buttons */
.navbar-bottom {
    width: 100%;
    background-color: #e2e2e2; /* Grey background for visual separation */
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    align-items: center;
    border-top: 1px solid #ccc; /* Optional: separator line */
    z-index: 1000;
}

.transparent-button {
    background: none;
    border: none;
    color: #2D2E83;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    padding: 5px 10px;
}

.transparent-button i {
    font-size: 20px; /* Adjust icon size */
}

.header {
    color: #88CDD3;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    letter-spacing: .01em;
!important;
    text-align: center;
    font-size: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0); /* Dark shadow effect */
    margin-top: 120px;
}

.subcat-header {
    /*    color: #88CDD3;*/
    color: white;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: center;
    font-size: 50px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0); /* Dark shadow effect */
    margin-top: 5px;
}

.caption {
    color: white;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    letter-spacing: .01em;
!important;
    text-align: center;
    font-size: 50px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0);
    margin-bottom: 40px;
}

.sub-header, .sub-header2 {
    text-align: center; /* Centers the text horizontally */
    margin-top: 20px; /* Adds some space at the top */
    margin-bottom: 10px;
}

.sub-header {
    margin-top: 80px;
}

/*.line {*/
/*    width: 90%; !* set the desired length of the line *!*/
/*    height: 1px; !* set the height of the line *!*/
/*    background-color: black; !* set the color of the line *!*/
/*    */
/*    margin: auto;*/
/*}*/

.backgroundimage {
    background-image: url(../Images/main.jpg);
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    width: 100%; /* Full width of the screen */
    min-height: 100vh; /* Ensure it expands to contain the content */
    padding: 40px 20px; /* Add padding around the section */
    box-sizing: border-box; /* Include padding in width calculation */
    position: relative; /* Prevent overlapping with other elements */
    overflow: hidden; /* Prevent content from spilling out */
    z-index: 1; /* Ensure it stacks correctly with other elements */
}

.subcategory-backgroundimage {
    background-image: url(../Images/steel.jpg);
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    width: 100%; /* Full width of the screen */
    min-height: 100vh; /* Ensure it expands to contain the content */
    padding: 40px 20px; /* Add padding around the section */
    box-sizing: border-box; /* Include padding in width calculation */
    position: relative; /* Prevent overlapping with other elements */
    overflow: hidden; /* Prevent content from spilling out */
    z-index: 1; /* Ensure it stacks correctly with other elements */
}


/*!*Main container for category selection*!*/
/*.backgroundmenu {*/
/*    width: 80%;*/
/*    max-width: 90%;*/
/*    border-radius: 10px;*/
/*    margin: 30px auto; */
/*    padding: 10px;*/
/*    background-color: rgb(236,237,240,0.2);*/
/*    box-sizing: border-box;*/
/*}*/


.backgroundmenu {
    width: 95%;
    max-width: 96%;
    border-radius: 10px;
    margin: 30px auto;
    padding: 10px;
    background-color: rgb(236, 237, 240, 0.2);
    box-sizing: border-box;
}

/* Container for the grid */
.containercategory {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 columns */
    grid-template-rows: repeat(5, 130px); /* 4 rows with 150px height */
    gap: 50px; /* Optional: space between boxes */
    max-width: 100%; /* Maximum width to fit the grid */
    width: 100%; /* Adjust width to fit parent container */
    /*    height: 100%; */
    margin: 0 auto; /* Center the container horizontally */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    margin-top: 30px;
    padding-bottom: 50px;
}

.subcontainercategory {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 columns */
    /*    grid-template-rows: repeat(4, 150px); */
    grid-auto-rows: 130px;
    gap: 50px; /* Optional: space between boxes */
    max-width: 100%; /* Maximum width to fit the grid */
    width: 100%; /* Adjust width to fit parent container */
    /*    height: 100%; */
    margin: 0 auto; /* Center the container horizontally */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    margin-top: 30px;
    padding-bottom: 50px;
}


/* Box styling */
.box {
    background-color: #88CDD3; /* Box color */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    color: #2D2E83;
    font-size: 20px;
    font-weight: normal;
    margin: 0 40px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}


.box:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    color: #F49C04;
}

/*div behind search bar*/
.search-bar-background {
    padding: 5px;
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 70%;
}

/*Search box*/
.search-box {
    display: flex;
    width: 100%;
    margin: auto;
    border: 2px solid #ccc;
    border-radius: 5px;
    /*for searchbox in nav bar:*/
    float: left;
}

.search-box:hover {
    display: flex;
    /*        width: 70%;*/
    margin: auto;
    /*        box-shadow: rgba(144,200,208, 0.4) -5px 5px, rgba(144,200,208, 0.3) -10px 10px, rgba(144,200,208, 0.2) -15px 15px, rgba(144,200,208, 0.1) -20px 20px, rgba(144,200,208, 0.05) -25px 25px;*/
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4), 0px 7px 13px -3px rgba(0, 0, 0, 0.3), 0px -3px 0px rgba(0, 0, 0, 0.2) inset;
    /*        cursor: pointer;*/
    border-radius: 5px;
}

.search-box input[type="text"] {
    border: none;
    outline: none;
    width: 100%;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
}

/*search box spyglass icon*/
.search-box .fa-search {
    color: white;
    background-color: #88CDD3;
    padding: 11px;
    border: 3px solid white;
}

.producers-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    color: #88CDD3;
    letter-spacing: .01em;
!important;
    text-align: center;
    font-size: 70px;
    padding-top: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0); /* Dark shadow effect */
}


.producers-container {
    display: flex;
    /*    justify-content: space-between;*/
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: 150%;
    padding-bottom: 40px;
    width: 100%;
}

.how-to-img {
    position: relative; /* Enable positioning for overlay */
    background-image: url(../Images/help-form.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 20px 0; /* Add padding for space around the overlay */
    display: flex;
    justify-content: center; /* Center the white overlay */
    align-items: flex-start; /* Start content from the top */
}

/* White Square Overlay */
.white-overlay {
    position: relative; /* Keep the form and header inside the container */
    padding: 20px;
    width: 80%; /* Width of the overlay */
    max-width: 600px; /* Limit the overlay width */
    text-align: center;
    /*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
    background-color: rgb(236, 237, 240, 0.8);
    z-index: 2; /* Ensure it stays above the image background */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center content horizontally */
    justify-content: flex-start; /* Adjust content placement */
    box-sizing: border-box;
    border-radius: 10px;
}

/* Overlay Text Styling */
.overlay-title {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.overlay-text {
    font-family: "Roboto-Regular", sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}


.how-to {
    background-color: #ECEDF0;
    padding-bottom: 60px;
    padding-top: 25px;
}

.how-to-blue-bar {
    background-color: #88CDD3;
    height: 5px;
    width: 15%;
    margin-bottom: 30px;
}


.help-header {
    color: #2D2E83;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 40px;
    font-size: x-large;
    letter-spacing: .01em;
!important;
}

.help-button {
    background-color: #88CDD3;
    color: #2D2E83;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 20px;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    font-size: 20px;
    cursor: pointer;
    letter-spacing: .01em;
!important;
}

.help-button:hover {
    transform: translateY(-3px); /* Lift the button up slightly */
    /*        box-shadow: 0px 8px 15px rgba(255,255,255,1); */
    box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    color: #F49C04;
}

.help-button:active {
    transform: translateY(1px); /* Slightly press the button down */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Return to original shadow */
}

/* Make sure the images are responsive */
.producers-container img {
    width: 12%; /* Set the width of each image */
    height: 6vh; /* Maintain the aspect ratio */
    object-fit: contain;
    margin-right: 100px;
}

.producers-wrapper {
    display: flex;
    animation: scroll 60s linear; /* Animate the images */
    width: calc(17 * 12%);
}

/* Animation for moving images */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Duplicate the images inside the producers-wrapper to create the loop effect */
.producers-wrapper img:last-child {
    margin-right: 0;
}


.background-info {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 50px;
    /*    padding-right: 50px;*/
    height: auto;
}

.info-img {
    background-image: url(../Images/welcome.jpg);
    background-size: cover; /* Adjusts the background image to cover the div */
    background-position: center;
    min-height: 300px;
}

.info-text {
    font-family: "Roboto-Regular", sans-serif;
    text-align: left;
    color: black;
    padding-bottom: 3%;
    padding-top: 3%;
    font-size: 15px;
    max-width: 90%;
}

.info-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 30px;
    color: black;
    letter-spacing: .01em;
!important;
}

.intro-text {
    line-height: 1.2; /* Proper spacing for intro text */
    margin: 0; /* Remove unnecessary margins */
}

.description-text {
    line-height: 1.8; /* Increase readability for detailed text */
    font-family: "Roboto-Regular", sans-serif;
    margin: 0; /* Consistent spacing */
    padding-bottom: 10px; /* Optional for spacing */
    font-size: 15px;
}


.highlight1 {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    color: #88CDD3;
    letter-spacing: .01em;
!important;
}

.sustainability-subheader {
    color: #2D2E83;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-bottom: 5px;
    padding-top: 40px;
    font-size: large;
    letter-spacing: .01em;
!important;
}

.sustainability-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
    letter-spacing: .01em;
!important;
    color: black;
}

.sustainability-text {
    line-height: 1.8; /* Increase readability for detailed text */
    font-family: "Roboto-Regular", sans-serif;
    margin: 0; /* Consistent spacing */
    padding-bottom: 10px; /* Optional for spacing */
}

.sustainability {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-right: 50px;
    height: auto;
}

.about-info, .how-to-info {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Video and text side by side */
    gap: 50px;
    height: auto;
    padding-left: 50px;
}

.video {
    width: 100%;
    height: auto;
}

.sustain-video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.about-text, .how-to-text {
    font-family: "Roboto-Regular", sans-serif;
    text-align: left;
    color: black;
}

.about-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 30px;
    letter-spacing: .01em;
!important;
    color: black;
}

.how-to-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 40px;
    padding-bottom: 20px;
    letter-spacing: .01em;
!important;
    color: black;
}


.blank {
    height: 100px;
}


/*Old style large header: */
/*.sustainability-header {
    font-family: 'PhosphateSolid';
    color: #88CDD3;
    text-align: center;
    font-size: 70px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0);*/ /* Dark shadow effect */
/*}*/

.sustainability {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-right: 50px;
    height: auto;
}

.paragraph-style {
    margin-left: 25%;
    margin-right: 25%;
    padding-top: 10px;
}

.center-line-container {
    display: flex;
    justify-content: center; /* Horizontally center the line */
    width: 100%; /* Ensure it spans the width of the page */
}

.centre-line {
    background-color: #88CDD3;
    height: 5px;
    width: 20%;
    align-self: center;
    margin-top: -22px;
}

#top-btn {
    position: fixed; /* Fixes the button to the viewport */
    bottom: 20px; /* Distance from the bottom of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    background: none;
    color: #88CDD3;
    border: none; /* No border */
    border-radius: 0;
    padding: 0; /* No padding */
    cursor: pointer; /* Pointer cursor for interactivity */
    z-index: 1000; /* Ensure it's above other content */
    text-align: center; /* Center aligns the icon */
}

#top-btn:hover {
    color: #88CDD3; /* Darker blue on hover */
    transform: scale(1.5); /* Slight zoom effect */
}

.why-choose-section {
    background-image: url('/Images/why-choose.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    width: 100%; /* Full width of the screen */
    /*    height: 60vh; */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    position: relative; /* Necessary for absolute positioning of the white box */
    padding: 40px 20px;
}

/* White text box */
.white-box {
    background-color: white; /* White background for the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Subtle shadow for better visibility */
    width: 50%; /* Default width of the white box */
    height: auto; /* Adjust height automatically to fit content */
    padding: 20px; /* Add padding for spacing inside the box */
    box-sizing: border-box; /* Ensure padding is included in the box size */
    text-align: left;
    margin-left: 5%;
    max-width: 90%;
}

.why-choose-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    letter-spacing: .01em;
!important;
    padding-left: 5%;
}

.why-choose-subheader {
    color: #2D2E83;
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: center;
    padding-top: 40px;
    letter-spacing: .01em;
!important;
    font-size: large;
    padding-left: 5%;
}

.why-choose-text {
    line-height: 1.8; /* Increase readability for detailed text */
    margin: 0; /* Consistent spacing */
    padding-bottom: 10px; /* Optional for spacing */
    font-size: 15px;
    font-family: "Roboto-Regular", sans-serif;
    padding-right: 5%;
    padding-left: 5%;
}

.gov-section {
    background-image: url('/Images/gov-reg.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    width: 100%; /* Full width of the screen */
    /*    height: 60vh; */
    display: flex;
    justify-content: flex-end; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    position: relative; /* Necessary for absolute positioning of the white box */
    padding: 40px 20px;

}

.gov-white-box {
    background-color: white; /* White background for the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Subtle shadow for better visibility */
    width: 50%; /* Default width of the white box */
    height: auto; /* Adjust height automatically to fit content */
    padding: 20px; /* Add padding for spacing inside the box */
    box-sizing: border-box; /* Ensure padding is included in the box size */
    text-align: left;
    max-width: 90%;
    margin-left: auto;
    margin-right: 2%;
    padding-left: 8%;
}

.gov-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    padding-left: 3%;
    letter-spacing: .01em;
!important;
}

.gov-text {
    line-height: 1.8; /* Increase readability for detailed text */
    margin: 0; /* Consistent spacing */
    padding-bottom: 10px; /* Optional for spacing */
    font-size: 15px;
    font-family: "Roboto-Regular", sans-serif;
    padding-right: 15%;
    padding-left: 3%;
}

footer {
    height: auto;
    /*    background-color: #ECEDF0;*/
    background-color: rgb(236, 237, 240, 0.8);
    /*    background: linear-gradient(to bottom, #88cdd3, #8a9eaa);*/
    padding: 40px 0;
    text-align: center;
    margin-top: 20px;
    font-family: "Roboto-Regular", sans-serif;
}

.blue-bar {
    background-color: #88CDD3;
    height: 5px;
}

.footer-header {
    font-family: 'PhosphateSolid', 'Roboto', sans-serif;
    font-size: 20px;
    letter-spacing: .01em;
!important;
    font-weight: bold;
    margin-bottom: 15px;
    color: #88CDD3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0);
}

@media (max-width: 1200px) {
    .navbar-top {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 8px;
    }

    .logo-class {
        justify-content: center;
        flex: none;
    }

    .search-bar {
        justify-content: center;
        width: 100%;
    }

    .search-box input {
        font-size: 14px;
        padding: 6px 12px;
    }

    .navbar-bottom {
        flex-direction: column;
        align-items: center;
        padding: 5px;
        gap: 5px;
    }

    .transparent-button {
        font-size: 16px;
        padding: 6px 12px;
        width: 100%;
        justify-content: center;
    }

    .blank {
        display: none;
    }

    .containercategory, .sustainability-subheader {
        grid-template-columns: repeat(3, 1fr);
    }

    .header, .subcat-header {
        font-size: 40px;
    }

    .header, .count-header {
        font-size: 20px;
    }

    .caption {
        font-size: 60px;
    }

    .help-button {
        width: 180px; /* Reduce button width for medium screens */
        padding: 12px; /* Adjust padding */
        font-size: 18px; /* Slightly smaller font size */
    }

    .background-info, .about-info {
        grid-template-columns: 1fr 1fr; /* Adjust to equal columns for better fit */
        gap: 30px; /* Reduce gap size */
    }

    .info-img, .video, .sustain-video {
        min-height: 250px; /* Adjust image and video height for smaller screens */
    }

    .info-text, .about-text, .sustainability-text {
        padding: 15px; /* Add some padding for spacing */
        text-align: justify; /* Justify text for better readability */
    }

    .info-header, .about-header, .sustainability-header {
        font-size: 1.8rem; /* Slightly reduce header font size */
    }

    .producers-container img {
        height: 8vh; /* Slightly larger height for smaller screens */
        margin-right: 15px; /* Adjust spacing between images */
    }

    .producers-wrapper {
        animation-duration: 35s; /* Slower animation for readability */
    }

    .white-box {
        width: 80%; /* Increase box width slightly */
        padding: 20px; /* Maintain padding */
    }

    .why-choose-header {
        font-size: 22px; /* Adjust header size */
    }

    .gov-section {
        padding: 30px 15px; /* Adjust padding for large screens */
    }

    .gov-white-box {
        width: 60%; /* Slightly increase box width */
        padding: 20px; /* Maintain padding */
    }

    .gov-header {
        font-size: 20px; /* Adjust header font size */
    }

    .gov-text {
        font-size: 14px; /* Adjust text size */
    }
}


/* Medium screens (max-width: 768px) */
@media (max-width: 768px) {
    .header{
        margin-top: 200px!important;
    }
    .navbar-top {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 8px;
    }

    .logo-class {
        justify-content: center;
        flex: none;
    }

    .search-bar {
        justify-content: center;
        width: 100%;
    }

    .search-box input {
        font-size: 14px;
        padding: 6px 12px;
    }

    .navbar-bottom {
        flex-direction: column;
        align-items: center;
        padding: 5px;
        gap: 5px;
    }

    .transparent-button {
        font-size: 16px;
        padding: 6px 12px;
        width: 100%;
        justify-content: center;
    }

    .blank {
        display: none;
    }

    /*.search-box input {*/
    /*    width: 90%; !* Slightly smaller width for smaller screens *!*/
    /*    max-width: none;*/
    /*    font-size: 14px; !* Smaller font size on very small screens *!*/
    /*    padding: 6px;*/
    /*}*/
    /*    .search-box input::placeholder {*/
    /*        font-size: 14px; !* Reduce font size for medium screens *!*/
    /*    }*/
    .containercategory, .sustainability-subheader {
        grid-template-columns: repeat(2, 1fr); /* Single-column layout */
    }

    .white-overlay {
        margin-bottom: 10px;

    }

    .backgroundmenu {
        width: 90%; /* Adjust width for smaller screens */
        padding: 15px;
    }

    .header, .subcat-header {
        font-size: 28px; /* Adjust header size */
    }

    .caption {
        font-size: 16px; /* Adjust caption size */
    }


    .caption {
        font-size: 40px;
    }

    .help-button {
        width: 150px; /* Narrower button for smaller screens */
        padding: 10px; /* Reduce padding further */
        font-size: 16px; /* Smaller font size */
    }

    /* Ensure elements stack properly */
    .background-info,
    .info-img,
    .info-text,
    .about-info,
    .how-to-info,
    .how-to-text,
    .about-text,
    .video,
    .sustain-video,
    .sustainability {
        display: flex; /* Flexbox container */
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Full width of the screen */
        padding: 0;
        margin: 0;
    }

    /* Individual order for stacking */
    .background-info {
        order: 1;
    }

    .info-img {
        order: 2;
        min-height: 200px;
    }

    .info-text, .sustainability-text {
        order: 3;
        padding: 10px;
        text-align: justify;
    }

    .about-text, .how-to-text {
        order: 4;
        padding: 10px;
        text-align: justify;
    }

    .video {
        order: 5;
        min-height: 200px;
        width: 100%; /* Full width of the screen */
    }

    /*.producers-container img {*/
    /*    height: 10vh; !* Larger height to make images more visible *!*/
    /*    margin-right: 10px; !* Reduce spacing between images *!*/
    /*}*/
    /*.producers-wrapper {*/
    /*    animation-duration: 40s; !* Slower animation for readability *!*/
    /*    display: flex;*/
    /*    flex-wrap: wrap;*/
    /*    justify-content: center;*/
    /*}*/
    .producers-container {
        display: flex;
        overflow: hidden;
        justify-content: flex-start;
    }

    .producers-wrapper {
        display: flex;
        flex-wrap: nowrap;
        animation: scroll 60s linear infinite;
        width: max-content;
    }

    .producers-wrapper a {
        display: block;
    }

    .producers-wrapper img {
        width: 12%;
        height: 6vh;
        margin-right: 100px;
        object-fit: contain;
    }
}

.producer-item {
    display: inline-block;
}

.producer-item a {
    text-decoration: none;
    display: block;
}

.producer-item img {
    display: block;
    max-width: 100%;
    height: auto;
    /* If you need specific size, uncomment and adjust these: */
    /* width: 150px; */
    /* height: 150px; */
    object-fit: contain;
}

.producer-logo {
    display: inline-block;
}

.white-box {
    width: 90%; /* Expand width to make better use of space */
    padding: 15px;
}

.why-choose-header {
    font-size: 20px;
    text-align: left; /* Center-align text on smaller screens */
}

.why-choose-text {
    font-size: 14px;
    text-align: justify; /* Justify text for better readability */
}

.gov-section {
    padding: 20px 10px; /* Reduce padding for medium screens */
}

.gov-white-box {
    width: 75%; /* Increase width for better content visibility */
    padding: 15px; /* Adjust padding */
}

.gov-header {
    font-size: 18px; /* Adjust header font size */
    text-align: center; /* Center header for smaller screens */
}

.gov-text {
    font-size: 13px; /* Smaller text for better readability */
}



/* Small screens (max-width: 500px) */
@media (max-width: 500px) {
 
    .navbar-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
    }
    .header{
        margin-top: 200px!important;
    }

    .logo-class {
        justify-content: center;
        flex: none;
    }

    .search-bar {
        justify-content: center;
        width: 100%;
    }

    .navbar-bottom {
        justify-content: center;
        flex-wrap: wrap;
        padding: 5px 10px;
        padding-bottom:20px!important;
    }

    .transparent-button {
        font-size: 16px;
        padding: 8px;
    }

    .blank {
        display: none;
    }

    /*.search-box input {*/
    /*    width: 100%; !* Full width on very small screens *!*/
    /*    font-size: 12px; !* Further reduce font size *!*/
    /*    padding: 5px 10px;*/
    /*}*/
    /*this doesn't work!!*/
    .search-box input[type="text"]::placeholder {
        font-size: 12px !important;
        color: greenyellow !important;
    }

    .containercategory, .sustainability-subheader {
        grid-template-columns: repeat(1, 1fr); /* Single-column layout */
        gap: 20px; /* Reduce gap between cards */
    }

    .white-overlay {
        margin-bottom: 10px;
    }

    .backgroundmenu {
        width: 95%; /* Maximize space on mobile */
        padding: 10px;
    }

    .custom-card {
        padding: 8px;
    }

    .header, .subcat-header {
        font-size: 24px; /* Further reduce header size */
    }

    .caption {
        font-size: 14px; /* Further reduce caption size */
    }

    .caption {
        font-size: 30px;
    }

    .help-button {
        width: 100%; /* Full width button for very small screens */
        padding: 10px; /* Maintain reasonable padding */
        font-size: 14px; /* Even smaller font size */
    }

    /* Ensure elements stack under each other */
    .background-info,
    .info-img,
    .info-text,
    .about-info,
    .video,
    .about-text,
    .sustainability,
    .sustain-video {
        display: flex; /* Flexbox container */
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Ensure full width of the screen */
        padding: 0; /* Remove extra padding */
        margin: 0; /* Remove default margins */
    }

    /* Individual order for stacking */
    .background-info {
        order: 1;
    }

    .info-img {
        order: 2;
        min-height: 200px; /* Adjust height for smaller screens */
    }

    .info-text {
        order: 3;
        padding: 10px;
        text-align: justify;
    }

    .about-text {
        order: 4;
        padding: 10px;
        text-align: justify;
    }

    .video {
        order: 5;
        min-height: 200px;
        width: 100%; /* Full width of the screen */
    }

    /*.producers-container {*/
    /*    display: block; !* Stack the images vertically *!*/
    /*    overflow: visible; !* No need for hidden overflow *!*/
    /*}*/
    /*.producers-wrapper {*/
    /*    animation: none; !* Disable animation *!*/
    /*    display: block; !* Stack images one below another *!*/
    /*}*/
    /*.producers-container img {*/
    /*    width: 50%;*/
    /*    height: 40px; !* Adjust height based on image ratio *!*/
    /*    margin-bottom: 20px; !* Add space between images *!*/
    /*}*/
    .producers-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }

    .producers-wrapper {
        display: flex;
        flex-wrap: wrap;
        animation: none;
        justify-content: center;
        width: 100%;
    }

    .producers-wrapper a {
        flex: 1 1 45%; /* Two per row */
        max-width: 45%;
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    .producers-wrapper img {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }

    .duplicate {
        display: none;
    }

    .why-choose-section {
        padding: 30px 10px; /* Reduce padding for small screens */
    }

    .white-box {
        width: 95%; /* Almost full width */
        padding: 10px;
    }

    .why-choose-header {
        font-size: 18px;
        text-align: left;
    }

    .gov-section {
        padding: 20px 5px; /* Further reduce padding */
    }

    .gov-white-box {
        width: 90%; /* Almost full width for small screens */
        padding: 10px; /* Reduce padding for better fit */
        margin: auto;
    }

    .gov-header {
        font-size: 16px; /* Smaller header font size */
        text-align: center; /* Center header text */
    }

    .gov-text {
        font-size: 12px; /* Adjust text size for readability */
    }

    footer {
        padding: 30px 15px;
        text-align: left;
    }

    footer > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left;
    }

    footer div[style*="max-width: 1200px"] > div {
        width: 100% !important;
        padding: 10px 0 !important;
    }

    .footer-header {
        font-size: 18px;
        text-align: left;
    }

    footer p,
    footer a {
        font-size: 14px !important;
        text-align: left;
    }

    footer i {
        font-size: 24px !important;
        margin: 10px;
    }

    /* Bottom section layout */
    footer div[style*="padding-top:30px"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 15px !important;
        gap: 15px;
        text-align: left;
    }

}


.reveal {
    position: relative;
    opacity: 0;
}

.reveal.active {
    opacity: 1;
}

.active.fade-bottom {
    animation: fade-bottom 1s ease-in;
}

.active.fade-left {
    animation: fade-left 1s ease-in;
}

.active.fade-right {
    animation: fade-right 1s ease-in;
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-right {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.fixed-link {
    position: fixed; /* Fixes the position relative to the viewport */
    bottom: 100px; /* Distance from the top of the viewport */
    right: 10px; /* Distance from the right of the viewport */
    background-color: #94CACE; /* Background color for visibility */
    color: white; /* Text color */
    padding: 10px 15px; /* Padding around the text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    display: none;
    cursor: pointer;
}

/*.custom-card {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;*/
/*    background-color: #92C7D0;*/
/*display: flex;
flex-direction: column;
align-items: center;
background-color:red;
}

.custom-card:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    background-color: #F49C04;
    cursor: pointer;
}

.custom-card-header {
font-size: 20px;
color: #2D2E83;
font-weight: bold;
z-index: 1;
}

.custom-card-content {
font-size: 16px;
color: #2D2E83;
}

.img-card {
width: 30px;
height: 30px;
padding-left: 30px;
}*/

