:root {
    --fontFamily-primary: 'Public Sans', system-ui, sans-serif;
    --fontFamily-secondary: 'Barlow', system-ui, sans-serif;
    /* --color-primary: #2ECC71; */
    --color-primary: #1A5945;
    --color-primary-rgb: 26, 89, 69;
    --color-secondary: #34495E;
    --color-accent: #E67E22;
    --color-background: #f4f6f8;
    --color-text: #2C3E50;
    --color-light: #ECF0F1;
    --color-dark: #2C3E50;
    --text-muted: #636E72;
    --max-width: 1300px;
    --border-radius: 5px;
    --transition: all 0.3s ease;
    --sectionPaddingTopMax: 140;
    --sectionPaddingMax: 140;
    --sectionPaddingTop: calc(var(--sectionPaddingTopMax)* 1px);
    --sectionPaddingBottom: calc(var(--sectionPaddingMax)* 1px);
    --nav-height: 75px;
    --navPaddingHorizontalMax: 62;
    --navPaddingVerticalMax: 25;
    --navPaddingHorizontal: calc(var(--navPaddingHorizontalMax)* 1px);
    --navPaddingVertical: calc(var(--navPaddingVerticalMax)* 1px);
    --palette-background-defaultChannel: 244 246 248;
    --palette-background-default: #F4F6F8;
    --stroke-dasharray: 3;
    --stroke-spacing: 80px;
    --hero-line-stroke-width: 2;
    --hero-line-stroke-color: rgba(128, 128, 128, 0.32);
    --palette-grey-500: #919EAB;
    --palette-text-disabled: #919EAB;
    --horizontal-line-position: calc(var(--navPaddingHorizontal) - 10px);

    --glider-bg: #1A5945;
    /* Color of active tab */
    --tab-width: 200px;
    --tab-height: 54px;
    --glider-margin: 2.5px;
    /* Adjust margin */
    --transition-speed: 0.3s ease-in-out;
}

@media (max-width: 1200px) {
    :root {
        --navPaddingHorizontalMax: 40;
        --navPaddingVerticalMax: 22;
        --sectionPaddingTopMax: 70;
        --sectionPaddingMax: 90;
        --horizontal-line-position: calc(var(--navPaddingHorizontal) / 2);
        --tab-width: calc(50vw - var(--navPaddingHorizontal));
    }
}

.container-lines {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - var(--nav-height));
    z-index: -1;
}

.svg {
    width: 100%;
    height: 100%;
}

.bg-img {
    /* background-image: url('assets/hero-blur.webp'), linear-gradient(180deg, var(--palette-background-default) 12%, rgba(var(--palette-background-defaultChannel) / 0.96) 50%, var(--palette-background-default) 88%), url('assets/background-3.webp'); */
    background-image: linear-gradient(180deg, var(--palette-background-default) 12%, rgba(var(--palette-background-defaultChannel) / 0.90) 50%, var(--palette-background-default) 88%), url('assets/background-3.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
}

/* Horizontal Lines */
.hero-line {
    stroke: var(--hero-line-stroke-color);
    stroke-dasharray: var(--stroke-dasharray);
    stroke-width: var(--hero-line-stroke-width);
    stroke-opacity: .5;
    transform: translateY(calc((var(--index) * var(--stroke-spacing)) * -1));
}

/* Vertical Lines */
.hero-line-vertical {
    stroke: var(--hero-line-stroke-color);
    stroke-dasharray: var(--stroke-dasharray);
    stroke-width: var(--hero-line-stroke-width);
    stroke-opacity: .5;
    transform: translateX(calc((var(--index) * var(--stroke-spacing)) * -1));
}

.circle-svg {
    top: 100px;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: 550px;
    color: var(--palette-grey-500);
    position: absolute;
    stroke-dasharray: var(--stroke-dasharray);
}

.arrows-down-svg {
    display: flex;
    flex-direction: column;
    gap: 64px;
    top: 300px;
    left: var(--horizontal-line-position);
    -webkit-box-align: center;
    align-items: center;
    position: absolute;
    transform: translateX(-50%);
}

.arrows-down-svg-1 {
    display: flex;
    flex-direction: column;
    gap: 64px;
    top: 1700px;
    left: var(--horizontal-line-position);
    -webkit-box-align: center;
    align-items: center;
    position: absolute;
    transform: translateX(-50%);
}

.arrow {
    z-index: 2;
    color: var(--palette-grey-500);
    position: static;
}

.arrow path {
    fill: currentcolor;
    stroke: currentcolor;
}

.arrow-small {
    width: 20px;
    height: 10px;
    opacity: 0.12;
}

.arrow-big {
    width: 30px;
    height: 15px;
    opacity: 0.24;
}


.svg-lines {
    z-index: 1;
    color: var(--palette-grey-500);
    position: absolute;
    width: 100%;
    height: 1px;
    opacity: 0.5;
}

.svg-line {
    stroke-dasharray: var(--stroke-dasharray);
    stroke: currentColor;
    /* stroke-width: var(--hero-line-stroke-width); */
}

.svg-line-about-top {
    top: calc(var(--sectionPaddingTop) / 2 - 1px);
    left: 0px
}

.svg-line-about-bottom {
    bottom: calc(var(--sectionPaddingTop) / 2 - 1px);
    left: 0px
}

.svg-line-tabs-top {
    top: calc(var(--sectionPaddingTop) / 2 + var(--tab-height) - 1px);
    left: 0px;
}

.svg-plus-about-bottom {
    bottom: calc(var(--sectionPaddingTop) / 2 - 8px);
    left: calc(var(--horizontal-line-position) - 8px);
}

.svg-plus-tabs-bottom {
    top: calc(var(--sectionPaddingTop) / 2 + var(--tab-height) - 9px);
    left: calc(var(--horizontal-line-position) - 8px);
}

.svg-line-benefits-bottom {
    bottom: 80px;
    left: 0px;
}

.svg-lines-horizontal {
    z-index: 1;
    color: var(--palette-grey-500);
    position: absolute;
    width: 1px;
    height: 100%;
    opacity: 0.5;
    top: 0px;
    left: var(--horizontal-line-position);
}

.svg-plus {
    z-index: 2;
    color: var(--palette-grey-500);
    position: absolute;
    width: 16px;
    height: 16px;
}

.svg-plus path {
    fill: currentcolor;
    stroke: currentcolor;
}

.svg-plus-about-top {
    top: calc(var(--sectionPaddingTop) / 2 - 8px);
    left: calc(var(--horizontal-line-position) - 8px);
}


.mini-title-section {
    font-family: var(--fontFamily-primary);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--palette-text-disabled);
    margin-bottom: 24px;
}

.gradient-text {
    background-image: linear-gradient(to right, rgb(0 0 0 / 67%), rgb(0 0 0 / 32%));
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    /* Vendor prefix for WebKit-based browsers (Chrome, Safari, Edge) */
    color: transparent;
    /* Make the text color transparent to show the gradient */
    opacity: 0.9;
    /* Optional: You can control the opacity here */
}

.content {
    position: relative;
    background-color: var(--color-background);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) - var(--sectionPaddingTop) / 2);
    /* overflow-x: hidden; */
}

body {
    font-family: var(--fontFamily-primary);
    line-height: 1.6;
    background-color: #f7f7f7;
    overflow-x: hidden;
}

button {
    font-family: var(--fontFamily-primary);
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    color: #1c252e;
    font-family: var(--fontFamily-secondary);
    font-weight: 700;
}


h1 {
    font-size: clamp(2.3rem, 5vw, 3.7rem) !important;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    position: relative;
    padding-bottom: 1rem;
}

/* h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
} */

p {
    font-family: var(--fontFamily-primary)
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
        opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background Layer (Initially Hidden) */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    backdrop-filter: blur(6px);
    background-color: rgba(var(--palette-background-defaultChannel), 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
        visibility 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* When Scrolled - Apply Background */
header.scrolled::before {
    opacity: 1;
    visibility: visible;
}

.nav-container {
    height: var(--nav-height);
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--navPaddingHorizontal);
}


nav {
    display: flex;
    user-select: none;
}

.nav-links {
    display: flex;
    list-style-type: none;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: #313131;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-links a::before {
    opacity: 0;
    scale: 0;
    width: 6px;
    height: 6px;
    left: -12px;
    content: "";
    border-radius: 50%;
    position: absolute;
    /* background-color: var(--color-primary); */
    background-color: var(--palette-text-disabled);
    -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, scale 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, scale 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.nav-links a:hover::before {
    opacity: 1;
    scale: 1;
}

.nav-links a.active::before {
    opacity: 1;
    scale: 1;
    background-color: var(--color-primary);
}

.nav-links a.active {
    color: var(--color-primary);
}


.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 22px;
    width: 28px;
    cursor: pointer;
    z-index: 1;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background-color: #313131;
    transition: 0.3s ease;
}



@media (max-width: 768px) {

    nav {
        display: none;
        z-index: 100;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: #ffffff;
    }

    /* Backdrop for the navigation menu */
    .nav-backdrop {
        display: none;
        /* Initially hidden */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        /* Semi-transparent black */
        z-index: 4;
        /* Ensure it is behind the nav menu but above other content */
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    header:has(.menu-toggle:checked) {
        background-color: rgb(255, 255, 255);
    }

    .menu-toggle:checked+.hamburger .bar:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 7.5px;
    }

    .menu-toggle:checked+.hamburger .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked+.hamburger .bar:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -7.5px;
    }

    .menu-toggle:checked~nav {
        display: flex;
    }

    .circle-svg {
        top: 280px;
        width: 90vw;
    }
}

.left-hero {
    align-self: center;
}

.app-demo {
    position: relative;
    margin-top: 55px;
    left: 140px;
    z-index: 2;
}

.app-demo img {
    max-height: 536px;
}



.dashboard-demo {
    position: absolute;
    top: 0;
    z-index: 1;
    left: 254px;
    display: grid;
    grid: auto / 132px 1fr;
    gap: 5px;
    min-width: 975px;
    padding: 24px 0 24px 24px;
    border-radius: 8px;
    background: linear-gradient(hsla(0, 0%, 100%, .4), hsla(0, 0%, 100%, .3) 25%, rgba(246, 249, 252, .3) 50%, #f6f9fc 60%);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .1), 0 50px 100px -20px rgba(50, 50, 93, .25), 0 10px 20px -30px rgba(0, 0, 0, .3);
    font-weight: 300;
    letter-spacing: .2px;
    line-height: 14px;
    color: #425466;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.dashboard-demo p {
    font-size: 11px;
    color: #1a59459e;
    font-weight: 500;
    text-transform: uppercase;
}

.dashboard-demo img {
    max-height: 500px;
    border-radius: 20px;
}


.green-title {
    color: rgba(var(--color-primary-rgb), 0.9);
}

.custom-nav {
    position: fixed;
    width: 100%;
    /* background-color: #F9FFFA; */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4em;
    z-index: 999;
    transition: all 0.3s ease;
}


.scrolled {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #ffffffb9;
}

.custom-nav a {
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    padding: 0 1em;
    font-family: var(--fontFamily-secondary);
    font-weight: 500;
    font-size: 12px;
}

.logo {
    width: 110px;
}


#hero {
    overflow: hidden;
    /* min-height: calc(100vh - var(--nav-height)); */
    display: flex;
    align-items: center;
    position: relative;
}


#hero .hero-content {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: var(--nav-height) var(--navPaddingHorizontal);
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
}



#hero-image {
    width: 100%;
    /* Full width */
    height: 300px;
    margin-top: 1.5rem;
}

#hero-image svg {
    max-width: 100%;
    /* Ensure the SVG does not exceed the width of its container */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Remove any inline spacing */
    margin: 0 auto;
    /* Center the SVG */
}

p {
    font-size: 1.1rem;
    color: var(--color-text);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

#top-nav {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}


#about-section {
    padding: var(--sectionPaddingTop) var(--navPaddingHorizontal);
    max-width: var(--max-width);
    display: flex;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

#about-section .container {
    max-width: 900px;
}

#about-section .container h2 {
    text-align: center;
}

#benefits-section {
    position: relative;
    display: flex;
    gap: 15px;
    /* align-items: center; */
    justify-content: center;
    padding-bottom: var(--sectionPaddingBottom);
}

#benefits-section p {
    max-width: 550px;
}

#menu-svg {
    padding-top: 2rem;
    text-align: center;
}




.benefit-card {
    padding: 1.5rem;
    max-width: 600px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
    position: relative;
}

.floating-img-tomato {
    position: absolute;
    top: 20%;
    left: 15%;
}

.floating-img-apple {
    position: absolute;
    top: 40%;
    left: 30%
}

.floating-img-bread {
    position: absolute;
    top: 15%;
    right: 10%
}

.floating-img-watermelon {
    position: absolute;
    top: 80%;
    right: 30%
}

.floating-img-strawbery {
    position: absolute;
    top: 70%;
    left: 10%
}

.floating-img-hero {
    position: absolute;
    max-width: 40px;
    opacity: .5;
}

.floating-fermier {
    top: 10%;
    left: 5%;
}

.floating-brutar {
    top: 26.6%;
    left: 25%;
}

.floating-consumator {
    top: 43.2%;
    left: 5%;
}

.floating-pomicultor {
    top: 59.8%;
    left: 25%;
}


.floating-apicultor {
    top: 10%;
    right: 5%;
}

.floating-pescar {
    top: 26.6%;
    right: 25%;
}

.floating-viticultor {
    top: 43.2%;
    right: 5%;
}

.floating-cioban {
    top: 59.8%;
    right: 25%;

}


.floating-transparenta {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}


.benefits-section-example {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}


.benefits-section-example>* {
    padding: 50px;
    border-radius: 10px;
    margin-bottom: var(--sectionPaddingBottom);
}


.horizontal-sliders {
    display: flex;
    flex-direction: column;
    /* flex-wrap: nowrap; */
    width: 100%;
}

.horizontal-item {
    padding-bottom: var(--sectionPaddingBottom);
}

.slide-text {
    max-width: 500px;
}

.container-card {
    background-color: #fff;
    box-shadow: 0px 5px 10px 2px #e0e0e0
}

.container-card img {
    max-height: 100%;
    width: 100%;
    max-width: 900px;
}




/* Newsletter Section */
.newsletter-section {
    max-width: 1200px;
    background: #fff;
    border-radius: 20px;
    margin: 2rem auto;
    padding: 3rem 2rem;
}

.newsletter-form .form-control {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #2D3436;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.role-selector {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-option input[type="radio"] {
    display: none;
}

.role-option label {
    padding: 0.65rem 1.3rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-option input[type="radio"]:checked+label {
    background: rgba(var(--color-primary-rgb), 0.8);
    color: white;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: rgba(var(--color-primary-rgb), 0.8);
    border-color: rgba(var(--color-primary-rgb), 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 85, 61, 0.2);
}


.button {
    background-color: transparent;
    color: #000;
    min-width: 11.5em;
    height: 2.9em;
    border: var(--color-primary) 0.1em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.4s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.button:hover {
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
}

.button:hover svg {
    color: #fff;
}

.button svg {
    width: 1.4em;
    margin-left: .5em;
    /* position: absolute; */
    /* display: flex; */
    transition: all 0.4s ease;
    color: #000;
}

.button:hover svg {
    transform: translateX(5px);
}

.text {
    margin: 0 1em
}



@media (max-width:960px) {
    #benefits-section {
        flex-direction: column;
        align-items: center;
    }

    .arrow-small {
        width: 18px;
        height: 8px;
    }

    .arrow-big {
        width: 28px;
        height: 12px;
    }

}

@media (max-width: 768px) {

    .right-hero {
        margin-top: 30px;
    }

    .app-demo {
        left: 0px;
    }

    .app-demo img {
        max-height: 336px;
    }

    .dashboard-demo {
        left: 20px;
    }

    .dashboard-demo img {
        max-height: 320px;
    }

    #hero .hero-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .benefit-card {
        padding: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: .8rem;
    }


    .newsletter-section {
        margin: 2rem auto;
        /* Reduced margin */
        padding: 2rem 1rem;
        /* Reduced padding */
    }


    .benefits-section-example>* {
        height: auto;
        padding: 20px;
    }

    .custom-nav {
        justify-content: center;
        padding: 0 .5em;
        height: 100px;
    }

    .logo {
        width: 100px;
    }

    .nav-items {
        margin-top: -30px;
    }

}


.custom-badge {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    /* Green badge */
    border-radius: 50%;
}

.custom-badge.left {
    left: 0;
    transform: translate(-50%, -50%);
}

.custom-badge.right {
    right: 0;
    transform: translate(50%, -50%);
}

footer {
    position: relative;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tabs {
    display: flex;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(112, 112, 112, 0.2);
    position: relative;
    width: calc(2 * var(--tab-width));
    overflow: hidden;
    height: var(--tab-height);
}

.tab {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    transition: color var(--transition-speed);
    /* position: relative; */
    align-items: center;
    justify-content: center;
    display: flex
}

.glider {
    position: absolute;
    padding: 8px 16px;
    height: calc(var(--tab-height) - var(--glider-margin) * 4);
    /* Reduced height */
    width: calc(var(--tab-width) - var(--glider-margin) * 2);
    /* Reduced width */
    background: var(--glider-bg);
    border-radius: 8px;
    top: 50%;
    left: var(--glider-margin);
    /* Adds margin */
    transform: translateY(-50%);
    transition: transform var(--transition-speed), background var(--transition-speed);
    z-index: 1;
}

/* Move the glider background */
#producers-tab:checked~.tabs .glider {
    transform: translateX(calc(0% + var(--glider-margin))) translateY(-50%);
}

#consumers-tab:checked~.tabs .glider {
    transform: translateX(calc(100% + var(--glider-margin))) translateY(-50%);
}



/* Change text color to white when active */
#producers-tab:checked~.tabs label[for="producers-tab"],
#consumers-tab:checked~.tabs label[for="consumers-tab"] {
    color: white;
}

/* Hide all tab content by default */
.tab-content-container {
    padding: 0 var(--navPaddingHorizontal) 0 var(--navPaddingHorizontal);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.tab-content {
    padding-top: var(--sectionPaddingTop);
    display: none;
    opacity: 0;
    transform: translateX(500px);
    /* Start position for animation */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Show active tab content */
#producers-tab:checked~.tab-content-container #producers-content,
#consumers-tab:checked~.tab-content-container #consumers-content {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Smooth sliding effect when switching tabs */
#producers-tab:checked~.tab-content-container #producers-content {
    animation: fadeIn 0.4s ease-in-out;
}

#consumers-tab:checked~.tab-content-container #consumers-content {
    animation: fadeIn 0.4s ease-in-out;
}

/* Sliding animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        /* transform: translateX(-200px); */
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Hide radio buttons */
input[type="radio"] {
    display: none;
}

.dashboard-nav-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    width: 100%;
    /* Ensure it takes full width */
    max-width: 550px;
    /* Controls overall width */
    /* margin: 0 auto; */
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.dashboard-nav-item {
    border-radius: 10px;
    min-width: 210px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}



/* Container for images */
.image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* 3 equal columns, responsive */
    gap: 50px;
    /* Space between the images */
    width: 100%;
    /* Full width */
    margin: 0 auto;
    /* Centering the container */
    padding-bottom: var(--sectionPaddingBottom);
}

/* Style for each image */
.image-item {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Ensures image fills the space without stretching */
    max-height: 65vh;
}

/* Optional: Add a responsive rule for smaller screens */
@media (max-width: 768px) {
    .image-container {
        grid-template-columns: 1fr;
        /* Stack images vertically on smaller screens */
        align-items: center;
        /* Center the images */
    }

    .image-item {
        max-height: 55vh;
    }
}