/* ==================================================
   RESET
================================================== */

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


/* ==================================================
   HTML
================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
    overflow-x: hidden;
    width: 100%;
}


/* ==================================================
   BODY
================================================== */

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #123b35;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ==================================================
   MAIN WINDOW
================================================== */

.website-main-window {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background: #ffffff;
    padding-top: 105px;
    overflow-x: hidden;
}


/* ==================================================
   FIXED HEADER
================================================== */

.second-window {
    width: 100%;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}


/* ==================================================
   TOP BAR
================================================== */

.top-bar {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 20px;
    background: #071d2b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}


/* ==================================================
   DESIGN-STYLE NAV
   (WHITE + GOLD, SAME REAL LINKS AS NAVBAR)
================================================== */

.design-nav {
    width: 100%;
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 59, 53, 0.12);
}

.design-nav-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    padding: 10px 20px;
}

.design-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Playfair Display", serif;
    color: #123b35;
    flex-shrink: 0;
    line-height: 1;
    margin-left: -4px;
}

.design-logo-image {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}

.design-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    line-height: 1;
}

.design-logo-text strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #123b35;
    line-height: 1;
}

.design-logo-text small {
    display: block;
    margin-top: 6px;
    margin-left: 0;
    font-family: "Poppins", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: #c99a3d;
    line-height: 1;
}

.design-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.design-nav-links li {
    white-space: nowrap;
}

.design-nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(18, 59, 53, 0.82);
    transition: color 0.25s ease;
}

.design-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #c99a3d;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.design-nav-link:hover,
.design-nav-link.active {
    color: #c99a3d;
}

.design-nav-link:hover::after,
.design-nav-link.active::after {
    transform: scaleX(1);
}

.design-buy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c99a3d;
    color: #fbfcfc;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.design-buy-btn:hover {
    background: #dcae4d;
    transform: translateY(-2px);
}

/* ==================================================
   NAV DROPDOWNS
   (ABOUT MILVETA / INGREDIENTS / HOW TO USE / JOURNAL)
   Desktop: hover reveals the panel, anchored under the
   trigger, styled to sit inside the dark-green + gold
   nav. Mobile rules live in the 768px block below,
   alongside the rest of the mobile nav overrides.
================================================== */

.has-dropdown {
    position: relative;
}

.dropdown-caret {
    font-size: 9px;
    margin-left: 6px;
    vertical-align: 1px;
    transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

.design-dropdown {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 210px;
    background: #ffffff;
    border: 1px solid rgba(18, 59, 53, 0.12);
    border-top: 3px solid #c99a3d;
    border-radius: 4px 4px 10px 10px;
    box-shadow: 0 18px 40px rgba(7, 29, 43, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1003;
}

/* MEGA VARIANT — for dropdowns with several sub-links
   (About Milveta, How To Use). Wider panel, laid out in
   columns instead of one long list. Ingredients and
   Journal keep the compact .design-dropdown above, since
   1–2 links don't need the extra width. */

.design-dropdown.mega {
    display: flex;
    gap: 34px;
    min-width: 380px;
    padding: 22px 26px;
}

.design-dropdown.mega .dropdown-col {
    min-width: 150px;
}

.design-dropdown.mega .dropdown-col h4 {
    margin: 0 0 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c99a3d;
}

.design-dropdown.mega .dropdown-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.design-dropdown.mega .dropdown-col a.pdf-link::after {
    content: "PDF";
    font-size: 8.5px;
    font-weight: 700;
    color: #123b35;
    background: #c99a3d;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.3px;
}

.has-dropdown:hover .design-dropdown,
.has-dropdown.open .design-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.design-dropdown li {
    list-style: none;
    white-space: normal;
}

.design-dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(18, 59, 53, 0.82);
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.design-dropdown a:hover {
    background: rgba(201, 154, 61, 0.10);
    color: #c99a3d;
}


/* ==================================================
   NAVBAR
================================================== */

header {
    width: 100%;
    background: #ffffff;
}

.navbar {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    padding: 10px 28px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1001;
}


/* ==================================================
   LOGO
================================================== */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 30px;
    color: #123b35;
}

.logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-right: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-size: 21px;
    line-height: 1;
    letter-spacing: 1px;
    color: #123b35;
    font-weight: 800;
}

.logo-text p {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 3px;
    color: #718096;
    font-weight: 500;
}


/* ==================================================
   NAVIGATION
================================================== */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.nav-links li {
    white-space: nowrap;
    position: relative;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 28px 2px 24px;
    color: #34495e;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #16835d;
}


/* ==================================================
   ACTIVE UNDERLINE
================================================== */

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 13px;
    width: 0;
    height: 3px;
    border-radius: 5px;
    background: #16835d;
    transition: width 0.3s ease;
}

.nav-links a.active {
    color: #16835d;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}


/* ==================================================
   BUY NOW
================================================== */

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    padding: 11px 21px;
    min-width: 90px;
    border-radius: 25px;
    background: #071d2b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.buy-btn:hover {
    background: #16835d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.menu-toggle {
    display: none;
    border: none;
    outline: none;
    background: #071d2b;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}


/* ==================================================
   VISION & MISSION SUB-NAVIGATION
================================================== */

#visionSubnav {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9998;
    background-color: rgba(250, 247, 240, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(22, 58, 42, 0.05);
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#visionSubnav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 15px 45px rgba(22, 58, 42, 0.08);
}

#visionSubnav .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 70px);
}

#visionSubnav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#visionSubnav .logo {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    color: #163a2a;
    letter-spacing: 0.05em;
}

#visionSubnav .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

#visionSubnav .nav-link {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #163a2a;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

#visionSubnav .nav-link:hover {
    color: #c99a3d;
}

#visionSubnav .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#visionSubnav .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #163a2a;
    margin: 5px 0;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#visionSubnav .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#visionSubnav .nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

#visionSubnav .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#visionSubnav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

#visionSubnav .btn-dark {
    background-color: #163a2a;
    color: #ffffff;
    border: 1px solid #163a2a;
}

#visionSubnav .btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(22, 58, 42, 0.2);
}

/* ==================================================
   DESKTOP HEADER ALIGNMENT
   ================================================== */

@media (min-width: 769px) {

    .design-nav-inner {
        width: 100%;
        max-width: 1600px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 18px;
    }

    .design-logo {
        margin-left: -4px;
    }

    .design-logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }

    .design-logo-text small {
        margin-left: 0;
        margin-top: 6px;
    }

    .design-nav-links {
        gap: 20px;
        min-width: 0;
    }

}

@media (max-width: 768px) {

    #visionSubnav .nav-toggle {
        display: block;
    }

    #visionSubnav .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #faf7f0;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-top: 3rem;
        transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    #visionSubnav .nav-menu.active {
        left: 0;
    }

}


/* ==================================================
   HOME
================================================== */

.images-window {
    width: 100%;
    background: #ffffff;
}


/* ==================================================
   HOME SLIDER
================================================== */

.home-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #eeeeee;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
}


/* ==================================================
   SLIDER ARROWS
================================================== */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 15px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}


/* ==================================================
   CONSTANT PRODUCT BANNER
================================================== */

.constant-product-banner {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.product-banner-wrapper {
    position: relative;
    width: 100%;
}

.constant-product-image {
    display: block;
    width: 100%;
    height: auto;
}

.image-buy-button {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: 180px;
    height: 52px;
    border-radius: 30px;
    cursor: pointer;
}


/* ==================================================
   VISION & MISSION
   CANVA-STYLE DESIGN
   PALETTE: DARK GREEN + GOLD
================================================== */

.vision-mission-section {
    width: 100%;
    max-width: 100vw;
    min-height: calc(100vh - 118px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #163a2a;
}


/* ==================================================
   DECORATIVE CIRCLES
================================================== */

.vision-left-circle {
    position: absolute;
    width: 430px;
    height: 430px;
    left: -260px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(201, 154, 61, 0.20);
    border-radius: 50%;
    pointer-events: none;
}

.vision-bottom-circle {
    position: absolute;
    width: 330px;
    height: 330px;
    right: -170px;
    bottom: -170px;
    border: 1px solid rgba(201, 154, 61, 0.18);
    border-radius: 50%;
    pointer-events: none;
}


/* ==================================================
   VISION CONTAINER
================================================== */

.vision-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1240px;
    min-height: calc(100vh - 118px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 55px;
}


/* ==================================================
   VISION CONTENT
================================================== */

.vision-content {
    width: 58%;
    text-align: left;
}


/* SECTION LABEL (MILVETA INTERNATIONAL) */

.section-label-container {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.section-label-line {
    width: 40px;
    height: 1px;
    background-color: #c99a3d;
}

.vision-small-title {
    color: #c99a3d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.vision-content h2 {
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 5.2vw, 76px);
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 26px;
}

.vision-content h2 span {
    color: #c99a3d;
}

.vision-content h3 {
    color: rgba(255, 255, 255, 0.95);
    font-family: "Playfair Display", serif;
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.4;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 20px;
    max-width: 760px;
}

.vision-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 30px;
}


/* ==================================================
   VISION BUTTONS
================================================== */

.vision-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vision-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vision-btn-primary {
    background: #c99a3d;
    color: #163a2a;
    border: 1px solid #c99a3d;
}

.vision-btn-primary:hover {
    background: #dcae4d;
    border-color: #dcae4d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 154, 61, 0.3);
}

.vision-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: transparent;
}

.vision-btn-secondary:hover {
    background: #c99a3d;
    border-color: #c99a3d;
    color: #163a2a;
    transform: translateY(-2px);
}


/* ==================================================
   RIGHT VISUAL
================================================== */

.vision-visual {
    width: 42%;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-right-circles {
    position: absolute;
    width: 470px;
    height: 470px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 154, 61, 0.25);
}

.circle-one {
    width: 410px;
    height: 410px;
}

.circle-two {
    width: 300px;
    height: 300px;
}

.circle-three {
    width: 205px;
    height: 205px;
    background:
        radial-gradient(
            circle,
            rgba(201, 154, 61, 0.10),
            rgba(201, 154, 61, 0.015)
        );
    border-color: rgba(201, 154, 61, 0.32);
}


/* ORGANIC SHAPES + HERO ART + GRAIN PARTICLES
   (Canva-style texture layered inside the visual) */

.organic-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 154, 61, 0.15) 0%, rgba(22, 58, 42, 0) 70%);
    animation: pulse-slow 8s infinite ease-in-out;
    pointer-events: none;
}

.shape-1 {
    width: 450px;
    height: 450px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    border: 1px dashed rgba(201, 154, 61, 0.3);
    animation-duration: 12s;
}

.hero-art {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, #c99a3d, #718355);
    opacity: 0.18;
}

.grain-particle {
    position: absolute;
    background-color: #c99a3d;
    width: 6px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 6s infinite linear;
    pointer-events: none;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.08); opacity: 0.25; }
}

@keyframes float-particle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-100px) scale(0.8); opacity: 0; }
}


/* ==================================================
   SIMPLE CONTENT SECTIONS
   (Our Story, Our Purpose, Global Context,
   The Nutritional Power, Education Initiative)
================================================== */

.simple-content-section {
    width: 100%;
    padding: 90px 25px;
    text-align: center;
}

.simple-content-section.bg-cream {
    background: #efe6d4;
}

.simple-content-section.bg-pale {
    background: #f7faf8;
}

.simple-content-section.bg-dark {
    background: #163a2a;
}

.simple-content-section .content-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.simple-content-section h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.3;
    font-weight: 600;
    color: #163a2a;
    margin-bottom: 22px;
}

.simple-content-section.bg-dark h2 {
    color: #ffffff;
}

.simple-content-section p {
    font-size: 15px;
    line-height: 1.85;
    color: #657786;
    margin-bottom: 16px;
}

.simple-content-section p:last-child {
    margin-bottom: 0;
}

.simple-content-section.bg-dark p {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {

    .simple-content-section {
        padding: 60px 20px;
    }

}


/* ==================================================
   CONTENT OVERLAYS
   Our Story, Our Purpose, Global Context, The
   Nutritional Power, and Education Initiative are
   hidden by default and only shown full-screen when
   their sub-nav link is clicked.
================================================== */

.content-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    overflow-y: auto;
    padding-top: 110px;
}

.content-overlay.open {
    display: block;
}

body.overlay-active {
    overflow: hidden;
}

.overlay-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(22, 58, 42, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: #163a2a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.overlay-close:hover {
    background: #c99a3d;
    color: #163a2a;
    transform: rotate(90deg);
}

.overlay-close-dark {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.overlay-close-dark:hover {
    background: #c99a3d;
    color: #163a2a;
}

@media (max-width: 600px) {

    .content-overlay {
        padding-top: 90px;
    }

    .overlay-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

}


/* ==================================================
   DEDICATED "OUR VISION" SECTION
================================================== */

.our-vision-section {
    width: 100%;
    padding: 100px 25px;
    background: #efe6d4;
}

.section-label-container.center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.section-label-container.center .section-label-line {
    width: 40px;
    height: 1px;
    background-color: #c99a3d;
}

.section-label {
    color: #c99a3d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.vision-statement-container {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.vision-statement {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.45;
    color: #163a2a;
    font-weight: 600;
}

.vision-statement span {
    color: #c99a3d;
}


/* PATHWAY DIAGRAM */

.pathway-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto 80px;
    gap: 30px 20px;
}

.pathway-line {
    position: absolute;
    top: 10px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(22, 58, 42, 0.18);
    z-index: 0;
}

.pathway-node {
    position: relative;
    z-index: 1;
    flex: 1 1 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.node-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c99a3d;
    border: 4px solid #efe6d4;
    box-shadow: 0 0 0 1px rgba(201, 154, 61, 0.45);
}

.node-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #163a2a;
    max-width: 130px;
}


/* VISION CARD GRID */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    max-width: 1150px;
    margin: 0 auto;
}

.premium-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 10px 30px rgba(22, 58, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(22, 58, 42, 0.10);
}

.card-num {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(201, 154, 61, 0.45);
    margin-bottom: 10px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #163a2a;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #657786;
    line-height: 1.75;
}


/* ==================================================
   DEDICATED "OUR MISSION" SECTION
================================================== */

.mission-detail-section {
    width: 100%;
    padding: 100px 25px;
    background: #163a2a;
}

.mission-heading {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.4;
    color: #ffffff;
    font-weight: 600;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1150px;
    margin: 0 auto;
}

.mission-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 24px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
}

.mission-card .card-num {
    color: rgba(201, 154, 61, 0.55);
}

.mission-card h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}


/* ==================================================
   HEALTH BENEFITS
================================================== */

.health-benefits {
    width: 100%;
    padding: 90px 25px;
    background: #f7faf8;
}

.health-container {
    max-width: 1150px;
    margin: auto;
    text-align: center;
}

.why-small-title {
    display: block;
    color: #c7962f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.health-container h2 {
    color: #183b4d;
    font-family: "Playfair Display", serif;
    font-size: 44px;
    margin-bottom: 12px;
}

.health-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #657786;
    font-size: 15px;
    line-height: 1.8;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.health-card {
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.10);
}

.health-card i {
    color: #16835d;
    font-size: 32px;
    margin-bottom: 15px;
}

.health-card h3 {
    color: #183b4d;
    font-size: 18px;
    margin-bottom: 10px;
}

.health-card p {
    color: #6b7c89;
    font-size: 13px;
    line-height: 1.7;
}


/* ==================================================
   INGREDIENTS PREVIEW
   Sits directly under Health Benefits. Same card
   language as .health-card, cream background so the
   two sections read as a pair without repeating the
   exact same surface color back to back.
================================================== */

.ingredients-preview {
    width: 100%;
    padding: 90px 25px;
    background: #efe6d4;
}

.ingredients-container {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}

.ingredients-container h2 {
    color: #163a2a;
    font-family: "Playfair Display", serif;
    font-size: 44px;
    margin-bottom: 12px;
}

.ingredients-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    color: #657786;
    font-size: 15px;
    line-height: 1.8;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
    text-align: left;
}

.ingredient-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.10);
}

.ingredient-card i {
    color: #16835d;
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.ingredient-card h3 {
    color: #183b4d;
    font-size: 17px;
    margin-bottom: 8px;
}

.ingredient-card p {
    color: #6b7c89;
    font-size: 13px;
    line-height: 1.7;
}

.ingredients-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 34px;
    border-radius: 999px;
    background: #163a2a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.ingredients-cta:hover {
    background: #c99a3d;
    color: #163a2a;
    transform: translateY(-2px);
}


/* ==================================================
   FOOTER
================================================== */

footer {
    width: 100%;
    padding: 25px 20px;
    background: #071d2b;
    color: #ffffff;
    text-align: center;
}

footer p {
    font-size: 13px;
    opacity: 0.85;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .design-nav-links {
        gap: 16px;
    }

    .design-nav-inner {
        gap: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .design-logo-text {
        gap: 5px;
    }

    .design-logo-text strong {
        font-size: 18px;
    }

    .design-logo-text small {
        font-size: 8px;
    }


    .design-nav-inner {
        padding: 12px 18px;
        gap: 14px;
    }

    .design-nav-links {
        gap: 14px;
    }

    .design-nav-link {
        font-size: 10.5px;
        letter-spacing: 0.08em;
    }

    .design-buy-btn {
        padding: 9px 18px;
        font-size: 11px;
    }

    .navbar {
        padding: 10px 18px;
    }

    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-container {
        padding: 50px 35px;
    }

    .vision-content {
        width: 60%;
    }

    .vision-visual {
        width: 40%;
    }

    .vision-right-circles {
        right: -40px;
        transform:
            translateY(-50%)
            scale(0.85);
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 96px;
    }

    .website-main-window {
        padding-top: 96px;
    }


    /* TOP BAR */

    .top-bar {
        min-height: 38px;
        gap: 6px;
        padding: 7px 6px;
        font-size: 8px;
        white-space: nowrap;
    }


    /* DESIGN NAV — collapses to logo + hamburger,
       with a dropdown panel for links + buy button */

    .design-nav-inner {
        justify-content: space-between;
        padding: 10px 15px;
        min-height: 56px;
    }

    .design-logo {
        gap: 8px;
    }

    .design-logo-image {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .design-logo-text {
        gap: 5px;
    }

    .design-logo-text strong {
        font-size: 16px;
        letter-spacing: 1.3px;
    }

    .design-logo-text small {
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .design-buy-btn {
        display: none;
    }


    /* HAMBURGER */

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
    }


    /* MOBILE NAV DROPDOWN */

    .design-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        z-index: 1002;
    }

    .design-nav-links.active {
        display: flex;
    }

    .design-nav-links li {
        width: 100%;
    }

    .design-nav-link {
        display: block;
        width: 100%;
        padding: 14px 22px;
        font-size: 13px;
    }

    .design-nav-link::after {
        left: 22px;
        right: auto;
        bottom: 7px;
        width: 0;
    }

    .design-nav-link.active::after,
    .design-nav-link:hover::after {
        width: calc(100% - 44px);
    }

    .design-nav-link:hover {
        background: rgba(201, 154, 61, 0.1);
    }


    /* NAV DROPDOWNS (About Milveta / Ingredients /
       How To Use / Journal) — become inline accordion
       panels inside the mobile nav sheet */

    .design-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: rgba(18, 59, 53, 0.045);
        margin: 0 22px 6px;
        border-radius: 8px;
        padding: 4px;
    }

    .has-dropdown.open .design-dropdown {
        display: block;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .design-dropdown a {
        padding: 12px 14px;
    }

    .design-dropdown.mega {
        flex-direction: column;
        gap: 14px;
        min-width: 0;
        padding: 8px;
    }

    .design-dropdown.mega .dropdown-col h4 {
        padding: 8px 14px 2px;
    }


    /* HERO */

    .slide img {
        min-height: 180px;
        object-fit: cover;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }


    /* PRODUCT BANNER */

    .image-buy-button {
        width: 130px;
        height: 40px;
        bottom: 10%;
    }


    /* VISION */

    .vision-mission-section {
        min-height: calc(100vh - 106px);
        padding: 0;
    }

    .vision-container {
        min-height: calc(100vh - 106px);
        flex-direction: column;
        justify-content: center;
        padding: 60px 25px;
    }

    .vision-content {
        width: 100%;
        text-align: center;
    }

    .section-label-container {
        justify-content: center;
    }

    .vision-small-title {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .vision-content h2 {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .vision-content h3 {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .vision-content p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .vision-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vision-btn {
        height: 48px;
        padding: 0 24px;
        font-size: 13px;
    }

    .vision-visual {
        width: 100%;
        min-height: 200px;
        margin-top: 5px;
    }

    .vision-right-circles {
        width: 250px;
        height: 250px;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .circle-one {
        width: 230px;
        height: 230px;
    }

    .circle-two {
        width: 170px;
        height: 170px;
    }

    .circle-three {
        width: 110px;
        height: 110px;
    }

    .vision-left-circle {
        width: 250px;
        height: 250px;
        left: -190px;
    }

    .vision-bottom-circle {
        width: 180px;
        height: 180px;
        right: -100px;
        bottom: -100px;
    }

    .hero-art {
        width: 160px;
        height: 160px;
    }


    /* OUR VISION SECTION */

    .our-vision-section {
        padding: 60px 18px;
    }

    .vision-statement {
        font-size: 24px;
        line-height: 1.4;
    }

    .pathway-container {
        flex-direction: column;
        gap: 26px;
    }

    .pathway-line {
        display: none;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }


    /* OUR MISSION SECTION */

    .mission-detail-section {
        padding: 60px 18px;
    }

    .mission-heading {
        font-size: 24px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }


    /* HEALTH */

    .health-benefits {
        padding: 55px 18px;
    }

    .health-container h2 {
        font-size: 32px;
    }

    .health-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .health-card {
        padding: 28px 20px;
    }


    /* INGREDIENTS PREVIEW */

    .ingredients-preview {
        padding: 55px 18px;
    }

    .ingredients-container h2 {
        font-size: 32px;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ingredient-card {
        padding: 26px 20px;
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    html {
        scroll-padding-top: 92px;
    }

    .website-main-window {
        padding-top: 92px;
    }


    /* TOP BAR */

    .top-bar {
        font-size: 7px;
        gap: 4px;
    }


    /* DESIGN NAV */

    .design-logo {
        font-size: 15px;
    }


    /* MENU */

    .menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }


    /* HERO */

    .slide img {
        min-height: 150px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }


    /* PRODUCT BANNER */

    .image-buy-button {
        width: 105px;
        height: 34px;
        bottom: 9%;
    }


    /* VISION */

    .vision-mission-section {
        min-height: calc(100vh - 106px);
        padding: 0;
    }

    .vision-container {
        min-height: calc(100vh - 106px);
        padding: 50px 18px;
    }

    .vision-content h2 {
        font-size: 32px;
    }

    .vision-content h3 {
        font-size: 15px;
    }

    .vision-content p {
        font-size: 12px;
    }

    .vision-btn {
        height: 44px;
        padding: 0 20px;
        font-size: 12px;
    }

    .vision-visual {
        min-height: 160px;
    }

    .vision-right-circles {
        width: 190px;
        height: 190px;
    }

    .circle-one {
        width: 175px;
        height: 175px;
    }

    .circle-two {
        width: 130px;
        height: 130px;
    }

    .circle-three {
        width: 85px;
        height: 85px;
    }


    /* HEALTH */

    .health-container h2 {
        font-size: 28px;
    }


    /* FOOTER */

    footer p {
        font-size: 11px;
    }
}

/* ==================================================
   MILVETA INTERNATIONAL NAVIGATION OVERRIDES
   White navigation + uploaded circular logo + new announcement
================================================== */

.design-nav {
    background: #ffffff;
}

.design-nav-inner {
    background: #ffffff;
}

.top-bar {
    background: #071d2b;
}

@media (max-width: 768px) {
    .top-bar {
        min-height: 42px;
        padding: 8px 12px;
        font-size: 9px;
        line-height: 1.35;
        white-space: normal;
    }

    .design-nav-inner {
        min-height: 62px;
    }

    .design-logo-image {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .design-logo-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .design-logo-text strong {
        font-size: 16px;
    }

    .design-logo-text small {
        font-size: 7px;
        letter-spacing: 1.6px;
    }
}

/* ==================================================
   FINAL MOBILE HEADER FIX
   BUY NOW LEFT OF HAMBURGER
   ================================================== */

@media (max-width: 768px) {

    .design-nav-inner {
        width: 100%;
        min-height: 80px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    /* Logo stays on the left */
    .design-logo {
        margin-left: -4px;
        gap: 9px;
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    .design-logo-image {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }

    .design-logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        line-height: 1;
    }

    .design-logo-text strong {
        font-size: 23px;
        line-height: 1;
        white-space: nowrap;
    }

    .design-logo-text small {
        margin-top: 6px;
        font-size: 8px;
        letter-spacing: 2.2px;
        line-height: 1;
        white-space: nowrap;
    }

    /* Hide the full menu on mobile; hamburger opens it */
    .design-nav-links {
        display: none;
    }

    /* BUY NOW stays visible on mobile */
    .design-buy-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        order: 2;
        height: 42px;
        padding: 0 15px;
        margin: 0 2px 0 4px;
        border-radius: 999px;
        font-size: 10px;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    /* Hamburger is immediately to the right of Buy Now */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        order: 3;
    }

    /* Mobile menu opens below the header */
    .design-nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        padding: 8px 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        z-index: 1002;
    }
}

@media (max-width: 480px) {

    .design-nav-inner {
        min-height: 76px;
        padding: 7px 12px;
        gap: 6px;
    }

    .design-logo {
        margin-left: -3px;
        gap: 7px;
    }

    .design-logo-image {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .design-logo-text strong {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .design-logo-text small {
        margin-top: 5px;
        font-size: 7px;
        letter-spacing: 1.8px;
    }

    .design-buy-btn {
        height: 38px;
        padding: 0 12px;
        margin-left: 2px;
        margin-right: 1px;
        font-size: 9px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 18px;
    }
}
/* ==================================================
   FIX: ACCURATE DROPDOWN & FIXED NAVBAR (NO WHITE GAP)
================================================== */

/* 1. Ensure the fixed top container stays pinned at the very top */
.second-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* 2. Parent list items for dropdowns */
.design-nav-links .has-dropdown {
    position: relative !important;
}

/* 3. Base dropdown menu styling for BOTH How To Use and Journal */
.design-nav-links .design-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(22, 58, 42, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    list-style: none !important;
    z-index: 100000 !important;

    /* Hidden state */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 4. Invisible bridge between navbar link and dropdown box */
.design-nav-links .design-dropdown::before {
    content: '' !important;
    position: absolute !important;
    top: -20px !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    background: transparent !important;
    display: block !important;
}

/* 5. Activate hover state */
.design-nav-links .has-dropdown:hover .design-dropdown,
.design-nav-links .has-dropdown.open .design-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.design-nav-links .design-dropdown li {
    width: 100% !important;
    list-style: none !important;
}

/* 6. Clickable button styling for ALL dropdown links */
.design-nav-links .design-dropdown li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    background: #FAF7F0 !important;
    color: #163A2A !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.design-nav-links .design-dropdown li a i {
    font-size: 14px !important;
    color: #C99A3D !important;
    flex-shrink: 0 !important;
}

.design-nav-links .design-dropdown li a:hover {
    background: #163A2A !important;
    color: #FAF7F0 !important;
    border-color: #163A2A !important;
    transform: translateX(3px) !important;
}

.design-nav-links .design-dropdown li a:hover i {
    color: #FAF7F0 !important;
}
/* ==================================================
   MOBILE DROPDOWN INLINE ACCORDION FIX
================================================== */
@media (max-width: 768px) {
    /* 1. Reset dropdown positioning from floating to inline */
    .design-nav-links .design-dropdown,
    .design-nav-links .design-dropdown.how-to-use-dropdown,
    .design-nav-links .design-dropdown.journal-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: #fdfbf7 !important; /* Gentle tint inside mobile accordion */
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 6px 18px 14px 18px !important;
        margin: 0 !important;
        
        /* Hidden by default on mobile unless toggled open */
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* 2. Remove hover bridge so it doesn't block touch interactions */
    .design-nav-links .design-dropdown::before {
        display: none !important;
    }

    /* 3. Expand inline when parent item has class 'open' */
    .design-nav-links .has-dropdown.open > .design-dropdown {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* 4. Format action buttons neatly for finger tap targets */
    .design-nav-links .design-dropdown li {
        width: 100% !important;
    }

    .design-nav-links .design-dropdown li a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        border: 1px solid rgba(22, 58, 42, 0.1) !important;
        color: #163A2A !important;
        box-sizing: border-box !important;
    }

    .design-nav-links .design-dropdown li a i {
        font-size: 14px !important;
        color: #C99A3D !important;
    }
}
