/* static fonts */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../assets/font/inter/Inter-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../assets/font/inter/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../assets/font/inter/Inter-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../assets/font/inter/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../assets/font/inter/Inter-Bold.woff2") format("woff2");
}


@font-face {
    font-family: 'Marcellus';
    src: url('../assets/font/marcellus/Marcellus-Regular.woff2') format('woff2'),
        url('../assets/font/marcellus/Marcellus-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



:root {
    --primary: #F3E7DD;
    --secondary: #113D3C;
    --highlight: #F3BA91;
    --foreground: #FFFFFF;
    --radius-sm: 8.021px;
    --radius: 21px;
    --radius-lg: 33.979px;
    --border: rgba(58, 138, 137, 0.14);
    --gap: 30px;
    /* Added to harmonize identifier UI with site theme */
    --radius-md: 14px;
    --accent: var(--highlight);
    --text-primary: var(--secondary);
    --text-secondary: rgba(17, 61, 60, 0.8);
    --border-color: var(--border);
}

::-webkit-scrollbar {
    width: 2px;
    border-radius: 3px;
    background-color: #F5F5F5;
    margin-right: -15px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border: 0px solid var(--border-color);
    border-radius: 3px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--primary);
    color: var(--secondary);
    margin: 0;
    padding: var(--gap);
    font-style: normal;
    font-weight: 400;
    font-kerning: normal;
    font-feature-settings: "liga", "kern";
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

header {
    display: flex;
    width: 100%;
    height: calc(100dvh - var(--gap)*2 - 150px);
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius);
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    box-shadow: 0 0 100px 20px inset rgba(7, 34, 33, 0.779);
}

main {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
}

.menu.secondary {
    border-bottom: 1px solid var(--border);
    padding: 20px;
}

.menu .logo svg {
    width: 39px;
}

.menu nav {
    display: flex;
    align-items: center;
    gap: var(--gap);
    z-index: 999;

}

.menu nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;

    gap: var(--gap);
}

.menu nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    transition: all ease-out 300ms;
    font-family: "Marcellus", serif;

}

.menu nav ul li a:hover {
    opacity: 0.7;
}

.menu nav .language-switch {
    padding: 5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    cursor: pointer;
}

.menu nav .language-switch span {
    font-family: "Marcellus", serif;
}


.menu nav .language-switch i {
    margin-left: 9px;
}

.container {
    display: flex;
    position: relative;
    height: 100%;
    max-width: 1100px;
}

.hero {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 50px;
    width: 100%;
}

.hero .half {
    flex-grow: 1;
    position: relative;
}

.hero .half.left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 50%;
    height: 100%;
}

.hero .half.right {
    flex-grow: 1;
    width: 50%;
    height: 100%;
    margin-bottom: calc(-2*(var(--gap)));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero .half.right span {
    bottom: 0px;
    display: block;
    background-color: var(--primary);
    min-height: 550px;
    width: 320px;
    border-radius: var(--radius);
}

.hero .half.right .home-phone {
    min-height: 550px;
    width: 450px;
    position: relative;
}

.hero .hero-title {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.hero .hero-title h1 {
    font-size: 100px;
    width: 90%;
    line-height: 100px;
    font-weight: 600;
    letter-spacing: -3px;
    margin-top: -75px;
}

.hero .hero-title p {
    width: 80%;
    font-weight: 500;
    font-size: 18px;
}

.hero .hero-title .stores {
    display: flex;
    gap: 15px;
   
}

.hero .hero-title .stores img {
    opacity: 0.7;
}

.hero .hero-title .stores img:hover {
    opacity: 1;
}

.features {
    display: flex;
    gap: var(--gap);
    justify-content: space-between;
    margin-top: var(--gap);
}

.feature-card {
    flex-grow: 1;
    border-radius: var(--radius);
    min-height: 250px;
    position: relative;
    background-color: var(--secondary);
    overflow: hidden;
    cursor: pointer;
    transition: all ease-out 300ms;
}

.feature-card:hover {
    opacity: 0.9;
}

.feature-card span {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary);
    border-radius: var(--radius);
    padding: 5px 15px;
    color: var(--secondary);
    z-index: 3;
    font-size: 14px;
    line-height: 25px;
}
.feature-card span b {
    font-weight: 400;
}

.feature-card span i {
    font-size: 11px;
    margin-left: 10px;
}

.feature-card img {
    position: absolute;
    width: 110%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.feature-card::after {
    content: '';
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    background: rgb(5, 36, 35);
    background: linear-gradient(0deg, rgba(6, 37, 36, 1) 0%, rgba(6, 37, 36, 0) 50%);
    opacity: 0.8;
}

.filters {
    display: flex;
    width: 100%;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 10px 30px;
    font-weight: 500;
    font-size: 14px;
}

.filters .filter-title {
    opacity: 0.6;
}

.filters .filter-links {
    display: flex;
    gap: var(--gap);
}

.filters .filter-links a {
    font-weight: 400;
    opacity: 0.8;
}

.filters .filter-links a.selected {
    text-decoration: underline;
}

.plant-grid {
    width: 100%;
    flex-grow: 1;
    display: flex;
    gap: var(--gap);
    max-width: 1100px;
    flex-wrap: wrap;
    margin-top: var(--gap);
    align-items: center;
    justify-content: flex-start;
}

.plant-grid .plant {
    border: 1px solid var(--secondary);
    border-radius: var(--radius-sm);
    min-height: 200px;
    min-width: 300px;
    cursor: pointer;
    max-width: 31.5%;
    background-color: var(--secondary);
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.plant-grid .plant::after {
    content: '';
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    background: rgb(5, 36, 35);
    background: linear-gradient(0deg, rgba(6, 37, 36, 1) 0%, rgba(6, 37, 36, 0) 50%);
    opacity: 0.8;
}

.plant-grid .plant:hover .plant-img {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.plant-grid .plant .plant-img {
    position: absolute;
    width: 120%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 1;
    transition: all ease-out 300ms;
    opacity: 0.8;
}

.plant-grid .plant .plant-info {
    position: absolute;
    bottom: 0px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    z-index: 3;
}

.plant-grid .plant .plant-info .plant-name {
    font-size: 16px;
    background-color: var(--primary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
}

.plant-grid .plant .plant-info .plant-uses {
    gap: 9px;
    display: flex;
}

.plant-grid .plant .plant-info .plant-uses img {
    width: auto;
    height: 25px;
    filter: invert(1);
}

/* Plant Identifier Card Styles */
.plant-identifier-card {
    border: 2px solid var(--secondary) !important;
    background-color: var(--secondary) !important;
    background-image: url('../assets/background/feature_1.webp') !important;
    background-size: cover;
    background-position: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.plant-identifier-card::after {
    content: '';
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    background: rgb(5, 36, 35);
    background: linear-gradient(0deg, rgba(6, 37, 36, 1) 0%, rgba(6, 37, 36, 0) 50%);
    opacity: 0.8;
}

.plant-identifier-card:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.plant-identifier-card .identifier-icon-top {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--primary);
    z-index: 4;
}

.plant-identifier-card .plant-info {
    position: absolute;
    bottom: 0px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 3;
}

.plant-identifier-card .plant-info .plant-name {
    background-color: var(--primary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 400;
}

/* Popup Styles */
.popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1002;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background-color: var(--primary);
    padding: 20px;
    width: 100%;
    max-width: 900px;
    height: 700px;
    position: relative;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    text-align: left;
}

#details.tab-content.active {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

#details.tab-content.active span {
    display: flex;
    flex-grow: 1;
    gap: 15px;
    font-size: 14px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: -0.25px;
    min-height: 140px;
    flex-direction: column;
    min-width: 150px;
    line-height: 17px;
    background-color: rgba(0, 0, 0, 0.03);
}

#details.tab-content.active span i {
    margin-top: 3px;
    margin-bottom: -6px;
    min-width: 50px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: var(--radius-sm);
    padding: 5px;
    color: var(--secondary);
}

.main-image-container {
    position: relative;
    width: 80%;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.main-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

#plantScientificName {
    font-size: 14px;
    opacity: 0.8;
}

.popup-header h2 {
    margin: 20px 0 0 0;
    font-size: 2.4rem;
    color: var(--secondary);
    text-align: center;
    font-weight: 600;
    letter-spacing: -1px;
}

.popup-header p {
    text-align: center;
}

.close-btn i {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 123213;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    aspect-ratio: 1 / 1;
    height: 20px;
    font-size: 11px;
    align-content: center;
    text-align: center;
    border-radius: 15px;
    opacity: 0.2;
    backdrop-filter: blur(9px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1px 0 0 0;
    display: none;
}

.popup-tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    gap: 10px;
}

.tab-link {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 500;
    color: var(--secondary);
    gap: 10px;
    display: flex;
    align-items: center;
}

.tab-link i {
    margin-right: 6px;
}

.tab-link.active {
    background-color: var(--secondary);
    border-radius: var(--radius);
    color: var(--primary);
    margin: 3px;
}

.popup-tab-content {
    margin-top: 20px;
    width: 80%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    height: 300px;
    align-items: center;
    justify-content: center;
}

#plantUsages img,
#plantImages img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: var(--radius-sm);
}

.usage-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.usage-column {
    flex: 1;
    margin-right: 15px;
}

.usage-column:last-child {
    margin-right: 0;
}

.usage-column h4 {
    border-bottom: 2px solid var(--highlight);
    margin-bottom: 10px;
}

.usage-column div {
    margin-bottom: 10px;
}

/* Usages Tab Styles */
.usages-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
    height: 220px;
    overflow-y: auto;
}

.usages-wrapper::-webkit-scrollbar {
    width: 2px;
    border-radius: 3px;
    background-color: #F5F5F5;
    margin-right: -15px;
}

.usages-wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 3px;
}

.usages-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border: 0px solid var(--border-color);
    border-radius: 3px;
}

.usage-block {
    flex: 1 1 30%;
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    position: relative;
    transition: all ease-out 600ms;
    align-items: center;
    gap: 5px;
}

.usage-block h5 {
    border-radius: 4px;
    width: auto;
    margin: 15px 0 -12px 0;
}

.usage-block h4 {
    margin-top: 0;
    color: var(--secondary);
    padding: 5px;
    border-radius: 4px;
    background-color: var(--border);
    width: auto;
    letter-spacing: 1px;
    font-size: 14px;
    gap: 10px;
    display: flex;
    align-items: center;

}

.usage-block p {
    margin: 20px 0 0 0;
    font-size: 13px;
}

.usage-block p i {
    font-size: 11px;
}

.usage-block p strong {
    border: 1px solid var(--border);
    padding: 3px 5px;
    border-radius: 5px;
}

.usage-block .prep {
    color: var(--secondary);
    opacity: 0.6;
    font-size: 13px;
}

.usage-block .evidence {
    color: #007BFF;
    text-decoration: none;
    font-size: 12px;
}

.usage-block .evidence:hover {
    text-decoration: underline;
}

.usage-block .evidence i {
    margin-left: 5px;
}

#otherImagesContainer::-webkit-scrollbar {
    width: 2px;
    border-radius: 3px;
    background-color: #F5F5F5;
    margin-right: -15px;
}

#otherImagesContainer::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 3px;
}

#otherImagesContainer::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border: 0px solid var(--border-color);
    border-radius: 3px;
}

#otherImagesContainer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    overflow-y: auto;
    justify-content: center;
    margin-top: -10px;
    height: 220px;
    cursor: pointer;
    padding: 10px;
}

#otherImagesContainer img {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    max-height: 90px !important;
}

.usage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.show-more {
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 55px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--secondary);
    width: 25px;
    font-size: 10px;
    transition: all ease-out 300ms;
    color: var(--secondary);
}

.show-more:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.prep,
.evidence {
    margin-top: 5px;
}

.filter-groups,
.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-group {
    margin-left: 15px;
}

.filter-group-title {
    font-size: 12px;
}

/* Style for the dropdown buttons */
.filter-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    z-index: 9;
}

.filter-group .icon-title {
    display: flex;
    gap: 5px;
    align-items: center;
}

.filter-group i {
    font-size: 10px;
}

.filter-group h4 {
    font-size: 14px;
    font-family: "Marcellus", serif;

}

.filter-group select {
    background-color: rgba(0, 0, 0, 0.03);
    color: #333;
    padding: 0 5px;
    font-size: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 5px;
    font-size: 12px;
    max-width: 100px;
    display: flex;
    justify-content: space-between;
    height: 25px;
}

.usages-wrapper {
    margin-top: -20px;
}

.dictionary table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.dictionary th,
.dictionary td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.dictionary th {
    background-color: var(--secondary);
    color: white;

}

.dictionary th:first-of-type {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.dictionary th:last-of-type {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dictionary tr {
    transition: all ease 300ms;
}

.dictionary tr:hover {
    background-color: #f1f1f1;
}

.dictionary .audio-button {
    background-color: var(--secondary);
    border-radius: var(--radius-sm);
    color: var(--primary);
    border: none;
    padding: 7px 12px;
    cursor: pointer;
}

.dictionary .audio-button:hover {
    background-color: var(--secondary);
}

.dictionary #search {
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-sm);
}

.tools .containerx {
    max-width: 1200px;
    margin: 0 auto;
}

.tools .card {
    display: flex;
    border-radius: 20px;
    margin-bottom: 40px;
}

.tools .card.reverse {
    flex-direction: row-reverse;
}

.tools .card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.tools .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.tools .card-content {
    flex: 1;
    padding: 40px;
}

.tools .subtitle {
    color: var(--secondary);
    font-size: 12px;
    margin-bottom: 10px;
    background-color: var(--border);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
}

.tools .title {
    color: var(--secondary);
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.tools .description {
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.tools .download-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tools .download-btn i {
    font-size: 12px;
}

.tools .water-badge,
.tools .scan-badge,
.tools .dic-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--foreground);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: var(--secondary);
}

.tools .water-badge {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: auto;
}

.tools .dic-badge {
    top: auto;
    bottom: 30px;
    right: auto;
    left: 20px;
}

.tools .water-icon,
.tools .scan-icon,
.tools .dic-icon {
    margin-right: 8px;
}


.filters h3 {
    margin-top: -2px;
}

.like-filters {
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    background-color: var(--foreground);
    color: var(--secondary);
    padding: 10px;
    gap: 10px;
    border-radius: 5px 0 0 0;
    z-index: 9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.like-filters .vertical-line {
    height: 100%;
    max-width: 1px;
    background-color: var(--secondary);
    display: block;
    z-index: 99;
    opacity: 0.2;
}

/* .login {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 3px 6px;
    align-content: center;
}

.login i {
    font-size: 11px;
    margin-left: 5px;
    position: relative;
    top: -1px;
} */

.plant {
    position: relative !important;
}

.like-star-container {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -138px;
    right: 10px;
    color: var(--primary);
    gap: 10px;
    font-size: 14px;
}

.like-star-container i {
    cursor: pointer;
    font-size: 1.2em;
}

.like-star-container i:first-of-type {
    position: relative;
    top: 1px;
}

.like-filters {
    display: flex;
    align-items: center;
}

.like-filters .like,
.like-filters .star {
    cursor: pointer;
    font-size: 1.2em;
}

.like-filters .vertical-line {
    width: 1px;
    height: 20px;
    background-color: var(--secondary);
    opacity: 0.1;
}

.like-filters .like.active {
    color: #ff6b6b;
}

.like-filters .star.active {
    color: #ffd06b;
}

.dictionary table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    min-width: 100px !important;
    max-width: 100px !important;
}

.mf {
    margin-right: 9px;
}


.logo {
    cursor: pointer;
    transition: all ease-out 300ms;

}

.menu .logo {
    cursor: pointer;
}

.logo:hover {
    opacity: 0.72;
}

.fullscreen-menu .login i {
    top: -7px;
}

.logout {

    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: inherit;
    cursor: pointer;
    font-family: "Marcellus", "inter", sans-serif;

}

.logout.secondary {
    background-color: var(--foreground);
}

.logout span {
    font-weight: 400;
    font-family: "Marcellus", "inter", sans-serif;

}


.fullscreen-menu .logout {
    font-size: 23px;
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}

.menu.secondary .logout {
    background: transparent;
    border: 1px solid var(--border);

}


a.current {
    opacity: 0.6;
}




.hero-buttons {
    gap: 10px;
    display: flex;
}

.hero-buttons a {
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 14px;
    transition: all ease 300ms;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(3px) brightness(1.4) saturate(0.8);
}

.hero-buttons a:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
}

.hero-buttons a i {
    transform: scale(0.9);
    margin-right: 6px;
}

.hero-buttons a.primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.hero-buttons a.primary:hover {
    background-color: rgba(255, 255, 255, 1);
}


.mobile-hero-buttons {
    display: none;
}





@media (max-width: 850px) {

    .like-filters {
        position: fixed;
        left: 50%;
        bottom: 25px;
        right: auto;
        border-radius: 25px;
        padding: 10px 20px;
        transform: translateX(-50%);
        box-shadow: 0 0 9px 3px rgba(0, 0, 0, 0.2);

    }

    .hero-buttons {
        display: none;
    }

    .tools .card,
    .tools .card.reverse {
        flex-direction: column;
    }

    .tools .card-image,
    .tools .card-content {
        width: 100%;
    }

    .mobile-hero-buttons {
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-hero-buttons a {
        border-radius: 5px;
        padding: 15px;
        font-size: 14px;
        transition: all ease 300ms;
        color: rgba(255, 255, 255, 0.6);
        text-align: center;
        width: 300px;
        border: 1px solid border;
    }
    
    .mobile-hero-buttons a i {
        transform: scale(0.9);
        margin-right: 6px;
    }
    
    .mobile-hero-buttons a.primary {
        border: 1px solid rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(3px) brightness(1.4) saturate(0.8);
    }
    
    .mobile-hero-buttons a.primary:hover {
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--secondary);
    }
    
    .mobile-hero-buttons a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--primary);
        backdrop-filter: blur(6px) brightness(1.3);
    }
    

}



body.scan .plant-identifier {
    display: flex;
    width: 100%;
    min-height: 400px;
    max-width: 1135px;
    background-color: transparent;
}

body.scan .upload-section,
body.scan .image-preview {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.scan .upload-section {
    background-color: transparent;
}

body.scan .upload-section h2 {
    color: var(--secondary);
    margin-bottom: 10px;
}

body.scan .upload-section p {
    margin-bottom: 20px;
}

body.scan #plantImage {
    display: none;
    border-radius: var(--radius);
}

body.scan .upload-btn {
    background-color: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    max-width: 500px;
}

body.scan .upload-btn:hover {
    background-color: var(--secondary);
}

body.scan .image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

body.scan .preview-placeholder {
    width: 100%;
    height: 300px;
    border: dashed 1px rgba(17, 61, 60, 0.4);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 61, 60, 0.8);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 12px;
    padding: 15px;
    overflow: hidden;
}

body.scan .preview-placeholder::after {
    content: 'Image will appear here';
}

body.scan .preview-placeholder.has-image::after {
    content: none;
}

@media (max-width: 850px) {

    select:focus,
    textarea:focus,
    input:focus {
        font-size: 16px;
        background: #eee;
    }

    select,
    textarea,
    input {
        font-size: 16px;
    }

    .stores {
        display: none !important;
    }

    body.scan .plant-identifier {
        flex-direction: column;
    }

    body.scan .upload-section,
    body.scan .image-preview {
        width: 100%;
    }
}

.fa-globe {
    margin-right: 4px;
    position: relative;
    left: -2px;
}

.filters h3 {
    display: none;
}


.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fullscreen-menu ul {
    list-style-type: none;
    text-align: center;
}

.fullscreen-menu ul li {
    margin: 20px 0;
}

.fullscreen-menu ul li a {
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Marcellus", serif;

}

.fullscreen-menu ul li a:hover {
    opacity: 0.7;
}

.fullscreen-menu .language-switch {
    margin-top: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    bottom: 55px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    font-size: 24px;
    border-radius: 2px;
    padding: 2px 5px;
}

.hamburger-menu.invert {
    background-color: var(--primary);
}



@media (max-width: 850px) {

    table,
    .audio-button {
        font-size: 0.7rem;
    }

    #otherImagesContainer {
        height: auto;
    }

    .container {
        width: 100%;
    }

    .main-image-container {
        width: 100%;
    }

    .popup-content {
        width: 90%;
    }

    .plant {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    header {
        background-image: url(../assets/background/feature_1.webp);
        background-size: cover;
        min-height: none;
        box-shadow: none !important;
    }

    header::after {
        content: "";
        background-color: #000000;
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.81;
        z-index: 1;
    }

    .header,
    .logo {
        position: relative;
        z-index: 9;
    }

    .hero .hero-title {
        z-index: 2;
        align-items: center;
    }

    .hero .hero-title h1 {
        font-size: 50px;
        letter-spacing: 0px;
        text-align: center;
        line-height: 55px;
    }

    .hero .hero-title p {
        text-align: center;
    }
    .hamburger-menu {
        display: block;
    }

    .menu nav {
        display: none;
    }
}


@media (min-width: 850px) and (max-width: 1050px) {
    .half {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .half h1 {
        text-align: center;
        width: 100% !important;
        font-size: 72px !important;
        margin-bottom: 0 !important;
        height:80px;
    }
    .half p {
        text-align: center !important;
        width: 100% !important;
    }

    .hero-buttons {
        align-items: center;
        justify-content: center;
    }

    .stores {
        align-items: center;
        justify-content: center;
    }
}


@media (max-width: 1050px) {

    .dictionary .filters {
        height: 65px;
    }

    table {
        margin-top: 10px;
    }

    .usages-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
        height: auto;
        overflow-y: auto;
    }

    .half.right {
        display: none !important;
    }

    .plant {
        min-width: 48% !important;
        max-width: none;
    }

    .container {
        width: 100%;
    }

    .filters {
        display: flex;
        flex-direction: column;
        gap: 5px;
        overflow: hidden;
        height: 30px;
        transition: height 0.3s ease;
    }

    .filters h3 {
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 13px;
        cursor: pointer;
        font-family: "Marcellus", serif;

        display: block;
    }


    .filters .filter-group {
        display: flex;
        width: 100%;
        justify-content: space-between;
        position: relative;
    }

    .filters .filter-group i {
        position: absolute;
        margin-left: -20px;
    }

    .filters.expanded {
        height: 200px;
    }

    .popup-content {
        max-height: none;
        height: 650px;
        overflow-y: scroll;
        border-radius: 15px;
        padding-bottom: 25px;
    }

    .popup-tabs {
        gap: 0;
    }

    .popup-tabs button {
        font-size: 11px !important;
    }

    .main-image-container {
        border-radius: 5px !important;
    }

    .main-image-container img {
        border-radius: 5px;
    }

    .popup-content::-webkit-scrollbar {
        width: 2px;
        border-radius: 3px;
        background-color: #F5F5F5;
    }

    .popup-content::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #F5F5F5;
        border-radius: 3px;
    }

    .popup-content::-webkit-scrollbar-thumb {
        background-color: var(--secondary);
        border: 0px solid var(--border-color);
        border-radius: 3px;
    }

    .close-btn i {
        top: 6px;
        right: 6px;
        border-radius: 25px;
        font-size: 7px;
        display: none;
    }

    #details.tab-content.active {
        display: flex;
        flex-wrap: wrap;
    }

    #details.tab-content.active span {
        min-width: 100px;
    }

    .tab-content.active {
        height: auto;
    }

    .popup-tab-content {
        width: 100%;
    }

    .features {
        display: flex;
        flex-direction: column;
    }
}

.privacy-row {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 500;
}

.privacy-row {
    text-decoration: underline;
}