/* --- About Page Styles --- */

/* Hero */
.about-hero {
    height: 70vh;
    width: 100%;
    /* Use a high-quality farm or coconut image here */
    /* background-image: url('https://placehold.co/1920x1080/222/555?text=Zynex+Farm+Hero'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
}

.about-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-top: 1rem;
    font-weight: 800;
}

.about-hero .subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 50px;
}

/* Container Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 120px 0;
}

.mid_container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
}


/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text .section-tag {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

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

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

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--primary-color);
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: translateY(-10px);
}

/* Corporate Details */
.corporate-details {
    background-color: var(--text-dark);
    color: white;
    padding: 80px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.detail-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-box p {
    color: #aaa;
}

/* Mission Section */
.mission-section {
    background-color: var(--bg-light);
}

.mission-wrapper {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.mission-content {
    flex: 1;
    padding: 0 2rem;
}

.mission-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mission-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.mission-wrapper .divider {
    width: 1px;
    height: 150px;
    background-color: #eee;
}

/* --- Leadership Section--- */

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-dark);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Optional: Alternate layout (Image Right, Text Left) for even items */
/* Uncomment the lines below if you want a zig-zag pattern */
.team-card:nth-child(even) {
    flex-direction: row-reverse;
}


/* Column 1: Image */
.team-img {
    width: 40%;
    height: 100%;
    min-height: 400px;
    flex-shrink: 0;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
    filter: grayscale(1);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.team-info {
    width: 60%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-info .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info p {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.team-socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.team-socials a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    /* Standard text color */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    background-color: #f8f9fa;
    /* Light grey background */
    border-radius: 50px;
}

/* Icon specific styling */
.team-socials a i {
    font-size: 1.1rem;
    color: var(--primary-color);
    /* Orange icon */
}

/* Hover Effects */
.team-socials a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.team-socials a:hover i {
    color: white;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .team-card {
        flex-direction: column;
        text-align: center;
    }

    .team-card:nth-child(even) {
        flex-direction: column;
    }

    .team-img {
        width: 100%;
        height: 350px;
    }

    .team-info {
        width: 100%;
        padding: 2rem;
    }

    .team-info p {
        margin-top: 1rem;
    }
}

@media (max-width: 900px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-image img {
        box-shadow: 10px 10px 0px var(--primary-color);
    }

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

    .mission-wrapper {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .mission-wrapper .divider {
        width: 100%;
        height: 1px;
        margin: 2rem 0;
    }

    .mission-content {
        padding: 0;
    }
}