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

/* CSS Variables */
:root {
    /* Colors */
    --color-primary-green: #639700;
    --color-secondary-green: #455821;
    --color-tertiary-green: #7B8B5D;
    --color-light-green: #DEE3D5;
    --color-lighter-green: #EAEDE2;
    --color-border-green: #BAC1AC;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-text-primary: #141314;
    --color-text-secondary: #474747;
    --color-text-muted: rgba(34, 34, 34, 0.6);

    /* Typography */
    --font-primary: 'Manrope', sans-serif;
    --font-serif: 'Instrument Serif', serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 25px;
    --radius-xl: 30px;
    --radius-2xl: 40px;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text-primary);
    background-color: var(--color-white);
    line-height: 1.366;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 21px 20px;
    background-color: var(--color-white);
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 20px);
    min-height: 1000px;
    background-image: linear-gradient(180deg, #00000099 33%, #00000066 66%, #00000033 99%),
    url('../assets/hero-section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-image-container.products-hero {
    background-image: linear-gradient(180deg, #00000099 33%, #00000066 66%, #00000033 99%),
    url('../assets/products-hero.jpg');
}

.hero-image-container.story-hero {
    background-image: linear-gradient(180deg, #00000099 33%, #00000066 66%, #00000033 99%),
    url('../assets/horton-plains.jpg');
}

.products-hero .btn-primary .btn-icon {
    background-color: #bca638;
}

.blog-hero .btn-primary .btn-icon {
    background-color: #3b82f6;
}

.community-hero .btn-primary .btn-icon {
    background-color: #ef4444;
}

/* Story Section */
.story-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 87px;
    background-color: var(--color-white);
}

.story-section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.1em;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 60px;
}

.story-container {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.founder-card {
    flex: 0 0 380px;
    background-color: var(--color-light-green);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.founder-photo-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info {
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-green);
    width: 100%;
}

.founder-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.founder-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.founder-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-green);
}

.stat-item {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4em;
}

.stat-item::before {
    content: "•";
    color: var(--color-primary-green);
    font-size: 1.5rem;
    line-height: 1;
}

.story-content {
    flex: 1;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.story-heading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.625rem);
    line-height: 1.2em;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.story-subheading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    margin-top: 16px;
}

.story-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7em;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.founder-quote {
    background: linear-gradient(135deg, var(--color-lighter-green) 0%, #f5f7f0 100%);
    padding: 48px 40px;
    margin: 32px 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border-green);
    position: relative;
}


.quote-text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.6em;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.quote-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-green);
}

.quote-author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.quote-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-author-info {
    text-align: left;
}

.quote-author-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.quote-author-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.3;
}

/* Navbar */
.navbar {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 43px 56px;
    gap: 60px;
    flex-shrink: 0;
}

.logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 171px;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    padding: 0 10px;
    flex: 1;
}

.shopping-bag {
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.shopping-bag:hover {
    opacity: 0.8;
}

.shopping-bag img {
    width: 30px;
    height: 30px;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--color-white);
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hide Shop link on desktop - only show on mobile */
.nav-menu .mobile-only {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
}

.hamburger:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation to X */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 56px 56px;
    margin-top: clamp(-25rem, -20vw, -15rem);
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 3.5rem);
    line-height: 1.366em;
    text-align: center;
    color: var(--color-white);
    max-width: clamp(35rem, 45vw, 55rem);
    margin-bottom: 20px;
}

.hero-title-serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    border: 2.5px solid transparent;
    min-height: 46px;
    height: 46px;
    width: 156px;
    background-color: var(--color-white);
    color: var(--color-black);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.btn-primary .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-green);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.btn-primary .btn-icon img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.btn-primary .btn-text {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover .btn-icon {
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    border-radius: var(--radius-2xl);
    transform: translateY(-50%);
}

.btn-primary:hover .btn-icon img {
    transform: translateX(55px);
}

.btn-primary:hover .btn-text {
    color: var(--color-white);
    margin-left: 12px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2.5px solid transparent;
    min-height: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.24);
    color: var(--color-white);
    border-color: var(--color-white);
    backdrop-filter: blur(10px);
    touch-action: manipulation;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

/* Channel Partners Section */
.channel-partners {
    max-width: 1920px;
    margin: 0 auto;
    padding: 25px 60px;
    background-color: var(--color-white);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.75vw, 1.75rem);
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.partners-carousel-container {
    width: 100%;
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.75rem, 2.75vw, 3.25rem);
    padding: 20px;
    flex-wrap: wrap;
}

.partner-logo {
    width: clamp(6.5rem, 7vw, 9rem);
    height: clamp(6.5rem, 7vw, 9rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wide {
    width: clamp(11rem, 13vw, 16rem);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.95);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Hide duplicate logos on desktop - use class for better specificity */
.partner-logo.partner-logo-duplicate {
    display: none;
}

/* Keyframes for mobile carousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Manifesto Section */
.manifesto-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 180px 87px 120px;
    background-color: var(--color-white);
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.1em;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 25px;
}

.manifesto-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(2rem, 3vw, 4rem);
    padding: 1.875rem;
}

.manifesto-card {
    width: clamp(20rem, 24vw, 26rem);
    height: clamp(22rem, 28vw, 30rem);
    background-color: var(--color-light-green);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-image {
    width: 100%;
    height: clamp(10rem, 15vw, 16rem);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-green);
    overflow: hidden;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    padding: 1.25rem;
    transform: scale(1.0);
}

.card-content {
    padding: 0.375rem 0;
}

.card-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.card-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 1.1rem);
    line-height: 1.4em;
    color: var(--color-text-secondary);
    margin-left: 0.5rem;
}

/* Connect With Us Section */
.connect-section {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 76px;
    padding: 116px 296px;
    background-color: var(--color-white);
}

.contact-form-wrapper {
    flex: 1;
}

.form-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.3em;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding: 37px 54px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-tertiary-green);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 16px;
    background-color: var(--color-white);
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 63px;
}

.btn-submit {
    width: 100%;
    min-height: 50px;
    padding: 15px 17px;
    background-color: var(--color-tertiary-green);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease;
    touch-action: manipulation;
}

.btn-submit:hover {
    background-color: var(--color-secondary-green);
}

.location-wrapper {
    width: 533px;
    height: 680px;
}

.location-info {
    padding: 35px;
    margin-bottom: 20px;
}

.location-info p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.366em;
    color: var(--color-black);
}

.location-map {
    width: 100%;
    height: 505px;
    background-color: var(--color-lighter-green);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-green);
}

/* Footer */
.footer {
    background-color: var(--color-secondary-green);
    padding: 20px;
    margin: 20px;
    border-radius: var(--radius-xl);
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    gap: 40px;
}

.footer-logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo img {
    width: 140px;
    height: auto;
}

.footer-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.footer-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.7;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-white);
    padding: 10px 20px;
    border-radius: 25px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-green);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--color-primary-green);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    text-align: center;
    padding: 15px 0 0 0;
}

.footer-copyright p {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.8;
}

/* Product Category Section */
.product-category-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 150px;
    background-color: var(--color-white);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 15px 27px 15px 52px;
}

.category-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 3rem;
    line-height: 1.3em;
    color: var(--color-text-primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 380px));
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: 22px 52px;
}

.category-card {
    width: 100%;
    max-width: 390px;
    height: auto;
    min-height: 400px;
    background-color: var(--color-light-green);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-xl);
    padding: 10px 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-green);
    overflow: hidden;
    background-color: var(--color-white);
    flex-shrink: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3em;
    color: var(--color-text-primary);
    padding: 0 15px;
    flex-shrink: 0;
}

.category-card-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 0 15px;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-card-tags::-webkit-scrollbar {
    display: none;
}

.category-card-subtext {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5em;
    color: var(--color-text-secondary);
    padding: 0 15px;
    flex-shrink: 0;
}

.product-detail-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 150px;
    background-color: var(--color-white);
}

.product-detail-header {
    margin-bottom: 40px;
}

.product-detail-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2em;
    color: var(--color-text-primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
}

.product-detail-card {
    display: flex;
    flex-direction: row;
    background-color: var(--color-light-green);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-image {
    flex: 0 0 240px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-green);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-content {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    max-width: 280px;
}

.product-detail-card-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.product-detail-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5em;
    color: var(--color-text-secondary);
}

/* Responsive Design */
/* Large Screens (1920px and up) */
@media (min-width: 1920px) {
    .hero-content {
        margin-top: -22rem;
    }

    .manifesto-card {
        width: 22rem;
        height: 28rem;
    }

    .card-image {
        height: 14rem;
    }

    .partner-logo {
        width: 9rem;
        height: 9rem;
    }

    .partner-logo-wide {
        width: 12rem;
    }

    .partners-grid {
        gap: 4rem;
    }
}

@media (max-width: 1600px) {
    .connect-section {
        padding: 80px 150px;
    }
}

@media (max-width: 1400px) {
    .navbar {
        gap: 40px;
    }

    .nav-menu {
        gap: 40px;
    }

    .nav-menu a {
        font-size: 22px;
    }

    .manifesto-section {
        padding: 120px 60px 80px;
    }

    .story-section {
        padding: 100px 60px;
    }

    .footer-nav {
        gap: 100px;
    }
}

@media (max-width: 1200px) {
    .manifesto-card {
        width: 20rem;
        height: 26rem;
    }

    .story-container {
        flex-direction: column;
        align-items: center;
    }

    .founder-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .story-content {
        width: 100%;
    }

    .connect-section {
        flex-direction: column;
        padding: 60px 80px;
    }

    .location-wrapper {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        padding: 30px 40px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 48px;
    }

    .manifesto-cards {
        flex-direction: column;
        align-items: center;
    }

    .manifesto-card {
        width: 100%;
        max-width: 500px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .story-section {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 15px;
    }

    .hero-image-container {
        min-height: 500px;
        border-radius: 15px;
    }

    /* Mobile Navigation */
    .navbar {
        padding: 20px 15px;
        gap: 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    /* Logo on left for mobile */
    .logo {
        order: 1;
    }

    /* Hamburger on right for mobile */
    .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .logo img {
        width: 110px;
    }

    /* Hide nav menu by default on mobile */
    .nav-menu {
        order: 3;
    }

    /* Hide shopping bag on mobile */
    .shopping-bag {
        display: none;
    }

    /* Mobile menu styling */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease-in-out;
        z-index: 99;
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-light-green);
    }

    /* Show Shop link on mobile */
    .nav-menu .mobile-only {
        display: block;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 18px 0;
        font-size: 18px;
        color: var(--color-text-primary);
        font-weight: 600;
        border-color: var(--color-primary-green);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        color: var(--color-primary-green);
    }

    /* Mobile menu overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-light-green);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .hero-content {
        padding: 0 20px 30px;
        margin-top: clamp(-10rem, -15vw, -8rem);
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 18px;
        max-width: 90%;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        height: 48px;
        font-size: 15px;
    }

    .btn-primary {
        width: 150px;
    }

    .btn {
        font-size: 16px;
        padding: 14px 20px;
    }

    .channel-partners {
        padding: 20px 20px;
    }

    .section-subtitle {
        font-size: 22px;
        margin-bottom: 15px;
    }

    /* Mobile carousel for partner logos - One at a time */
    .partners-carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        position: relative;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .partners-carousel-container::-webkit-scrollbar {
        display: none;
    }

    .partners-grid {
        display: inline-flex;
        gap: 50px;
        flex-wrap: nowrap;
        padding: 20px 10px;
        justify-content: flex-start;
        animation: scroll 40s linear infinite;
    }

    .partner-logo {
        width: 280px;
        height: 280px;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 auto;
    }

    .partner-logo-wide {
        width: 550px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    /* Show duplicate logos on mobile for seamless loop - proper specificity */
    .partner-logo.partner-logo-duplicate {
        display: flex;
    }

    .manifesto-section {
        padding: 50px 20px 40px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .manifesto-cards {
        padding: 15px;
        gap: 20px;
    }

    .manifesto-card {
        height: auto;
        min-height: 420px;
        padding: 12px;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 14px;
        line-height: 1.5em;
    }

    .connect-section {
        padding: 40px 20px;
        gap: 40px;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .form-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 25px 20px;
        gap: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 13px 15px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 15px;
    }

    .btn-submit {
        font-size: 17px;
        min-height: 48px;
    }

    .location-wrapper {
        width: 100%;
        height: auto;
    }

    .location-info {
        padding: 25px 20px;
    }

    .location-map {
        height: 400px;
    }

    .story-section {
        padding: 50px 20px 40px;
    }

    .story-section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .story-container {
        gap: 30px;
    }

    .founder-photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .story-content {
        padding: 32px;
    }

    .story-heading {
        font-size: 32px;
    }

    .story-subheading {
        font-size: 24px;
    }

    .founder-quote {
        padding: 36px 28px;
    }


    .quote-text {
        font-size: 1.125rem;
        margin-bottom: 24px;
    }

    .quote-author-photo {
        width: 48px;
        height: 48px;
    }

    .footer {
        margin: 15px;
        padding: 15px;
        border-radius: 15px;
    }

    .footer-nav {
        padding: 15px 20px;
        gap: 25px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-menu {
        display: none;
    }

    .footer-socials {
        padding: 10px 18px;
        gap: 14px;
    }

    .footer-socials svg {
        width: 18px;
        height: 18px;
    }

    .footer-copyright {
        padding: 12px 0 0 0;
    }

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

    /* Product Category Pages */
    .product-category-section {
        padding: 20px 20px;
    }

    .category-header {
        padding: 15px 20px;
    }

    .category-title {
        font-size: 2.25rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .category-card {
        max-width: 100%;
        min-height: 380px;
    }

    /* Product Detail Pages */
    .product-detail-section {
        padding: 30px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-detail-card {
        flex-direction: column;
    }

    .product-detail-image {
        flex: 1;
        width: 100%;
        height: 200px;
    }

    .product-detail-content {
        max-width: 100%;
    }
}

/* Small mobile devices (375px and below) - iPhone SE, small Android phones */

@media (max-width: 480px) {
    .hero-section {
        padding: 15px 5px 5px 5px;
    }

    .hero-image-container {
        min-height: 450px;
        border-radius: 15px;
    }

    .navbar {
        padding: 30px 25px;
        gap: 10px;
    }

    .logo {
        order: 1;
    }

    .hamburger {
        width: 26px;
        height: 22px;
        order: 2;
        margin-left: auto;
    }

    .logo img {
        width: 100px;
    }

    .shopping-bag {
        display: none;
    }

    .hamburger-bar {
        height: 2.5px;
    }

    .hamburger.active .hamburger-bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.active .hamburger-bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav-menu {
        width: 80%;
        max-width: 300px;
        padding: 75px 28px 28px;
    }

    .nav-menu a {
        font-size: 17px;
        padding: 16px 0;
    }

    .hero-content {
        padding: 0 15px 25px;
        margin-top: -8rem;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        width: 100%;
        padding: 0 10px;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 50px;
        height: 50px;
        font-size: 15px;
        justify-content: center;
    }

    .btn-primary {
        width: 150px;
        padding: 6px 12px;
    }

    .btn-secondary {
        width: 150px;
    }

    .btn-primary .btn-text {
        margin-left: 45px;
    }

    .btn {
        width: 100%;
        min-height: 48px;
    }

    .channel-partners {
        padding: 15px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    .partner-logo {
        width: 260px;
        height: 260px;
    }

    .partner-logo-wide {
        width: 480px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .manifesto-section {
        padding: 40px 15px 30px;
    }

    .manifesto-cards {
        padding: 10px;
        gap: 25px;
    }

    .manifesto-card {
        height: auto;
        min-height: 400px;
        padding: 12px;
    }

    .card-image {
        height: 190px;
    }

    .card-title {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 13.5px;
        line-height: 1.5em;
    }

    .story-section {
        padding: 40px 15px 30px;
    }

    .connect-section {
        padding: 30px 15px;
        gap: 30px;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .form-title {
        font-size: 26px;
    }

    .contact-form {
        padding: 20px 15px;
        gap: 15px;
    }

    .footer {
        margin: 12px;
        padding: 12px;
        border-radius: 15px;
    }

    .footer-nav {
        padding: 12px 15px;
        gap: 20px;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-menu {
        display: none;
    }

    .footer-socials {
        padding: 8px 16px;
        gap: 12px;
    }

    .footer-socials svg {
        width: 16px;
        height: 16px;
    }

    .footer-copyright {
        padding: 10px 0 0 0;
    }

    .footer-copyright p {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 14px;
    }

    .btn-submit {
        font-size: 16px;
        min-height: 46px;
    }

    .location-info {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .location-map {
        height: 350px;
    }

    .story-section-title {
        font-size: 28px;
    }

    /* Product Category Pages */
    .product-category-section {
        padding: 15px;
    }

    .category-header {
        padding: 10px 15px;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .category-grid {
        padding: 15px;
        gap: 20px;
    }

    .category-card {
        min-height: 360px;
        padding: 12px 12px 16px;
    }

    .category-card-title {
        font-size: 1.125rem;
    }

    /* Product Detail Pages */
    .product-detail-section {
        padding: 30px;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

    .product-detail-grid {
        gap: 20px;
    }

    .product-detail-image {
        height: 180px;
    }

    .founder-photo-wrapper {
        width: 180px;
        height: 180px;
    }

    .founder-card {
        padding: 24px;
    }

    .story-content {
        padding: 24px;
        gap: 24px;
    }

    .story-heading {
        font-size: 28px;
    }

    .story-subheading {
        font-size: 22px;
    }

    .founder-quote {
        padding: 32px 20px;
    }


    .quote-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .quote-footer {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }

    .quote-author-photo {
        width: 44px;
        height: 44px;
    }

    .quote-author-info {
        text-align: center;
    }

    .connect-section {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 28px;
    }
}

/* Small mobile devices (375px and below) - iPhone SE, small Android phones */
@media (max-width: 375px) {
    .hero-section {
        padding: 8px;
    }

    .hero-image-container {
        min-height: 420px;
        border-radius: 15px;
    }

    .navbar {
        padding: 12px 8px;
        gap: 8px;
    }

    .logo {
        order: 1;
    }

    .hamburger {
        width: 26px;
        height: 22px;
        order: 2;
        margin-left: auto;
    }

    .logo img {
        width: 90px;
    }

    .shopping-bag {
        display: none;
    }

    .hamburger-bar {
        height: 2.5px;
    }

    .hamburger.active .hamburger-bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.active .hamburger-bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav-menu {
        width: 80%;
        max-width: 280px;
        padding: 70px 25px 25px;
    }

    .nav-menu a {
        font-size: 17px;
        padding: 16px 0;
    }

    .hero-content {
        padding: 0 12px 20px;
        margin-top: -7rem;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        gap: 8px;
        padding: 0 5px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        height: 48px;
        font-size: 14px;
    }

    .btn-primary {
        width: 150px;
    }

    .channel-partners {
        padding: 12px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .partner-logo {
        width: 240px;
        height: 240px;
    }

    .partner-logo-wide {
        width: 360px;
    }

    .section-title {
        font-size: 24px;
    }

    .manifesto-section {
        padding: 35px 12px 25px;
    }

    .manifesto-cards {
        padding: 8px;
        gap: 23px;
    }

    .manifesto-card {
        padding: 12px;
        height: auto;
        min-height: 380px;
    }

    .card-image {
        height: 180px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .card-text {
        font-size: 13px;
        line-height: 1.5em;
    }

    .connect-section {
        padding: 25px 12px;
        gap: 25px;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .form-title {
        font-size: 24px;
    }

    .contact-form {
        padding: 18px 12px;
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 13px;
        font-size: 16px;
    }

    .btn-submit {
        min-height: 46px;
        font-size: 15px;
    }

    .location-map {
        height: 320px;
    }

    .story-section {
        padding: 35px 12px 25px;
    }

    .story-section-title {
        font-size: 26px;
    }

    .founder-photo-wrapper {
        width: 160px;
        height: 160px;
    }

    .founder-card {
        padding: 20px;
    }

    .story-content {
        padding: 20px;
        gap: 20px;
    }

    .story-heading {
        font-size: 26px;
    }

    .story-subheading {
        font-size: 20px;
    }

    .founder-quote {
        padding: 28px 18px;
    }

    .quote-text {
        font-size: 0.95rem;
    }

    .footer {
        margin: 10px;
        padding: 10px;
        border-radius: 15px;
    }

    .footer-nav {
        padding: 10px 12px;
        gap: 18px;
    }

    .footer-logo img {
        width: 90px;
    }

    .footer-menu {
        display: none;
    }

    .footer-socials {
        padding: 8px 14px;
        gap: 10px;
    }

    .footer-socials svg {
        width: 15px;
        height: 15px;
    }

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

    /* Product Pages */
    .product-category-section {
        padding: 12px;
    }

    .category-header {
        padding: 8px 12px;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .category-grid {
        padding: 12px;
        gap: 18px;
    }

    .category-card {
        min-height: 340px;
        padding: 10px 10px 14px;
    }

    .product-detail-section {
        padding: 30px;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .product-detail-grid {
        gap: 18px;
    }

    .product-detail-image {
        height: 160px;
    }

    .product-detail-card-title {
        font-size: 1.125rem;
    }

    /* Community & Blog Pages */
    .community-intro-section,
    .community-partners-section,
    .blog-posts-section {
        padding: 35px 12px;
    }

    .partner-card {
        padding: 1.25rem;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .partner-image {
        height: 12rem;
    }

    .blog-cards {
        gap: 1.5rem;
    }

    .blog-article-hero {
        height: 320px;
        padding: 25px 12px;
    }

    .blog-article-logo img {
        width: 85px;
    }

    .blog-article-title {
        font-size: 1.625rem;
    }

    .blog-article-content {
        padding: 0 15px;
    }

    .related-posts-section {
        padding: 35px 15px;
        margin-top: 35px;
    }
}

/* Community Page Styles */
.hero-image-container.community-hero {
    background-image: linear-gradient(180deg, #00000099 33%, #00000066 66%, #00000033 99%),
    url('../assets/community.jpg');
}

.community-intro-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 87px 80px;
    background-color: var(--color-white);
    text-align: center;
}

.community-intro-section .section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.1em;
    color: var(--color-text-primary);
    margin-bottom: 32px;
}

.intro-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    line-height: 1.5em;
    color: var(--color-text-secondary);
    max-width: 1000px;
    margin: 0 auto;
}

.community-partners-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 180px 120px;
    background-color: var(--color-white);
}

.partner-card {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 5vw, 5rem);
    margin-bottom: clamp(4rem, 6vw, 6rem);
    background-color: var(--color-lighter-green);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 3vw, 3rem);
    border: 1px solid var(--color-border-green);
}

.partner-card:last-child {
    margin-bottom: 0;
}

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

.partner-image-wrapper {
    flex: 0 0 clamp(18rem, 28vw, 24rem);
}

.partner-image {
    width: 100%;
    height: clamp(14rem, 20vw, 18rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.partner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.partner-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2em;
    color: var(--color-text-primary);
    position: relative;
}

.partner-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-green);
    margin-top: 12px;
    border-radius: 2px;
}

.partner-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.7em;
    color: var(--color-text-secondary);
}

/* Blog Page Styles */
.hero-image-container.blog-hero {
    background-image: linear-gradient(180deg, #00000099 33%, #00000066 66%, #00000033 99%),
    url('../assets/sri-lanka.jpg');
}

.blog-posts-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 87px;
    background-color: var(--color-white);
}

.blog-posts-section .section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.1em;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 25px;
}

.blog-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(2rem, 3vw, 4rem);
    padding: 1.875rem;
}

.blog-card-wrapper {
    width: clamp(20rem, 24vw, 26rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-card-wrapper:hover {
    transform: translateY(-4px);
}

.blog-card {
    background-color: var(--color-light-green);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.3s ease;
}

.blog-card-wrapper:hover .blog-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: clamp(10rem, 15vw, 16rem);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-green);
    overflow: hidden;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card-wrapper:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card-header {
    padding: 0.375rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-left: 0.5rem;
}

.blog-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 1.1rem);
    line-height: 1.4em;
    color: var(--color-text-secondary);
    margin-left: 0.5rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 0.9vw, 0.95rem);
    color: var(--color-text-secondary);
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: rgba(99, 151, 0, 0.1);
    border: 1px solid var(--color-primary-green);
    border-radius: 14px;
    font-size: 0.8rem;
    color: var(--color-secondary-green);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--color-primary-green);
    color: var(--color-white);
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Styles for Community and Blog Pages */
@media (max-width: 1024px) {
    .community-intro-section,
    .community-partners-section,
    .blog-posts-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .partner-card {
        gap: 2.5rem;
        padding: 2rem;
        margin-bottom: 3.5rem;
    }

    .partner-image-wrapper {
        flex: 0 0 20rem;
    }

    .partner-image {
        height: 16rem;
    }

    .blog-cards {
        gap: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .blog-cards {
        flex-direction: column;
        align-items: center;
    }

    .blog-card-wrapper {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .community-intro-section,
    .community-partners-section,
    .blog-posts-section {
        padding: 60px 20px;
    }

    .partner-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .partner-card-reverse {
        flex-direction: column;
    }

    .partner-image-wrapper {
        flex: 1;
        width: 100%;
    }

    .partner-image {
        height: 14rem;
    }

    .partner-title::after {
        margin-top: 8px;
    }

    .blog-cards {
        padding: 0;
        gap: 2rem;
    }

    .blog-card-wrapper {
        max-width: 400px;
    }
}

/* Blog Article Page Styles */
.blog-article-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 20px 80px;
    background-color: var(--color-white);
}

.blog-article-hero {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.blog-article-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.blog-article-logo:hover {
    opacity: 0.8;
}

.blog-article-logo img {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
}

.blog-article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.blog-article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.blog-article-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2em;
    color: var(--color-white);
    margin-bottom: 24px;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-article-date,
.blog-article-read-time {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-article-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-article-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.article-section {
    margin-bottom: 48px;
}

.article-section:last-child {
    margin-bottom: 0;
}

.article-section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.3em;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.article-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.8em;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.article-text:last-child {
    margin-bottom: 0;
}

.article-image-wrapper {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.article-list {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.8em;
    color: var(--color-text-secondary);
    margin: 24px 0;
    padding-left: 24px;
    list-style: none;
}

.article-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
}

.article-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary-green);
    font-size: 1.5rem;
    line-height: 1.2;
}

.article-quote {
    background: linear-gradient(135deg, var(--color-lighter-green) 0%, #f5f7f0 100%);
    padding: 40px;
    margin: 40px 0;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-quote-text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.6em;
    color: var(--color-text-primary);
    font-style: italic;
}

.related-posts-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 100px 87px 80px;
    background-color: var(--color-lighter-green);
    border-radius: var(--radius-xl);
    margin-top: 80px;
}

.related-posts-section .section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1em;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 48px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post-card {
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: var(--color-light-green);
}

.related-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    z-index: 2;
}

.related-post-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.3em;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 6px 12px;
    display: inline-block;
    width: auto;
    backdrop-filter: blur(10px);
}

.related-post-excerpt {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.4em;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 5px 10px;
    display: inline-block;
    width: auto;
    max-width: 90%;
    backdrop-filter: blur(10px);
}

.related-post-date {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.7rem;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 4px 10px;
    width: auto;
    backdrop-filter: blur(10px);
}

/* Responsive Styles for Blog Article Pages */
@media (max-width: 768px) {
    .blog-article-hero {
        height: 400px;
        padding: 40px 20px;
    }

    .blog-article-logo {
        top: 20px;
        left: 20px;
    }

    .blog-article-logo img {
        width: 100px;
    }

    .blog-article-title {
        font-size: 2rem;
    }

    .blog-article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .blog-article-content {
        padding: 0 20px;
    }

    .article-section-title {
        font-size: 1.5rem;
    }

    .article-text,
    .article-list {
        font-size: 1rem;
    }

    .article-quote {
        padding: 28px 20px;
    }

    .article-quote-text {
        font-size: 1.25rem;
    }

    .related-posts-section {
        padding: 60px 40px;
        margin-top: 60px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .blog-article-hero {
        height: 350px;
        padding: 30px 15px;
    }

    .blog-article-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .article-text {
        font-size: 0.95rem;
    }

    .related-posts-section {
        padding: 40px 20px;
        margin-top: 40px;
    }
}
