* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f8f4;
    color: #17231b;
}


/* TOP BAR */

.top-bar {
    background: #00552e;
    color: white;
    padding: 9px 4%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}


/* HEADER */

.main-header {
    background: white;
    padding: 14px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-size: 48px;
}

.logo-name {
    font-size: 38px;
    font-weight: 800;
    color: #0757a5;
}

.logo-name span {
    color: #e3222b;
}

.company-name {
    font-size: 15px;
    font-weight: bold;
    color: #087a32;
}

.tagline {
    font-size: 12px;
    color: #333;
}


/* LOGIN PANEL */

.login-panel {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.login {
    border: none;
    border-radius: 6px;
    padding: 11px 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}

.farmer-login {
    background: #078331;
}

.partner-login {
    background: #1268b3;
}

.procurement-login {
    background: #ef7d12;
}

.admin-login {
    background: #27323a;
}

.login:hover {
    transform: translateY(-2px);
}


/* NAVIGATION */

.navigation {
    background: white;
    display: flex;
    justify-content: center;
    gap: 27px;
    padding: 13px 3%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.navigation a {
    color: #152018;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.navigation a:hover,
.navigation .active {
    color: #087a32;
}


/* HERO */

.hero {
    min-height: 430px;

    background:
        linear-gradient(
            rgba(255,255,255,0.15),
            rgba(255,255,255,0.15)
        ),
        linear-gradient(
            120deg,
            #cfe8c8,
            #f7f2d4,
            #c5e3bb
        );

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 45px 20px;
}

.hero-content {
    max-width: 1050px;
}

.hero h1 {
    color: #08712e;
    font-size: 46px;
    margin: 0 0 5px;
}

.hero h2 {
    font-size: 48px;
    margin: 0;
    color: #147b32;
}

.hero h2 span {
    color: #e21f2f;
}

.hero-subtitle {
    font-size: 23px;
    font-weight: bold;
    margin: 12px 0 5px;
}

.hero p {
    font-size: 20px;
}


.hero-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
    font-weight: bold;
    color: #08712e;
}


.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.farmer-btn {
    background: #078331;
}

.crop-btn {
    background: #1268b3;
}

.product-btn {
    background: #ef7d12;
}

.partner-btn {
    background: #df202f;
}


/* MARKET */

.market-section {
    background: white;
    padding: 30px 4%;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.market-header h2 {
    color: #08712e;
    margin: 0;
    font-size: 28px;
}

.market-header p {
    margin: 5px 0;
    color: #555;
}


.location-select {
    display: flex;
    gap: 10px;
}

.location-select select {
    padding: 11px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
}


/* PRICE SLIDER */

.price-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.price-card {
    background: #f7faf7;
    border: 1px solid #e1e8e1;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    min-height: 190px;
}

.crop-icon {
    font-size: 42px;
}

.price-card h3 {
    margin: 8px 0;
}

.price {
    color: #078331;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
}

.unit {
    display: inline-block;
    color: #555;
}

.location {
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

.slider-arrow {
    border: none;
    background: #08712e;
    color: white;
    min-width: 38px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-header {
        flex-direction: column;
    }

    .login-panel {
        justify-content: center;
    }

    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-header {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .logo-name {
        font-size: 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .price-cards {
        grid-template-columns: 1fr;
    }

    .location-select {
        flex-direction: column;
        width: 100%;
    }

    .location-select select {
        width: 100%;
    }

}.hero-banner {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}


/* PREVIOUS / NEXT BUTTON */

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 80, 40, 0.80);
    color: white;

    font-size: 25px;
    font-weight: bold;

    cursor: pointer;

    z-index: 10;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 80, 40, 1);
}


/* SLIDER DOTS */

.banner-dots {
    position: absolute;

    bottom: 15px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: white;

    border: 2px solid #08712e;

    cursor: pointer;
}

.banner-dot.active {
    background: #08712e;
}


/* MOBILE */

@media (max-width: 600px) {

    .banner-prev,
    .banner-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .banner-prev {
        left: 8px;
    }

    .banner-next {
        right: 8px;
    }

    .banner-dots {
        bottom: 8px;
    }

    .banner-dot {
        width: 9px;
        height: 9px;
    }
}

