/* Global Styles for Website-V2-Oand3 */
/* O&3 Inspired Aesthetic: Clean, Minimalist, Earthy, Premium */

:root {
    --bg-color: #0e1847;
    --text-color: #000000;
    --text-light: #333333;
    --white: #F0EEE9;
    --border-color: #dad8d4;

    /* Technical Refinery tones */
    --accent-green: #000000;
    /* Lightened teal for better contrast on links */
    --accent-sage: #F0EEE9;
    /* Industrial Teal */
    --accent-sand: #F0EEE9;
    /* Darker slate */
    --accent-terracotta: #c5ab5e;
    /* Amber for CTA */

    --font-heading: 'Garamond', 'Playfair Display', serif;
    --font-body: 'Helvetica Neue', 'Arial', sans-serif;

    --max-width: 1440px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Progressive Loading */
.progressive {
    filter: blur(20px);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================================================
   NAVIGATION (O&3 Style: Sticky, Hover Dropdown, Minimal)
========================================================================= */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background-color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Home Page Specific: Starts Transparent */
.navbar-home {
    position: fixed;
    background-color: transparent;
    border-bottom: transparent;
}

.navbar-home .brand-logo,
.navbar-home .nav-links > li > a:not(.btn-primary) {
    color: var(--white);
}

.navbar-home .brand-logo .logo-light {
    display: block;
}

.navbar-home .brand-logo .logo-dark {
    display: none;
}

.navbar-home .hamburger-btn span {
    background-color: var(--white);
}

.navbar-home.scrolled {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.navbar-home.scrolled .brand-logo,
.navbar-home.scrolled .nav-links > li > a:not(.btn-primary) {
    color: var(--text-color);
}

.navbar-home.scrolled .brand-logo .logo-light {
    display: none;
}

.navbar-home.scrolled .brand-logo .logo-dark {
    display: block;
}

.navbar-home.scrolled .hamburger-btn span {
    background-color: var(--text-color);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-logo img {
    height: 45px;
    width: auto;
}

.brand-logo .logo-dark {
    display: block;
}

.brand-logo .logo-light {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* Essential Oils Dropdown */
.dropdown {
    position: relative;
    padding-bottom: 30px;
    /* Bridge gap to menu */
    margin-bottom: -30px;
    /* Offset padding */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    display: grid;
    padding: 1.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 13px;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
}

.dropdown-menu a:hover {
    background-color: var(--bg-color);
    color: var(--white);
    padding-left: 2.5rem;
    /* Indent on hover */
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-terracotta);
    color: #1A1F2C !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid var(--accent-terracotta);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-terracotta) !important;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--accent-terracotta) !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid var(--accent-terracotta);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--accent-terracotta);
    color: #1A1F2C !important;
}

/* =========================================================================
   FOUNDER / ABOUT US SECTION
========================================================================= */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    background-color: var(--white);
    padding: 6rem 4rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.founder-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.founder-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 5;
}

.founder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

.founder-content {
    display: flex;
    flex-direction: column;
}

.founder-tagline {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-terracotta);
    margin-bottom: 1rem;
    font-weight: 600;
}

.founder-content h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.founder-bio p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .founder-grid {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }
}

/* =========================================================================
   FOOTER
========================================================================= */
footer {
    background-color: var(--white);
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    width: 200px;
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 160px;
    }
}

.footer-links h4 {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-contact-details {
    margin-top: 1.5rem;
}

.contact-person {
    margin-bottom: 2rem;
}

.contact-person h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.contact-person p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.footer-social {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Utility Layouts */
.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* =========================================================================
   ABOUT US PAGE EXTENSIONS
========================================================================= */

.about-hero {
    background-color: var(--bg-color);
    /* Midnight slate */
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(197, 171, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero .hero-tagline {
    color: var(--accent-terracotta);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.about-hero .hero-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero .hero-subtitle {
    color: var(--accent-sand);
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.bg-sand {
    background-color: var(--accent-sand);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-terracotta);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.overview-text h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.overview-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background-color: var(--white);
    padding: 2.5rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(197, 171, 94, 0.2);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 500;
}

.values-section {
    background-color: var(--bg-color);
    /* Midnight Slate */
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 8rem;
    /* Adjusted back down for centering */
}

/* Decorative background shapes */
.values-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 171, 94, 0.15) 0%, transparent 70%);
}

.values-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 171, 94, 0.1) 0%, transparent 70%);
}

.values-section .section-label {
    color: var(--accent-terracotta);
}

.values-section h2 {
    color: var(--white);
    font-size: 3.5rem;
    /* Larger heading */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    /* Keep above decorative shapes */
}

.value-card {
    background-color: rgba(240, 238, 233, 0.03);
    /* Subtle light overlay */
    padding: 4rem 3rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid rgba(197, 171, 94, 0.15);
    /* Terracotta / Gold border */
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-terracotta);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.value-card:hover {
    background-color: rgba(240, 238, 233, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(197, 171, 94, 0.4);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-terracotta);
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
    line-height: 1;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-terracotta);
    transition: width 0.3s ease;
}

.value-card:hover h3::after {
    width: 60px;
}

.value-card p {
    color: rgba(240, 238, 233, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 968px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* --- Filter Bar Styles --- */
.filter-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color); /* Dark green/slate from theme */
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: -1rem 0 3rem 0; /* pulls it up closer to header */
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.filter-search-wrap {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
}

#filter-search {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: box-shadow 0.3s ease;
}

#filter-search:focus {
    box-shadow: 0 0 0 2px var(--accent-terracotta);
}

.filter-dropdowns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-dropdowns select {
    padding: 0.8rem 2rem 0.8rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    appearance: none;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23F0EEE9%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px;
}

.filter-dropdowns select option {
    background-color: var(--white);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .filter-bar-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .filter-search-wrap, .filter-dropdowns {
        width: 100%;
        max-width: none;
    }
    .filter-dropdowns select {
        flex: 1;
    }
}

/* =========================================================================
   CATEGORY HEADING BAR (Product page full-width section divider)
========================================================================= */
.category-title, .category-heading-bar {
    width: 100%;
    background: var(--white);
    padding: 15px 0;
    margin: 8px 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    color: var(--bg-color);
    display: block;
    position: static;
}

.category-title::before {
    display: none;
}

/* =========================================================================
   ACTIVE FILTER TAG (Breadcrumb "Showing: [X]" label)
========================================================================= */
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent-terracotta);
    border: 1px solid var(--accent-terracotta);
    padding: 6px 16px;
    margin: 0 0 1.5rem 0;
}

.active-filter-tag .filter-tag-x {
    cursor: pointer;
    opacity: 0.7;
    font-style: normal;
    font-weight: 400;
    margin-left: 4px;
    transition: opacity 0.2s ease;
}

.active-filter-tag .filter-tag-x:hover {
    opacity: 1;
}

/* =========================================================================
   CATEGORY CAROUSEL — Homepage (wrap + arrows)
========================================================================= */
.cat-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.cat-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(240, 238, 233, 0.85);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(4px);
}

.cat-arrow-btn:hover {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: var(--white);
}

.cat-arrow-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cat-arrow-left {
    left: 12px;
}

.cat-arrow-right {
    right: 12px;
}

/* =========================================================================
   CERTIFICATIONS PAGE
========================================================================= */
.certs-hero {
    background-color: var(--bg-color);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certs-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(197, 171, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.certs-hero .hero-tagline {
    color: var(--accent-terracotta);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-body);
}

.certs-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.certs-hero p {
    color: rgba(240, 238, 233, 0.75);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto;
}

.cert-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background-color: rgba(240, 238, 233, 0.04);
    border: 1px solid rgba(197, 171, 94, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-terracotta);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}

.cert-card:hover {
    background-color: rgba(240, 238, 233, 0.08);
    border-color: rgba(197, 171, 94, 0.35);
    transform: translateY(-4px);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-icon-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* White background */
    border-radius: 12px; /* Rounded corner square */
    padding: 12px;
    filter: grayscale(1);
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cert-card:hover .cert-icon-wrap {
    filter: grayscale(0);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.cert-icon-wrap svg,
.cert-icon-wrap .cert-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-card h3 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.cert-card p {
    color: rgba(240, 238, 233, 0.65);
    font-size: 0.9rem;
    line-height: 1.65;
}

.cert-view-label {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent-terracotta);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cert-card:hover .cert-view-label {
    opacity: 1;
    transform: translateY(0);
}

/* Certificate Modal */
.cert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cert-modal-inner {
    background: var(--white);
    max-width: 90vw;
    max-height: 90vh;
    width: 720px;
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cert-modal-overlay.active .cert-modal-inner {
    transform: translateY(0);
}

.cert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.cert-modal-header h2 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.cert-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(240, 238, 233, 0.3);
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease;
}

.cert-modal-close:hover {
    background: rgba(240, 238, 233, 0.15);
}

.cert-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    text-align: center;
    background: var(--white);
}

.cert-modal-body .cert-placeholder-msg {
    padding: 3rem 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.cert-modal-body iframe,
.cert-modal-body embed {
    width: 100%;
    height: 60vh;
    border: none;
}

@media (max-width: 900px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .certs-hero h1 {
        font-size: 2.5rem;
    }
}

/* =========================================================================
   HAMBURGER NAV (mobile <768px)
========================================================================= */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 5%;
        gap: 0.5rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .nav-links.open {
        display: flex;
    }

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

    .nav-links a {
        font-size: 14px;
    }

    .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.25rem 0 0 1rem;
        min-width: auto;
        max-width: 100%;
        display: none;
        overflow: hidden;
        left: 0 !important;
    }

    .dropdown.open .dropdown-menu {
        display: grid;
    }

    .dropdown-menu a {
        padding: 0.6rem 0 !important;
        font-size: 14px;
        color: #000000 !important;
        text-transform: none;
        display: block;
        opacity: 1;
        visibility: visible;
        white-space: normal !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
        max-width: 100%;
    }

    .dropdown-menu a:hover {
        padding-left: 0.5rem;
        background: transparent;
        color: var(--accent-terracotta);
    }

    /* Force navbar text to black on mobile at all times */
    .nav-links > li > a:not(.btn-primary) {
        color: #000000 !important;
    }
}

/* =========================================================================
   BLOG PAGE
========================================================================= */
.blog-hero {
    background-color: var(--bg-color);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.blog-hero .hero-tagline {
    color: var(--accent-terracotta);
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-body);
}

.blog-article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 5%;
    background: var(--white);
}

.blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    color: var(--accent-terracotta);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.blog-article-wrap h1 {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.blog-article-wrap h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-color);
}

.blog-article-wrap h3 {
    font-size: 1.25rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 600;
}

.blog-article-wrap p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.blog-article-wrap ul,
.blog-article-wrap ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blog-article-wrap li {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.blog-article-wrap a {
    color: var(--accent-terracotta);
    text-decoration: underline;
}

.blog-article-wrap a:hover {
    opacity: 0.8;
}

.blog-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.6rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Blog section padding on smaller screens */
@media (max-width: 768px) {
    .blog-article-wrap h1 {
        font-size: 1.8rem;
    }
    .blog-article-wrap h2 {
        font-size: 1.4rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
}

/* =========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ========================================================================= */

/* --- TABLET (max-width: 992px) --- */
@media (max-width: 992px) {
    /* Navigation */
    .nav-container {
        height: 75px;
    }

    /* Section padding */
    .section-padding {
        padding: 5rem 0;
    }

    /* Page headers */
    .page-header h1,
    .about-hero .hero-title,
    .certs-hero h1 {
        font-size: 2.8rem;
    }

    /* Footer */
    .footer-content {
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    /* Products grid – 3 columns on tablet */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.5rem;
    }

    .product-image-wrap {
        height: 200px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-meta {
        gap: 0.6rem;
    }

    /* Founder grid – already has 1fr at 968px */

    /* Values section */
    .values-section h2 {
        font-size: 2.5rem;
    }
}

/* --- SMALL TABLET / LARGE PHONE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        height: 65px;
    }

    .brand-logo img {
        height: 35px;
    }

    .nav-links {
        top: 65px;
    }

    /* Section padding */
    .section-padding {
        padding: 3.5rem 0;
    }

    /* Container padding */
    .container {
        padding: 0 4%;
    }

    /* Page headers */
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* About hero */
    .about-hero {
        padding: 2rem 0;
    }

    .about-hero .hero-title {
        font-size: 2.2rem;
    }

    .about-hero .hero-subtitle {
        font-size: 1rem;
    }

    /* Overview section */
    .overview-text h2 {
        font-size: 2rem;
    }

    .overview-body p {
        font-size: 1rem;
    }

    /* Stat boxes */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Founder section */
    .founder-content h2 {
        font-size: 2rem;
    }

    .founder-bio p {
        font-size: 1rem;
    }

    /* Values */
    .values-section {
        padding: 4rem 0 5rem;
    }

    .values-section h2 {
        font-size: 2rem;
    }

    .value-card {
        padding: 2.5rem 2rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    .value-card p {
        font-size: 0.95rem;
    }

    /* Products grid – 2 columns on small tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        margin-bottom: 4rem;
    }

    .product-image-wrap {
        height: 180px;
        padding: 1.5rem;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .product-botanical {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .product-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .meta-item svg {
        width: 12px;
        height: 12px;
    }

    .view-btn {
        font-size: 10px;
        opacity: 1;
        transform: translateY(0);
    }

    .product-label {
        font-size: 9px;
        padding: 4px 10px;
        top: 10px;
        right: 10px;
    }

    /* Category heading bar */
    .category-heading-bar {
        font-size: 20px;
        padding: 12px 0;
    }

    /* Filter bar */
    .filter-bar-container {
        padding: 1rem;
        margin: 0 0 2rem 0;
        gap: 0.75rem;
    }

    #filter-search {
        font-size: 0.9rem;
        padding: 0.7rem 1rem 0.7rem 2.5rem;
    }

    /* Footer - Responsive 2-Column Layout */
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: flex-start;
        text-align: left;
        gap: 2rem 1.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: left;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact-details {
        text-align: left;
    }

    footer {
        padding: 3rem 0;
        margin-top: 2rem;
    }

    /* Certifications */
    .certs-hero {
        padding: 3rem 0 2rem;
    }

    .certs-hero h1 {
        font-size: 2.2rem;
    }

    .cert-section {
        padding: 3rem 0;
    }

    .cert-card {
        padding: 2rem 1.5rem;
    }

    /* Blog */
    .blog-hero {
        padding: 3rem 0 2rem;
    }

    .blog-article-wrap {
        padding: 2.5rem 4%;
    }

    /* Enquiry page */
    .enquiry-container {
        padding: 2rem 1.5rem;
    }

    /* Category carousel */
    .cat-grid {
        height: 50vh;
    }

    /* Products section padding */
    .products-section {
        padding: 3rem 0;
    }
}

/* --- PHONE (max-width: 576px) --- */
@media (max-width: 576px) {
    /* Navigation */
    .nav-container {
        height: 60px;
    }

    .brand-logo img {
        height: 30px;
    }

    .brand-logo {
        font-size: 16px;
        letter-spacing: 1px;
        gap: 1rem;
    }

    .nav-links {
        top: 60px;
        padding: 1rem 4%;
        gap: 1rem;
    }

    /* Hamburger X animation offset */
    .hamburger-btn span {
        width: 22px;
    }

    /* Section padding */
    .section-padding {
        padding: 3rem 0;
    }

    /* Page headers */
    .page-header {
        padding: 1.5rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Products grid — 2 columns on phone */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 0.75rem;
        margin-bottom: 3rem;
    }

    .product-card {
        border-radius: 4px;
        overflow: hidden;
    }

    .product-image-wrap {
        height: 140px;
        padding: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.85rem;
        letter-spacing: 0;
        margin-bottom: 0.25rem;
    }

    .product-botanical {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        margin-bottom: 0.6rem;
        padding-top: 0.6rem;
    }

    .meta-item {
        font-size: 0.7rem;
    }

    .view-btn {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .product-label {
        font-size: 8px;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
        border-radius: 12px;
    }

    /* Category heading bar */
    .category-heading-bar {
        font-size: 16px;
        padding: 10px 0;
    }

    /* Filter bar */
    .filter-bar-container {
        padding: 0.75rem;
        margin: 0 0 1.5rem 0;
        border-radius: 6px;
    }

    .filter-search-wrap {
        min-width: auto;
    }

    .filter-dropdowns select {
        font-size: 0.85rem;
        padding: 0.6rem 2rem 0.6rem 1rem;
    }

    /* Active filter tag */
    .active-filter-tag {
        font-size: 10px;
        padding: 4px 12px;
    }

    /* About hero */
    .about-hero .hero-title {
        font-size: 1.8rem;
    }

    .about-hero .hero-subtitle {
        font-size: 0.9rem;
    }

    .about-hero .hero-tagline {
        font-size: 12px;
        letter-spacing: 3px;
    }

    /* Overview section */
    .overview-text h2 {
        font-size: 1.6rem;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    /* Stat boxes */
    .overview-stats {
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* Founder */
    .founder-grid {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .founder-content h2 {
        font-size: 1.6rem;
    }

    .founder-tagline {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .founder-bio p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* Values */
    .values-section {
        padding: 3rem 0 4rem;
    }

    .values-section h2 {
        font-size: 1.6rem;
    }

    .values-grid {
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .value-card p {
        font-size: 0.9rem;
    }

    /* Certifications */
    .certs-hero {
        padding: 2rem 0 1.5rem;
    }

    .certs-hero h1 {
        font-size: 1.8rem;
    }

    .certs-hero p {
        font-size: 0.9rem;
    }

    .cert-section {
        padding: 2.5rem 0;
    }

    .cert-grid {
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .cert-card {
        padding: 1.5rem 1rem;
    }

    .cert-icon-wrap {
        width: 70px;
        height: 70px;
    }

    .cert-card h3 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .cert-card p {
        font-size: 0.8rem;
    }

    /* Blog */
    .blog-hero {
        padding: 2rem 0 1.5rem;
    }

    .blog-hero .hero-tagline {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .blog-article-wrap {
        padding: 2rem 4%;
    }

    .blog-article-wrap h1 {
        font-size: 1.5rem;
    }

    .blog-article-wrap h2 {
        font-size: 1.2rem;
    }

    .blog-article-wrap p,
    .blog-article-wrap li {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 0;
        margin-top: 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-brand h3 {
        font-size: 18px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-links h4 {
        font-size: 11px;
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 13px;
    }

    .contact-person h5 {
        font-size: 13px;
    }

    .contact-person p {
        font-size: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Enquiry page */
    .enquiry-container {
        padding: 1.5rem 1rem;
    }

    /* Button sizes */
    .btn-primary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* Category carousel */
    .cat-grid {
        height: 40vh;
    }

    .cat-arrow-btn {
        width: 36px;
        height: 36px;
    }

    .cat-arrow-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Category panels */
    .cat-panel .cat-name {
        font-size: 1rem;
    }

    .cat-panel .cat-explore {
        font-size: 8px;
        letter-spacing: 3px;
    }

    /* Products section */
    .products-section {
        padding: 2rem 0;
    }

    /* Modal responsive */
    .modal-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }

    .cert-modal-inner {
        width: 95vw;
    }

    .cert-modal-header {
        padding: 1rem 1.25rem;
    }

    .cert-modal-header h2 {
        font-size: 0.85rem;
    }

    .cert-modal-body {
        padding: 1rem;
    }
}

/* --- EXTRA SMALL PHONE (max-width: 360px) --- */
@media (max-width: 360px) {
    .products-grid {
        gap: 0.75rem 0.5rem;
    }

    .product-image-wrap {
        height: 120px;
        padding: 0.75rem;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-name {
        font-size: 0.75rem;
    }

    .product-botanical {
        font-size: 0.65rem;
    }

    .meta-item {
        font-size: 0.65rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .nav-container {
        height: 55px;
    }

    .brand-logo img {
        height: 28px;
    }

    .nav-links {
        top: 55px;
    }
}

