/* =========================================================
ANJANEY AGRO ENTERPRISE
COMMON / HOME PAGE STYLES
========================================================= */

:root {
    --primary: #245c3a;
    --primary-dark: #173f28;
    --primary-light: #3f7953;
    --accent: #c89b3c;
    --accent-dark: #a97d25;
    --dark: #17231b;
    --text: #4a514b;
    --light-text: #737a74;
    --cream: #f7f5ef;
    --light-green: #eef3ed;
    --white: #ffffff;
    --black: #000000;
    --border: #e1e5df;
    --container: 1200px;
    --transition: all 0.3s ease;
}


/* =========================================================
RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
CONTAINER
========================================================= */

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}


/* =========================================================
GLOBAL SECTIONS
========================================================= */

.section {
    padding: 50px 0;
}

.section-label {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    margin-left: 3px;
}

.section h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 600;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-intro > p:last-child {
    margin-top: 18px;
    color: var(--light-text);
    font-size: 17px;
}

.center-button {
    text-align: center;
    margin-top: 50px;
}


/* =========================================================
HERO
========================================================= */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image: url("../images/home/anjaney-agro-enterprise-home-hero.webp.webp");
    background-size: cover;
    background-position: 65% center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 28, 16, 0.92) 0%,
            rgba(8, 28, 16, 0.82) 28%,
            rgba(8, 28, 16, 0.48) 52%,
            rgba(8, 28, 16, 0.10) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
    transform: translate(30px);
}

.eyebrow {
    color: #e4c16a;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 600;
    margin: 0 0 20px;
}

.hero h1 span {
    display: block;
    color: #e4c16a;
}

.hero h2 {
    max-width: 580px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 15px;
    color: #ffffff;
}

.hero-description {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.text-button {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 3px;
    transition: var(--transition);
}

.text-button:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}


/* =========================================================
PAGE HERO
========================================================= */

.page-hero {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 150px 0 80px;
    position: relative;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            rgba(8, 28, 16, 0.94),
            rgba(23, 63, 40, 0.78)
        );
}

.page-hero-content {
    max-width: 900px;
}

.page-hero .section-label {
    color: #e4c16a;
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-hero p:not(.section-label) {
    max-width: 700px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
WHO WE ARE / TWO COLUMN
========================================================= */

.who-we-are {
    background: var(--white);
}

.two-column {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.section-heading h2 {
    max-width: 500px;
}

.section-copy {
    max-width: 650px;
}

.section-copy p {
    margin-bottom: 20px;
    font-size: 17px;
}

.highlight-text {
    padding-left: 22px;
    border-left: 3px solid var(--accent);
    color: var(--primary);
    font-weight: 600;
    font-size: 18px !important;
}



/* =========================================================
PRODUCTS HOME
========================================================= */

.products-section {
    background: var(--cream);
}

/* Products section introduction */

.products-section .section-intro {
    max-width: 1100px;
    margin: 0 auto 40px;
}


/* Products section description */

.products-section .section-intro > p:last-child {
    margin-top: 14px;
    white-space: nowrap;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(20, 50, 30, 0.12);
}

.product-image {
    height: 270px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 8px;
}

.product-content p {
    color: var(--light-text);
    font-size: 14px;
    min-height: 48px;
}

.product-content span {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
FARM TO GLOBAL
========================================================= */

.farm-global {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 450px;
}

.farm-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 12%;
    background: var(--primary);
    color: var(--white);
}

.farm-content h2 {
    max-width: 700px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 600;
}

.farm-content p {
    max-width: 700px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.farm-content .section-label {
    color: #e4c16a;
}

.farm-content .text-button {
    color: #ffffff;
    border-color: #ffffff;
    width: fit-content;
    margin-top: 12px;
}


/* =========================================================
WHY CHOOSE
========================================================= */

.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why-card {
    position: relative;
    padding: 32px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.why-number {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.why-card h3 {
    color: var(--dark);
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.why-card p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
QUALITY & CERTIFICATIONS
========================================================= */

.quality-section {
    background: var(--light-green);
}

.quality-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.quality-copy h2 {
    color: var(--dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
    margin-bottom: 25px;
}

.quality-copy > p {
    margin-bottom: 18px;
    font-size: 16px;
}

.quality-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.quality-points span {
    padding: 9px 15px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}


/* CERTIFICATION LOGOS */

.certifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.certification {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.certification:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, 0.08);
}

.certification img {
    height: 70px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    margin-bottom: 15px;
}

.certification h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 7px;
}

.certification p {
    color: var(--light-text);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
ABOUT PAGE
========================================================= */

.about-values-section {
    background: var(--cream);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    padding: 45px;
    border: 1px solid var(--border);
}

.value-card h2 {
    margin-bottom: 20px;
}

.value-card p:last-child {
    color: var(--light-text);
}

.about-values-grid {
    grid-template-columns: repeat(5, 1fr);
}


/* =========================================================
PRODUCT DETAIL PAGE
========================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    border: 1px solid var(--border);
    background: var(--white);
    margin-bottom: 40px;
}

.product-detail.reverse {
    direction: rtl;
}

.product-detail.reverse > * {
    direction: ltr;
}

.product-detail-image {
    min-height: 480px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-content h2 {
    margin-bottom: 20px;
}

.product-detail-content > p:not(.section-label) {
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 16px;
}

.product-list {
    list-style: none;
    margin: 0 0 28px;
}

.product-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.product-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.product-detail-content .btn {
    width: fit-content;
}


/* OTHER COMMODITIES */

.commodity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.commodity-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    transition: var(--transition);
}

.commodity-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.commodity-card span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.commodity-card h3 {
    color: var(--dark);
    font-size: 22px;
    margin: 14px 0 8px;
}

.commodity-card p {
    color: var(--light-text);
    font-size: 14px;
}


/* =========================================================
OUR STRENGTH
========================================================= */

.process-flow {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.process-step {
    flex: 1;
    min-width: 170px;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--border);
}

.process-step span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.process-step h3 {
    color: var(--dark);
    font-size: 18px;
    line-height: 1.3;
    margin: 14px 0;
}

.process-step p {
    color: var(--light-text);
    font-size: 13px;
    line-height: 1.6;
}

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--accent);
    font-size: 24px;
    font-weight: 700;
}

.strength-quality {
    background: var(--white);
}

.quality-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 60px;
}

.matrix-card {
    padding: 28px;
    background: var(--light-green);
    border: 1px solid var(--border);
}

.matrix-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.matrix-card p {
    color: var(--light-text);
    font-size: 13px;
}

.quality-bar {
    width: 100%;
    height: 7px;
    background: #dce5dd;
    margin-bottom: 15px;
    overflow: hidden;
}

.quality-bar span {
    display: block;
    height: 100%;
    width: 90%;
    background: var(--primary);
}


/* STRENGTH TABLE */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.strength-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
}

.strength-table th,
.strength-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.strength-table th {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.strength-table td {
    color: var(--text);
    font-size: 14px;
}

.strength-table tr:last-child td {
    border-bottom: none;
}

.strength-table tbody tr:hover {
    background: var(--light-green);
}


/* =========================================================
CONTACT PAGE
========================================================= */

.contact-section {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p:not(.section-label) {
    color: var(--light-text);
    margin-bottom: 35px;
    font-size: 16px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-icon {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
}

.contact-item h3 {
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--light-text);
    font-size: 14px;
}

.contact-item a:hover {
    color: var(--primary);
}


/* FORM */

.contact-form-wrapper {
    padding: 45px;
    background: var(--cream);
    border: 1px solid var(--border);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    padding: 13px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(36, 92, 58, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    border: none;
    cursor: pointer;
}

.form-note {
    margin-top: 15px;
    color: var(--light-text);
    font-size: 12px;
}

.contact-cta-strip {
    background: var(--light-green);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-cta-inner h2 {
    margin: 0;
}


/* =========================================================
FINAL ENQUIRY CTA
========================================================= */

.enquiry-cta {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background:
        linear-gradient(
            rgba(23, 63, 40, 0.96),
            rgba(23, 63, 40, 0.96)
        );
    color: var(--white);
}

.enquiry-content {
    max-width: 900px;
    margin: 0 auto;
}

.enquiry-content h2 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 600;
}

.enquiry-content > p:not(.section-label) {
    max-width: 750px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.enquiry-content .section-label {
    color: #e4c16a;
}

.enquiry-content .hero-buttons {
    justify-content: center;
}


/* =========================================================
TABLET
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(calc(100% - 50px), var(--container));
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .quality-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .commodity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 70px 0;
    }


    /* HERO */

    .hero {
        min-height: 680px;
        background-position: 65% center;
    }

    .hero-content {
        width: 100%;
        padding-top: 65px;
        padding-left: 24px;
        padding-right: 24px;
        transform: none;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 40px;
    }

    .hero h2 {
        max-width: 100%;
        font-size: 18px;
    }

    .hero-description {
        max-width: 100%;
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }


    /* PAGE HERO */

    .page-hero {
        min-height: 470px;
        padding: 130px 0 65px;
    }

    .page-hero h1 {
        font-size: 40px;
    }


    /* TWO COLUMN */

    .two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    /* PRODUCTS */

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-detail.reverse {
        direction: ltr;
    }

    .product-detail-image {
        min-height: 300px;
    }

    .product-detail-content {
        padding: 40px 30px;
    }

        .products-section .section-intro > p:last-child {
        white-space: normal;
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
        line-height: 1.6;
    }


    /* ABOUT */

    .value-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 30px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;
    }

    



    /* STRENGTH */

    .process-flow {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .process-arrow {
        display: none;
    }

    .quality-matrix {
        grid-template-columns: 1fr;
    }


    /* CERTIFICATIONS */

    .certifications {
        grid-template-columns: 1fr;
    }


    /* COMMODITIES */

    .commodity-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-form-wrapper {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 17px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section h2 {
        font-size: 32px;
    }

    .page-hero h1 {
        font-size: 35px;
    }

    .enquiry-content h2 {
        font-size: 35px;
    }

    .quality-points {
        flex-direction: column;
        align-items: flex-start;
    }

    .quality-points span {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .enquiry-content .hero-buttons {
        align-items: center;
    }

    .btn {
        width: auto;
    }

    .product-detail-content {
        padding: 35px 22px;
    }

    .strength-table th,
    .strength-table td {
        padding: 13px;
        font-size: 12px;
    }
}