/**
 * Heritage Harvests - About Us Page Styles
 * Nature-inspired design with animations and branding
 */

/* ===== CSS Variables ===== */
:root {
    --hh-primary: #2E7D32;
    --hh-primary-dark: #1B5E20;
    --hh-primary-light: #4CAF50;
    --hh-accent: #8BC34A;
    --hh-secondary: #33691E;
    --hh-cream: #F9FBF7;
    --hh-gray-light: #E8F5E9;
    --hh-text: #1A1A1A;
    --hh-text-light: #5D6B5E;
}

/* ===== Page Container ===== */
.hh-about {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    position: relative;
    background: var(--hh-cream);
}

/* ===== AOS Animation ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.92);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Delay helpers */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* ===== Floating Leaves Decoration ===== */
.hh-about-leaves {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hh-leaf {
    position: absolute;
    font-size: 20px;
    color: rgba(46, 125, 50, 0.06);
    animation: leafFloat 18s ease-in-out infinite;
}

.hh-leaf-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    font-size: 28px;
}

.hh-leaf-2 {
    top: 30%;
    right: 8%;
    animation-delay: 3s;
    font-size: 22px;
}

.hh-leaf-3 {
    top: 55%;
    left: 3%;
    animation-delay: 6s;
    font-size: 18px;
}

.hh-leaf-4 {
    top: 75%;
    right: 5%;
    animation-delay: 9s;
    font-size: 24px;
}

.hh-leaf-5 {
    top: 90%;
    left: 10%;
    animation-delay: 12s;
    font-size: 20px;
}

@keyframes leafFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }

    25% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-25px) rotate(8deg);
        opacity: 0.6;
    }
}

/* ===== HERO SECTION ===== */
.hh-about-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hh-about-hero-bg {
    position: absolute;
    inset: 0;
    /* Use the requested image with a dark overlay for text readability */
    background: linear-gradient(rgba(13, 59, 15, 0.7), rgba(27, 94, 32, 0.6)), url('https://heritageharvests.in/wp-content/uploads/2026/02/IMG_20250710_123126-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hh-about-hero-bg::before {
    /* Subtle gradient overlay to enhance depth */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.4) 0%, rgba(46, 125, 50, 0.2) 100%);
    z-index: 1;
}

.hh-about-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--hh-cream), transparent);
    z-index: 1;
}

.hh-about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 80px 24px 60px;
}

.hh-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hh-about-hero h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(32px, 7vw, 52px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
}

.hh-about-hero h1 span {
    background: linear-gradient(135deg, #A5D6A7, #81C784, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hh-about-hero p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hh-about-hero-scroll {
    cursor: pointer;
    animation: bounceDown 2s ease-in-out infinite;
}

.hh-about-hero-scroll .bi {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.hh-about-hero-scroll:hover .bi {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ===== SECTION BADGE (shared) ===== */
.hh-about-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--hh-primary);
    background: var(--hh-gray-light);
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ===== ORIGIN STORY SECTION ===== */
.hh-about-story {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.hh-about-story-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hh-about-story-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hh-about-story-badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hh-primary), var(--hh-accent));
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
}

.hh-about-story-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--hh-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hh-about-story h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 5vw, 38px) !important;
    font-weight: 800 !important;
    color: var(--hh-text) !important;
    margin: 0 0 32px !important;
    line-height: 1.2;
}

.hh-about-story-content {
    text-align: left;
}

.hh-about-story-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--hh-text-light);
    line-height: 1.85;
    margin: 0 0 18px;
}

.hh-about-story-lead {
    font-size: 18px !important;
    color: var(--hh-text) !important;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px !important;
}

.hh-about-story-highlight {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.04), rgba(139, 195, 74, 0.08));
    border-left: 4px solid var(--hh-primary);
    padding: 20px 24px;
    border-radius: 0 16px 16px 0;
    margin-top: 28px !important;
    font-size: 16px !important;
    color: var(--hh-text) !important;
}

/* ===== FOUNDER SECTION ===== */
.hh-about-founder {
    position: relative;
    z-index: 1;
    padding: 60px 20px 80px;
    background: #fff;
}

.hh-about-founder-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hh-about-founder-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hh-about-founder-frame {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.15);
    border: 4px solid rgba(46, 125, 50, 0.1);
}

.hh-about-founder-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 94, 32, 0.2), transparent 40%);
    z-index: 1;
}

.hh-about-founder-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hh-about-founder-frame:hover img {
    transform: scale(1.05);
}

.hh-about-founder-name-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--hh-primary);
    background: var(--hh-gray-light);
    padding: 8px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hh-about-founder-content {
    text-align: center;
}

.hh-about-founder-content h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(24px, 5vw, 34px) !important;
    font-weight: 800 !important;
    color: var(--hh-text) !important;
    margin: 0 0 6px !important;
    line-height: 1.2;
}

.hh-about-founder-role {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--hh-primary);
    margin: 0 0 24px;
}

.hh-about-founder-quote {
    position: relative;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.03), rgba(139, 195, 74, 0.06));
    border: 1px solid rgba(46, 125, 50, 0.08);
    border-radius: 20px;
    padding: 28px 24px 24px;
    margin: 0 0 28px;
    text-align: left;
}

.hh-about-quote-icon {
    font-size: 36px;
    color: var(--hh-primary);
    opacity: 0.2;
    display: block;
    margin-bottom: 8px;
}

.hh-about-founder-quote p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--hh-text);
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 16px;
}

.hh-about-founder-quote cite {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--hh-primary);
    font-style: normal;
}

.hh-about-founder-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hh-about-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--hh-primary-dark);
    background: var(--hh-gray-light);
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hh-about-value:hover {
    background: var(--hh-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
}

.hh-about-value .bi {
    font-size: 16px;
}

/* ===== BRAND / LOGO SECTION ===== */
.hh-about-brand {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.hh-about-brand-inner {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hh-about-brand-logo {
    display: flex;
    justify-content: center;
}

.hh-about-brand-logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(46, 125, 50, 0.12));
    transition: transform 0.5s ease;
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hh-about-brand-content h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(24px, 5vw, 34px) !important;
    font-weight: 800 !important;
    color: var(--hh-text) !important;
    margin: 0 0 16px !important;
    line-height: 1.2;
}

.hh-about-brand-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--hh-text-light);
    line-height: 1.8;
    margin: 0 0 14px;
}

/* ===== PRODUCTS SECTION ===== */
.hh-about-products {
    position: relative;
    z-index: 1;
    padding: 60px 20px 80px;
    background: #fff;
}

.hh-about-products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hh-about-products-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 5vw, 38px) !important;
    font-weight: 800 !important;
    color: var(--hh-text) !important;
    margin: 0 0 12px !important;
    line-height: 1.2;
}

.hh-about-products-header p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--hh-text-light);
    line-height: 1.6;
    margin: 0;
}

.hh-about-products-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.hh-about-product-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: var(--hh-cream);
    border: 1px solid rgba(46, 125, 50, 0.06);
    border-radius: 20px;
    text-decoration: none !important;
    color: var(--hh-text) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hh-about-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--product-accent), var(--hh-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.hh-about-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(46, 125, 50, 0.12);
    border-color: rgba(46, 125, 50, 0.1);
    text-decoration: none !important;
    color: var(--hh-text) !important;
}

.hh-about-product-card:hover::before {
    opacity: 1;
}

.hh-about-product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--product-accent), var(--hh-accent));
    border-radius: 16px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.hh-about-product-card:hover .hh-about-product-icon {
    transform: scale(1.1) rotate(-5deg);
}

.hh-about-product-icon .bi {
    font-size: 26px;
    color: #fff;
}

.hh-about-product-card h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--hh-text) !important;
    margin: 0 0 10px !important;
}

.hh-about-product-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--hh-text-light);
    line-height: 1.7;
    margin: 0 0 16px;
    flex: 1;
}

.hh-about-product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--hh-primary);
    transition: all 0.3s;
}

.hh-about-product-link .bi {
    transition: transform 0.3s;
}

.hh-about-product-card:hover .hh-about-product-link .bi {
    transform: translateX(4px);
}

/* ===== MISSION SECTION ===== */
.hh-about-mission {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.hh-about-mission-inner {
    max-width: 760px;
    margin: 0 auto;
}

.hh-about-mission-content {
    text-align: center;
}

.hh-about-mission-content h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 5vw, 38px) !important;
    font-weight: 800 !important;
    color: var(--hh-text) !important;
    margin: 0 0 12px !important;
    line-height: 1.2;
}

.hh-about-mission-content>p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--hh-text-light);
    line-height: 1.7;
    margin: 0 0 32px;
}

.hh-about-mission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.hh-about-mission-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(46, 125, 50, 0.06);
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hh-about-mission-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(46, 125, 50, 0.08);
    border-color: rgba(46, 125, 50, 0.12);
}

.hh-about-mission-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hh-primary), var(--hh-accent));
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.hh-about-mission-item h4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--hh-text) !important;
    margin: 0 0 6px !important;
}

.hh-about-mission-item p {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--hh-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.hh-about-cta {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    overflow: hidden;
}

.hh-about-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0D3B0F 0%, #1B5E20 40%, #2E7D32 70%, #43A047 100%);
    z-index: 0;
}

.hh-about-cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.hh-about-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hh-about-cta-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
    display: block;
    margin-bottom: 20px;
}

.hh-about-cta h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 5vw, 38px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    line-height: 1.2;
}

.hh-about-cta p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 30px;
}

.hh-about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--hh-primary-dark) !important;
    background: #fff !important;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.35s ease;
}

.hh-about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--hh-primary-dark) !important;
    text-decoration: none !important;
}

.hh-about-cta-btn .bi {
    transition: transform 0.3s;
}

.hh-about-cta-btn:hover .bi {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
    .hh-about-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hh-about-founder-inner {
        grid-template-columns: 280px 1fr;
        gap: 48px;
        text-align: left;
    }

    .hh-about-founder-content {
        text-align: left;
    }

    .hh-about-founder-values {
        justify-content: flex-start;
    }

    .hh-about-brand-inner {
        grid-template-columns: 200px 1fr;
        gap: 48px;
        text-align: left;
    }
}

@media (min-width: 900px) {
    .hh-about-hero {
        min-height: 80vh;
    }

    .hh-about-hero-content {
        padding: 100px 24px 80px;
    }

    .hh-about-founder-frame {
        width: 280px;
        height: 360px;
    }
}

/* ===== HIDE DEFAULT PAGE TITLE ===== */
.page-template-page-about-us .page-header,
.page-template-page-about-us h1.entry-title,
.page-template-page-about-us .entry-header {
    display: none !important;
}

.page-template-page-about-us .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.page-template-page-about-us .site-content {
    padding: 0 !important;
}