/* =========================================================
   SHIV HARE KHAD BEEJ BHANDAR
   MAIN WEBSITE STYLESHEET
   Theme: Agricultural / Fertilizer / Seed Store
========================================================= */

:root {
    --green-dark: #185c35;
    --green: #2d8a45;
    --green-light: #67ad45;
    --green-soft: #edf7e8;

    --yellow: #f4c62d;
    --yellow-light: #fff3b0;

    --brown: #754c24;
    --cream: #fffdf2;

    --white: #ffffff;
    --black: #172018;
    --text: #4b574c;
    --muted: #7b867b;

    --border: #dce8d8;

    --shadow-sm: 0 5px 18px rgba(27, 77, 42, 0.08);
    --shadow-md: 0 12px 35px rgba(27, 77, 42, 0.13);
    --shadow-lg: 0 20px 55px rgba(27, 77, 42, 0.18);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --container: 1180px;

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    padding: 12px 0;

    background: transparent;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        padding var(--transition);
}

.site-header.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);

    backdrop-filter: blur(12px);

    padding: 8px 0;
}

.header-container {
    position: relative;

    width: min(var(--container), calc(100% - 40px));
    min-height: 76px;

    margin: auto;

    padding: 8px 15px;

    display: flex;
    align-items: center;

    gap: 25px;

    background: var(--white);

    border-radius: 9px;

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    width: 245px;
    flex-shrink: 0;
}

.site-logo img {
    width: 100%;
    height: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;

    display: block;

    padding: 10px 13px;

    color: var(--green-dark);

    font-size: 13px;
    font-weight: 600;

    border-radius: 6px;

    transition:
        color var(--transition),
        background var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: var(--yellow);

    transform: translateX(-50%);

    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 22px;
}


/* =========================================================
   HEADER CALL
========================================================= */

.header-call {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 205px;

    padding: 8px 12px;

    color: var(--white);

    background: var(--green-dark);

    border-radius: 8px;

    transition: transform var(--transition);
}

.header-call:hover {
    transform: translateY(-2px);
}

.call-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green-dark);

    background: var(--yellow);

    border-radius: 50%;

    flex-shrink: 0;
}

.header-call small {
    display: block;

    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;
    line-height: 1.2;
}

.header-call strong {
    display: block;

    color: var(--white);

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: 0;

    color: var(--white);

    background: var(--green-dark);

    border-radius: 7px;

    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    min-height: 680px;

    margin-top: -1px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255, 251, 222, 0.97) 0%,
            rgba(255, 251, 222, 0.88) 46%,
            rgba(255, 251, 222, 0.22) 100%
        ),
        url("../images/hero-bg.jpg") center / cover no-repeat;
}

.hero-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(244, 198, 45, 0.15),
            transparent 30%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(var(--container), calc(100% - 40px));

    min-height: 680px;

    margin: auto;

    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;

    width: 54%;

    padding-top: 25px;
}

.hero-small-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 7px;

    color: var(--green);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.hero-small-title::before {
    content: "";

    width: 25px;
    height: 2px;

    background: var(--yellow);
}

.hero-content h1 {
    color: var(--green-dark);

    font-size: 68px;
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;

    margin-top: 8px;

    color: var(--green);

    font-size: 0.62em;

    letter-spacing: -1px;
}

.hero-tag {
    display: inline-block;

    margin-top: 18px;
    margin-bottom: 13px;

    padding: 9px 25px;

    color: var(--green-dark);

    background: var(--yellow);

    border-radius: 50px;

    font-size: 15px;
    font-weight: 700;
}

.hero-content p {
    max-width: 480px;

    color: #586052;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {
    display: flex;
    align-items: flex-start;

    gap: 22px;

    margin-top: 24px;
}

.hero-feature {
    min-width: 72px;

    text-align: center;
}

.feature-icon,
.hero-feature img {
    width: 52px;
    height: 52px;

    margin: auto;

    object-fit: contain;

    transition: transform var(--transition);
}

.hero-feature:hover img,
.hero-feature:hover .feature-icon {
    transform: translateY(-5px);
}

.hero-feature span {
    display: block;

    margin-top: 6px;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 600;

    line-height: 1.35;
}


/* =========================================================
   HERO PEOPLE
========================================================= */

.hero-visual {
    position: absolute;

    right: -35px;
    bottom: 0;

    width: 58%;
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    pointer-events: none;
}

.hero-farmer {
    width: 100%;
    max-width: 850px;
    max-height: 680px;

    object-fit: contain;
    object-position: right bottom;

    filter: drop-shadow(
        0 18px 25px rgba(42, 69, 33, 0.15)
    );
}


/* =========================================================
   COMMON SECTION
========================================================= */

section {
    position: relative;
}

.section-heading {
    margin-bottom: 42px;

    text-align: center;
}

.section-small-title {
    margin-bottom: 6px;

    color: var(--green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2,
.welcome-content h2,
.why-content h2 {
    color: var(--green-dark);

    font-size: 34px;
    font-weight: 800;

    line-height: 1.2;
}

.section-line {
    width: 55px;
    height: 4px;

    margin: 15px 0 18px;

    background: var(--yellow);

    border-radius: 10px;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome-section {
    padding: 90px 0;

    background: var(--white);
}

.welcome-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 65px;
}

.welcome-images {
    min-width: 0;
}

.welcome-top-images {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 10px;
}

.welcome-image,
.welcome-large-image {
    width: 100%;

    object-fit: cover;

    border-radius: 13px;

    box-shadow: var(--shadow-sm);
}

.welcome-image {
    height: 170px;
}

.welcome-large-image {
    height: 225px;
}

.welcome-content {
    padding-right: 15px;
}

.welcome-content h2 {
    font-size: 32px;
}

.welcome-content p {
    max-width: 520px;

    font-size: 13px;

    color: var(--text);
}


/* =========================================================
   STATS
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 30px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    padding: 15px 9px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;

    color: var(--green);

    font-size: 21px;
    font-weight: 800;

    line-height: 1.1;
}

.stat-item span {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 500;

    line-height: 1.35;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    padding: 90px 0;

    background:
        linear-gradient(
            180deg,
            #f5faef 0%,
            #ffffff 100%
        );
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.product-image {
    width: 100%;
    height: 205px;

    object-fit: cover;
}

.product-content {
    padding: 17px;
}

.product-content h3 {
    color: var(--green-dark);

    font-size: 17px;
    font-weight: 700;
}

.product-content p {
    min-height: 66px;

    margin: 7px 0 14px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.65;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 120px;

    padding: 7px 13px;

    color: var(--white);

    background: var(--green);

    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;

    transition:
        background var(--transition),
        transform var(--transition);
}

.product-button:hover {
    background: var(--green-dark);

    transform: translateY(-2px);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    padding: 90px 0;

    background: var(--white);
}

.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}

.why-image {
    width: 100%;
    height: 400px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: var(--shadow-md);
}

.why-content {
    padding-left: 15px;
}

.why-content h2 {
    font-size: 33px;
}

.why-list {
    margin-top: 20px;
}

.why-list li {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 13px;

    color: var(--text);

    font-size: 13px;
}

.why-list li i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    margin-top: 2px;

    color: var(--white);

    background: var(--green);

    border-radius: 50%;

    font-size: 10px;

    flex-shrink: 0;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 45px 0;

    background:
        linear-gradient(
            100deg,
            var(--green-dark),
            var(--green)
        );

    overflow: hidden;
}

.cta-section::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -80px;
    top: -120px;

    border: 35px solid rgba(255, 255, 255, 0.07);

    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cta-content h2 {
    color: var(--white);

    font-size: 29px;
    font-weight: 800;
}

.cta-content p {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 11px 22px;

    color: var(--green-dark);

    background: var(--yellow);

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform var(--transition),
        background var(--transition);
}

.cta-button:hover {
    background: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    padding-top: 65px;

    color: rgba(255, 255, 255, 0.76);

    background: #103c26;

    overflow: hidden;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 7px;

    background:
        linear-gradient(
            90deg,
            var(--yellow),
            var(--green-light),
            var(--yellow)
        );
}

.footer-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1.35fr 1fr 1fr 1.1fr;

    gap: 45px;

    padding-bottom: 45px;
}

.footer-brand img {
    width: 220px;

    margin-bottom: 17px;

    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 330px;

    font-size: 11px;

    line-height: 1.8;
}

.footer-column h3 {
    position: relative;

    display: inline-block;

    margin-bottom: 18px;

    color: var(--white);

    font-size: 15px;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 30px;
    height: 2px;

    margin-top: 6px;

    background: var(--yellow);
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    font-size: 11px;

    transition:
        color var(--transition),
        padding var(--transition);
}

.footer-column ul li a i {
    color: var(--yellow);

    font-size: 9px;
}

.footer-column ul li a:hover {
    color: var(--yellow);

    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 10px;

    font-size: 11px;

    line-height: 1.6;
}

.footer-contact p i {
    margin-top: 5px;

    color: var(--yellow);

    width: 15px;
}

.footer-contact a:hover {
    color: var(--yellow);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 2;

    padding: 17px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;

    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;
}


/* =========================================================
   FOOTER DECORATION
========================================================= */

.footer-leaves {
    position: absolute;

    right: -30px;
    bottom: -30px;

    width: 350px;

    opacity: 0.12;

    pointer-events: none;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 999;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    color: var(--white);

    background: var(--green);

    border-radius: 50%;

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition);
}

#backToTop.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

#backToTop:hover {
    background: var(--green-dark);
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    color: var(--green-dark);

    background: var(--yellow);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #eef3eb;
}

::-webkit-scrollbar-thumb {
    background: var(--green);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-dark);
}