/*Theme Name: Base Agrovet
Theme URI: https://baseagrovet.com/
Author: Md. Rabiul Islam
Author URI: http://www.fatihatech.com
Description: This is the Corporate site for used printing, business, outdoor advertising. It is Highly customizable theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, white, light, one-column, fluid-layout, responsive-layout, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: esl
Domain Path: /languages*/

/* Base Agro Vet — static theme
   Palette: primary #0E7A3D · secondary #2E8B57 · accent #F4A300 */

:root {
    --green-900: #06331a;
    --green-800: #0a5228;
    --green-700: #0e7a3d;
    --green-600: #2e8b57;
    --green-100: #e7f4ec;
    --green-50: #f3f9f5;
    --gold: #f4a300;
    --ink: #12211a;
    --muted: #5d6f66;
    --line: #dce7e0;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 18px 45px -22px rgba(6, 51, 26, 0.35);
    --container: 1200px;
    --font: "Hind Siliguri", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--gold); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tint { background: var(--green-50); }
.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section--photo .section__media { position: absolute; inset: 0; z-index: -2; }
.section--photo .section__media img { width: 100%; height: 100%; object-fit: cover; }
.section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(4,40,20,.94), rgba(10,82,40,.78)); }
.section--dark { background: linear-gradient(140deg, var(--green-900), var(--green-800)); color: #eaf5ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--green-700); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold); }

.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.head { max-width: 760px; margin-bottom: 2.5rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lead { margin-inline: auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; border: 1px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 14px 30px -14px rgba(14,122,61,.8); }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--gold { background: var(--gold); color: #26200a; }
.btn--gold:hover { color: #26200a; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }

/* ---------- header ---------- */
.topbar { background: var(--green-900); color: rgba(255,255,255,.82); font-size: .82rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--green-800); }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, var(--green-700), var(--green-600)); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .02em; }
.brand__name { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.brand__tag { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .5rem .5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-100); color: var(--green-800); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--green-800); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 20px 1rem; box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(6,51,26,.92) 8%, rgba(6,51,26,.72) 45%, rgba(6,51,26,.32) 100%);
}
.hero__inner { padding: clamp(70px, 11vw, 150px) 0 clamp(56px, 9vw, 120px); max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 58ch; }
.hero__badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: .82rem; font-weight: 600; margin-bottom: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- page hero ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(6,51,26,.93), rgba(10,82,40,.6)); }
.page-hero__inner { padding: clamp(56px, 8vw, 104px) 0; max-width: 720px; }
.crumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: .6rem; }
.crumb a { color: rgba(255,255,255,.7); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.25rem; }
.section--dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--dark .card p { color: rgba(255,255,255,.75); }

.product { overflow: hidden; padding: 0; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product__body { padding: 1.4rem 1.5rem 1.6rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); border-radius: 999px; padding: .25rem .7rem; margin-bottom: .6rem; }

.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--green-700); font-weight: 700; }
.section--dark .ticks li { color: rgba(255,255,255,.8); }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat__num { font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat__label { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- video section ---------- */
.video-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-main iframe, .video-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-main .ratio { aspect-ratio: 16 / 9; }
.video-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 1.2rem; }
.video-thumb { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; padding: 0; text-align: left; width: 100%; }
.video-thumb img { aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; transition: opacity .25s ease, transform .3s ease; }
.video-thumb:hover img { opacity: 1; transform: scale(1.04); }
.video-thumb__label { position: absolute; inset: auto 0 0; padding: .7rem .8rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(6,51,26,.9)); }
.video-thumb__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--green-800); display: grid; place-items: center; font-size: .9rem; }
.video-thumb[aria-pressed="true"] { outline: 3px solid var(--gold); }

/* ---------- split ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- timeline / seminars ---------- */
.event { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 260px) 1fr; align-items: start; border-top: 1px solid var(--line); padding: 1.6rem 0; }
.event:first-of-type { border-top: 0; }
.event img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.event__date { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) { .event { grid-template-columns: 1fr; } }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { background: var(--green-50); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--green-50); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-600); outline-offset: 1px; background: #fff; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--green-700); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-top: clamp(48px, 6vw, 80px); }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer { padding-bottom: 0; }
.footer-bottom { margin-top: 2.5rem; background: #04170c; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom__inner { padding: 1.15rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-list li { margin-bottom: .45rem; }

/* ---------- utilities ---------- */
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--green-700); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 60; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
