/* ═══════════════════════════════════════════════════════════════
   Al Ahmed Rice Agro Exports — Main Stylesheet
   Design: Earthy luxury — deep greens, warm golds, cream tones
   Fonts: Playfair Display (headings) + Nunito (body)
═══════════════════════════════════════════════════════════════ */

:root {
    --green-dark: #1a3a12;
    --green-mid: #2d6a1a;
    --green-light: #4a9630;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --cream: #faf8f2;
    --cream-alt: #f2ede0;
    --text-dark: #1a1a1a;
    --text-mid: #444;
    --text-light: #888;
    --white: #ffffff;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.18);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.gold {
    color: var(--gold);
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-mid);
    background: rgba(45, 106, 26, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

/* ── TOP BAR ─────────────────────────────────────────────────── */
.topbar {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    padding: 0.45rem 0;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-mid);
    background: rgba(45, 106, 26, 0.08);
}

.nav-links .nav-cta {
    background: var(--green-dark);
    color: var(--white) !important;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.nav-links .nav-cta:hover {
    background: var(--green-mid) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--green-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #0d2008 0%, #1a4010 40%, #2a6020 70%, #1a3a0a 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(45, 106, 26, 0.3) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 6rem;
    max-width: 800px;
    margin-left: 8vw;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.3;
    }
}

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-bar {
    background: var(--gold);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
}

.marquee-inner span {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--green-dark);
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    color: var(--white);
    font-weight: 700;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 106, 26, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-text {
    color: var(--green-mid);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--green-dark);
}

/* ── PRODUCT CARDS ───────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e8f5e0;
    transition: transform 0.5s ease;
    background-image: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-cat-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 58, 18, 0.85);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
}

.product-body {
    padding: 1.5rem;
}

.product-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.product-body p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ── FULL PRODUCT CARDS ──────────────────────────────────────── */
.products-full-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-full-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.product-full-card:hover {
    box-shadow: var(--shadow-md);
}

.pfc-img-col {
    position: relative;
    min-height: 280px;
}

.pfc-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e8f5e0;
    background-image: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.pfc-body {
    padding: 2.5rem;
}

.pfc-cat-tag {
    display: inline-block;
    background: rgba(45, 106, 26, 0.1);
    color: var(--green-mid);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.pfc-body h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.pfc-desc {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pfc-specs h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-chip {
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-mid);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.pfc-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pfc-actions .btn-outline {
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.pfc-actions .btn-outline:hover {
    background: var(--green-dark);
    color: var(--white);
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ── GALLERY ─────────────────────────────────────────────────── */
.gal-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gal-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #c8e6c9;
    background-image: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    min-height: 200px;
    transition: transform 0.5s ease;
}

.gal-item:hover .gal-img {
    transform: scale(1.08);
}

.gal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.gal-item:hover .gal-overlay {
    opacity: 1;
}

.gal-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 220px 220px;
    gap: 1rem;
}

.gal-big {
    grid-column: span 2;
    grid-row: span 2;
}

.gal-big .gal-img {
    min-height: 440px;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    height: 280px;
}

.about-gal-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-gal-item .gal-img {
    min-height: 280px;
}

/* ── MASONRY GALLERY ─────────────────────────────────────────── */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.masonry-wide {
    grid-column: span 2;
}

.masonry-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: #c8e6c9;
    background-image: linear-gradient(135deg, #c8e6c9 0%, #88c888 100%);
    transition: transform 0.5s ease;
}

.masonry-wide .masonry-img {
    height: 320px;
}

.masonry-item:hover .masonry-img {
    transform: scale(1.04);
}

.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 1.5rem 1rem 1rem;
    color: var(--white);
    transform: translateY(30%);
    transition: var(--transition);
}

.masonry-item:hover .masonry-caption {
    transform: translateY(0);
}

.masonry-caption strong {
    display: block;
    font-weight: 700;
}

.masonry-caption span {
    font-size: 0.825rem;
    opacity: 0.8;
}

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark) 0%, #2d5020 100%);
    padding: 7rem 1.5rem 5rem;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── CATEGORY BAR ────────────────────────────────────────────── */
.category-bar {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
}

.cat-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-mid);
    border: 2px solid transparent;
    transition: var(--transition);
}

.cat-btn:hover {
    color: var(--green-mid);
    border-color: var(--green-mid);
}

.cat-btn.active {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
    background: var(--gold);
    padding: 1.5rem 0;
}

.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sb-stat {
    text-align: center;
}

.sb-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-dark);
    font-family: 'Playfair Display', serif;
}

.sb-stat span {
    font-size: 0.8rem;
    color: rgba(26, 58, 18, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sb-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 58, 18, 0.2);
}

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text .section-label {
    margin-bottom: 0.75rem;
    display: block;
}

.story-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text-mid);
    line-height: 1.9;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.ah-item {
    text-align: center;
}

.ah-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-mid);
    font-family: 'Playfair Display', serif;
}

.ah-item span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-visual {
    position: relative;
}

.story-img-main {
    width: 100%;
    height: 480px;
    border-radius: 24px;
    background: linear-gradient(135deg, #a5d6a7 0%, #4caf50 50%, #1a3a12 100%);
    box-shadow: var(--shadow-lg);
}

.story-badge-float {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--gold);
    color: var(--green-dark);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.sbf-num {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.sbf-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ── WHY CHOOSE US ───────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.why-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(45, 106, 26, 0.08);
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ── VALUES ──────────────────────────────────────────────────── */
.values-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.value-item {
    padding: 2rem 1rem;
}

.value-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ── CAPABILITY GRID ─────────────────────────────────────────── */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cap-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cap-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cap-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cap-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.cap-item p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ── NOTE BANNER ─────────────────────────────────────────────── */
.note-banner {
    background: linear-gradient(135deg, var(--green-dark), #2d5020);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--white);
}

.nb-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.nb-text {
    flex: 1;
}

.nb-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.nb-text p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.note-banner .btn-primary {
    background: var(--gold);
    color: var(--green-dark);
    flex-shrink: 0;
}

.note-banner .btn-primary:hover {
    background: var(--gold-light);
}

/* ── BRANDS PAGE ─────────────────────────────────────────────── */
.brands-hero {
    position: relative;
    min-height: 50vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d2040 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.brands-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(74, 150, 48, 0.2) 0%, transparent 50%);
}

.brands-hero-content {
    position: relative;
    z-index: 1;
    padding: 7rem 1.5rem 5rem;
}

.brands-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.brands-hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.brand-card {
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.brand-primary {
    background: linear-gradient(135deg, #1a3a12 0%, #2d6a1a 100%);
    color: var(--white);
}

.brand-secondary {
    background: var(--cream);
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.brand-tertiary {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: var(--white);
}

.brand-emblem {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.brand-tagline {
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.brand-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-tags span {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
}

.brand-secondary .brand-tags span {
    background: rgba(0, 0, 0, 0.08);
}

.brand-secondary .brand-name {
    color: var(--green-dark);
}

.brand-secondary .brand-tagline {
    color: var(--text-light);
}

.brand-secondary p {
    color: var(--text-mid);
    opacity: 1;
}

.brand-note {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bn-icon {
    font-size: 2rem;
}

.brand-note strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.brand-note p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.brand-note .btn-outline {
    color: var(--green-dark);
    border-color: var(--green-dark);
    margin-left: auto;
    flex-shrink: 0;
}

.brand-note .btn-outline:hover {
    background: var(--green-dark);
    color: var(--white);
}

/* ── CAREERS ─────────────────────────────────────────────────── */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.career-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-mid);
}

.career-dept {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-mid);
    background: rgba(45, 106, 26, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.career-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.career-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

.career-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 1.25rem;
}

.career-details span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.careers-cta {
    margin-top: 2rem;
}

.careers-cta-inner {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: var(--green-dark);
}

.cta-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.careers-cta-inner h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.careers-cta-inner p {
    margin-bottom: 1.75rem;
    opacity: 0.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.careers-cta-inner .btn-primary {
    background: var(--green-dark);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.culture-item {
    text-align: center;
    padding: 2rem 1rem;
}

.culture-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.culture-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.culture-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ── CONTACT SECTION ─────────────────────────────────────────── */
.contact-section {
    background: linear-gradient(135deg, #0d1f0a 0%, #1a3a12 100%);
    padding: 6rem 0;
}

.contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    color: var(--white);
}

.contact-info .section-label {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cd-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cd-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cd-item strong {
    display: block;
    color: var(--gold-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.cd-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.contact-form-box {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    width: 100%;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-mid);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-message.success {
    background: #e8f5e9;
    color: #2d6a1a;
}

.form-message.error {
    background: #ffebee;
    color: #c0392b;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
    background: #0a1608;
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-light);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 999;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-cta {
        margin: 0.25rem 0;
        text-align: center;
    }

    .navbar {
        position: relative;
    }

    .hero-content {
        margin-left: 0;
        padding: 7rem 1.5rem 5rem;
    }

    .hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-visual {
        display: none;
    }

    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .about-gal-item .gal-img {
        min-height: 160px;
    }

    .gallery-grid-home {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gal-big {
        grid-column: span 2;
    }

    .masonry-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .masonry-wide {
        grid-column: span 2;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .product-full-card {
        grid-template-columns: 1fr;
    }

    .pfc-img-col {
        min-height: 220px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .careers-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .note-banner {
        flex-direction: column;
        text-align: center;
    }

    .brand-note {
        flex-direction: column;
    }

    .brand-note .btn-outline {
        margin-left: 0;
    }

    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .sb-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .topbar-inner {
        justify-content: center;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-divider {
        display: none;
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
    }

    .masonry-wide {
        grid-column: span 1;
    }
}

/* ── COMPANY INTRO & REGISTRATION LOGOS ────────────── */
.intro-registration-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.company-intro-block .section-label {
  margin-bottom: 0.5rem;
}

.company-intro-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.intro-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.intro-body {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.reg-logos-block {
  background: var(--cream);
  border: 1px solid #e8e0d0;
  border-radius: var(--radius);
  padding: 2rem;
}

.reg-logos-block .section-label {
  margin-bottom: 1.5rem;
  text-align: center;
}

.reg-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reg-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid #e8e0d0;
  border-radius: 10px;
  padding: 1rem 0.75rem;
  transition: var(--transition);
}

.reg-logo-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.reg-logo-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
}

.reg-logo-item span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-registration-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .reg-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}