/* about_custom.css - Specific styles for Sahaj Agro About Page */

:root {
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --accent-gold: #c5a47e;
    /* Inferred from premium aesthetic */
    --spacing-section: 120px;
}

/* --- Hero Overrides --- */
.about-hero {
    height: 70vh;
    min-height: 500px;
    margin-top: -80px;
    /* Pull up behind navbar assuming nav height approx 80px */
    padding-top: 80px;
    /* Push content down to compensate */
}

/* Target the wrapper for background image */
.about-hero .hero-bg-wrapper {
    background-image: url('assets/images/farmer11.avif');
    background-size: cover;
    background-position: center top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Styling for Mobile Typography */
.mobile-break {
    display: none;
}


/* --- Typography & Layout --- */
.drop-cap::first-letter {
    font-size: 3.5rem;
    float: left;
    margin-right: 0.5rem;
    line-height: 0.8;
    color: var(--primary-color, #2c5e2e);
    /* Fallback green */
    font-weight: 700;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.text-block p {
    margin-bottom: 2rem;
}

/* --- History Section --- */
.history-section {
    background-color: var(--bg-light);
    /* Warm grey background */
    position: relative;
    overflow: hidden;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-img-wrapper {
    max-height: 500px;
    /* Constrain height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.history-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure it covers the area without stretching */
    max-height: 500px;
}

.history-img-wrapper {
    max-height: 500px;
    /* Constrain height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.history-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure it covers the area without stretching */
    max-height: 500px;
}

/* --- Philosophy / Values --- */
.philosophy-section {
    background: linear-gradient(135deg, #113e2d 0%, #0d2e21 100%);
    color: #ffffff;
}

.philosophy-section .section-title {
    color: #ffffff;
}

.philosophy-section .eyebrow {
    color: #fdb913;
}

.philosophy-section .lead-text {
    color: #ffffff;
}

.philosophy-card h4 {
    color: #dbdfdb;
}

.philosophy-card p {
    color: #d4e8d4;
}


.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.phil-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: #fdb913;
    /* Light green for icons - matching index page */
}

/* --- Process Detail --- */
.process-detail-section {
    background-color: var(--bg-light);
    /* Alternating background */
}

.process-steps-vertical {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.process-steps-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: #eee;
}

.p-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 4rem;
}

.p-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--primary-color, #2c5e2e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.p-step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color, #2c5e2e);
    font-size: 1.4rem;
}

/* --- Global Map / Breakout --- */
.global-section {
    background: linear-gradient(135deg, #0d2e21 0%, #113e2d 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
}

.global-section .text-block {
    color: #d4e8d4;
}

.global-section .section-title {
    color: #ffffff;
}

.global-section .eyebrow {
    color: #fdb913;
}

.map-visual {
    margin-top: 3rem;
    opacity: 0.8;
    max-width: 100%;
}

.map-visual {
    margin-top: 3rem;
    opacity: 0.6;
    max-width: 100%;
}

/* --- Future Horizon --- */
.future-section {
    background: linear-gradient(to bottom, #fff, #f4f4f4);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr;
    }

    .process-steps-vertical::before {
        left: 15px;
    }

    .p-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .p-step {
        padding-left: 50px;
    }
}

/* Mobile Hero Fix */
@media (max-width: 768px) {
    .about-hero {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .about-hero .hero-bg-wrapper {
        background-image: url('assets/images/farmer12.avif');
    }

    .mobile-break {
        display: block;
    }

    .about-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .about-hero .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-top: 1rem;
        font-weight: 500;
        opacity: 0.95;
    }

    .mobile-brand {
        text-transform: uppercase;
        display: block;
        font-weight: 800;
        letter-spacing: 2px;
        margin-top: 0.5rem;
    }

    .mobile-lowercase-word {
        text-transform: lowercase;
    }
}
