/* SEED-PRODUCTION.CSS */

/* ============================================
   SEED PRODUCTION SECTION
   ============================================ */
.seed-hero {
    width: 100vw;
    overflow: hidden;
    line-height: 0;
    position: relative;
    aspect-ratio: 2.4;
    /* height: 100vh; */
    max-height: 80vh;
}





.seed-content-wrapper {
    padding: 3.5rem 0 0 0;
    background: var(--white);
}

.seed-heading-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seed-title {
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--green-light);
    white-space: nowrap;
}

.seed-sub-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 2rem;
    color: var(--seed-brown);
    margin-bottom: 2rem;
    width: 100%;
}


.seed-h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 2rem;
    color: var(--seed-brown);
    margin-bottom: 1.5rem;
}

.seed-heading-line {
    flex: 1;
    height: 1px;
    background: var(--orange);
}

.seed-sub-section,
.seed-text-section,
.seed-services-section,
.seed-location-section,
.seed-timeline-section,
.seed-reporting-section {
    margin-bottom: 3rem;
}

.seed-text,
.seed-desc-main {
    font-size: 1.5rem;
    line-height: 2.1875rem;
    /* ~35px */
    color: var(--black);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.seed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seed-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--black);
}

.seed-list-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-details {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    line-height: 2.5rem;
    /* ~40px */
}

/* Tables */
.seed-table-container {
    background: var(--white);
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 0.625rem;
    overflow-x: auto;
    margin-top: 2rem;
}

.seed-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.seed-location-img {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.seed-table th,
.seed-table td {
    padding: 1.5rem;
    text-align: left;
    white-space: nowrap;
}

.seed-table th {
    background: #99CAAD;
    font-size: 2rem;
    color: var(--seed-brown);
    font-weight: 600;
}

.seed-table tbody tr {
    border-bottom: 1px solid var(--border-light);
}

.seed-table tbody tr:last-child {
    border-bottom: none;
}

.seed-table tbody tr.alt-row {
    background: #F9FAFB;
}

.seed-table td {
    /* font-size: 1.5rem; */
    color: var(--black);
    vertical-align: top;
}

.agro-climate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.agro-climate-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Geo Table V2 */
/* Geo Table V2 */
.geo-table-v2 {
    background: #FFFFFF;
    box-shadow: 0px 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0px 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
    border-radius: 0.625rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gt-header {
    display: grid;
    grid-template-columns: 487fr 329fr 416fr;
    background: #99CAAD;
    height: 3.5rem;
    align-items: center;
}

.gt-header .gt-col1,
.gt-header .gt-col2,
.gt-header .gt-col3 {
    font-size: 2rem;
    color: var(--seed-brown);
    font-weight: 600;
    line-height: 1.25rem;
    padding-left: 4.25rem;
}

.gt-body {
    display: grid;
    grid-template-columns: 487fr 329fr 416fr;
    padding: 2.8125rem 0;
    align-items: start;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
}

.gt-body .gt-col1 {
    padding-left: 6rem;
    position: relative;
}

.gt-body .gt-col2 {
    padding-left: 3.8125rem;
}

.gt-body .gt-col3 {
    padding-left: 3.6875rem;
    padding-right: 2rem;
}

.gt-body .gt-col1,
.gt-body .gt-col2,
.gt-body .gt-col3 {
    font-size: 1.5rem;
    color: #000000;
}

.gt-body .gt-col3 {
    line-height: 2.5rem;
}

.gt-body .gt-col1,
.gt-body .gt-col2 {
    line-height: 1.25rem;
}

.agro-climate-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 2.1875rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.agro-climate-list-v2 li {
    display: flex;
    align-items: center;
    position: relative;
}

.agro-climate-list-v2 li svg {
    position: absolute;
    left: -2.3125rem;
    width: 1.5rem !important;
    height: 1.5rem !important;
}

@media (max-width: 900px) {

    .gt-header .gt-col1,
    .gt-header .gt-col2,
    .gt-header .gt-col3 {
        padding-left: 2rem;
        font-size: 1.25rem;
    }

    .gt-body .gt-col1,
    .gt-body .gt-col2,
    .gt-body .gt-col3 {
        padding-left: 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .gt-header {
        display: none;
    }

    .gt-body {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .gt-body .gt-col1,
    .gt-body .gt-col2,
    .gt-body .gt-col3 {
        padding-left: 2.5rem;
        padding-right: 1rem;
    }
}

/* Timeline specific */
.timeline-table {
    width: 100%;
    table-layout: fixed;
}

.timeline-table th,
.timeline-table td {
    white-space: normal;
}

.timeline-table th {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    border-right: 1px solid var(--white);
    text-align: center;
    vertical-align: middle;
    height: 72px;
    padding: 0.5rem;
}

.timeline-table th:nth-child(1) {
    width: 11.06%;
}

.timeline-table th:nth-child(2) {
    width: 11.29%;
}

.timeline-table th:nth-child(3) {
    width: 9.53%;
}

.timeline-table th:nth-child(4) {
    width: 14.21%;
}

.timeline-table th:nth-child(5) {
    width: 11.07%;
}

.timeline-table th:nth-child(6) {
    width: 10.92%;
}

.timeline-table th:nth-child(7) {
    width: 11.71%;
}

.timeline-table th:nth-child(8) {
    width: 9.03%;
}

.timeline-table th:nth-child(9) {
    width: 11.19%;
}

.timeline-table th:last-child {
    border-right: none;
}

.timeline-table tbody tr {
    border-bottom: 1px solid #E5E7EB;
}

.timeline-table td {
    text-align: center;
    padding: 1rem 0.5rem;
    height: 81px;
    vertical-align: middle;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--black);
}

.timeline-table td.crop-name {
    color: var(--green-light);
}

.seed-timeline-section {
    position: relative;
    margin-top: 5rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    z-index: 1;
    overflow-x: hidden;
}

.seed-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    z-index: -1;
}

.timeline-table-wrapper {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow-x: auto;
}

.seed-timeline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.timeline-tabs {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 3px;
    background: #F6F6F6;
    border: 1px solid #E3E3E3;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    gap: 0.25rem;
}

.tab-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1.5rem;
    border: none;
    cursor: pointer;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #1B5E20;
    border-radius: 100px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: #F07235;
    box-shadow: 0px 0px 20px #DE9B85;
    border-radius: 100px;
    color: #FFFFFF;
}

.tab-btn:not(.active):hover {
    color: #0E3D12;
    background: rgba(27, 94, 32, 0.06);
}

/* Reporting Carousel */
.rep-main-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8C4029;
    margin-bottom: 1rem;
}

.rep-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #2D3748;
    margin-bottom: 3rem;
    text-align: justify;
}

.reporting-carousel-layout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0 4rem 0;
    padding: 2.5rem 0;
    overflow-x: hidden;
}

.reporting-carousel-layout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    height: calc(100% - 5.5rem);
    background: #F9F9F9;
    z-index: -1;
}

.rep-carousel-window {
    overflow: hidden;
    width: 100%;
    max-width: 48rem;
    margin: 0 2rem;
    position: relative;
    z-index: 2;
}

.rep-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease-in-out;
    gap: 1.5rem;
}

.rep-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 5.5rem;
}

.rep-slide-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.rep-caption-box {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.rep-line {
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #FF6633 0%, rgba(0, 0, 0, 0) 100%);
}

.rep-diamond {
    width: 12px;
    height: 12px;
    background: #FF6633;
    transform: rotate(45deg);
    margin-top: -2px;
}

.rep-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #000000;
    margin-top: 0.75rem;
    text-transform: capitalize;
}

.rep-carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    padding: 1rem;
    transform: translateY(-2.75rem);
}

.rep-carousel-btn:hover {
    transform: translateY(-2.75rem) scale(1.1);
}

@media (max-width: 768px) {
    .seed-title {
        /* font-size: 1.75rem; */
        white-space: normal;
    }

    .seed-text,
    .seed-desc-main {
        /* font-size: 1.5rem; */
        /* line-height: 1.6; */
    }

    .seed-table th,
    .seed-table td {
        /* font-size: 1rem; */
        padding: 0rem;
    }

    .timeline-tabs {
        max-width: 100%;
        padding: 3px;
        margin-bottom: 1.5rem;
    }

    .tab-btn {
        height: 40px;
        padding: 0 1rem;
        /* font-size: 15px; */
        /* line-height: 18px; */
    }

    /* Reporting System Carousel - Mobile Only (No picture cropping) */
    .reporting-carousel-layout {
        margin: 2rem 0 2.5rem 0;
        padding: 1.5rem 0;
    }

    .reporting-carousel-layout::before {
        height: calc(100% - 4.5rem);
    }

    .rep-carousel-window {
        margin: 0 0.5rem;
    }

    .rep-slide {
        padding-bottom: 4.5rem;
    }

    .rep-slide-img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .rep-carousel-btn {
        padding: 0.5rem 0.25rem;
        transform: translateY(-2.25rem);
    }

    .rep-carousel-btn:hover {
        transform: translateY(-2.25rem) scale(1.1);
    }

    .rep-carousel-btn svg {
        width: 16px;
        height: 32px;
    }

    .rep-caption-box {
        width: 100%;
        padding: 0 0.5rem;
        white-space: normal;
    }

    .rep-text {
        /* font-size: 1rem; */
        text-align: center;
        white-space: normal;
        /* line-height: 1.3; */
        margin-top: 0.5rem;
    }
}