/* =============== RESET & VARIABLES (CORPORATE/COMMERCIAL) =============== */
:root {
    /* Trust & Scale Colors */
    --primary-blue: #0056b3;
    /* Deep trusted corporate blue */
    --secondary-blue: #007bff;
    /* Bright blue for accents */
    --brand-white: #ffffff;
    --brand-light: #f4f7f6;
    /* Very light slate gray/blue */

    --text-dark: #212529;
    /* Standard corporate dark gray */
    --text-gray: #6c757d;

    --accent-green: #28a745;
    /* Freshness, growth, agriculture */
    --accent-yellow: #ffc107;
    /* Warning/highlight */

    /* Fonts */
    --font-main: 'Poppins', sans-serif;
    /* Clean, bold, readable corporate font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--brand-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* Bold headings for strong corporate feel */
    color: var(--primary-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    /* Standard corporate width */
    margin: 0 auto;
    padding: 0 15px;
    /* Standard bootstrap-like padding */
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bg-light {
    background-color: var(--brand-light);
}

.text-light-gray {
    color: #ced4da;
}

/* =============== TOPBAR =============== */
.topbar {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-right a {
    color: #fff;
    transition: opacity 0.3s;
    font-weight: 500;
}

.topbar-right a:hover {
    opacity: 0.8;
}

/* =============== MAIN NAVBAR =============== */
.navbar {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-blue);
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* =============== BUTTONS =============== */
.btn-primary,
.btn-large,
.btn-white,
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    /* Harder corners for corporate feel */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-white {
    background-color: #fff;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--brand-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--primary-blue);
}

/* =============== CORPORATE HERO =============== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 50px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keep image stationary, no slow animated zooming for corporate */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solid blue gradient overlay for a corporate tech/industrial feel */
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 123, 255, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-box {
    max-width: 650px;
    color: #fff;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-trust ion-icon {
    font-size: 1.2rem;
    color: var(--accent-yellow);
}

.display-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.wave-bottom {
    position: absolute;
    bottom: -2px;
    /* Pull it down slightly to fix sub-pixel gaps */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 140px;
}

.wave-bottom .shape-fill {
    fill: var(--brand-white);
}

/* =============== STATS SECTION =============== */
.stats-section {
    padding: 4rem 0 2rem;
    background-color: var(--brand-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--brand-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--secondary-blue);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Shine effect on hover */
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
    /* Subtle blue tinted shadow */
    border-bottom-color: var(--primary-blue);
}

.stat-box ion-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    transition: transform 0.4s ease, color 0.4s ease;
    position: relative;
    z-index: 2;
}

.stat-box:hover ion-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-blue);
}

.counter {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============== GENERIC SECTION =============== */
.section {
    padding: 6rem 0;
}

.section-tag {
    color: var(--secondary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.layout-split.reverse {
    direction: rtl;
}

.layout-split.reverse>* {
    direction: ltr;
}

/* =============== ABOUT INFRA =============== */
.about-images {
    position: relative;
}

.img-main {
    border-radius: 8px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    max-width: 200px;
}

.experience-badge h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.experience-badge p {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.check-list ion-icon {
    color: var(--accent-green);
    font-size: 1.5rem;
}

/* =============== PRODUCTS GRID =============== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-wrap {
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
    /* standard light gray bg */
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============== INFRASTRUCTURE =============== */
.infra-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.infra-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--brand-light);
    color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.infra-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.infra-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* =============== LOGISTICS & QUALITY (NEW SECTIONS) =============== */
.bg-primary-dark {
    background-color: #004085;
    /* Darker corporate blue */
    color: #fff;
}

.text-white {
    color: #fff !important;
}

.text-light {
    color: #a0aec0 !important;
}

.bg-white {
    background-color: #fff !important;
}

.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: 8px;
}

.border-white {
    border: 4px solid #fff;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.stat-mini {
    display: flex;
    flex-direction: column;
}

.stat-mini ion-icon {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stat-mini h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.stat-mini span {
    font-size: 0.85rem;
    color: #ced4da;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============== FARMER PROGRAM =============== */
.farmer-feature {
    text-align: center;
}

.farmer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.farmer-box {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-green);
    text-align: center;
    transition: transform 0.3s;
}

.farmer-box:hover {
    transform: translateY(-5px);
}

.farmer-box ion-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.farmer-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.farmer-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============== FOOTER =============== */
.footer {
    background-color: #1a202c;
    /* Classic dark corporate footer */
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-text strong {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.footer-brand-text span {
    font-size: 0.7rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Square edges */
    transition: background 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-blue);
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
    color: #a0aec0;
    font-size: 0.95rem;
}

.contact-list ion-icon {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 0.85rem;
}

.footer-bottom .developer-credit {
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom .developer-credit a.dev-link {
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .developer-credit a.dev-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-policy-links a {
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-policy-links a:hover {
    color: #fff;
}

/* =============== ANIMATIONS =============== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1024px) {
    .hero {
        min-height: 60vh;
    }

    .display-title {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout-split,
    .layout-split.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .layout-split.reverse>* {
        direction: ltr;
    }

    .experience-badge {
        bottom: -10px;
        left: -10px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .display-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-policy-links a {
        margin: 0 0.5rem;
    }
}